Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 264096 - sys-apps/preload-0.6.3-r5: emerge failed
Summary: sys-apps/preload-0.6.3-r5: emerge failed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Jeremy Olexa (darkside) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-28 18:20 UTC by bay
Modified: 2009-05-20 03:01 UTC (History)
0 users

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


Attachments
build.log (build.log,8.88 KB, text/plain)
2009-03-28 18:23 UTC, bay
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bay 2009-03-28 18:20:55 UTC
-- CUT --

make[3]: Entering directory `/var/tmp/portage/sys-apps/preload-0.6.3-r5/work/preload-0.6.3/src'                                                                                             
make[3]: `preload' is up to date.                                                             
make[3]: Leaving directory `/var/tmp/portage/sys-apps/preload-0.6.3-r5/work/preload-0.6.3/src'
Creating preload.8 using help2man(1)                                                          
. gen.preload.conf.sh preload.conf.in confkeys.h > preload.conf                               
/bin/sh: line 0: .: gen.preload.conf.sh: file not found                                       
make[2]: *** [preload.conf] Error 1                                                           
make[2]: Leaving directory `/var/tmp/portage/sys-apps/preload-0.6.3-r5/work/preload-0.6.3/src'
make[1]: *** [all-recursive] Error 1                                                          
make[1]: Leaving directory `/var/tmp/portage/sys-apps/preload-0.6.3-r5/work/preload-0.6.3'    
make: *** [all] Error 2    

for me i solved it with this:

diff src/Makefile src/Makefile2
660c660
<       ./$^ > $@
---
>       . $^ > $@



Reproducible: Always
Comment 1 bay 2009-03-28 18:23:38 UTC
Created attachment 186579 [details]
build.log

build.log
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-03-28 20:50:04 UTC
Please post your "emerge --info".
Comment 3 bay 2009-03-28 21:29:37 UTC
Portage 2.1.6.10 (default/linux/amd64/2008.0/desktop, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.29-gentoo x86_64)                                                                              
=================================================================                             
System uname: Linux-2.6.29-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7300_@_2.00GHz-with-glibc2.2.5                                                                                         
Timestamp of tree: Fri, 27 Mar 2009 01:45:01 +0000                                            
app-shells/bash:     4.0_p10-r1                                                               
dev-java/java-config: 2.1.7                                                                   
dev-lang/python:     2.5.4-r2                                                                 
dev-util/cmake:      2.6.3                                                                    
sys-apps/baselayout: 2.0.0                                                                    
sys-apps/openrc:     0.4.3-r1                                                                 
sys-apps/sandbox:    1.6                                                                      
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.19.1-r1                                                                
sys-devel/gcc-config: 1.4.1                                                                   
sys-devel/libtool:   2.2.6a                                                                   
virtual/os-headers:  2.6.28-r1                                                                
ACCEPT_KEYWORDS="amd64 ~amd64"                                                                
CBUILD="x86_64-pc-linux-gnu"                                                                  
CFLAGS="-O2 -pipe -march=nocona"                                                              
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/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"                                                                                       
CXXFLAGS="-O2 -pipe -march=nocona"                                                            
DISTDIR="/usr/portage/distfiles"                                                              
FEATURES="distlocks fixpackages metadata-transfer parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"                                                            
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"                                                                                       
LANG="POSIX"                                                                                  
LC_ALL=""                                                                                     
LDFLAGS="-Wl,-O1"                                                                             
LINGUAS="ru en"                                                                               
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/layman/x11"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 7zip X a52 aac aalib accessibility acl acpi alsa amarok2 amd64 apache2 artswrappersuid audiofile berkdb bluetooth branding bzip2 cairo caps cdparanoia cdr cli clucene cracklib crypt cups curl dbus dedicated directfb djvu dri dvd dvdr dvdread emboss encode esd fam fbcon ffmpeg firefox flac fortran ftp gd gdbm gif glib glibc-omipfp glitz gpm gstreamer gtkhal iconv icq isdnlog ithreads java javascript jpeg jpeg2k kde kde4 libcaca libnotify lm_sensors mad memlimit midi mikmod mime mmx mng mp3 mpeg mplayer mudflap multilib mysql ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl pgg php png pppd python qt3 qt3support qt4 quicktime rcc readline reflection samba sdl semantic-desktop session slang spl sse sse2 sse3 ssl ssse3 startup-notification svg sysfs syslog tcpd threads tiff truetype unicode usb userlocales usu v4l v4l2 vorbis webkit wifi wmf xcb xcomposite xml xorg xscreensaver xulrunner xv xvid 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 plugrate 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" LINGUAS="ru en" USERLAND="GNU" VIDEO_CARDS="intel vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 Paul Mulders 2009-04-01 14:40:59 UTC
the diff given by reporter is actually the wrong way around. worked for me tho when applied. 
Comment 5 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-04-01 14:48:59 UTC
thx, I'll check it out soon.
Comment 6 Ronny Bull 2009-04-01 17:06:00 UTC
(In reply to comment #5)
> thx, I'll check it out soon.
> 

I am having this same issue.  Note that preload fails to compile on every x86 pc I try it on but it will compile fine on amd64 pc's.  

Creating preload.8 using help2man(1)
. gen.preload.conf.sh preload.conf.in confkeys.h > preload.conf
/bin/sh: line 0: .: gen.preload.conf.sh: file not found
make[2]: *** [preload.conf] Error 1
make[2]: Leaving directory `/var/tmp/portage/sys-apps/preload-0.6.3-r5/work/preload-0.6.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/sys-apps/preload-0.6.3-r5/work/preload-0.6.3'
make: *** [all] Error 2
 * 
 * ERROR: sys-apps/preload-0.6.3-r5 failed.
 * Call stack:
 *               ebuild.sh, line   48:  Called src_compile
 *             environment, line 2129:  Called die
 * The specific snippet of code:
 *       emake -j1 || die "emake failed"
 *  The die message:
 *   emake failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/sys-apps/preload-0.6.3-r5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-apps/preload-0.6.3-r5/temp/environment'.
 * 
Comment 7 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-04-06 02:23:07 UTC
odd, I cannot reproduce with this setup:

Portage 2.1.6.11 (default/linux/amd64/2008.0, gcc-4.3.2, glibc-2.8_p20080602-r1, 2.6.28.6 x86_64)
Comment 8 Benigno B. Junior 2009-04-08 08:49:10 UTC
(In reply to comment #6)
> (In reply to comment #5)
> > thx, I'll check it out soon.
> > 
> 
> I am having this same issue.  Note that preload fails to compile on every x86
> pc I try it on but it will compile fine on amd64 pc's.  
> 
> Creating preload.8 using help2man(1)
> . gen.preload.conf.sh preload.conf.in confkeys.h > preload.conf
> /bin/sh: line 0: .: gen.preload.conf.sh: file not found
> make[2]: *** [preload.conf] Error 1
> make[2]: Leaving directory
> `/var/tmp/portage/sys-apps/preload-0.6.3-r5/work/preload-0.6.3/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> `/var/tmp/portage/sys-apps/preload-0.6.3-r5/work/preload-0.6.3'
> make: *** [all] Error 2
>  * 
>  * ERROR: sys-apps/preload-0.6.3-r5 failed.
>  * Call stack:
>  *               ebuild.sh, line   48:  Called src_compile
>  *             environment, line 2129:  Called die
>  * The specific snippet of code:
>  *       emake -j1 || die "emake failed"
>  *  The die message:
>  *   emake failed
>  * 
>  * If you need support, post the topmost build error, and the call stack if
> relevant.
>  * A complete build log is located at
> '/var/tmp/portage/sys-apps/preload-0.6.3-r5/temp/build.log'.
>  * The ebuild environment file is located at
> '/var/tmp/portage/sys-apps/preload-0.6.3-r5/temp/environment'.
>  * 
> 

Try it again. If it fails, try this:
FEATURES=keepwork emerge preload

I had the same error and it worked out.
Comment 9 Thomas Benn 2009-04-27 05:46:07 UTC
I get the same error, even using the recommended
FEATURES=keepwork emerge preload

I do have an amd64 based system, however. My emerge info:

Portage 2.1.6.11 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.29-gentoo-r1 x86_64)
=================================================================                                        
System uname: Linux-2.6.29-gentoo-r1-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_3600+-with-gentoo-2.0.0
Timestamp of tree: Sun, 26 Apr 2009 10:15:01 +0000                                                          
app-shells/bash:     4.0_p17-r1                                                                             
dev-java/java-config: 2.1.7                                                                                 
dev-lang/python:     2.6.2                                                                                  
dev-util/cmake:      2.6.3-r1                                                                               
sys-apps/baselayout: 2.0.0                                                                                  
sys-apps/openrc:     0.4.3-r2                                                                               
sys-apps/sandbox:    1.9                                                                                    
sys-devel/autoconf:  2.13, 2.63-r1                                                                          
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10.2                                                             
sys-devel/binutils:  2.19.1-r1                                                                              
sys-devel/gcc-config: 1.4.1                                                                                 
sys-devel/libtool:   2.2.6a                                                                                 
virtual/os-headers:  2.6.28-r1                                                                              
ACCEPT_KEYWORDS="amd64 ~amd64"                                                                              
CBUILD="x86_64-pc-linux-gnu"                                                                                
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"                                                       
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 /var/lib/hsqldb"                                                                                                  
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/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"                                      
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"                                                      
DISTDIR="/usr/portage/distfiles"                                                                             
FEATURES="distlocks fixpackages paralell-fetch parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"                                                                                             
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gentoo.mneisen.org/ http://de-mirror.org/distro/gentoo/ "                                                                                    
LDFLAGS="-Wl,-O1"
LINGUAS="de en"
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"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow X acl alsa amd64 berkdb bindist bzip2 cdaudio cdda cddb cdr cli cracklib crypt cups dbus dri dvd embedded encode flac fortran gdbm gif gpm hal iconv ipv6 isdnlog java joystick jpeg kde ladspa midi mmx mp3 mudflap multilib mysql ncurses nls nptl nptlonly ogg opengl openmp pam pcre perl png ppds pppd python qt3 qt4 readline reflection sensord session spl sse sse2 ssl svg sysfs tcpd tiff truetype unicode vamp vorbis webkit 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 linearmeter 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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 10 Thomas Benn 2009-05-01 14:41:05 UTC
Oh, and it dies the same way, whether I have the vanilla flag set or not...
Comment 11 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-05-07 03:07:35 UTC
0.6.4 fixes the issue? (in tree just now)
Comment 12 bay 2009-05-08 05:26:16 UTC
(In reply to comment #11)
> 0.6.4 fixes the issue? (in tree just now)
> 

yes, it's working for me