Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 290438 - dev-util/boost-build-1.40 failed to compile
Summary: dev-util/boost-build-1.40 failed to compile
Status: RESOLVED DUPLICATE of bug 293652
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Tiziano Müller (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-25 09:09 UTC by Cyrius
Modified: 2009-11-18 19:42 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cyrius 2009-10-25 09:09:31 UTC
When emerging boost-build, i've got this error :
>>> Emerging (1 of 1) dev-util/boost-build-1.40.0
 * boost_1_40_0.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                                                                   [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                                      [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                                     [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                                    [ ok ]
>>> Unpacking source...                                                                                                                                                         
>>> Source unpacked in /var/tmp/portage/dev-util/boost-build-1.40.0/work                                                                                                        
>>> Preparing source in /var/tmp/portage/dev-util/boost-build-1.40.0/work/boost_1_40_0/tools ...                                                                                
>>> Source prepared.                                                                                                                                                            
>>> Configuring source in /var/tmp/portage/dev-util/boost-build-1.40.0/work/boost_1_40_0/tools ...                                                                              
>>> Source configured.                                                                                                                                                          
>>> Compiling source in /var/tmp/portage/dev-util/boost-build-1.40.0/work/boost_1_40_0/tools ...                                                                                
###                                                                                                                                                                             
### Using 'cc' toolset.                                                                                                                                                         
###                                                                                                                                                                             
rm -rf bootstrap                                                                                                                                                                
mkdir bootstrap                                                                                                                                                                 
i686-pc-linux-gnu-gcc -o bootstrap/mkjambase0 -march=nocona -O2 -pipe -fomit-frame-pointer -mmmx -msse3 -mfpmath=sse -maccumulate-outgoing-args -fno-strict-aliasing -Wl,-O1 mkjambase.c                                                                                                                                                                          
./bootstrap/mkjambase0 jambase.c Jambase                                                                                                                                         
i686-pc-linux-gnu-gcc -o bootstrap/jam0 -march=nocona -O2 -pipe -fomit-frame-pointer -mmmx -msse3 -mfpmath=sse -maccumulate-outgoing-args -fno-strict-aliasing -Wl,-O1 command.c compile.c debug.c expand.c glob.c hash.c hdrmacro.c headers.c jam.c jambase.c jamgram.c lists.c make.c make1.c newstr.c option.c output.c parse.c pathunix.c pathvms.c regexp.c rules.c scan.c search.c subst.c timestamp.c variable.c modules.c strings.c filesys.c builtins.c pwd.c class.c native.c w32_getreg.c modules/set.c modules/path.c modules/regex.c modules/property-set.c modules/sequence.c modules/order.c execunix.c fileunix.c                                                                                                   
hash.c: In function 'hashstat':                                                                                                                                                  
hash.c:458: attention : format '%ld' expects type 'long int', but argument 7 has type 'unsigned int'                                                                             
variable.c: In function 'var_string_to_file':                                                                                                                                    
variable.c:408: attention : ignoring return value of 'fwrite', declared with attribute warn_unused_result                                                                        
variable.c:409: attention : ignoring return value of 'fwrite', declared with attribute warn_unused_result                                                                        
./bootstrap/jam0 -f build.jam --toolset=cc --toolset-root= clean                                                                                                                 
...found 1 target...                                                                                                                                                             
...updating 1 target...                                                                                                                                                          
...updated 1 target...                                                                                                                                                           
./bootstrap/jam0 -f build.jam --toolset=cc --toolset-root= --with-python                                                                                                         
...found 47 targets...                                                                                                                                                           
...updating 2 targets...                                                                                                                                                         
[MKDIR] bin.linuxx86                                                                                                                                                             
[COMPILE] bin.linuxx86/bjam                                                                                                                                                      
i686-pc-linux-gnu-gcc:  : Aucun fichier ou dossier de ce type                                                                                                                    
i686-pc-linux-gnu-gcc:  : Aucun fichier ou dossier de ce type                                                                                                                    
i686-pc-linux-gnu-gcc:  : Aucun fichier ou dossier de ce type                                                                                                                    
i686-pc-linux-gnu-gcc:  : Aucun fichier ou dossier de ce type                                                                                                                    
i686-pc-linux-gnu-gcc:  : Aucun fichier ou dossier de ce type                                                                                                                    
i686-pc-linux-gnu-gcc:  : Aucun fichier ou dossier de ce type                                                                                                                    
i686-pc-linux-gnu-gcc:  : Aucun fichier ou dossier de ce type                                                                                                                    
i686-pc-linux-gnu-gcc:  : Aucun fichier ou dossier de ce type                                                                                                                    
hash.c: In function 'hashstat':                                                                                                                                                  
hash.c:458: attention : format '%ld' expects type 'long int', but argument 7 has type 'unsigned int'                                                                             
hcache.c: In function 'write_netstring':                                                                                                                                         
hcache.c:169: attention : format '%lu' expects type 'long unsigned int', but argument 3 has type 'size_t'                                                                        
variable.c: In function 'var_string_to_file':                                                                                                                                    
variable.c:408: attention : ignoring return value of 'fwrite', declared with attribute warn_unused_result                                                                        
variable.c:409: attention : ignoring return value of 'fwrite', declared with attribute warn_unused_result                                                                        

    "i686-pc-linux-gnu-gcc"   -o bin.linuxx86/bjam "-DNDEBUG" "-DOPT_HEADER_CACHE_EXT" "-DOPT_GRAPH_DEBUG_EXT" "-DOPT_SEMAPHORE" "-DOPT_AT_FILES" "-DOPT_DEBUG_PROFILE" "-DOPT_FIX_TARGET_VARIABLES_EXT" "-DOPT_IMPROVED_PATIENCE_EXT" "-DYYSTACKSIZE=5000" "-march=nocona" "-O2" "-pipe" "-fomit-frame-pointer" "-mmmx" "-msse3" "" "" "" "" "" "" "" "" "-mfpmath=sse" "-maccumulate-outgoing-args" "-fno-strict-aliasing" "-O" "-Wl,-O1" "command.c" "compile.c" "debug.c" "expand.c" "glob.c" "hash.c" "hcache.c" "headers.c" "hdrmacro.c" "jam.c" "jambase.c" "jamgram.c" "lists.c" "make.c" "make1.c" "mem.c" "newstr.c" "option.c" "output.c" "parse.c" "regexp.c" "rules.c" "scan.c" "search.c" "subst.c" "w32_getreg.c" "timestamp.c" "variable.c" "modules.c" "strings.c" "filesys.c" "builtins.c" "pwd.c" "class.c" "native.c" "modules/set.c" "modules/path.c" "modules/regex.c" "modules/property-set.c" "modules/sequence.c" "modules/order.c" "execunix.c" "fileunix.c" "pathunix.c"                                                                                                   

...failed [COMPILE] bin.linuxx86/bjam...
...failed updating 1 target...
...updated 1 target...
 * ERROR: dev-util/boost-build-1.40.0 failed:
 *   building bjam failed
 *
 * Call stack:
 *     ebuild.sh, line  49:  Called src_compile
 *   environment, line 2874:  Called die
 * The specific snippet of code:
 *           LIBS=${LDFLAGS} CC=$(tc-getCC) ./build.sh ${toolset} $(use_with python) || die "building bjam failed";
 *
 * If you need support, post the output of 'emerge --info =dev-util/boost-build-1.40.0',
 * the complete build log and the output of 'emerge -pqv =dev-util/boost-build-1.40.0'.
 * The complete build log is located at '/var/tmp/portage/dev-util/boost-build-1.40.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-util/boost-build-1.40.0/temp/environment'.
 * S: '/var/tmp/portage/dev-util/boost-build-1.40.0/work/boost_1_40_0/tools'

Reproducible: Always




emerge --info
Portage 2.1.7.1 (!//usr/portage/profiles/default/linux/x86/10.0, gcc-4.4.2, glibc-2.10.1-r0, 2.6.31-gentoo i686)
=================================================================                                               
System uname: Linux-2.6.31-gentoo-i686-Intel-R-_Core-TM-2_Duo_CPU_T7700_@_2.40GHz-with-gentoo-2.0.1             
Timestamp of tree: Sat, 24 Oct 2009 14:45:03 +0000                                                              
app-shells/bash:     4.0_p33                                                                                    
dev-java/java-config: 2.1.9-r1                                                                                  
dev-lang/python:     2.6.3, 3.1.1-r1                                                                            
dev-python/pycrypto: 2.0.1-r8                                                                                   
dev-util/cmake:      2.6.4-r3                                                                                   
sys-apps/baselayout: 2.0.1                                                                                      
sys-apps/openrc:     0.5.2-r1                                                                                   
sys-apps/sandbox:    2.1
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.20
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer -mmmx -msse3         -mfpmath=sse -maccumulate-outgoing-args"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /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="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LC_ALL="fr_FR"
LDFLAGS="-Wl,-O1"
LINGUAS="fr"
MAKEOPTS="-j1"
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="X a52 aac aalib acl acpi alsa arts audiofile avi berkdb bidi bzip2 bzlib cairo cdda cdparanoia chm cli cracklib crypt cups curl dbus dell dri dts dv dvd dvdr dvdread encode fam ffmpeg foomatic fortran freetype gd gdbm gif gimp glibc-omitfp glitz gpm gtk gtk2 hal htmlhandbook iconv id3 isdnlog java java6 jpeg jpeg2k kde lame libwww loop-aes lua lzma mad madwifi matroska melt mmx mng modules mozilla mp3 mp4live mpeg mpeg2 mudflap ncurses nls nptl nptlonly ogg oggvorbis opengl openmp oss pam pcre pdf perl player png ppds pppd python qt3support qt4 quicktime rdesktop readline reflection samba sdl session slp spell spl sse sse2 sse3 ssl ssse3 svg svga sysfs tcpd theora tiff truetype unicode v4l v4l2 vorbis wavpack wifi win32codecs wmf wmv x86 xcb xcomposite xmms xorg xscreensaver xulrunner xv xvid zeroconf zlib" ALSA_CARDS="hda-intel intel8x0 intel8x0m" 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 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" ELIBC="glibc" INPUT_DEVICES="evdev mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr" USERLAND="GNU" VIDEO_CARDS="nvidia vesa vga"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Cyrius 2009-10-29 10:37:40 UTC
Hi,
 After trying different compile options, i realize that boost-build doesn't support -pipe and -fomit-frame-pointer.
 You should filter those options in your ebuild.

Cheers. 
Comment 2 Sebastian Luther (few) 2009-11-10 15:56:38 UTC
The above log does not contain an error message and it's very unlikely that -pipe or -fomit-frame-pointer make the merge fail. Is this failure reproducible?
Comment 3 Sebastian Luther (few) 2009-11-10 16:02:38 UTC
This looks like bug 278148. Remove extra white space and line breaks from your C(XX)FLAG definition.
Comment 4 Sebastian Luther (few) 2009-11-18 19:42:31 UTC

*** This bug has been marked as a duplicate of bug 293652 ***