Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 99063 - x11-plugins/autoprofile-2.10 fails to compile (gcc4)
Summary: x11-plugins/autoprofile-2.10 fails to compile (gcc4)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gaim Bugs Crew
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-14 18:34 UTC by Aaron
Modified: 2005-12-12 12:47 UTC (History)
1 user (show)

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


Attachments
updated ebuild (autoprofile-2.10.ebuild,760 bytes, patch)
2005-07-14 18:35 UTC, Aaron
Details | Diff
gcc 4.0 compile patch (gcc4.patch,686 bytes, patch)
2005-07-14 18:35 UTC, Aaron
Details | Diff
gcc 4 patch (autoprofile-2.10-gcc4.patch,579 bytes, patch)
2005-12-09 01:22 UTC, Mark Loeser (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Aaron 2005-07-14 18:34:24 UTC
autoprofile e-build is out-of-date

1. stable on amd64
2. doesnt inherit correct eclass
3. doesnt compile on gcc4

Reproducible: Always
Steps to Reproduce:
1. emerge autoprofile
2.
3.

Actual Results:  
didnt work

Expected Results:  
work

Portage 2.0.51.22-r1 (default-linux/amd64/2005.0, gcc-4.0.1,
glibc-2.3.5.20050620-r0, 2.6.12-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.12-gentoo-r5 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.4-r1, 2.4.1-r1
sys-apps/sandbox:    1.2.11
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
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon64 -pipe -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X acpi alsa cdr dbus dvd dvdr ffmpeg gnome gtk gtk2 hal jpeg mmap
nntp nptl nptlonly nvidia opengl pic png ssl tiff userlocales xine xv
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LINGUAS, MAKEOPTS
Comment 1 Aaron 2005-07-14 18:35:06 UTC
Created attachment 63435 [details, diff]
updated ebuild
Comment 2 Aaron 2005-07-14 18:35:26 UTC
Created attachment 63436 [details, diff]
gcc 4.0 compile patch
Comment 3 Aaron 2005-07-14 18:37:42 UTC
this is my first bug report... so be nice... if i shouldve done something
different just let me know

(In reply to comment #0)
> autoprofile e-build is out-of-date
> 
> 1. stable on amd64
> 2. doesnt inherit correct eclass
> 3. doesnt compile on gcc4
> 
> Reproducible: Always
> Steps to Reproduce:
> 1. emerge autoprofile
> 2.
> 3.
> 
> Actual Results:  
> didnt work
> 
> Expected Results:  
> work
> 
> Portage 2.0.51.22-r1 (default-linux/amd64/2005.0, gcc-4.0.1,
> glibc-2.3.5.20050620-r0, 2.6.12-gentoo-r5 x86_64)
> =================================================================
> System uname: 2.6.12-gentoo-r5 x86_64 AMD Athlon(tm) 64 Processor 3500+
> Gentoo Base System version 1.6.13
> dev-lang/python:     2.3.4-r1, 2.4.1-r1
> sys-apps/sandbox:    1.2.11
> 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
> sys-devel/binutils:  2.16.1
> sys-devel/libtool:   1.5.18-r1
> virtual/os-headers:  2.6.11-r2
> ACCEPT_KEYWORDS="amd64 ~amd64"
> AUTOCLEAN="yes"
> CBUILD="x86_64-pc-linux-gnu"
> CFLAGS="-O2 -march=athlon64 -pipe"
> CHOST="x86_64-pc-linux-gnu"
> CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
> /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config
> /var/qmail/control"
> CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
> CXXFLAGS="-O2 -march=athlon64 -pipe -fvisibility-inlines-hidden"
> DISTDIR="/usr/portage/distfiles"
> FEATURES="autoconfig distlocks sandbox sfperms strict"
> GENTOO_MIRRORS="http://distfiles.gentoo.org
> http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
> LDFLAGS="-Wl,-O1"
> PKGDIR="/usr/portage/packages"
> PORTAGE_TMPDIR="/var/tmp"
> PORTDIR="/usr/portage"
> PORTDIR_OVERLAY="/usr/local/portage"
> SYNC="rsync://rsync.gentoo.org/gentoo-portage"
> USE="amd64 X acpi alsa cdr dbus dvd dvdr ffmpeg gnome gtk gtk2 hal jpeg mmap
> nntp nptl nptlonly nvidia opengl pic png ssl tiff userlocales xine xv
> userland_GNU kernel_linux elibc_glibc"
> Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LINGUAS, MAKEOPTS

Comment 4 Bernard Cafarelli gentoo-dev 2005-08-24 12:18:19 UTC
I second that ~amd64 can be added to KEYWORDS, it works fine here (I switched
from licq recently and fortune citations in away messages is mandatory for me :) ).

My emerge info:
Portage 2.0.51.22-r2 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r1,
2.6.12-ck6 x86_64)
=================================================================
System uname: 2.6.12-ck6 x86_64 AMD Athlon(tm) 64 Processor 3700+
Gentoo Base System version 1.12.0_pre6
ccache version 2.4 [disabled]
dev-lang/python:     2.4.1-r1
sys-apps/sandbox:    1.2.12
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
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer -frename-registers
-ftracer -fforce-addr -fpeel-loops -funswitch-loops -fweb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/grass60/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c
/etc/env.d"
CXXFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer -frename-registers
-ftracer -fforce-addr -fpeel-loops -funswitch-loops -fweb"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://mir.zyrianes.net/gentoo/
http://pandemonium.tiscali.de/pub/gentoo/"
LANG="fr_FR@euro"
LC_ALL="fr_FR"
LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -Wl,--strip-all"
LINGUAS="fr fr_FR"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac aalib acpi aim alsa avi bash-completion berkdb bitmap-fonts
bonobo browserplugin bzip2 cairo cddb cdr crypt cups curl dga dio dts dvb dvd
dvdr dvdread eds encode exif ffmpeg fftw flac foomaticdb fortran ftp gb gcj gd
gdbm gif glut gnome gnustep gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile
iconv imagemagick imap imlib ipv6 jabber java jikes joystick jpeg junit libcaca
libwww live lzw lzw-tiff mad matroska mbox mikmod mime mng mozilla mp3 mpeg msn
nas ncurses nls nptl nptlonly nsplugin nvidia objc offensive ogg oggvorbis
openal opengl oscar oss pam pcmcia pcre pda pdflib perl php pic png posix ppds
python qt quicktime readline real recode samba scanner sdl slang speex spell ssl
svg tcltk tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts
unicode usb userlocales v4l vcd vorbis wifi wxwindows xface xine xinerama xml
xml2 xmms xosd xpm xv xvid yahoo zlib linguas_fr linguas_fr_FR userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET
Comment 5 Mark Loeser (RETIRED) gentoo-dev 2005-11-29 10:25:44 UTC
Technically you just need to remove the static for awayqueue and awayqueuestore
since those are already defined in /usr/include/gaim/away.h.  awayqueue and
awayqueuestore are also both used in autoprofile.c, so they can't be static (if
I remember how that works properly).
Comment 6 Mark Loeser (RETIRED) gentoo-dev 2005-12-09 01:22:03 UTC
Created attachment 74369 [details, diff]
gcc 4 patch

I like this patch best.  Grabbed it from Debian.
Comment 7 Mark Loeser (RETIRED) gentoo-dev 2005-12-12 12:47:45 UTC
In cvs.