Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 131257 - media-libs/freealut fails compiling
Summary: media-libs/freealut fails compiling
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Chris Gianelloni (RETIRED)
URL:
Whiteboard:
Keywords:
: 133034 164053 168301 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-04-25 13:06 UTC by Cristiano Chiucchiolo
Modified: 2007-04-29 16:50 UTC (History)
6 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cristiano Chiucchiolo 2006-04-25 13:06:15 UTC
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -fvisibility=hidden -Wall -ansi -pedantic -O2 -march=k8 -pipe -MT libalut_la-alutError.lo -MD -MP -MF .deps/libalut_la-alutError.Tpo -c alutError.c  -fPIC -DPIC -o .libs/libalut_la-alutError.o
alutInit.c: In function `alutExit':
alutInit.c:150: error: wrong type argument to unary exclamation mark
make[2]: *** [libalut_la-alutInit.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -fvisibility=hidden -Wall -ansi -pedantic -O2 -march=k8 -pipe -MT libalut_la-alutError.lo -MD -MP -MF .deps/libalut_la-alutError.Tpo -c alutError.c -o libalut_la-alutError.o >/dev/null 2>&1
make[2]: Leaving directory `/var/tmp/portage/freealut-1.0.1/work/freealut-1.0.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/freealut-1.0.1/work/freealut-1.0.1'
make: *** [all] Error 2

!!! ERROR: media-libs/freealut-1.0.1 failed.
Call stack:
  ebuild.sh, line 1525:   Called dyn_compile
  ebuild.sh, line 928:   Called src_compile
  freealut-1.0.1.ebuild, line 21:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.



Portage 2.1_pre9-r4 (default-linux/amd64/2005.1, gcc-3.4.6, 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 3500+
Gentoo Base System version 1.12.0_pre18
ccache version 2.4 [enabled]
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="-O2 -march=k8 -pipe"
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/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=k8 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/"
LANG="it_IT.UTF-8"
LC_ALL="it_IT.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="it"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/overlays/migration-overlay"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac alsa arts avi bash-completion berkdb bitmap-fonts browserplugin calendar cdb cdda cdparanoia cli crypt css cups divx4linux dri dts dv dvd dvdr dvdread eds emboss emul-linux-x86 encode fame ffmpeg firefox flac foomaticdb fortran ftp gif gimp gphoto2 gpm gstreamer gtk hal icq ieee1394 imlib isdnlog java javascript jpeg kde lm_sensors lzw lzw-tiff mad matroska mime mng mozilla mp3 mpeg msn ncurses nls nptl nptlonly nsplugin nvidia ogg oggvorbis opengl pam pcre pda pdflib perl php pic png ppds pppd python qt quicktime readline reflection samba scanner sdl session spell spl ssl subtitles tcpd tiff truetype truetype-fonts type1-fonts unicode usb userlocales vcd videos vorbis wxwindows xine xorg xpm xv xvid yahoo zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_it userland_GNU video_cards_nvidia"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK
Comment 1 Chris Gianelloni (RETIRED) gentoo-dev 2006-05-09 14:18:50 UTC
I'm just curious.  What version of openal do you have installed?
Comment 2 Avuton Olrich 2006-05-10 09:06:30 UTC
I'm getting this too.

[ebuild   R   ] media-libs/openal-20050504-r2  USE="alsa debug mpeg sdl -arts -esd -vorbis*" 0 kB
Comment 3 Chris Gianelloni (RETIRED) gentoo-dev 2006-05-10 14:50:03 UTC
OK.  Why in the *world* are you trying to compile freealut when you're using a version of openal that has alut built-in? ;]

The package will not work with any 20050504 version, but instead will work with 20051024 and 0.0.8, the latter which I recommend.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-05-11 09:04:34 UTC
*** Bug 133034 has been marked as a duplicate of this bug. ***
Comment 5 Martin Wegner 2006-05-11 11:08:42 UTC
I just got an automatic downgrade from media-libs/openal-20050504-r2 to media-libs/openal-0.0.8 and now media-libs/freealut-1.0.1 compiles here. Before this the downgrade was not made and compiling failed.

But it seems like we have a vicious circle here, since now I get again:

% emerge -uDpv --tree world

These are the packages that would be merged, in reverse order:

Calculating world dependencies                 ... done!
[ebuild     U ] games-arcade/excido-0.1.5c-r1 [0.1.5c] 0 kB
[ebuild  N    ]  media-libs/freealut-1.0.1  0 kB
[nomerge      ] games-action/parsec-0197
[ebuild     U ]  media-libs/openal-20050504-r2 [0.0.8] USE="alsa mpeg% sdl vorbis -arts -debug -esd" 0 kB

When I try to emerge this, openal merges fine but I get the compile error of freealut again. Now it looks like this:

% emerge -uDpv --tree world

These are the packages that would be merged, in reverse order:

Calculating world dependencies                 ... done!
[ebuild     U ] games-arcade/excido-0.1.5c-r1 [0.1.5c] 0 kB
[ebuild     UD]  media-libs/openal-0.0.8 [20050504-r2] USE="alsa mp3% sdl vorbis -arts -debug -esd" 0 kB
[ebuild  N    ]  media-libs/freealut-1.0.1  0 kB

I hope this helps.
Comment 6 Chris Gianelloni (RETIRED) gentoo-dev 2006-05-11 13:49:19 UTC
Well, it doesn't help a whole lot without emerge --info, but I'm guessing that you're stuck in some strange upgrade/downgrade cycle which you shouldn't be in, at all.  By the way, if you emerge --sync now, you'll see that the newer version of excido is masked, since it is set to only work with the split freealut/openal.

Another thing that you can do is to mask >=media-libs/openal-200* and it'll resolve this for you.  I apologize about excido.  I hadn't considered the upgrade/downgrade issue when I committed it, but have since masked the newer revision until I can get everything in the tree working with the new openal version.

Remember that 0.0.8 is the newest openal.

Anyway, I'm going to assume that the compile problems are all due to trying to compile freealut against an openal.  I've since added a blocker to freealut for the openal version with an included alut, and done the same with the conflicting versions of openal.
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2007-01-27 18:39:24 UTC
*** Bug 164053 has been marked as a duplicate of this bug. ***
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2007-02-25 09:38:15 UTC
*** Bug 168301 has been marked as a duplicate of this bug. ***
Comment 9 progserega 2007-04-29 16:26:59 UTC
Such bug is in media-libs/freealut-1.1.0.
In portage is only such versions:
freealut-1.1.0
freealut-1.0.1

emerge think that latest version is freealut-1.1.0 and it fails with such bug.

You said, that newest version is 0.0.8, but why it was removed from portage?

http://gentoo-portage.com/media-libs/freealut have only freealut-1.1.0 and freealut-1.0.1 ebuilds. emerge --sync  also give only 2 such versions.
Comment 10 Ryan Hill (RETIRED) gentoo-dev 2007-04-29 16:50:51 UTC
(In reply to comment #6)
> Remember that 0.0.8 is the newest openal.

openal, not freealut.