First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 134267
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Games <games@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Alexander Skwar <askwar@digitalprojects.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 134267 depends on: Show dependency tree
Show dependency graph
Bug 134267 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-05-24 15:43 0000
I'm trying to get ufo2000 compiled. It fails like this:

gcc -MMD -funsigned-char -Wall -Wno-deprecated-declarations -I src/lua
-DDEBUGMODE -DUFO_SVNVERSION=\"exported\"
-DDATA_DIR=\"/usr/share/games/ufo2000\" -O2 -mtune=pentium-m -pipe
-fomit-frame-pointer -DHAVE_DUMBOGG -DLINUX -I/usr/include -c
src/dumbogg/dumbogg.c -o obj/dumbogg.o
src/dumbogg/dumbogg.c: In function `dumb_load_ogg':
src/dumbogg/dumbogg.c:160: warning: passing arg 3 of `make_duh' from
incompatible pointer type
src/dumbogg/dumbogg.c:160: warning: passing arg 4 of `make_duh' makes integer
from pointer without a cast
src/dumbogg/dumbogg.c:160: error: too few arguments to function `make_duh'
src/dumbogg/dumbogg.c: In function `ogg_sigrenderer_get_samples':
src/dumbogg/dumbogg.c:224: warning: implicit declaration of function
`dumb_resample'
src/dumbogg/dumbogg.c: In function `ogg_sigrenderer_get_current_sample':
src/dumbogg/dumbogg.c:264: warning: implicit declaration of function
`dumb_resample_get_current_sample'
src/dumbogg/dumbogg.c: In function `ogg_start_sigrenderer':
src/dumbogg/dumbogg.c:353: error: too few arguments to function
`dumb_reset_resampler'
make: *** [obj/dumbogg.o] Error 1

!!! ERROR: games-strategy/ufo2000-0.6.627 failed.
Call stack:
  ebuild.sh, line 1527:   Called dyn_compile
  ebuild.sh, line 931:   Called src_compile
  ufo2000-0.6.627.ebuild, line 58:   Called die

The following packages got compiled, just because of ufo2000:

alexander@blatt /Gentoo/Portage/tree $ emerge -vpt
={media-libs/allegro-4.2.0-r1,media-libs/aldumb-0.9.2-r1,dev-games/hawknl-1.68-r1,games-strategy/ufo2000-0.6.627}

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

Calculating dependencies... done!
[ebuild  N    ] games-strategy/ufo2000-0.6.627  USE="vorbis" 0 kB
[ebuild   R   ] dev-games/hawknl-1.68-r1  USE="-doc" 0 kB
[ebuild   R   ] media-libs/aldumb-0.9.2-r1  0 kB
[ebuild   R   ] media-libs/allegro-4.2.0-r1  USE="X alsa arts -doc esd fbcon
mmx -oss sse -static -svga -tetex" 0 kB

alexander@blatt /Gentoo/Portage/tree $ emerge --info
Portage 2.1_rc2-r1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.4-r3,
2.6.16-suspend2-r6.043.security-models i686)
=================================================================
System uname: 2.6.16-suspend2-r6.043.security-models i686 Intel(R) Celeron(R) M
processor         1.50GHz
Gentoo Base System version 1.12.0
ccache version 2.4 [enabled]
dev-lang/python:     2.3.4-r1, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r1
dev-util/confcache:  0.4.2-r1
sys-apps/sandbox:    1.2.18.1
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-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mtune=pentium-m -pipe -fomit-frame-pointer"
CHOST="i686-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="-O2 -mtune=pentium-m -pipe -fomit-frame-pointer"
DISTDIR="/Gentoo/Portage/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical"
FEATURES="autoconfig buildpkg ccache collision-protect confcache distlocks
metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="        http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/  
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ 
ftp://ftp.tu-clausthal.de/pub/linux/gentoo/    
http://distro.ibiblio.org/pub/linux/distributions/gentoo/    
ftp://distro.ibiblio.org/pub/linux/distributions/gentoo        
http://distfiles.gentoo.org/ "
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
PKGDIR="/Gentoo/Portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/Gentoo/Portage/build"
PORTDIR="/Gentoo/Portage/tree"
PORTDIR_OVERLAY="/Gentoo/Portage/local-tree/misc
/usr/portage/local/layman/vmware /usr/portage/local/layman/nx
/usr/portage/local/layman/gentoo-de"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 GAPING_SECURITY_HOLE X acpi alsa amd apache2 apm arts artswrappersuid
async avi bash-completion bdf berkdb bitmap-fonts bluetooth bootsplash cairo
caps cardbus ccache cdda cddb cdio cdparanoia cdr cdrom cle266 cli crypt css
curlwrappers dbus devmap dillo divx4linux dlloader dri dvd dvdread emoticon esd
exif fam fbcon fbdev firefox fping freetype gdbm gif gnokii gnome gstreamer gtk
gtk2 hal hpn icc id3 idn imap imlib imlib2 insecure-drivers insecure-savers
isdnlog javascript jikes jpeg kde kdeenablefinal libedit libwww
linuxthreads-tls logrotate lynxkeymap mad madwifi maildir matroska mbox mmx
mmxext mozilla moznoirc mozsvg mp3 mpeg mpeg2 mpeg4 mplayer multicall ncurses
netboot network new-login nfs nis nls no-old-linux no-suexec noantlr nobcel
nobeanutils nobsf nobsh nocd nocommonslogging nocommonsnet nodrm nogg nogulm
nojsch nojython nolog4j nomac nooro nopri norhino noxalan noxerces nozaptel
nptl nsplugin offensive ogg opengl openssh pam_console pam_timestamp passfile
password patented pccts pcmcia pcre perl perlsuid pic player png pnp pppd qt
quicktime rar readline real recode reflection reiserfs sdl sendfile sensord
session sftp sms spell spf spl sse sse2 ssl startup-notification stream subp
subtitles suid symlink sysfs syslog tiff transcode truetype truetype-fonts
trusted type1-fonts udev underscores unichrome unicode unsafe usb utf8 uudeview
vim vim-pager vlm vorbis wifi win32codecs wma123 x11vnc xinetd xml xmms xorg
xpm xprint xscreensaver xv xvid xvmc zlib elibc_glibc input_devices_evdev
input_devices_keyboard input_devices_mouse input_devices_-synaptics
kernel_linux linguas_de userland_GNU video_cards_fbdev video_cards_vesa
video_cards_vga video_cards_via"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LC_ALL, MAKEOPTS,
PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #1 From Mr. Bones. 2006-05-24 17:35:53 0000 -------
builds fine for me.  remerge dumb and aldumb and see if that helps.

------- Comment #2 From Alexander Skwar 2006-05-25 01:58:14 0000 -------
(In reply to comment #1)
> builds fine for me.  remerge dumb and aldumb and see if that helps.

What flags did you use to build allegro? Do you have "my" versions/revisions of
dumb and aldumb installed? 

------- Comment #3 From Chris Gianelloni (RETIRED) 2006-05-25 08:41:15 0000 -------
What do you mean by "my" revisions?

------- Comment #4 From Alexander Skwar 2006-05-25 13:17:04 0000 -------
(In reply to comment #3)
> What do you mean by "my" revisions?

The versions/revisions of the packages, which I've got installed. Looking at
the error message, it seems to me, as if dumbogg.c would expect "different"
make_duh and dumb_reset_resampler functions, which IMO could only happen, if
the version of the library (or whatever) which provides these functions is not
compatible to games-strategy/ufo2000-0.6.627

Because of that, I also don't understand why recompiling {al,}dumb should help
- especially since {al,}dumb got installed a few "seconds" before ufo2000.

------- Comment #5 From Mr. Bones. 2006-05-25 14:37:56 0000 -------
$ md5sum /usr/include/dumb.h
708d03a41e73347902666d4038cc2587  /usr/include/dumb.h

what's yours say?

------- Comment #6 From Alexander Skwar 2006-05-25 14:44:19 0000 -------
alexander@blatt /boot $ md5sum /usr/include/dumb.h
4be517f16ae78b9a19022996932e7f74  /usr/include/dumb.h


alexander@blatt /boot $ ls -la /usr/include/dumb.h
-rw-r--r-- 1 root root 25298 25. May 00:22 /usr/include/dumb.h

That date fits - it's when I installed dumb.

#define DUMB_MAJOR_VERSION    0
#define DUMB_MINOR_VERSION    9
#define DUMB_REVISION_VERSION 3

#define DUMB_YEAR  2005
#define DUMB_MONTH 8
#define DUMB_DAY   7


What version of gcc are you using?

alexander@blatt /boot $ gcc --version
gcc (GCC) 3.4.6 (Gentoo 3.4.6-r1, ssp-3.4.5-1.0, pie-8.7.9)

------- Comment #7 From Mr. Bones. 2006-05-25 15:46:14 0000 -------
Ah, it's because dumb-0.9.3 has a different api then 0.9.2.  Pretty
interesting.  I don't see mention of that in the release doc either.

------- Comment #8 From Siarhei Siamashka 2006-05-28 14:05:36 0000 -------
This API change in DUMB is quite unfortunate. Probably we'll have to to include
DUMB library into UFO2000 source tree just like some other rare/not very well
supperted libraries (in 'src/some_library_name' subdirectory) for one of the
next versions of the game.

As a workaround ufo2000 can be emerged with '-vorbis' USE flag as music support
is not so critical. And at least now ebuild can be updated to clearly state
that DUMB version must be in fact <0.9.2 in order to avoid confusion.

------- Comment #9 From Chris Gianelloni (RETIRED) 2006-05-31 15:00:29 0000 -------
That API change is definitely DUMB.  *grin*

Anyway, I've fixed up the ufo2000 ebuild.

First Last Prev Next    No search results available      Search page      Enter new bug