Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 49715 - x11-misc/lavaps 2.4 doesn't compile with gcc-3.4.0-r1
Summary: x11-misc/lavaps 2.4 doesn't compile with gcc-3.4.0-r1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Jonathan Smith (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 48528
  Show dependency tree
 
Reported: 2004-05-02 08:08 UTC by andrew lorien
Modified: 2005-06-14 17:15 UTC (History)
4 users (show)

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


Attachments
lavaps-2.4.ebuild-gcc34.patch (lavaps-2.4.ebuild-gcc34.patch,386 bytes, patch)
2004-07-09 19:50 UTC, Patrick Dawson (RETIRED)
Details | Diff
lavaps-2.4-gcc34.patch (lavaps-2.4-gcc34.patch,842 bytes, patch)
2004-07-09 19:50 UTC, Patrick Dawson (RETIRED)
Details | Diff
lavaps-2.6.ebuild (lavaps-2.6.ebuild,662 bytes, text/plain)
2004-07-09 20:48 UTC, Patrick Dawson (RETIRED)
Details
lavaps-2.6-gcc34.patch (lavaps-2.6-gcc34.patch,858 bytes, patch)
2004-07-09 20:49 UTC, Patrick Dawson (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description andrew lorien 2004-05-02 08:08:54 UTC
Please add "~amd64" to the KEYWORDS for x11-misc/lavaps 2.4

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




Portage 2.0.50-r6 (default-amd64-2004.0, gcc-3.3.3, glibc-2.3.2-r9, 2.6.3-gentoo-r2)
=================================================================
System uname: 2.6.3-gentoo-r2 x86_64 4
Gentoo Base System version 1.4.9
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe -frename-registers -fomit-frame-pointer -mno-align-stringops"
CHOST="x86_64-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe -frename-registers -fomit-frame-pointer -mno-align-stringops"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache prelink sandbox sfperms userpriv usersandbox"
GENTOO_MIRRORS="ftp://mirror.pacific.net.au/linux/Gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib alsa amd64 apm arts avi berkdb bonobo crypt dvd encode esd
foomaticdb gdbm gif gnome gpm gtk gtk2 gtkhtml imlib jpeg libg++ libwww mikmod
motif mozilla mozillanoirc mozillanomail mpeg multilib ncurses nls nogcj
oggvorbis opengl oss pam pdflib perl png python quicktime readline sdl slang
spell ssl tcltk tcpd truetype xinerama xml2 xmms xv zlib"
Comment 1 Danny van Dyk (RETIRED) gentoo-dev 2004-05-06 14:35:53 UTC
Merges fine with gcc-3.3.3, fails with gcc-3.4.0-r1. Marked ~amd64.

This is a job for gcc-porting now... Reassigning.
Comment 2 Patrick Dawson (RETIRED) gentoo-dev 2004-07-09 19:50:15 UTC
Created attachment 35089 [details, diff]
lavaps-2.4.ebuild-gcc34.patch

DEPEND is missing some crucial Gnome stuff, so I added that to the ebuild. Also
adds a patch for gcc-3.4 (tested with gcc 3.4.1 on x86), which will be the next
attachment.
Comment 3 Patrick Dawson (RETIRED) gentoo-dev 2004-07-09 19:50:45 UTC
Created attachment 35090 [details, diff]
lavaps-2.4-gcc34.patch
Comment 4 Patrick Dawson (RETIRED) gentoo-dev 2004-07-09 20:48:22 UTC
Created attachment 35093 [details]
lavaps-2.6.ebuild

Here's an updated ebuild for lavaps-2.6
Comment 5 Patrick Dawson (RETIRED) gentoo-dev 2004-07-09 20:49:13 UTC
Created attachment 35094 [details, diff]
lavaps-2.6-gcc34.patch

...and the gcc-3.4 patch that goes along with it.
Comment 6 Michael S 2005-01-25 10:55:01 UTC
First, I think the lavaps-2.6 ebuild is missing a line:

inherit eutils

Otherwise the call to epatch fails.

But second, the build still fails for me. The error messages are:

gcc -O2 -g -D_GNU_SOURCE -I.. -Wall -c devname.c
In file included from devname.c:18:
/usr/include/linux/kdev_t.h:26: error: parse error before "old_encode_dev"
/usr/include/linux/kdev_t.h:31: error: parse error before "val"
/usr/include/linux/kdev_t.h: In function `old_decode_dev':
/usr/include/linux/kdev_t.h:33: error: `val' undeclared (first use in this function)
/usr/include/linux/kdev_t.h:33: error: (Each undeclared identifier is reported only once
/usr/include/linux/kdev_t.h:33: error: for each function it appears in.)
/usr/include/linux/kdev_t.h: At top level:
/usr/include/linux/kdev_t.h:41: error: parse error before "new_encode_dev"
/usr/include/linux/kdev_t.h:48: error: parse error before "dev"
/usr/include/linux/kdev_t.h: In function `new_decode_dev':
/usr/include/linux/kdev_t.h:50: error: `dev' undeclared (first use in this function)
/usr/include/linux/kdev_t.h: At top level:
/usr/include/linux/kdev_t.h:60: error: parse error before "huge_encode_dev"
/usr/include/linux/kdev_t.h:65: error: parse error before "dev"
/usr/include/linux/kdev_t.h: In function `huge_decode_dev':
/usr/include/linux/kdev_t.h:67: error: `dev' undeclared (first use in this function)
/usr/include/linux/kdev_t.h: At top level:
/usr/include/linux/kdev_t.h:75: error: parse error before "sysv_encode_dev"
/usr/include/linux/kdev_t.h:80: error: parse error before "dev"
/usr/include/linux/kdev_t.h: In function `sysv_major':
/usr/include/linux/kdev_t.h:82: error: `dev' undeclared (first use in this function)
/usr/include/linux/kdev_t.h: At top level:
/usr/include/linux/kdev_t.h:85: error: parse error before "dev"
/usr/include/linux/kdev_t.h: In function `sysv_minor':
/usr/include/linux/kdev_t.h:87: error: `dev' undeclared (first use in this function)
make[4]: *** [devname.o] Error 1
make[4]: Leaving directory `/var/tmp/portage/lavaps-2.6/work/lavaps-2.6/src/linux/proc'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/lavaps-2.6/work/lavaps-2.6/src/linux'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/lavaps-2.6/work/lavaps-2.6/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/lavaps-2.6/work/lavaps-2.6'
make: *** [all] Error 2

!!! ERROR: x11-misc/lavaps-2.6 failed.
!!! Function src_compile, Line 28, Exitcode 2


And my emerge --info output:

Portage 2.0.51-r13 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.9-nitro3_20041117_mil2_3com i586)
=================================================================
System uname: 2.6.9-nitro3_20041117_mil2_3com i586 AMD-K6tm w/ multimedia extensions
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Nov  8 2004, 22:50:50)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.8.5-r2, 1.6.3, 1.9.3, 1.5, 1.7.9
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r1
virtual/os-headers:  2.6.8.1-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=k6 -mtune=k6 -O2 -pipe -ftracer -fomit-frame-pointer -fweb"
CHOST="i586-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /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/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k6 -mtune=k6 -O2 -pipe -ftracer -fomit-frame-pointer -fweb -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.mirrors.pair.com/                 http://mirrors.tds.net/gentoo          
ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo        http://csociety-ftp.ecn.purdue.edu/pub/gentoo/                 http://gentoo.chem.wisc.edu/gentoo/            http://mirror.datapipe.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d aalib acpi adns aim alsa apm atlas audiofile bash-completion bcmath berkdb bitmap-fonts bonobo cpdflib crypt cscope ctype cups dba dbase dbm dbx dio doc emacs emacs-w3 esd evo exif f77 fam fastcgi fbcon fftw flash flatfile font-server foomaticdb fortran freetds ftp gd gdbm gif gmac gmp gnome gnutls gpm gstreamer gtk gtk2 guile icq imagemagick imap imlib innodb iodbc ipv6 jabber java jikes jpeg junit kerberos lcms libg++ libgda libwww mbox mime ming mmap mmx mng motif mozilla msn mysql mysqli ncurses nocd nptl nptlonly odbc offensive ofx opengl pam pcntl pcre pda pdflib perl php png posix postgres ppds python quicktime readline recode ruby samba sasl shared sharedmem simplexml slang slp snmp soap sockets socks5 spell spl sqlite ssl svg svga sysvipc tcltk tcpd tetex tidy tiff tokenizer truetype truetype-fonts type1-fonts unicode wmf wxwindows x86 xface xine xinerama xml2 xmms xosd xpm xsl zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS
Comment 7 OxO pHz.60 2005-05-31 00:54:40 UTC
same bug than last comment except i don't use ACCEPT_KEYWORDS="~x86" and my
CFLAGS are "-O2 -march=athlon-xp -pipe -fomit-frame-pointer" (i have tried
compiling it without the fomit-frame-pointer flag and also get the same error
message)
Comment 8 Jonathan Smith (RETIRED) gentoo-dev 2005-06-14 17:14:46 UTC
does lavaps 2.7 also suffer from this problem? that version is now in portage,
and compiles fine for me (using gcc 3.4)
Comment 9 Jonathan Smith (RETIRED) gentoo-dev 2005-06-14 17:15:14 UTC
reopen if 2.7 also has this problem