<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>148035</bug_id>
          
          <creation_ts>2006-09-18 03:04 0000</creation_ts>
          <short_desc>[GCC 4.1] stabilize app-arch/unshield-0.5</short_desc>
          <delta_ts>2006-09-18 09:52:26 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>GCC Porting</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>140707</blocked>
          
          <everconfirmed>1</everconfirmed>
          <reporter>schiotz@fysik.dtu.dk</reporter>
          <assigned_to>pda@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>schiotz@fysik.dtu.dk</who>
            <bug_when>2006-09-18 03:04:20 0000</bug_when>
            <thetext>app-arch/unshield fails to compile with gcc 4.1.1.  Probably because the Makefile insists on turning compiler warnings into errors (wise for development, but perhaps not in an ebuild).

From the end of the build process:

mkdir .libs
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -g -ansi -Wall -Wno-long-long -Werror -O2 -march=pentium4 -pipe -I.. -O2 -march=pentium4 -pipe -c directory.c -MT directory.lo -MD -MP -MF .deps/directory.TPlo  -fPIC -DPIC -o .libs/directory.lo
rm -f .libs/bswap.lo
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -g -ansi -Wall -Wno-long-long -Werror -O2 -march=pentium4 -pipe -I.. -O2 -march=pentium4 -pipe -c bswap.c -MT bswap.lo -MD -MP -MF .deps/bswap.TPlo  -fPIC -DPIC -o .libs/bswap.lo
cc1: warnings being treated as errors
In file included from internal.h:17,
                 from directory.c:2:
cabfile.h:58: warning: </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>schiotz@fysik.dtu.dk</who>
            <bug_when>2006-09-18 03:04:20 0000</bug_when>
            <thetext>app-arch/unshield fails to compile with gcc 4.1.1.  Probably because the Makefile insists on turning compiler warnings into errors (wise for development, but perhaps not in an ebuild).

From the end of the build process:

mkdir .libs
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -g -ansi -Wall -Wno-long-long -Werror -O2 -march=pentium4 -pipe -I.. -O2 -march=pentium4 -pipe -c directory.c -MT directory.lo -MD -MP -MF .deps/directory.TPlo  -fPIC -DPIC -o .libs/directory.lo
rm -f .libs/bswap.lo
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -g -ansi -Wall -Wno-long-long -Werror -O2 -march=pentium4 -pipe -I.. -O2 -march=pentium4 -pipe -c bswap.c -MT bswap.lo -MD -MP -MF .deps/bswap.TPlo  -fPIC -DPIC -o .libs/bswap.lo
cc1: warnings being treated as errors
In file included from internal.h:17,
                 from directory.c:2:
cabfile.h:58: warning: packed attribute ignored for field of type uint8_t[11u]
cabfile.h:68: warning: packed attribute ignored for field of type uint8_t[13u]
cabfile.h:93: warning: packed attribute ignored for field of type uint8_t[15u]
cabfile.h:105: warning: packed attribute ignored for field of type uint8_t[15u]
cabfile.h:112: warning: packed attribute ignored for field of type uint8_t[11u]
cabfile.h:115: warning: packed attribute ignored for field of type uint8_t
make[3]: *** [directory.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
cc1: warnings being treated as errors
In file included from internal.h:17,
                 from bswap.c:2:
cabfile.h:58: warning: packed attribute ignored for field of type uint8_t[11u]
cabfile.h:68: warning: packed attribute ignored for field of type uint8_t[13u]
cabfile.h:93: warning: packed attribute ignored for field of type uint8_t[15u]
cabfile.h:105: warning: packed attribute ignored for field of type uint8_t[15u]
cabfile.h:112: warning: packed attribute ignored for field of type uint8_t[11u]
cabfile.h:115: warning: packed attribute ignored for field of type uint8_t
make[3]: *** [bswap.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/unshield-0.2/work/unshield-0.2/lib&apos;
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/unshield-0.2/work/unshield-0.2/lib&apos;
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/unshield-0.2/work/unshield-0.2/lib&apos;
make: *** [all-recursive] Error 1

!!! ERROR: app-arch/unshield-0.2 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  ebuild.sh, line 608:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>schiotz@fysik.dtu.dk</who>
            <bug_when>2006-09-18 03:05:01 0000</bug_when>
            <thetext>demokrit ~ # emerge --info
Portage 2.1.1 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r7 i686)
=================================================================
System uname: 2.6.17-gentoo-r7 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 2.00GHz
Gentoo Base System version 1.12.5
Last Sync: Mon, 18 Sep 2006 08:50:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.2.11-r1
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS=&quot;x86&quot;
AUTOCLEAN=&quot;yes&quot;
CBUILD=&quot;i686-pc-linux-gnu&quot;
CFLAGS=&quot;-O2 -march=pentium4 -pipe&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/&quot;
CONFIG_PROTECT_MASK=&quot;/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo&quot;
CXXFLAGS=&quot;-O2 -march=pentium4 -pipe&quot;
DISTDIR=&quot;/var/portage/distfiles&quot;
FEATURES=&quot;autoconfig distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict&quot;
GENTOO_MIRRORS=&quot;http://mirror.uni-c.dk/pub/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ http://ftp.linux.ee/pub/gentoo/distfiles/ http://trumpetti.atm.tut.fi/gentoo/&quot;
LANG=&quot;da_DK.utf8&quot;
LINGUAS=&quot;&quot;
MAKEOPTS=&quot;-j2&quot;
PKGDIR=&quot;/var/portage/packages&quot;
PORTAGE_RSYNC_OPTS=&quot;--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=&apos;/distfiles&apos; --exclude=&apos;/local&apos; --exclude=&apos;/packages&apos;&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/home/schiotz/development/CamposEbuilds/portage&quot;
SYNC=&quot;rsync://rsync.europe.gentoo.org/gentoo-portage&quot;
USE=&quot;x86 X Xaw3d acpi alsa apache2 atlas audiofile berkdb bitmap-fonts bzip2 cli crypt cups curl dga dlloader dri dvd eds elibc_glibc emacs emboss encode ffmpeg firefox flac font-server foomaticdb fortran gcj gd gdbm gif gpm gstreamer gtk gtk2 idn imagemagick imap imlib input_devices_keyboard input_devices_mouse input_devices_synaptics isdnlog java jpeg kde kdeenablefinal kdexdeltas kernel_linux lcms libg++ libwww mad maildir mbox mikmod mime mng motif mozilla mp3 mpeg mule ncurses netcdf nls nptl nptlonly ogg opengl oss pam pcmcia pcre perl png pnp ppds pppd python qt3 qt4 quicktime readline real reflection scanner sdl session smime spell spl sse sse2 ssl tcltk tcpd tetex tiff truetype truetype-fonts trusted type1-fonts udev unicode usb userland_GNU video_cards_fbdev video_cards_radeon video_cards_vesa vorbis win32codecs wxwindows xine xml xmms xorg xv xvid zlib&quot;
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2006-09-18 03:16:11 0000</bug_when>
            <thetext>Try with 0.5 please.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>schiotz@fysik.dtu.dk</who>
            <bug_when>2006-09-18 03:30:29 0000</bug_when>
            <thetext>Thanks, it works.  I hopw it will go stable soon, now that 411 is the stable gcc.

Thanks !!
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2006-09-18 04:14:05 0000</bug_when>
            <thetext>Thanks for testing.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>fauli@gentoo.org</who>
            <bug_when>2006-09-18 05:26:43 0000</bug_when>
            <thetext>1) emerges fine
2) passes collision test
3) works

Portage 2.1.1 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r8 i686)
=================================================================
System uname: 2.6.17-gentoo-r8 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.12.5
Last Sync: Mon, 18 Sep 2006 06:20:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.2.11-r1
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS=&quot;x86&quot;
AUTOCLEAN=&quot;yes&quot;
CBUILD=&quot;i686-pc-linux-gnu&quot;
CFLAGS=&quot;-O2&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/&quot;
CONFIG_PROTECT_MASK=&quot;/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo&quot;
CXXFLAGS=&quot;-O2&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoconfig ccache collision-protect distlocks metadata-transfer parallel-fetch sandbox sfperms strict test&quot;
GENTOO_MIRRORS=&quot;ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo/&quot;
LANG=&quot;de_DE@euro&quot;
LC_ALL=&quot;de_DE@euro&quot;
LINGUAS=&quot;de&quot;
MAKEOPTS=&quot;-j2&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_RSYNC_OPTS=&quot;--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=&apos;/distfiles&apos; --exclude=&apos;/local&apos; --exclude=&apos;/packages&apos;&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/usr/local/portage&quot;
SYNC=&quot;rsync://rsync.informatik.rwth-aachen.de/gentoo-portage&quot;
USE=&quot;x86 3dnow 3dnowext X Xaw3d a52 alsa arts artworkextra asf audiofile bash-completion beagle berkdb bidi bitmap-fonts bootsplash branding bzip2 cairo cdda cddb cdparanoia cdr cli cracklib crypt css cups curl custom-cflags dbus dga directfb divx4linux dlloader dri dts dvd dvdr dvdread dvi eds elibc_glibc emacs emboss encode esd evo exif expat fam fat fbcon ffmpeg firefox fortran ftp gb gcj gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml hal icq idn imagemagick imap input_devices_keyboard input_devices_mouse ipv6 isdnlog java javascript jikes jpeg jpeg2k kernel_linux ldap leim libg++ linguas_de lm_sensors mad maildir matroska mbox mhash mikmod mime mmx mmxext mng mono mp3 mpeg mpeg2 mule nautilus ncurses nforce2 nls nocardbus nptl nptlonly nsplugin nvidia objc ogg opengl pam pcre pdf perl plotutils pmu png ppds pppd preview-latex print python qt3 qt4 quicktime readline reflection reiserfs samba sdk session slang spell spl sse ssl svg svga t1lib tcltk tcpd tetex theora thunderbird tiff truetype truetype-fonts type1-fonts udev usb userland_GNU vcd video_cards_fbdev video_cards_radeon video_cards_vesa videos vorbis win32codecs wmf wxwindows xine xml xorg xosd xv xvid zlib&quot;
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ticho@gentoo.org</who>
            <bug_when>2006-09-18 09:52:26 0000</bug_when>
            <thetext>x86 done, closing</thetext>
          </long_desc>
      
    </bug>

</bugzilla>