Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 131070 - wwwoffle-2.9 doesn't compile w/ gcc-4.1
Summary: wwwoffle-2.9 doesn't compile w/ gcc-4.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Alin Năstac (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 117482
  Show dependency tree
 
Reported: 2006-04-24 00:38 UTC by stomarti
Modified: 2006-05-06 01:34 UTC (History)
1 user (show)

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


Attachments
gcc-4.1 patch (wwwoffle-2.9-gcc41.patch,1.69 KB, patch)
2006-05-01 18:17 UTC, Mark Loeser (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description stomarti 2006-04-24 00:38:46 UTC
Compiling wwwoffle-2.9 stops with this error:

make[1]: Entering directory `/var/tmp/portage/wwwoffle-2.9/work/wwwoffle-2.9/src'
x86_64-pc-linux-gnu-gcc -c -march=k8 -O3 -pipe -fomit-frame-pointer -fforce-addr -falign-functions=4 -fprefetch-loop-arrays wwwoffled.c -o wwwoffled.o
x86_64-pc-linux-gnu-gcc -c -march=k8 -O3 -pipe -fomit-frame-pointer -fforce-addr -falign-functions=4 -fprefetch-loop-arrays wwwoffles.c -o wwwoffles.o
wwwoffles.c:3030: error: conflicting types for 'wwwoffles_read_data'
wwwoffle.h:196: error: previous declaration of 'wwwoffles_read_data' was here
make[1]: *** [wwwoffles.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/wwwoffle-2.9/work/wwwoffle-2.9/src'
make: *** [compile] Error 2

!!! ERROR: net-proxy/wwwoffle-2.9 failed.
Call stack:
  ebuild.sh, line 1525:   Called dyn_compile
  ebuild.sh, line 928:   Called src_compile
  wwwoffle-2.9.ebuild, line 43:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.


My emerge --info:

Portage 2.1_pre9-r4 (default-linux/amd64/2005.1, gcc-4.1.0, glibc-2.4-r1, 2.6.16-gentoo-r3 x86_64)
=================================================================
System uname: 2.6.16-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.0_pre18
dev-lang/python:     2.4.2-r1
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-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O3 -pipe -fomit-frame-pointer -fforce-addr -falign-functions=4 -fprefetch-loop-arrays"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=k8 -O3 -pipe -fomit-frame-pointer -fforce-addr -falign-functions=4 -fprefetch-loop-arrays"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://213.186.33.38/gentoo-distfiles/ http://213.186.33.38/gentoo-distfiles/ http://213.186.33.37/gentoo-distfiles/ ftp://213.186.33.37/gentoo-distfiles/ ftp://pandemonium.tiscali.de/pub/gentoo/"
LC_ALL="de_DE@euro"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/gentoo-de /usr/local/overlays/bmg-main /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X a52 alsa aotuv arts avi berkdb bitmap-fonts bzip2 cdr cjk cli crypt cups dga directfb dri dts dvd dvdr dvdread eds effects emboss encode fbcon ffmpeg flac fortran gif gimpprint gpm gstreamer gtk2 hal imagemagick imlib inkjar input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg kde libcaca libsamplerate lm_sensors lzw lzw-tiff mad matroska mng mp3 mpeg mysql ncurses nls nomotif nptl nptlonly nvidia ogg oggvorbis opengl pam pcre pdf pdflib perl png ppds pppd python qt quicktime readline reflection rtc scanner sdl session spell spl sqlite ssl svg tcltk tcpd tiff truetype truetype-fonts type1-fonts unicode usb userlocales v4l video_cards_apm video_cards_fbdev video_cards_nv video_cards_nvidia video_cards_vesa video_cards_vga video_cards_vmware vorbis wmf xine xorg xpm xv xvid zlib elibc_glibc kernel_linux linguas_de userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS
Comment 1 Mark Loeser (RETIRED) gentoo-dev 2006-05-01 18:00:06 UTC
Works fine for me, not a gcc-4.1 problem.
Comment 2 Mark Loeser (RETIRED) gentoo-dev 2006-05-01 18:04:40 UTC
My mistake, its an amd64 with gcc-4.1 issue.  I'll make a patch.
Comment 3 Mark Loeser (RETIRED) gentoo-dev 2006-05-01 18:17:08 UTC
Created attachment 85956 [details, diff]
gcc-4.1 patch

Give this a try and let me know how it works.
Comment 4 stomarti 2006-05-01 23:27:50 UTC
Tried your patch. Compiles cleanly. Thank you.
Comment 5 Daniel Black (RETIRED) gentoo-dev 2006-05-02 06:01:09 UTC
Alin - I haven't touched this pacakge since 2004. Want to take over fully? I'm happy to add stuff but you seem to be taking more care of this than me.
Comment 6 Alin Năstac (RETIRED) gentoo-dev 2006-05-06 01:23:06 UTC
take over the maintainership
Comment 7 Alin Năstac (RETIRED) gentoo-dev 2006-05-06 01:34:04 UTC
fixed in cvs, without revision bump.