Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
qemu 1.5.2-r2 will not build[solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
jserink
l33t
l33t


Joined: 30 Jan 2004
Posts: 645

PostPosted: Sun Aug 18, 2013 2:42 pm    Post subject: qemu 1.5.2-r2 will not build[solved] Reply with quote

Hi All:

Here is my problem:
=corei7 -mtune=corei7 -O2 -pipe -c -o hw/virtio/dataplane/vring.o /var/tmp/portage/app-emulation/qemu-1.5.2-r2/work/qemu-1.5.2/hw/virtio/dataplane/vring.c
make BUILD_DIR=/var/tmp/portage/app-emulation/qemu-1.5.2-r2/work/qemu-1.5.2/softmmu-build -C pc-bios/optionrom V="1" TARGET_DIR="optionrom/"
cc1: warning: /usr/local/include: not a directory [enabled by default]
LC_ALL=C makeinfo --no-headers --no-split --number-sections --html /var/tmp/portage/app-emulation/qemu-1.5.2-r2/work/qemu-1.5.2/qemu-doc.texi -o qemu-doc.html
make[1]: Entering directory `/var/tmp/portage/app-emulation/qemu-1.5.2-r2/work/qemu-1.5.2/softmmu-build/pc-bios/optionrom'
x86_64-pc-linux-gnu-gcc -E -I/var/tmp/portage/app-emulation/qemu-1.5.2-r2/work/qemu-1.5.2/tcg -I/var/tmp/portage/app-emulation/qemu-1.5.2-r2/work/qemu-1.5.2/tcg/i386 -I/var/tmp/portage/app-emulation/qemu-1.5.2-r2/work/qemu-1.5.2/linux-headers -I. -I/var/tmp/portage/app-emulation/qemu-1.5.2-r2/work/qemu-1.5.2 -I/var/tmp/portage/app-emulation/qemu-1.5.2-r2/work/qemu-1.5.2/include -I/var/tmp/portage/app-emulation/qemu-1.5.2-r2/work/qemu-1.5.2/pc-bios/optionrom -I. -Wall -Wstrict-prototypes -Werror -fomit-frame-pointer -fno-builtin -I/var/tmp/portage/app-emulation/qemu-1.5.2-r2/work/qemu-1.5.2 -MMD -MP -MT multiboot.asm -MF ./multiboot.d -Wall -Wstrict-prototypes -Werror -fomit-frame-pointer -fno-builtin -I/var/tmp/portage/app-emulation/qemu-1.5.2-r2/work/qemu-1.5.2 -o multiboot.asm /var/tmp/portage/app-emulation/qemu-1.5.2-r2/work/qemu-1.5.2/pc-bios/optionrom/multiboot.S
cc1: error: /usr/local/include: not a directory [-Werror]
cc1: all warnings being treated as errors
make[1]: *** [multiboot.asm] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-emulation/qemu-1.5.2-r2/work/qemu-1.5.2/softmmu-build/pc-bios/optionrom'
make: *** [romsubdir-optionrom] Error 2


jserinki7 jserink # emerge --info '=app-emulation/qemu-1.5.2-r2'
Portage 2.1.12.2 (default/linux/amd64/13.0/desktop, gcc-4.6.3, glibc-2.15-r3, 3.8.13-gentoo x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-3.8.13-gentoo-x86_64-Intel-R-_Core-TM-_i7-2720QM_CPU_@_2.20GHz-with-gentoo-2.2
KiB Mem: 16394044 total, 12243600 free
KiB Swap: 19531248 total, 19531248 free
Timestamp of tree: Sun, 18 Aug 2013 10:15:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash: 4.2_p45
dev-java/java-config: 2.1.12-r1
dev-lang/python: 2.7.5, 3.2.5-r1
dev-util/cmake: 2.8.10.2-r2
dev-util/pkgconfig: 0.28
sys-apps/baselayout: 2.2
sys-apps/openrc: 0.11.8::pentoo
sys-apps/sandbox: 2.6-r1
sys-devel/autoconf: 2.13, 2.69
sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.6, 1.12.6
sys-devel/binutils: 2.23.1
sys-devel/gcc: 4.4.5, 4.5.4, 4.6.3
sys-devel/gcc-config: 1.7.3
sys-devel/libtool: 2.4-r1
sys-devel/make: 3.82-r4
sys-kernel/linux-headers: 3.7 (virtual/os-headers)
sys-libs/glibc: 2.15-r3
Repositories: gentoo zugaina science graaff games rebutia perl-experimental kde-sunset pentoo DuPol dauleet luman sabayon my_overlay
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=corei7 -mtune=corei7 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=corei7 -mtune=corei7 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.bloodhost.ru/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/zugaina /var/lib/layman/science /var/lib/layman/graaff /var/lib/layman/games /var/lib/layman/rebutia /var/lib/layman/perl-experimental /var/lib/layman/kde-sunset /var/lib/layman/pentoo /var/lib/layman/DuPol /var/lib/layman/dauleet /var/lib/layman/luman /var/lib/layman/sabayon /usr/local/portage"
SYNC="rsync://rsync.ru.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cleartype cli consolekit corefonts cracklib crypt cups curl cxx dbus dri dts dvd dvdr emboss encode exif fam ffmpeg firefox flac fontforge foomaticdb fortran fortran2003 gdbm geoip gif gimp gnuplot gpm gstreamer gtk gzip hddtemp iconv ieee1394 ipv6 java java6 jpeg jpeg2k lcms ldap libnotify lm_sensors lock lzma lzo mad matroska mmx mng modules motif mozilla mp3 mp4 mpeg mplayer msn mssql mudflap multilib ncurses nls nptl nsplugin ogg opengl openmp pam pango pcmcia pcre pdf perl png policykit posix ppds pulseaudio python qt3support qt4 quicktime rdesktop readline samba sdl seamonkey session smp sockets sound spell sse sse2 sse4 sse4_1 ssl ssse3 startup-notification svg szip tcl tcpd theora threads thunar tiff tk truetype type1 udev udisks unicode upower usb v4l2 videos vim-syntax vorbis wavpack wifi win32codecs wmf wxwidgets x264 xcb xcomposite xft xine xinerama xinetd xml xmp xpm xscreensaver xulrunner xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="aivdm ashtech earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 navcom nmea ntrip oceanserver oncore rtcm104v2 rtcm104v3 sirf superstar2 tnt tripmate tsip ubx fury geostar nmea2000" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver pdfimport" LINGUAS="en en_GB" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" QEMU_SOFTMMU_TARGETS="x86_64 i386" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="radeon" 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, USE_PYTHON

=================================================================
Package Settings
=================================================================

app-emulation/qemu-1.5.2-r2 would be build with the following:
USE="aio alsa bluetooth caps curl filecaps gtk jpeg ncurses opengl png pulseaudio python sdl seccomp spice threads uuid vde vhost-net vnc xattr -accessibility -debug -fdt -glusterfs -iscsi -mixemu -rbd -sasl (-selinux) -smartcard -static -static-softmmu -static-user -systemtap -tci -test -tls -usbredir -virtfs -xen -xfs" PYTHON_TARGETS="python2_7 -python2_5 -python2_6" QEMU_SOFTMMU_TARGETS="i386 x86_64 (-alpha) (-arm) -cris -lm32 (-m68k) -microblaze -microblazeel (-mips) -mips64 -mips64el -mipsel -moxie -or32 (-ppc) (-ppc64) -ppcemb -s390x -sh4 -sh4eb (-sparc) -sparc64 -unicore32 -xtensa -xtensaeb" QEMU_USER_TARGETS="i386 x86_64 (-alpha) (-arm) -armeb -cris (-m68k) -microblaze -microblazeel (-mips) -mips64 -mips64el -mipsel -mipsn32 -mipsn32el -or32 (-ppc) (-ppc64) -ppc64abi32 -s390x -sh4 -sh4eb (-sparc) -sparc32plus -sparc64 -unicore32"

>>> Attempting to run pkg_info() for 'app-emulation/qemu-1.5.2-r2'
Using:
app-emulation/spice-protocol-0.12.3
sys-firmware/ipxe-1.0.0_p20130624
sys-firmware/seabios-1.7.2.2
USE=binary
sys-firmware/vgabios-0.7a


Any ideas on this one?

Cheers,
john


Last edited by jserink on Mon Aug 19, 2013 1:28 am; edited 1 time in total
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 5271

PostPosted: Sun Aug 18, 2013 2:55 pm    Post subject: Reply with quote

Mind pasting the command the warning referred to ?
Also, might it be the common "I'm running from RescueCD" problem ?
Back to top
View user's profile Send private message
jserink
l33t
l33t


Joined: 30 Jan 2004
Posts: 645

PostPosted: Sun Aug 18, 2013 3:01 pm    Post subject: Reply with quote

VoidMage wrote:
Mind pasting the command the warning referred to ?
Also, might it be the common "I'm running from RescueCD" problem ?


emerge qemu

:)

from my /etc/portage/package.keywords file:
=app-emulation/qemu-1.5.2-r2 ~amd64
=sys-firmware/ipxe-1.0.0_p20130624 ~amd64

Cheers,
John
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 5271

PostPosted: Sun Aug 18, 2013 4:26 pm    Post subject: Reply with quote

jserink wrote:
VoidMage wrote:
Mind pasting the command the warning referred to ?
Also, might it be the common "I'm running from RescueCD" problem ?


emerge qemu

:)

:roll:

I mean (and you know it) the line that was sent to gcc that triggered 'cc1: warning: /usr/local/include: not a directory [enabled by default]'.
Back to top
View user's profile Send private message
jserink
l33t
l33t


Joined: 30 Jan 2004
Posts: 645

PostPosted: Sun Aug 18, 2013 4:37 pm    Post subject: Reply with quote

VoidMage wrote:
jserink wrote:
VoidMage wrote:
Mind pasting the command the warning referred to ?
Also, might it be the common "I'm running from RescueCD" problem ?


emerge qemu

:)

:roll:

I mean (and you know it) the line that was sent to gcc that triggered 'cc1: warning: /usr/local/include: not a directory [enabled by default]'.
\
I haven't a clue. All I did was unmask the package, set my use flags, which are above, and issued emerge.

Cheers,
john
Back to top
View user's profile Send private message
jserink
l33t
l33t


Joined: 30 Jan 2004
Posts: 645

PostPosted: Mon Aug 19, 2013 1:30 am    Post subject: Solved Reply with quote

I installed a microcontroller package from Sealeve systems that dropped a file in my /usr directory called /usr/local/include. If you check the complaints of the qemu build above, that is what is was complaining about.

Solution:
rm /usr/local/include

Cheers,
John
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum