pyxml build failed, with very strange errors (/dev/null access and invalid find flags) Reproducible: Always Steps to Reproduce: 1. ACCEPT_KEYWORDS="~amd64" emerge net-p2p/freenet 2. 3. Actual Results: >>> Failed to emerge dev-python/pyxml-0.8.4-r2 I will attach files with additional information, and there is emerge --info home ~ # emerge --info Portage 2.1.6.7 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.8_p20080602-r0, 2.6.29-rc8-home1 x86_64) ================================================================= System uname: Linux-2.6.29-rc8-home1-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-glibc2.2.5 Timestamp of tree: Sat, 21 Mar 2009 13:00:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7, 2.1.7 dev-lang/python: 2.4.4-r13, 2.5.4-r2 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 dev-util/cmake: 2.4.8 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.28-r1 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -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" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://mirror.jamit.de/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo" LDFLAGS="-Wl,-O1" MAKEOPTS="-j5" 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="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="7zip X a52 aac acl acpi alias alsa amd64 amrnb amrwb analogtv apache2 archive async autoreplace avahi bash-completion berkdb bittorrent bluetooth bwscheduler bzip2 capi cdaudio cdda cdio cdparanoia cdr cdrom chm cli colordiff connectionstatus console corefonts cracklib crypt cutterlimit cutterqueue cuttime dbus dirac divx djvu dmi dri dvd dvdarchive dvdr dvdread ffmpeg fortran gdbm gpm hal iconv ipv6 isdnlog midi mmx mudflap multilib ncurses nls nptl nptlonly opengl openmp pam pcre perl pppd python qt3 qt4 readline reflection samba session spl sse sse2 ssl sysfs tcpd truetype unicode xorg 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 authn_alias authn_anon 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
>>> Unpacking source... >>> Unpacking PyXML-0.8.4.tar.gz to /var/tmp/portage/dev-python/pyxml-0.8.4-r2/work find: unrecognized: -mindepth BusyBox v1.11.1 (2008-11-28 09:21:02) multi-call binary Usage: find [PATH...] [EXPRESSION] Search for files. The default PATH is the current directory, default EXPRESSION is '-print' EXPRESSION may consist of: -follow Dereference symlinks -xdev Don't descend directories on other filesystems -maxdepth N Descend at most N levels. -maxdepth 0 applies tests/actions to command line arguments only -name PATTERN File name (w/o directory name) matches PATTERN -iname PATTERN Case insensitive -name -path PATTERN Path matches PATTERN -regex PATTERN Path matches regex PATTERN -type X File type is X (X is one of: f,d,l,b,c,...) -perm NNN Permissions match any of (+NNN), all of (-NNN), or exactly (NNN) -mtime DAYS Modified time is greater than (+N), less than (-N), or exactly (N) days -mmin MINS Modified time is greater than (+N), less than (-N), or exactly (N) minutes -newer FILE Modified time is more recent than FILE's -inum N File has inode number N -user NAME File is owned by user NAME (numeric user ID allowed) -group NAME File belongs to group NAME (numeric group ID allowed) -depth Process directory name after traversing it -size N[bck] File size is N (c:bytes,k:kbytes,b:512 bytes(def.)). +/-N: file size is bigger/smaller than N -print Print (default and assumed) -print0 Delimit output with null characters rather than newlines -exec CMD ARG ; Execute CMD with all instances of {} replaced by the matching files -prune Stop traversing current subtree -delete Delete files, turns on -depth option (EXPR) Group an expression * Applying pyxml-0.8.4-python-2.6.patch ... * Failed Patch: pyxml-0.8.4-python-2.6.patch ! * ( /usr/portage/dev-python/pyxml/files/pyxml-0.8.4-python-2.6.patch ) * * Include in your bugreport the contents of: * * /var/tmp/portage/dev-python/pyxml-0.8.4-r2/temp/pyxml-0.8.4-python-2.6.patch-28018.out * * ERROR: dev-python/pyxml-0.8.4-r2 failed. * Call stack: * ebuild.sh, line 49: Called src_unpack * environment, line 2515: Called epatch '/usr/portage/dev-python/pyxml/files/pyxml-0.8.4-python-2.6.patch' * environment, line 1329: Called die * The specific snippet of code: * die "Failed Patch: ${patchname}!"; * The die message: * Failed Patch: pyxml-0.8.4-python-2.6.patch! * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/log/portage/dev-python:pyxml-0.8.4-r2:20090322-021634.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/pyxml-0.8.4-r2/temp/environment'.
*** This bug has been marked as a duplicate of bug 263340 ***