Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 307417 - sys-block/gpart-0.1h-r1 fails to build during "emerge -e"; seems to be using C99 constructs
Summary: sys-block/gpart-0.1h-r1 fails to build during "emerge -e"; seems to be using ...
Status: RESOLVED DUPLICATE of bug 261145
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-02 04:10 UTC by Kevin O'Gorman
Modified: 2010-03-07 00:02 UTC (History)
0 users

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


Attachments
build log, as requested in the error message (build.log,2.92 KB, text/plain)
2010-03-02 04:11 UTC, Kevin O'Gorman
Details
the build environment, mentioned in the error message (environment,83.05 KB, text/plain)
2010-03-02 04:12 UTC, Kevin O'Gorman
Details
output of emerge --info =sys-block/gpart-0.1h-r1 (typescript,11.37 KB, text/plain)
2010-03-02 04:19 UTC, Kevin O'Gorman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin O'Gorman 2010-03-02 04:10:18 UTC
I upgraded gcc to 4.3.4 because some package or other was requiring a later gcc.  I've gotten through "emerge -e system" and I'm now trying "emerge -e world".  This went for a while but stopped at sys-block/gpart-0.1h-r1 which was going to be
>>> Emerging (70 of 1119) sys-block/gpart-0.1h-r1


Reproducible: Always

Actual Results:  
make[1]: Entering directory `/var/tmp/portage/sys-block/gpart-0.1h-r1/work/gpart-0.1h/src'
gcc -Wall -O2 -march=pentium4 -fomit-frame-pointer -pipe -mfpmath=sse -msse2 -mmmx -pedantic -DVERSION=\"0.1h\"   -c -o gpart.o gpart.c
gpart.c:72: warning: built-in function ‘log’ declared as non-function
In function ‘open’,
    inlined from ‘make_mbr_backup’ at gpart.c:1224,
    inlined from ‘main’ at gpart.c:1829:
/usr/include/bits/fcntl2.h:51: error: call to ‘__open_missing_mode’ declared with attribute error: open with O_CREAT in second argument needs 3 arguments
make[1]: *** [gpart.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/sys-block/gpart-0.1h-r1/work/gpart-0.1h/src'
make: *** [gpart] Error 2
 * ERROR: sys-block/gpart-0.1h-r1 failed:
 *   emake failed
 *
 * Call stack:
 *     ebuild.sh, line   54:  Called src_compile
 *   environment, line 2271:  Called _eapi0_src_compile
 *     ebuild.sh, line  612:  Called _eapi2_src_compile
 *     ebuild.sh, line  646:  Called die
 * The specific snippet of code:
 *              emake || die "emake failed"
 *
 * If you need support, post the output of 'emerge --info =sys-block/gpart-0.1h-r1',
 * the complete build log and the output of 'emerge -pqv =sys-block/gpart-0.1h-r1'.
 * The complete build log is located at '/var/tmp/portage/sys-block/gpart-0.1h-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-block/gpart-0.1h-r1/temp/environment'.
 * S: '/var/tmp/portage/sys-block/gpart-0.1h-r1/work/gpart-0.1h'

>>> Failed to emerge sys-block/gpart-0.1h-r1, Log file:



Expected Results:  
About 1000 more emerges.

I changed MAKEOPTS to -j1 (from -j3) to no effect.

treat ~ # emerge --info  
Portage 2.1.7.16 (default/linux/x86/10.0/desktop, gcc-4.3.4, glibc-2.10.1-r1, 2.6.31-gentoo-r10-kosmanor i686)                                                                      
=================================================================                         
System uname: Linux-2.6.31-gentoo-r10-kosmanor-i686-Intel-R-_XEON-TM-_CPU_1.80GHz-with-gentoo-1.12.13                                                                               
Timestamp of tree: Sat, 27 Feb 2010 08:45:03 +0000                                        
app-shells/bash:     4.0_p35                                                              
dev-java/java-config: 2.1.10                                                              
dev-lang/python:     2.4.6, 2.5.4-r4, 2.6.4-r1                                            
dev-util/cmake:      2.6.4-r3                                                             
sys-apps/baselayout: 1.12.13                                                              
sys-apps/sandbox:    1.6-r2                                                               
sys-devel/autoconf:  2.13, 2.63-r1                                                        
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1                                             
sys-devel/binutils:  2.18-r3                                                              
sys-devel/gcc:       4.1.2, 4.3.4                                                         
sys-devel/gcc-config: 1.4.1                                                               
sys-devel/libtool:   2.2.6b                                                               
virtual/os-headers:  2.6.30-r1                                                            
ACCEPT_KEYWORDS="x86"                                                                     
ACCEPT_LICENSE="* -@EULA @EULA @BINARY-REDISTRIBUTABLE"                                   
CBUILD="i686-pc-linux-gnu"                                                                
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe -mfpmath=sse -msse2 -mmmx"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe -mfpmath=sse -msse2 -mmmx"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y"
FEATURES="assume-digests buildpkg distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://mirror.its.uidaho.edu/pub/gentoo/ http://www.cyberuse.com/gentoo/ http://gentoo.mirrors.easynews.com/linux/gentoo/ http://gentoo.llarian.net/"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,-O1"
LINGUAS="en en_US fr de es pl"
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"
PORTDIR_OVERLAY="/usr/local/portage/layman/kde-sunset /usr/local/portage/overlay"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac acl acpi aim alsa apache2 apm bash-completion bcmath berkdb branding bzip2 cairo calendar caps cdr cli consolekit cracklib crypt cscope ctype cups cxx dbm dbus dri dts dvd dvdr emboss encode evo exif fam fastcgi flac foomaticdb fortran gdbm gif gnome gphoto2 gpm gstreamer gtk guile hal iconv icq imap imlib ipv6 java jbig joystick jpeg kde ldap libnotify libwww mad mailwrapper mbox mcal mikmod mime mmap mmx mng modules motif mp3 mp4 mpeg mudflap mysql ncurses nis nls nptl nptlonly nsplugin odbc offensive ogg openal opengl openmp oscar pam pcre pdf perl pic plotutils png posix postgres ppds pppd python qt3support qt4 quicktime readline reflection ruby samba sdl session snmp sockets spell spl sse ssl startup-notification svg svga symlink sysfs sysvipc tcpd tetex thunar tiff tk truetype unicode usb vorbis win32codecs x264 x86 xml xorg xpm xulrunner xv xvid yahoo 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 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US fr de es pl" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="mach64 vesa"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

treat ~ #
Comment 1 Kevin O'Gorman 2010-03-02 04:11:30 UTC
Created attachment 221743 [details]
build log, as requested in the error message
Comment 2 Kevin O'Gorman 2010-03-02 04:12:39 UTC
Created attachment 221745 [details]
the build environment, mentioned in the error message
Comment 3 Kevin O'Gorman 2010-03-02 04:19:47 UTC
Created attachment 221747 [details]
output of emerge --info =sys-block/gpart-0.1h-r1
Comment 4 SpanKY gentoo-dev 2010-03-07 00:02:33 UTC

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