Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 258752 - app-cdr/xcdroast-0.98_alpha15-r5 doesn't compile w/ gcc-4.3.3 ( DFORTIFY_SOURCE=2 )
Summary: app-cdr/xcdroast-0.98_alpha15-r5 doesn't compile w/ gcc-4.3.3 ( DFORTIFY_SOUR...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: optical media herd
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: fortify-source
  Show dependency tree
 
Reported: 2009-02-12 18:31 UTC by Sandro Bonazzola
Modified: 2009-03-01 23:48 UTC (History)
0 users

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


Attachments
Build log of xcdroast-0.98_alpha15-r5 (app-cdr_xcdroast-0.98_alpha15-r5.log,19.48 KB, text/plain)
2009-02-23 21:56 UTC, Magnus Granberg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sandro Bonazzola 2009-02-12 18:31:03 UTC
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -DLOCALEDIR=\"/usr/share/locale\"    -Wall  -DUSE_LARGEFILES  -DPRE_PREFIX="\"/usr\"" -DPRE_LIBDIR="\"/usr/lib/xcdroast-0.98\"" -DCDRTOOLS_PREFIX="\"/usr\"" -DSYSCONFDIR="\"/etc\"" -DUSE_NONROOTMODE="1" -g -ggdb -march=athlon64 -O2 -pipe -fno-strict-aliasing -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12   -c -o xcdroast-io.o `test -f io.c || echo './'`io.c
io.c: In function ‘get_uname_info’:
io.c:1901: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
io.c: In function ‘load_setup_config’:
io.c:2187: warning: unused variable ‘tmp’
io.c: At top level:
io.c:6259: warning: ‘cdrtimer_callback’ defined but not used
In function ‘open’,
    inlined from ‘save_text2file’ at io.c:4723:
/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[2]: *** [xcdroast-io.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/app-cdr/xcdroast-0.98_alpha15-r5/work/xcdroast-0.98alpha15/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-cdr/xcdroast-0.98_alpha15-r5/work/xcdroast-0.98alpha15'
make: *** [all] Error 2


$ qfile -v /usr/include/bits/fcntl2.h
sys-libs/glibc-2.9_p20081201-r1 (/usr/include/bits/fcntl2.h)



$ emerge --info
Portage 2.1.6.7 (default/linux/amd64/2008.0/desktop, gcc-4.3.3, glibc-2.9_p20081201-r1, 2.6.28-gentoo-r1 x86_64)
=================================================================
System uname: Linux-2.6.28-gentoo-r1-x86_64-AMD_Athlon-tm-_64_Processor_3500+-with-glibc2.2.5
Timestamp of tree: Thu, 12 Feb 2009 16:35:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p48-r1
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python:     2.5.4-r2
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3
sys-apps/sandbox:    1.3.6
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1
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="-g -ggdb -march=athlon64 -O2 -pipe -fno-strict-aliasing"
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/kde/4.1/env /usr/kde/4.1/share/config /usr/kde/4.1/shutdown /usr/kde/4.2/env /usr/kde/4.2/share/config /usr/kde/4.2/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/initng/daemon /etc/initng/net /etc/initng/system /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/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-g -ggdb -march=athlon64 -O2 -pipe -fno-strict-aliasing"
DISTDIR="/home/media/dist"
FEATURES="cvs distlocks elog fixpackages java-strict metadata-transfer multilib-strict parallel-fetch protect-owned sandbox sfperms splitdebug strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://mirror.switch.ch/mirror/gentoo/"
LANG="it_IT.UTF-8"
LC_ALL="it_IT.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="it"
PKGDIR="/home/ftp/packages"
PORTAGE_COMPRESS="bzip2"
PORTAGE_COMPRESS_FLAGS="-9"
PORTAGE_RSYNC_EXTRA_OPTS=" --timeout=800 --progress "
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/overlays/portage /home/sandro/cvstree/tinyos-2-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 3ds 7zip X a52 aac acl acpi alsa amd64 amr apache2 arts audiofile avahi bash-completion berkdb bl branding bzip2 cairo cal3d caps ccache cdb cddb cdparanoia cdr cg chroot cli cpudetection cracklib crypt css cups curl custom-cflags dbus debug devhelp dga directfb disk-partition djvu dmi dovecot-sasl dri dts dv dvd dvdr dvdread emboss emerald encode epydoc erandom esd evo exif expat extrafilters fam fame ffmpeg firefox flac fltk foomaticdb fortran gd gdbm ggi gif gimp glib glibc-omitfp glitz glut gmp gnokii gnome gnutls gphoto2 gpm graphviz gsm gstreamer gtk gtkhtml guile hal hbci howl-compat iconv idn ieee1394 imagemagick imlib ipv6 isc isdnlog ithreads java javacomm javascript jbig jce jikes jpeg jpeg2k justify kde kdeenablefinal kdehiddenvisibility kqemu lcms ldap libcaca libnotify linuxthreads-tls lm_sensors logitech-mouse logrotate lzo mad mailwrapper matroska mbox mdb mhash midi mikmod mjpeg mmap mmx mmxext mng motif mozdevelop mp3 mpeg mppe-mppc msn mudflap multilib musepack musicbrainz mysql ncurses network-cron nfs nls nptl nptlonly nsplugin numeric nvidia odbc ode offensive ofx ogg ogre openexr opengl openmp oss pam parport pch pcre pdf perl php png povray ppds pppd print pulseaudio python qa qt3support qt4 quicktime quotes rdesktop readline reflection resolvconf restrict-javascript rtc samba scanner sdl semantic-desktop session slang slp smime sndfile snmp speex spell spl sse sse2 ssl startup-notification subversion svg sysfs syslog tcpd test tetex tga theora threads tidy tiff timidity tk truetype unicode usb userlocales utempter v4l v4l2 vcd vda vorbis vorbis-psy wma wmf wmp xattr xcomposite xforms xine xinerama xml xorg xpm xprint xscreensaver xulrunner xv xvid xvmc yv12 zeroconf 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="actions alias auth_basic 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" APACHE2_MPMS="worker" CAMERAS="canon directory panasonic pccam300 " ELIBC="glibc" FOO2ZJS_DEVICES="hp1005 hpp1005" INPUT_DEVICES="mouse evdev keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" USERLAND="GNU" VIDEO_CARDS="nvidia nv"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, MAKEOPTS
Comment 1 Magnus Granberg gentoo-dev 2009-02-23 21:56:08 UTC
Created attachment 182948 [details]
Build log of xcdroast-0.98_alpha15-r5

Fail for me to
man open:
mode specifies the permissions to use in case a new file is created.  This argument must be supplied when O_CREAT is specified in flags;
Comment 2 Andrew Hurst 2009-02-24 10:11:47 UTC
Thomas Niederreiter <tn@xcdroast.org> produced a patch within about 6 hours of me emailing him!
At:

http://www.xcdroast.org/xcdr098/patches/io_compile.patch

Can you test it Magnus>

I'll put it into proposed alpha16 ebuild at

http://bugs.gentoo.org/show_bug.cgi?id=243246
Comment 3 Magnus Granberg gentoo-dev 2009-02-25 23:15:30 UTC
(In reply to comment #2)
> Thomas Niederreiter <tn@xcdroast.org> produced a patch within about 6 hours of
> me emailing him!
> At:
> 
> http://www.xcdroast.org/xcdr098/patches/io_compile.patch
> 
> Can you test it Magnus>
> 
> I'll put it into proposed alpha16 ebuild at
> 
> http://bugs.gentoo.org/show_bug.cgi?id=243246
> 
It compile's fine with the patch.
Comment 4 Patrick Lauer gentoo-dev 2009-03-01 23:48:09 UTC
+  01 Mar 2009; Patrick Lauer <patrick@gentoo.org> +files/io_compile.patch,
+  +xcdroast-0.98_alpha16.ebuild:
+  Bump to alpha16. Closes #243246 and #258752