qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [Bug 816370] Re: compile error in QEMU 0.15.0-rc0 and 0.15.


From: Bug Watch Updater
Subject: [Qemu-devel] [Bug 816370] Re: compile error in QEMU 0.15.0-rc0 and 0.15.0-rc1
Date: Sat, 20 Aug 2011 17:21:55 -0000

Launchpad has imported 5 comments from the remote bug at
http://bugs.gentoo.org/show_bug.cgi?id=379871.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2011-08-19T14:57:18+00:00 Mattsch wrote:

It appears app-emulation/qemu-kvm-0.15.0 does not compile at all:

qapi/qmp-input-visitor.c:229: error: ‘errp’ undeclared (first use in this 
function)
qapi/qmp-input-visitor.c:229: error: too many arguments to function 
‘qmp_input_type_str’
qapi/qmp-input-visitor.c: At top level:
qapi/qmp-input-visitor.c:250: error: expected declaration specifiers or ‘...’ 
before ‘Error’
qapi/qmp-input-visitor.c:263: error: expected declaration specifiers or ‘...’ 
before ‘Error’
make: *** [qapi/qmp-input-visitor.o] Error 1
rm extboot.img vapic.o multiboot.o extboot.o linuxboot.raw linuxboot.img 
vapic.raw vapic.img multiboot.raw extboot.raw multiboot.img linuxboot.o
emake failed
 * ERROR: app-emulation/qemu-kvm-0.15.0 failed (compile phase):
 *   emake failed
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_compile
 *   environment, line 3504:  Called _eapi2_src_compile
 *     ebuild.sh, line  665:  Called die
 * The specific snippet of code:
 *              emake || die "emake failed"

Reproducible: Always



emerge -av qemu-kvm

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ~] app-emulation/qemu-kvm-0.15.0 [0.14.1-r2] USE="aio alsa 
bluetooth curl jpeg ncurses png sasl sdl spice ssl threads vhost-net -brltty 
-debug -esd -fdt -hardened -nss% -pulseaudio -qemu-ifup -rbd -vde -xattr% -xen" 
QEMU_SOFTMMU_TARGETS="i386 x86_64 -arm -cris -m68k -microblaze -mips -mips64 
-mips64el -mipsel -ppc -ppc64 -ppcemb -sh4 -sh4eb -sparc -sparc64" 
QEMU_USER_TARGETS="i386 x86_64 -alpha -arm -armeb -cris -m68k -microblaze -mips 
-mipsel -ppc -ppc64 -ppc64abi32 -sh4 -sh4eb -sparc -sparc32plus -sparc64" 0 kB  
  

emerge --info 
Portage 2.1.10.3 (default/linux/amd64/10.0, gcc-4.4.5, glibc-2.12.2-r0, 
3.0.3-gentoo x86_64)
=================================================================
System uname: address@hidden
Timestamp of tree: Fri, 19 Aug 2011 13:15:01 +0000
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.1-r1, 3.1.3-r1
dev-util/cmake:           2.8.4-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.4
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:       2.20.1-r1
sys-devel/gcc:            4.4.5
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82
sys-kernel/linux-headers: 2.6.36.1 (virtual/os-headers)
sys-libs/glibc:           2.12.2
Repositories: gentoo sunrise x-portage
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt 
/usr/share/openvpn/easy-rsa"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ 
/etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release 
/etc/php/apache2-php5.2/ext-active/ /etc/php/apache2-php5.3/ext-active/ 
/etc/php/cgi-php5.2/ext-active/ /etc/php/cgi-php5.3/ext-active/ 
/etc/php/cli-php5.2/ext-active/ /etc/php/cli-php5.3/ext-active/ 
/etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=core2 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles 
fixpackages news parallel-fetch protect-owned sandbox sfperms strict 
unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://portage.home http://gentoo.cites.uiuc.edu/pub/gentoo/ 
http://gentoo.mirrors.easynews.com/linux/gentoo/ 
http://mirror.phy.olemiss.edu/mirror/gentoo";
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en ru"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress 
--force --whole-file --delete --stats --timeout=180 --exclude=/distfiles 
--exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/sunrise /usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi adns alsa amd64 apache2 audiofile avi bcmath bdf berkdb 
bluetooth bzip2 cairo calendar caps cdda cdr chardet cjk clamav cli consolekit 
cracklib crypt css ctype cups curl curlwrappers cxx dbus declarative 
device-mapper dga directfb dri dts dvb dvd dvdread emu-linux-x86 enca encode 
exif fbcon ffmpeg flac foomaticdb fortran ftp fts3 gd gdbm gif gmp gnutls gpm 
gsm gtk gtk2 gzip hash hddtemp iconv idn ieee1394 imagemagick imap imlib innodb 
ipv6 ithreads java java6 javascript jpeg jpeg2k json kde kipi lcms libcaca 
libnotify lirc lm_sensors logrotate lzo mad matroska mcal mhash mime mjpeg mmx 
mmxext mng modules mp3 mp4 mpeg mplayer msession mudflap multilib mysql mysqli 
mythtv ncurses network nls nptl nptlonly nsplugin nss offensive ogg openal 
opengl openmp osc oss pam pcntl pcre pdf pdo pear perl php png policykit posix 
ppds pppd python qt qt3 qt3support qt4 quicktime readline reflection rtc samba 
sasl sdl seamonkey semantic-desktop session simplexml soap sockets spell spl 
sql sqlite sse sse2 sse3 ssl ssse3 subversion suhosin svg sysfs syslog tcmalloc 
tcpd theora threads thumbnail tidy tiff tokenizer transcode truetype udev 
unicode usb utempter v4l v4l2 vcd vorbis wddx webkit wifi wxwindows x264 xcb 
xcomposite xforms xine xinerama xml xorg xpm xsl xv xvid xvmc zip zlib" 
ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare 
dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter 
mmap_emul mulaw multi null plug rate route share shm softvol" 
APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd 
authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile 
authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd 
deflate dir disk_cache env expires ext_filter file_cache filter headers ident 
imagemap include info log_config logio mem_cache mime mime_magic negotiation 
proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so 
speling status unique_id userdir usertrack vhost_alias" 
CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" 
CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap 
syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 
garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle 
oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" 
INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" 
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses 
text" LINGUAS="en ru" PHP_TARGETS="php5-2 php5-3" QEMU_SOFTMMU_TARGETS="i386 
x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ree18 ruby18 ruby19" 
SANE_BACKENDS="epson epson2" USERLAND="GNU" VIDEO_CARDS="intel vesa fbdev v4l 
qxl" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p 
iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark 
dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, 
PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, 
PORTAGE_RSYNC_EXTRA_OPTS

Reply at: https://bugs.launchpad.net/qemu/+bug/816370/comments/19

------------------------------------------------------------------------
On 2011-08-19T14:59:10+00:00 Mattsch wrote:

Created attachment 283923
environment

Reply at: https://bugs.launchpad.net/qemu/+bug/816370/comments/20

------------------------------------------------------------------------
On 2011-08-19T14:59:27+00:00 Mattsch wrote:

Created attachment 283925
build.log

Reply at: https://bugs.launchpad.net/qemu/+bug/816370/comments/21

------------------------------------------------------------------------
On 2011-08-20T16:37:37+00:00 Malte Starostik wrote:

Created attachment 284039
Include path order fix

Same here.  qapi/qapi-types-core.h contains:
#include "error.h"
which resolves to /usr/include/alsa/error.h instead of ./error.h

Fix attached.

Reply at: https://bugs.launchpad.net/qemu/+bug/816370/comments/22

------------------------------------------------------------------------
On 2011-08-20T17:02:13+00:00 Malte Starostik wrote:

Upstream report: https://bugs.launchpad.net/gentoo/+bug/816370

Reply at: https://bugs.launchpad.net/qemu/+bug/816370/comments/24


** Changed in: gentoo
       Status: Unknown => New

** Changed in: gentoo
   Importance: Unknown => Medium

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/816370

Title:
  compile error in QEMU 0.15.0-rc0 and  0.15.0-rc1

Status in QEMU:
  New
Status in Gentoo Linux:
  New

Bug description:
  I've tryed to compile QEMU 0.15.0-rc0 on Ubuntu 10.10 „Maverick
  Meerkat“ but I get an error (For further details please see http
  ://qemu-buch.de/d/Installation#Quellen_kompilieren ).

  ./configure --prefix=/usr --enable-spice  
--audio-card-list=ac97,es1370,sb16,adlib,gus,cs4231a
  make

    GEN   config-host.h
    GEN   trace.h
    GEN   qemu-options.def
    GEN   qapi-generated/qga-qapi-types.h
    GEN   qapi-generated/qga-qapi-visit.h
    GEN   qapi-generated/qga-qmp-marshal.c
    CC    qapi/qapi-visit-core.o
  In file included from qapi/qapi-visit-core.c:14:
  ./qapi/qapi-visit-core.h:31: error: expected declaration specifiers or ‘...’ 
before ‘Error’
  ./qapi/qapi-visit-core.h:32: error: expected declaration specifiers or ‘...’ 
before ‘Error’
  ./qapi/qapi-visit-core.h:34: error: expected declaration specifiers or ‘...’ 
before ‘Error’
  ./qapi/qapi-visit-core.h:35: error: expected declaration specifiers or ‘...’ 
before ‘Error’
  ./qapi/qapi-visit-core.h:36: error: expected declaration specifiers or ‘...’ 
before ‘Error’
  ./qapi/qapi-visit-core.h:39: error: expected declaration specifiers or ‘...’ 
before ‘Error’
  ./qapi/qapi-visit-core.h:41: error: expected declaration specifiers or ‘...’ 
before ‘Error’
  ./qapi/qapi-visit-core.h:42: error: expected declaration specifiers or ‘...’ 
before ‘Error’
  ./qapi/qapi-visit-core.h:43: error: expected declaration specifiers or ‘...’ 
before ‘Error’
  ./qapi/qapi-visit-core.h:45: error: expected declaration specifiers or ‘...’ 
before ‘Error’
  ./qapi/qapi-visit-core.h:49: error: expected declaration specifiers or ‘...’ 
before ‘Error’
  ./qapi/qapi-visit-core.h:50: error: expected declaration specifiers or ‘...’ 
before ‘Error’
  ./qapi/qapi-visit-core.h:53: error: expected declaration specifiers or ‘...’ 
before ‘Error’
  ./qapi/qapi-visit-core.h:54: error: expected declaration specifiers or ‘...’ 
before ‘Error’
  ./qapi/qapi-visit-core.h:58: error: expected declaration specifiers or ‘...’ 
before ‘Error’
  ./qapi/qapi-visit-core.h:59: error: expected declaration specifiers or ‘...’ 
before ‘Error’
  ./qapi/qapi-visit-core.h:61: error: expected declaration specifiers or ‘...’ 
before ‘Error’
  ./qapi/qapi-visit-core.h:62: error: expected declaration specifiers or ‘...’ 
before ‘Error’
  ./qapi/qapi-visit-core.h:63: error: expected declaration specifiers or ‘...’ 
before ‘Error’
  ./qapi/qapi-visit-core.h:64: error: expected declaration specifiers or ‘...’ 
before ‘Error’
  ./qapi/qapi-visit-core.h:65: error: expected declaration specifiers or ‘...’ 
before ‘Error’
  ./qapi/qapi-visit-core.h:67: error: expected declaration specifiers or ‘...’ 
before ‘Error’
  ./qapi/qapi-visit-core.h:68: error: expected declaration specifiers or ‘...’ 
before ‘Error’
  ./qapi/qapi-visit-core.h:70: error: expected declaration specifiers or ‘...’ 
before ‘Error’
  ./qapi/qapi-visit-core.h:71: error: expected declaration specifiers or ‘...’ 
before ‘Error’
  ./qapi/qapi-visit-core.h:72: error: expected declaration specifiers or ‘...’ 
before ‘Error’
  ./qapi/qapi-visit-core.h:73: error: expected declaration specifiers or ‘...’ 
before ‘Error’
  ./qapi/qapi-visit-core.h:74: error: expected declaration specifiers or ‘...’ 
before ‘Error’
  qapi/qapi-visit-core.c:17: error: expected declaration specifiers or ‘...’ 
before ‘Error’
  qapi/qapi-visit-core.c: In function ‘visit_start_handle’:
  qapi/qapi-visit-core.c:19: warning: implicit declaration of function 
‘error_is_set’
  qapi/qapi-visit-core.c:19: warning: nested extern declaration of 
‘error_is_set’
  qapi/qapi-visit-core.c:19: error: ‘errp’ undeclared (first use in this 
function)
  qapi/qapi-visit-core.c:19: error: (Each undeclared identifier is reported 
only once
  qapi/qapi-visit-core.c:19: error: for each function it appears in.)
  qapi/qapi-visit-core.c:20: error: too many arguments to function 
‘v->start_handle’
  qapi/qapi-visit-core.c: At top level:
  qapi/qapi-visit-core.c:24: error: expected declaration specifiers or ‘...’ 
before ‘Error’
  qapi/qapi-visit-core.c: In function ‘visit_end_handle’:
  qapi/qapi-visit-core.c:26: error: ‘errp’ undeclared (first use in this 
function)
  qapi/qapi-visit-core.c:27: error: too many arguments to function 
‘v->end_handle’
  qapi/qapi-visit-core.c: At top level:
  qapi/qapi-visit-core.c:32: error: expected declaration specifiers or ‘...’ 
before ‘Error’
  qapi/qapi-visit-core.c: In function ‘visit_start_struct’:
  qapi/qapi-visit-core.c:34: error: ‘errp’ undeclared (first use in this 
function)
  qapi/qapi-visit-core.c:35: error: too many arguments to function 
‘v->start_struct’
  qapi/qapi-visit-core.c: At top level:
  qapi/qapi-visit-core.c:39: error: expected declaration specifiers or ‘...’ 
before ‘Error’
  qapi/qapi-visit-core.c: In function ‘visit_end_struct’:
  qapi/qapi-visit-core.c:41: error: ‘errp’ undeclared (first use in this 
function)
  qapi/qapi-visit-core.c:42: error: too many arguments to function 
‘v->end_struct’
  qapi/qapi-visit-core.c: At top level:
  qapi/qapi-visit-core.c:46: error: expected declaration specifiers or ‘...’ 
before ‘Error’
  qapi/qapi-visit-core.c: In function ‘visit_start_list’:
  qapi/qapi-visit-core.c:48: error: ‘errp’ undeclared (first use in this 
function)
  qapi/qapi-visit-core.c:49: error: too many arguments to function 
‘v->start_list’
  qapi/qapi-visit-core.c: At top level:
  qapi/qapi-visit-core.c:53: error: expected declaration specifiers or ‘...’ 
before ‘Error’
  qapi/qapi-visit-core.c: In function ‘visit_next_list’:
  qapi/qapi-visit-core.c:55: error: ‘errp’ undeclared (first use in this 
function)
  qapi/qapi-visit-core.c:56: error: too many arguments to function 
‘v->next_list’
  qapi/qapi-visit-core.c: At top level:
  qapi/qapi-visit-core.c:62: error: expected declaration specifiers or ‘...’ 
before ‘Error’
  qapi/qapi-visit-core.c: In function ‘visit_end_list’:
  qapi/qapi-visit-core.c:64: error: ‘errp’ undeclared (first use in this 
function)
  qapi/qapi-visit-core.c:65: error: too many arguments to function ‘v->end_list’
  qapi/qapi-visit-core.c: At top level:
  qapi/qapi-visit-core.c:70: error: expected declaration specifiers or ‘...’ 
before ‘Error’
  qapi/qapi-visit-core.c: In function ‘visit_start_optional’:
  qapi/qapi-visit-core.c:72: error: ‘errp’ undeclared (first use in this 
function)
  qapi/qapi-visit-core.c:73: error: too many arguments to function 
‘v->start_optional’
  qapi/qapi-visit-core.c: At top level:
  qapi/qapi-visit-core.c:77: error: expected declaration specifiers or ‘...’ 
before ‘Error’
  qapi/qapi-visit-core.c: In function ‘visit_end_optional’:
  qapi/qapi-visit-core.c:79: error: ‘errp’ undeclared (first use in this 
function)
  qapi/qapi-visit-core.c:80: error: too many arguments to function 
‘v->end_optional’
  qapi/qapi-visit-core.c: At top level:
  qapi/qapi-visit-core.c:85: error: expected declaration specifiers or ‘...’ 
before ‘Error’
  qapi/qapi-visit-core.c: In function ‘visit_type_enum’:
  qapi/qapi-visit-core.c:87: error: ‘errp’ undeclared (first use in this 
function)
  qapi/qapi-visit-core.c:88: error: too many arguments to function 
‘v->type_enum’
  qapi/qapi-visit-core.c: At top level:
  qapi/qapi-visit-core.c:92: error: expected declaration specifiers or ‘...’ 
before ‘Error’
  qapi/qapi-visit-core.c: In function ‘visit_type_int’:
  qapi/qapi-visit-core.c:94: error: ‘errp’ undeclared (first use in this 
function)
  qapi/qapi-visit-core.c:95: error: too many arguments to function ‘v->type_int’
  qapi/qapi-visit-core.c: At top level:
  qapi/qapi-visit-core.c:99: error: expected declaration specifiers or ‘...’ 
before ‘Error’
  qapi/qapi-visit-core.c: In function ‘visit_type_bool’:
  qapi/qapi-visit-core.c:101: error: ‘errp’ undeclared (first use in this 
function)
  qapi/qapi-visit-core.c:102: error: too many arguments to function 
‘v->type_bool’
  qapi/qapi-visit-core.c: At top level:
  qapi/qapi-visit-core.c:106: error: expected declaration specifiers or ‘...’ 
before ‘Error’
  qapi/qapi-visit-core.c: In function ‘visit_type_str’:
  qapi/qapi-visit-core.c:108: error: ‘errp’ undeclared (first use in this 
function)
  qapi/qapi-visit-core.c:109: error: too many arguments to function 
‘v->type_str’
  qapi/qapi-visit-core.c: At top level:
  qapi/qapi-visit-core.c:113: error: expected declaration specifiers or ‘...’ 
before ‘Error’
  qapi/qapi-visit-core.c: In function ‘visit_type_number’:
  qapi/qapi-visit-core.c:115: error: ‘errp’ undeclared (first use in this 
function)
  qapi/qapi-visit-core.c:116: error: too many arguments to function 
‘v->type_number’
  make: *** [qapi/qapi-visit-core.o] Fehler 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/816370/+subscriptions



reply via email to

[Prev in Thread] Current Thread [Next in Thread]