Summary: | app-arch/libarchive-2.7.0 build fails | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Matt Whitlock <gentoo> |
Component: | New packages | Assignee: | Diego Elio Pettenò (RETIRED) <flameeyes> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | a, bsd+disabled, bugs+gentoo, bugs, giovanni.bobbio, heltem+gentoo, howard_b_golden, mark+gentoobugs, patrick, rahul, smoothhound |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 260867 |
Description
Matt Whitlock
2009-04-17 03:22:11 UTC
(In reply to comment #0) Same her (amd64). Same here, but with a different error message: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I ./libarchive -Wall -Werror -march=core2 -O2 -pipe -c libarchive/archive_entry_copy_stat.c -o libarchive/libarchive_la-archive_entry_copy_stat.o >/dev/null 2>&1 /bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I ./libarchive -Wall -Werror -march=core2 -O2 -pipe -c -o libarchive/libarchive_la-archive_entry_strmode.lo `test -f 'libarchive/archive_entry_strmode.c' || echo './'`libarchive/archive_entry_strmode.c cc1: warnings being treated as errors libarchive/archive_check_magic.c: In function ‘errmsg’: libarchive/archive_check_magic.c:53: error: ignoring return value of ‘write’, declared with attribute warn_unused_result make[1]: *** [libarchive/libarchive_la-archive_check_magic.lo] Error 1 make[1]: *** Waiting for unfinished jobs.... x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I ./libarchive -Wall -Werror -march=core2 -O2 -pipe -c libarchive/archive_entry.c -o libarchive/libarchive_la-archive_entry.o >/dev/null 2>&1 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I ./libarchive -Wall -Werror -march=core2 -O2 -pipe -c libarchive/archive_entry_strmode.c -fPIC -DPIC -o libarchive/.libs/libarchive_la-archive_entry_strmode.o x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I ./libarchive -Wall -Werror -march=core2 -O2 -pipe -c libarchive/archive_entry_strmode.c -o libarchive/libarchive_la-archive_entry_strmode.o >/dev/null 2>&1 make[1]: Leaving directory `/var/tmp/portage/app-arch/libarchive-2.7.0/work/libarchive-2.7.0' make: *** [all] Error 2 Same here. /bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I ./libarchive -Wall -Werror -march=core2 -O2 -pipe -c -o libarchive/libarchive_la-archive_read_disk.lo `test -f 'libarchive/archive_read_disk.c' || echo './'`libarchive/archive_read_disk.c mkdir libarchive/.libs x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I ./libarchive -Wall -Werror -march=core2 -O2 -pipe -c libarchive/archive_check_magic.c -fPIC -DPIC -o libarchive/.libs/libarchive_la-archive_check_magic.o cc1: warnings being treated as errors libarchive/archive_check_magic.c: In function 'errmsg': libarchive/archive_check_magic.c:53: error: ignoring return value of 'write', declared with attribute warn_unused_result make[1]: *** [libarchive/libarchive_la-archive_check_magic.lo] Error 1 make[1]: *** Waiting for unfinished jobs.... x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I ./libarchive -Wall -Werror -march=core2 -O2 -pipe -c libarchive/archive_entry_copy_stat.c -fPIC -DPIC -o libarchive/.libs/libarchive_la-archive_entry_copy_stat.o x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I ./libarchive -Wall -Werror -march=core2 -O2 -pipe -c libarchive/archive_entry_strmode.c -fPIC -DPIC -o libarchive/.libs/libarchive_la-archive_entry_strmode.o x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I ./libarchive -Wall -Werror -march=core2 -O2 -pipe -c libarchive/archive_entry_link_resolver.c -fPIC -DPIC -o libarchive/.libs/libarchive_la-archive_entry_link_resolver.o x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I ./libarchive -Wall -Werror -march=core2 -O2 -pipe -c libarchive/archive_read_data_into_fd.c -fPIC -DPIC -o libarchive/.libs/libarchive_la-archive_read_data_into_fd.o x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I ./libarchive -Wall -Werror -march=core2 -O2 -pipe -c libarchive/archive_entry_copy_stat.c -o libarchive/libarchive_la-archive_entry_copy_stat.o >/dev/null 2>&1 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I ./libarchive -Wall -Werror -march=core2 -O2 -pipe -c libarchive/archive_entry_link_resolver.c -o libarchive/libarchive_la-archive_entry_link_resolver.o >/dev/null 2>&1 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I ./libarchive -Wall -Werror -march=core2 -O2 -pipe -c libarchive/archive_entry_strmode.c -o libarchive/libarchive_la-archive_entry_strmode.o >/dev/null 2>&1 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I ./libarchive -Wall -Werror -march=core2 -O2 -pipe -c libarchive/archive_entry.c -fPIC -DPIC -o libarchive/.libs/libarchive_la-archive_entry.o x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I ./libarchive -Wall -Werror -march=core2 -O2 -pipe -c libarchive/archive_read_data_into_fd.c -o libarchive/libarchive_la-archive_read_data_into_fd.o >/dev/null 2>&1 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I ./libarchive -Wall -Werror -march=core2 -O2 -pipe -c libarchive/archive_read.c -fPIC -DPIC -o libarchive/.libs/libarchive_la-archive_read.o x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I ./libarchive -Wall -Werror -march=core2 -O2 -pipe -c libarchive/archive_entry_stat.c -fPIC -DPIC -o libarchive/.libs/libarchive_la-archive_entry_stat.o x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I ./libarchive -Wall -Werror -march=core2 -O2 -pipe -c libarchive/archive_read.c -o libarchive/libarchive_la-archive_read.o >/dev/null 2>&1 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I ./libarchive -Wall -Werror -march=core2 -O2 -pipe -c libarchive/archive_entry_stat.c -o libarchive/libarchive_la-archive_entry_stat.o >/dev/null 2>&1 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I ./libarchive -Wall -Werror -march=core2 -O2 -pipe -c libarchive/archive_entry.c -o libarchive/libarchive_la-archive_entry.o >/dev/null 2>&1 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I ./libarchive -Wall -Werror -march=core2 -O2 -pipe -c libarchive/archive_read_disk.c -fPIC -DPIC -o libarchive/.libs/libarchive_la-archive_read_disk.o x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I ./libarchive -Wall -Werror -march=core2 -O2 -pipe -c libarchive/archive_read_disk.c -o libarchive/libarchive_la-archive_read_disk.o >/dev/null 2>&1 make[1]: Leaving directory `/var/tmp/portage/app-arch/libarchive-2.7.0/work/libarchive-2.7.0' # 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-redstar x86_64) ================================================================= System uname: Linux-2.6.29-gentoo-r1-redstar-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9450_@_2.66GHz-with-gentoo-2.0.0 Timestamp of tree: Fri, 17 Apr 2009 06:15:02 +0000 app-shells/bash: 4.0_p17-r1 dev-java/java-config: 2.1.7 dev-lang/python: 2.5.4-r2, 2.6.1-r1 dev-util/cmake: 2.6.3-r1 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.4.3-r1 sys-apps/sandbox: 1.9 sys-devel/autoconf: 2.13, 2.63-r1 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="-march=core2 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /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/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=core2 -O2 -pipe" DISTDIR="/usr/local/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://mirror.netcologne.de/gentoo/" LDFLAGS="-Wl,-O1" LINGUAS="en de" MAKEOPTS="-j9" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes --delete-excluded --delete-before" 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/xwing /usr/local/portage/layman/kde-testing" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage/" USE="7zip X a52 aac aalib acl acpi alsa amd64 bash-completion berkdb bzip2 cairo cdda cddb cli cracklib crypt cups cvs dbus dri dts dvb dvd encode exif fam ffmpeg flac fortran gdbm gimp glitz gpm gtk hal iconv imagemagick inotify ipv6 isdnlog jack joystick jpeg matroska midi mmx modplug mp3 mpeg mplayer mudflap multilib ncurses nls nptl nptlonly nsplugin offensive ogg openexr opengl openmp pam pango pcre pdf perl png ppds pppd python qt4 readline reflection rss samba semantic-desktop session speex spell spl sse sse2 ssl ssse3 stream subversion svg sysfs taglib tcpd theora threads thumbnail tiff truetype twolame unicode v4l v4l2 vcd vcdinfo vdpau vorbis webkit x264 xcomposite xinerama xorg xscreensaver xulrunner xvid 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" CAMERAS="canon" ELIBC="glibc"INPUT_DEVICES="keyboard mouse evdev joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ende" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS libarchive/archive_check_magic.c: In function 'errmsg': libarchive/archive_check_magic.c:53: error: ignoring return value of 'write', declared with attribute warn_unused_result make[1]: *** [libarchive/libarchive_la-archive_check_magic.lo] Error 1 make[1]: *** Waiting for unfinished jobs.... i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I ./libarchive -Wall -Werror -O2 -march=native -pipe -fomit-frame-pointer -c libarchive/archive_entry_copy_stat.c -fPIC -DPIC -o libarchive/.libs/libarchive_la-archive_entry_copy_stat.o i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I ./libarchive -Wall -Werror -O2 -march=native -pipe -fomit-frame-pointer -c libarchive/archive_entry_copy_stat.c -o libarchive/libarchive_la-archive_entry_copy_stat.o >/dev/null 2>&1 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I ./libarchive -Wall -Werror -O2 -march=native -pipe -fomit-frame-pointer -c libarchive/archive_entry.c -o libarchive/libarchive_la-archive_entry.o >/dev/null 2>&1 make[1]: Leaving directory `/var/tmp/portage/app-arch/libarchive-2.7.0/work/libarchive-2.7.0' make: *** [all] Error 2 rahul@googly ~ $ emerge --info Portage 2.2_rc30 (default/linux/x86/2008.0/desktop, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.29-zen3-08318-g1e28aa5 i686) ================================================================= System uname: Linux-2.6.29-zen3-08318-g1e28aa5-i686-Genuine_Intel-R-_CPU_T2300_@_1.66GHz-with-gentoo-2.0.0 Timestamp of tree: Fri, 17 Apr 2009 06:15:02 +0000 app-shells/bash: 4.0_p17-r1 dev-java/java-config: 2.1.7 dev-lang/python: 2.6.1-r1 dev-util/cmake: 2.6.3-r1 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.4.3-r1 sys-apps/sandbox: 1.9 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 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-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.28-r1 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /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/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -march=native -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages metadata-transfer parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/" LANG="en_GB.utf8@euro" LDFLAGS="-Wl,-O1" LINGUAS="en en_GB en_US hi" 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" PORTDIR_OVERLAY="/usr/local/portage/layman/x11 /usr/local/portage/layman/x11 /usr/local/portage/layman/zen-overlay /usr/local/portage/layman/kde-testing /usr/local/portage/layman/bugzilla" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa avahi bash-completion berkdb bluetooth branding bzip2 cairo cdparanoia cdr cli cracklib crypt css ctype cups curl curlwrappers cxx dbus dga directfb djvu dri dts dvd dvdr dvdread emboss encodeevo exif fam fbcon ffmpeg firefox flac fontconfig fortran gd gdbm gif gimp gnutls gphoto2 gpm hal hddtemp htmlhandbook iconv ieee1394 imagemagick ipv6 isdnlog java java5 java6 javascript joystick jpeg jpeg2k kde ldap libnotify mad midi mikmod mmx mono motif mp3 mpeg mplayer mudflap ncurses nls nptl nptlonly ogg opengl openmp oss oss4 pam pcmcia pcre pdf perl png posix ppds pppd python qt3support qt4 quicktime readline reflection samba scanner sdl session smp sndfile spell spl sse sse2 ssl startup-notification svg svga sysfs syslog tcpd theora threads tiff truetype type1 unicode usb v4l2 vcd vim-syntax vorbis wavpack win32codecs wmf x86 xcomposite xine xinerama xml xorg xpm xulrunner xv xvid zeroconf 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 filehooks 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="evdev keyboard mouse synaptics joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB en_US hi" USERLAND="GNU" VIDEO_CARDS="intel fbdev v4l" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS whee. Gha! I didn't notice the -Werror creeped into the final release! (I have -Wno-error in my cflags :P). Will take care of it right away. Fixed without revbump. |