Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 351503 - xen-tools-4.0.1 doesn't compile
Summary: xen-tools-4.0.1 doesn't compile
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Gentoo Xen Devs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-13 01:50 UTC by Attila Jecs
Modified: 2011-03-30 00:01 UTC (History)
7 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
xen-tools-4.0.1/temp/build.log (build.log,2.90 KB, text/plain)
2011-01-13 01:52 UTC, Attila Jecs
Details
blktap patch by Ian Campbell from the xen-users list (xen-tools-4.0.1-blktap.patch,623 bytes, patch)
2011-03-02 13:06 UTC, Liganic
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Attila Jecs 2011-01-13 01:50:58 UTC
dreamer welder # emerge --info =app-emulation/xen-tools-4.0.1
Portage 2.2.0_alpha15 (default/linux/amd64/10.0/no-multilib, gcc-4.5.2, glibc-2.12.2-r0, 2.6.37-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-2.6.37-gentoo-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_5200+-with-gentoo-2.0.1
Timestamp of tree: Wed, 12 Jan 2011 23:00:21 +0000
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.6.6-r1, 2.7.1, 3.1.3
dev-util/cmake:      2.8.3-r1
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.6.8
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.21
sys-devel/gcc:       4.5.2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
Repositories: gentoo
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1 sun-bcla-java-vm AdobeFlash-10.1 AdobeFlash-10"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer -mfpmath=sse -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /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"
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer -mfpmath=sse -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="hu_HU.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en hu"
MAKEOPTS="-j3"
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=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 acl acpi alsa amd64 apache2 bash-completion berkdb bluetooth branding bzip2 cli consolekit cracklib crypt custom-cflags cxx dar32 dbus device-mapper dlloader dri dvd dvdr dvdread dynamic enca encode exif expat fam ffmpeg flac fuse gd gdbm gif glibc-omitfp glitz gpm hal hashstyle hddtemp iconv imagemagick inotify jce jpeg jpeg2k kde kipi libnotify lm_sensors lzma mad mmap mmx mmxext modules mp3 mpeg mplayer mudflap mysql ncurses nls nptl nptlonly nsplugin nvidia ogg opengl openmp optimized-qmake pam pch pcre pdf perl phonon png policykit ppds pppd private-headers python qt3support qt4 quicktime rdesktop readline session slang spell sse sse2 ssl ssse3 startup-notification svg symlink sysfs tcpd theora threads thumbnail tiff truetype udev unicode usb vdpau vorbis x264 xattr xcomposite xml xml2 xmp xorg xv xvid zlib" 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" 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 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 rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en hu" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia nv nouveau vesa" 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, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

dreamer welder # emerge -pqv =app-emulation/xen-tools-4.0.1
[ebuild  N    ] app-emulation/xen-tools-4.0.1  USE="custom-cflags -acm -api -debug -doc -flask (-hvm) -ioemu -pygrub -screen" 


Reproducible: Always

Steps to Reproduce:
1. emerge xen
2.
3.

Actual Results:  
dreamer welder # time emerge xen 
Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Starting parallel fetch

>>> Emerging (1 of 2) app-emulation/xen-tools-4.0.1
 * xen-4.0.1.tar.gz RMD160 SHA1 SHA256 size ;-) ...                      [ ok ]
 * Package:    app-emulation/xen-tools-4.0.1
 * Repository: gentoo
 * Maintainer: xen@gentoo.org
 * USE:        amd64 custom-cflags elibc_glibc kernel_linux userland_GNU
 * FEATURES:   preserve-libs sandbox
>>> Unpacking source...
>>> Unpacking xen-4.0.1.tar.gz to /var/tmp/portage/app-emulation/xen-tools-4.0.1/work
>>> Source unpacked in /var/tmp/portage/app-emulation/xen-tools-4.0.1/work
>>> Preparing source in /var/tmp/portage/app-emulation/xen-tools-4.0.1/work/xen-4.0.1 ...
 * User wants their own CFLAGS - removing defaults
 * Applying xen-tools-3.4.0-network-bridge-broadcast.patch ...                                                                                        [ ok ]
 * Applying xen-tools-3.3.0-nostrip.patch ...                                                                                                         [ ok ]
 * Applying xen-tools-3.3.1-sandbox-fix.patch ...                                                                                                     [ ok ]
 * Applying xen-tools-4.0.0-asneeded.patch ...                                                                                                        [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-emulation/xen-tools-4.0.1/work/xen-4.0.1 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/app-emulation/xen-tools-4.0.1/work/xen-4.0.1 ...
make -j3 -C tools 
make: Entering directory `/var/tmp/portage/app-emulation/xen-tools-4.0.1/work/xen-4.0.1/tools'
make[1]: Entering directory `/var/tmp/portage/app-emulation/xen-tools-4.0.1/work/xen-4.0.1/tools'
make -C check all
make[2]: Entering directory `/var/tmp/portage/app-emulation/xen-tools-4.0.1/work/xen-4.0.1/tools/check'
make[2]: *** ../../.config: Ez egy könyvtár.  Stop.
make[2]: Leaving directory `/var/tmp/portage/app-emulation/xen-tools-4.0.1/work/xen-4.0.1/tools/check'
make[1]: *** [subdir-all-check] Error 2
make[1]: Leaving directory `/var/tmp/portage/app-emulation/xen-tools-4.0.1/work/xen-4.0.1/tools'
make: *** [subdirs-all] Error 2
make: Leaving directory `/var/tmp/portage/app-emulation/xen-tools-4.0.1/work/xen-4.0.1/tools'
emake failed
 * ERROR: app-emulation/xen-tools-4.0.1 failed:
 *   compile failed
 * 
 * Call stack:
 *     ebuild.sh, line  56:  Called src_compile
 *   environment, line 5092:  Called die
 * The specific snippet of code:
 *       emake -C tools ${myopt} || die "compile failed";
 * 
 * If you need support, post the output of 'emerge --info =app-emulation/xen-tools-4.0.1',
 * the complete build log and the output of 'emerge -pqv =app-emulation/xen-tools-4.0.1'.
 * The complete build log is located at '/var/tmp/portage/app-emulation/xen-tools-4.0.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/xen-tools-4.0.1/temp/environment'.
 * S: '/var/tmp/portage/app-emulation/xen-tools-4.0.1/work/xen-4.0.1'

>>> Failed to emerge app-emulation/xen-tools-4.0.1, Log file:

>>>  '/var/tmp/portage/app-emulation/xen-tools-4.0.1/temp/build.log'


Expected Results:  
u know

dreamer welder # emerge --info
Portage 2.2.0_alpha15 (default/linux/amd64/10.0/no-multilib, gcc-4.5.2, glibc-2.12.2-r0, 2.6.37-gentoo x86_64)
=================================================================
System uname: Linux-2.6.37-gentoo-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_5200+-with-gentoo-2.0.1
Timestamp of tree: Wed, 12 Jan 2011 23:00:21 +0000
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.6.6-r1, 2.7.1, 3.1.3
dev-util/cmake:      2.8.3-r1
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.6.8
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.21
sys-devel/gcc:       4.5.2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
Repositories: gentoo
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1 sun-bcla-java-vm AdobeFlash-10.1 AdobeFlash-10"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer -mfpmath=sse -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /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"
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer -mfpmath=sse -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="hu_HU.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en hu"
MAKEOPTS="-j3"
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=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 acl acpi alsa amd64 apache2 bash-completion berkdb bluetooth branding bzip2 cli consolekit cracklib crypt custom-cflags cxx dar32 dbus device-mapper dlloader dri dvd dvdr dvdread dynamic enca encode exif expat fam ffmpeg flac fuse gd gdbm gif glibc-omitfp glitz gpm hal hashstyle hddtemp iconv imagemagick inotify jce jpeg jpeg2k kde kipi libnotify lm_sensors lzma mad mmap mmx mmxext modules mp3 mpeg mplayer mudflap mysql ncurses nls nptl nptlonly nsplugin nvidia ogg opengl openmp optimized-qmake pam pch pcre pdf perl phonon png policykit ppds pppd private-headers python qt3support qt4 quicktime rdesktop readline session slang spell sse sse2 ssl ssse3 startup-notification svg symlink sysfs tcpd theora threads thumbnail tiff truetype udev unicode usb vdpau vorbis x264 xattr xcomposite xml xml2 xmp xorg xv xvid zlib" 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" 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 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 rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en hu" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia nv nouveau vesa" 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, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Attila Jecs 2011-01-13 01:52:41 UTC
Created attachment 259675 [details]
xen-tools-4.0.1/temp/build.log

 * The complete build log is located at '/var/tmp/portage/app-emulation/xen-tools-4.0.1/temp/build.log'.
Comment 2 Attila Jecs 2011-01-13 01:54:55 UTC
well, the error string "Ez egy könyvtár" means this is a directory.
Comment 3 itacir 2011-02-28 18:59:20 UTC
I have a similar bug.

make[2]: Entering directory `/var/tmp/portage/app-emulation/xen-tools-4.0.1/work/xen-4.0.1/tools/check'
make[2]: *** ../../.config: Is a directory.  Stop.
make[2]: Leaving directory `/var/tmp/portage/app-emulation/xen-tools-4.0.1/work/xen-4.0.1/tools/check'
make[1]: *** [subdir-all-check] Error 2
make[1]: Leaving directory `/var/tmp/portage/app-emulation/xen-tools-4.0.1/work/xen-4.0.1/tools'
make: *** [subdirs-all] Error 2
make: Leaving directory `/var/tmp/portage/app-emulation/xen-tools-4.0.1/work/xen-4.0.1/tools'
emake failed
 * ERROR: app-emulation/xen-tools-4.0.1 failed:
 *   compile failed
 * 
 * Call stack:
 *     ebuild.sh, line  56:  Called src_compile
 *   environment, line 5059:  Called die
 * The specific snippet of code:
 *       emake -C tools ${myopt} || die "compile failed"; 


# emerge --info =app-emulation/xen-tools-4.0.1
Portage 2.1.9.25 (default/linux/x86/10.0/desktop/kde, gcc-4.4.5, glibc-2.11.2-r3, 2.6.36-gentoo-r5 i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.36-gentoo-r5-i686-Intel-R-_Atom-TM-_CPU_N270_@_1.60GHz-with-gentoo-1.12.14
Timestamp of tree: Mon, 28 Feb 2011 18:00:01 +0000
app-shells/bash:     4.1_p9
dev-lang/python:     2.6.6-r2, 3.1.3-r1
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.14-r1
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.65-r1
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
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -fomit-frame-pointer -msse -msse2 -msse3 -mmmx -m3dnow -pipe -mno-tls-direct-seg-refs"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=prescott -O2 -fomit-frame-pointer -msse -msse2 -msse3 -mmmx -m3dnow -pipe -mno-tls-direct-seg-refs"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.c3sl.ufpr.br/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en pt pt_BR"
MAKEOPTS="-j3"
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="   "
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gdu gif gpm iconv ipv6 jpeg kde lcms ldap libnotify mad mikmod mmx mng modules mp3 mp4 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf perl plasma png policykit ppds pppd python qt3support qt4 readline sdl session spell sse sse2 sse3 ssl ssse3 startup-notification svg sysfs tcpd threads tiff truetype udev unicode usb vorbis wifi x264 x86 xcb xcomposite xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 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" 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 synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en pt pt_BR" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" 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, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS



lines from 5049 at 5066 of '/var/tmp/portage/app-emulation/xen-tools-4.0.1/temp/environment':

src_compile ()
{
    export VARTEXFONTS="${T}/fonts";
    local myopt;
    use debug && myopt="${myopt} debug=y";
    use custom-cflags || unset CFLAGS;
    if test-flag-CC -fno-strict-overflow; then
        append-flags -fno-strict-overflow;
    fi;
    unset LDFLAGS;
    emake -C tools ${myopt} || die "compile failed";
    if use doc; then
        sh ./docs/check_pkgs || die "package check failed";
        emake docs || die "compiling docs failed";
        emake dev-docs || die "make dev-docs failed";
    fi;
    emake -C docs man-pages || die "make man-pages failed"
}
 
Comment 4 itacir 2011-02-28 19:03:40 UTC
my profile is 10.0 kde and updated

Reproducible: Always

Steps to Reproduce:
1. emerge xen-tools

Comment 5 Xangel2Net 2011-02-28 21:27:40 UTC
Problem is solved by copying config file from kernel ".config" to programm compiling path.
Comment 6 Xangel2Net 2011-02-28 21:43:10 UTC
(In reply to comment #5)
> Problem is solved by copying config file from kernel ".config" to programm
> compiling path.
> 

Next error:

gcc   -fno-strict-overflow -O2 -fomit-frame-pointer -m64 -fno-strict-aliasing -std=gnu99 -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement  -D__XEN_TOOLS__ -MMD -MF .subdirs-all.d  -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE  -O2 -fomit-frame-pointer -m64 -fno-strict-aliasing -std=gnu99 -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement  -D__XEN_TOOLS__ -MMD -MF .subdir-all-blktap.d  -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE  -O2 -fomit-frame-pointer -m64 -fno-strict-aliasing -std=gnu99 -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement  -D__XEN_TOOLS__ -MMD -MF .subdirs-all.d  -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE  -O2 -fomit-frame-pointer -m64 -fno-strict-aliasing -std=gnu99 -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement  -D__XEN_TOOLS__ -MMD -MF .subdir-all-drivers.d  -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE  -O2 -fomit-frame-pointer -m64 -fno-strict-aliasing -std=gnu99 -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement  -D__XEN_TOOLS__ -MMD -MF .blk_linux.o.d  -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE  -Werror -Wno-unused -I../lib -I../../../tools/libxc -I../../../tools/include -I../../../tools/xenstore -I../../../tools/include -I ../../libaio/src -I ../../memshr -D_GNU_SOURCE -DUSE_GCRYPT -DMEMSHR -c -o blk_linux.o blk_linux.c
gcc   -fno-strict-overflow -O2 -fomit-frame-pointer -m64 -fno-strict-aliasing -std=gnu99 -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement  -D__XEN_TOOLS__ -MMD -MF .subdirs-all.d  -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE  -O2 -fomit-frame-pointer -m64 -fno-strict-aliasing -std=gnu99 -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement  -D__XEN_TOOLS__ -MMD -MF .subdir-all-blktap.d  -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE  -O2 -fomit-frame-pointer -m64 -fno-strict-aliasing -std=gnu99 -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement  -D__XEN_TOOLS__ -MMD -MF .subdirs-all.d  -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE  -O2 -fomit-frame-pointer -m64 -fno-strict-aliasing -std=gnu99 -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement  -D__XEN_TOOLS__ -MMD -MF .subdir-all-drivers.d  -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE  -O2 -fomit-frame-pointer -m64 -fno-strict-aliasing -std=gnu99 -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement  -D__XEN_TOOLS__ -MMD -MF .img2qcow.o.d  -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE  -Werror -Wno-unused -I../lib -I../../../tools/libxc -I../../../tools/include -I../../../tools/xenstore -I../../../tools/include -I ../../libaio/src -I ../../memshr -D_GNU_SOURCE -DUSE_GCRYPT -DMEMSHR -c -o img2qcow.o img2qcow.c
cc1: warnings being treated as errors
In file included from tapdisk.h:62:0,
                 from blk_linux.c:4:
../lib/blktaplib.h:199:0: ошибка: "WRITE" redefined
/usr/include/linux/fs.h:150:0: замечание: this is the location of the previous definition
Comment 7 Liganic 2011-03-02 13:06:51 UTC
Created attachment 264355 [details, diff]
blktap patch by Ian Campbell from the xen-users list
Comment 8 Liganic 2011-03-02 13:07:36 UTC
Try compiling it with the added patch, it worked for me. (The patch is from the xen-users list)
Comment 9 Ian Delaney (RETIRED) gentoo-dev 2011-03-09 16:55:42 UTC
(In reply to comment #5)
> Problem is solved by copying config file from kernel ".config" to programm
> compiling path.

Xandel2Net,
well spotted, fixed here.
Comment 10 Dmitry 2011-03-17 14:07:31 UTC
Status:	NEW
Product:	Gentoo Linux
Component:	Ebuilds
Version:	11
Platform:	AMD64 Linux
Importance:	P2 major (vote)
Target Milestone:	---	
Whiteboard:	
Keywords: amd64 ~amd64

#emerge xen-tools
-- SOME GARBAGE HERE --
gcc   -fno-strict-overflow -O2 -fomit-frame-pointer -m64 -fno-strict-aliasing -std=gnu99 -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement  -D__XEN_TOOLS__ -MMD -MF .subdirs-all.d  -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE  -O2 -fomit-frame-pointer -m64 -fno-strict-aliasing -std=gnu99 -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement  -D__XEN_TOOLS__ -MMD -MF .subdir-all-blktap.d  -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE  -O2 -fomit-frame-pointer -m64 -fno-strict-aliasing -std=gnu99 -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement  -D__XEN_TOOLS__ -MMD -MF .subdirs-all.d  -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE  -O2 -fomit-frame-pointer -m64 -fno-strict-aliasing -std=gnu99 -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement  -D__XEN_TOOLS__ -MMD -MF .subdir-all-drivers.d  -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE  -O2 -fomit-frame-pointer -m64 -fno-strict-aliasing -std=gnu99 -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement  -D__XEN_TOOLS__ -MMD -MF .tapaio.o.d  -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE  -Werror -Wno-unused -I../lib -I../../../tools/libxc -I../../../tools/include -I../../../tools/xenstore -I../../../tools/include -I ../../libaio/src -I ../../memshr -D_GNU_SOURCE -DUSE_GCRYPT -DMEMSHR -c -o tapaio.o tapaio.c
gcc   -fno-strict-overflow -O2 -fomit-frame-pointer -m64 -fno-strict-aliasing -std=gnu99 -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement  -D__XEN_TOOLS__ -MMD -MF .subdirs-all.d  -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE  -O2 -fomit-frame-pointer -m64 -fno-strict-aliasing -std=gnu99 -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement  -D__XEN_TOOLS__ -MMD -MF .subdir-all-blktap.d  -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE  -O2 -fomit-frame-pointer -m64 -fno-strict-aliasing -std=gnu99 -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement  -D__XEN_TOOLS__ -MMD -MF .subdirs-all.d  -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE  -O2 -fomit-frame-pointer -m64 -fno-strict-aliasing -std=gnu99 -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement  -D__XEN_TOOLS__ -MMD -MF .subdir-all-drivers.d  -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE  -O2 -fomit-frame-pointer -m64 -fno-strict-aliasing -std=gnu99 -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement  -D__XEN_TOOLS__ -MMD -MF .blk_linux.o.d  -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE  -Werror -Wno-unused -I../lib -I../../../tools/libxc -I../../../tools/include -I../../../tools/xenstore -I../../../tools/include -I ../../libaio/src -I ../../memshr -D_GNU_SOURCE -DUSE_GCRYPT -DMEMSHR -c -o blk_linux.o blk_linux.c
In file included from tapdisk.h:62,
                 from blk_linux.c:4:
../lib/blktaplib.h:199:1: error: "WRITE" redefined
In file included from blk_linux.c:3:
/usr/include/linux/fs.h:150:1: error: this is the location of the previous definition
make[4]: *** [blk_linux.o] Error 1
make[4]: Leaving directory `/var/tmp/portage/app-emulation/xen-tools-4.0.1/work/xen-4.0.1/tools/blktap/drivers'
make[3]: *** [subdir-all-drivers] Error 2
make[3]: Leaving directory `/var/tmp/portage/app-emulation/xen-tools-4.0.1/work/xen-4.0.1/tools/blktap'
make[2]: *** [subdirs-all] Error 2
make[2]: Leaving directory `/var/tmp/portage/app-emulation/xen-tools-4.0.1/work/xen-4.0.1/tools/blktap'
make[1]: *** [subdir-all-blktap] Error 2
make[1]: Leaving directory `/var/tmp/portage/app-emulation/xen-tools-4.0.1/work/xen-4.0.1/tools'
make: *** [subdirs-all] Error 2
make: Leaving directory `/var/tmp/portage/app-emulation/xen-tools-4.0.1/work/xen-4.0.1/tools'
emake failed
 * ERROR: app-emulation/xen-tools-4.0.1 failed:
 *   compile failed
 *
 * Call stack:
 *     ebuild.sh, line  56:  Called src_compile
 *   environment, line 5094:  Called die
 * The specific snippet of code:
 *       emake -C tools ${myopt} || die "compile failed";
 *
 * If you need support, post the output of 'emerge --info =app-emulation/xen-tools-4.0.1',
 * the complete build log and the output of 'emerge -pqv =app-emulation/xen-tools-4.0.1'.
 * The complete build log is located at '/var/tmp/portage/app-emulation/xen-tools-4.0.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/xen-tools-4.0.1/temp/environment'.
 * S: '/var/tmp/portage/app-emulation/xen-tools-4.0.1/work/xen-4.0.1'

>>> Failed to emerge app-emulation/xen-tools-4.0.1, Log file:

>>>  '/var/tmp/portage/app-emulation/xen-tools-4.0.1/temp/build.log'

 * Messages for package app-emulation/xen-tools-4.0.1:

 * ERROR: app-emulation/xen-tools-4.0.1 failed:
 *   compile failed
 *
 * Call stack:
 *     ebuild.sh, line  56:  Called src_compile
 *   environment, line 5094:  Called die
 * The specific snippet of code:
 *       emake -C tools ${myopt} || die "compile failed";
 *
 * If you need support, post the output of 'emerge --info =app-emulation/xen-tools-4.0.1',
 * the complete build log and the output of 'emerge -pqv =app-emulation/xen-tools-4.0.1'.
 * The complete build log is located at '/var/tmp/portage/app-emulation/xen-tools-4.0.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/xen-tools-4.0.1/temp/environment'.
 * S: '/var/tmp/portage/app-emulation/xen-tools-4.0.1/work/xen-4.0.1'
#

used patch http://lists.xensource.com/archives/html/xen-users/2010-12/msg00313.html

problem solved
Comment 11 Andy Wilkinson 2011-03-21 18:16:39 UTC
This happens to 4.0.0 as well, and the same patch fixes it.
Comment 12 Alexey Shvetsov archtester gentoo-dev 2011-03-26 11:22:35 UTC
Xen 4.1 in tree. Please test with it and reopen if it doesnt work