Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 379065 - app-emulation/xen-pvgrub-4.1.1 - make[1]: *** INTERNAL: readdir: Bad file descriptor
Summary: app-emulation/xen-pvgrub-4.1.1 - make[1]: *** INTERNAL: readdir: Bad file des...
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Xen Devs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-13 13:41 UTC by Vitaliy V. Osypenko
Modified: 2011-09-07 03:36 UTC (History)
2 users (show)

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


Attachments
Build log (gzip) (app-emulation:xen-pvgrub-4.1.1:20110817-173013.log.gz,40.14 KB, application/gzip)
2011-08-17 17:29 UTC, Vitaliy V. Osypenko
Details
patch to ebuild 4.1.1 to set MAKEOPTS (makeoptsPatch.txt,1.72 KB, text/plain)
2011-09-07 03:32 UTC, Ian Delaney (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vitaliy V. Osypenko 2011-08-13 13:41:01 UTC
make[1]: Entering directory `/var/tmp/portage/portage/app-emulation/xen-pvgrub-4.1.1/work/xen-4.1.1/stubdom/pciutils-x86_64'
make[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
make -C lib all
make[1]: Entering directory `/var/tmp/portage/portage/app-emulation/xen-pvgrub-4.1.1/work/xen-4.1.1/stubdom/libxc-x86_64'
make[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
make[1]: *** INTERNAL: readdir: Bad file descriptor
.  Stop.
make[1]: .*.d: Field 'stem' not cached: .*.d

make[1]: Leaving directory `/var/tmp/portage/portage/app-emulation/xen-pvgrub-4.1.1/work/xen-4.1.1/stubdom/libxc-x86_64'
make: *** [libxc-x86_64/libxenctrl.a] Error 2
make: *** Waiting for unfinished jobs....


Portage 2.2.0_alpha51 (default/linux/amd64/10.0/desktop, gcc-4.5.3, glibc-2.13-r4, 2.6.39.4-zen-bfs+ x86_64)
=================================================================
System uname: Linux-2.6.39.4-zen-bfs+-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_5000+-with-gentoo-2.0.3
Timestamp of tree: Sat, 13 Aug 2011 00:45:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 3.1.5 [disabled]
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r2, 3.2-r2
dev-util/ccache:          3.1.5
dev-util/cmake:           2.8.5-r2
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.6.3-r1, 1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:       2.21.1
sys-devel/gcc:            4.4.6, 4.5.3
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.38 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: zugaina rion kde-sunset kde sunrise local gentoo
Installed sets: @kdeadmin-4.7, @kdeartwork-4.7, @kdebase-4.7, @kdegames-4.7, @kdegraphics-4.7, @kdelibs-4.7, @kdemultimedia-4.7, @kdenetwork-4.7, @kdeutils-4.7, @kdewebdev-4.7, @system
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -msse3 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /usr/share/themes/oxygen-gtk/gtk-2.0"
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.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=native -msse3 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y --keep-going"
FEATURES="assume-digests binpkg-logs buildpkg distlocks ebuild-locks fixlafiles fixpackages metadata-transfer news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="ftp://ftp.linux.cz/pub/linux/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en cs ru"
MAKEOPTS="-j2"
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/portage"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/zugaina /var/lib/layman/rion /var/lib/layman/kde-sunset /var/lib/layman/kde /var/lib/layman/sunrise /system/portage-local /usr/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 64bit 7zip X a52 aac acl acpi alsa amd64 avi bash-completion bitmap-fonts bluetooth branding bzip2 cairo cdda cddb cdr cli consolekit cpudetection cracklib crypt css cups cxx dbus devmap dlloader dri dts dv dvd dvdr dvdread emboss emul-linux-x86 encode exif extensions fam fbcon ffmpeg firefox flac fortran ftp fuse gdbm gdu gif glut gnutls gpm gstreamer gtk gtk2 htmlhandbook iconv ieee1394 ipv6 jpeg kde lame lcms libg++ libnotify lm_sensors logitech-mouse mad mikmod mmx mng modules mp3 mp4 mpeg mplayer mudflap multilib musepack musicbrainz ncurses nls nptl nptlonly nvidia ogg opengl openmp oss pam pango pcre pdf pdflib perl png policykit ppds pppd python qt3 qt3support qt4 quicktime readline reflection sdl session spell spl sse sse-filters sse2 sse3 ssl startup-notification svg symlink sysfs tcpd threads tiff tk truetype truetype-fonts type1-fonts udev unicode usb utf8 vcd vorbis x264 xcb xcomposite xml xorg xscreensaver xulrunner xv xvid zlib" ALSA_CARDS="intel8x0" 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="cgi cgid 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 mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en cs ru" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS



Reproducible: Always
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2011-08-15 01:24:52 UTC
Please attach the entire build log.
Comment 2 Vitaliy V. Osypenko 2011-08-17 17:29:54 UTC
Created attachment 283677 [details]
Build log (gzip)
Comment 3 Vitaliy V. Osypenko 2011-08-17 17:30:35 UTC
Comment on attachment 283677 [details]
Build log (gzip)

Gzipped
Comment 4 Peter Große 2011-08-31 16:51:28 UTC
I can reproduce this on a x86_64 machine.

But MAKEOPTS="-j1" emerge xen-pvgrub seems to work. Maybe the libxc build depends on the existance of files from the pciutils build. I'll look deeper into this later this week.
Comment 5 Ian Delaney (RETIRED) gentoo-dev 2011-09-02 06:36:52 UTC
curious, I would not have thought of trying a minimal MAKEOPTS.
emerged as you said.
I had a different error when it pulled, but it was tied in to the pciutils package.
Comment 6 Ian Delaney (RETIRED) gentoo-dev 2011-09-03 17:19:02 UTC
emerged with MAKEOPTS=-j2 and it failed to build.
Does require -1!!!
Comment 7 Ian Delaney (RETIRED) gentoo-dev 2011-09-07 03:32:35 UTC
Created attachment 285755 [details]
patch to ebuild 4.1.1 to set MAKEOPTS

Chang
Comment 8 Ian Delaney (RETIRED) gentoo-dev 2011-09-07 03:36:03 UTC
Changelog entry to add

  Sep 7 2011; Alexey Shvetsov <alexxy@gentoo.org> xen-pvgrub-4.1.1.ebuild,
  fix / workaround, set MAKEOPTS=-j1 for bug #379065.
  input from Ian Delaney aka idella4