Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 205050 - app-emulation/uae-0.8.26-r1 fails to compile
Summary: app-emulation/uae-0.8.26-r1 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Peter Volkov (RETIRED)
URL:
Whiteboard: Pending removal 2010-03-06
Keywords: PMASKED
Depends on:
Blocks:
 
Reported: 2008-01-09 12:15 UTC by Evil Compile Person
Modified: 2010-01-10 12:32 UTC (History)
4 users (show)

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


Attachments
various fixes which got uae-0.8.26-r1 compiling (uae-0.8.26-compile-patches.diff,5.03 KB, patch)
2009-01-26 17:52 UTC, Arttu Valo
Details | Diff
uae-0.8.29.ebuild.diff (uae-0.8.29.ebuild.diff,1.33 KB, patch)
2009-04-05 07:18 UTC, Jouni Rinne
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Evil Compile Person 2008-01-09 12:15:23 UTC
x86_64-pc-linux-gnu-gcc -I. -I../src/include/ -c  -O2 -fomit-frame-pointer  -Wall -Wno-unused -Wno-format -W -Wmissing-prototypes -Wstrict-prototypes   -DGCCCONSTFUNC="__attribute__((const))" -DREGPARAM= -DUSE_ZFILE -DSUPPORT_THREADS -D_REENTRANT -DUAE_FILESYS_THREADS -D__inline__=inline -DSHM_SUPPORT_LINKS=1   sd-sound.c -o sd-sound.o
In file included from /var/tmp/portage/app-emulation/uae-0.8.26-r1/work/uae-0.8.26/src/sd-file/sound.c:17,
                 from sd-sound.c:1:
./sounddep/sound.h: In function 'check_sound_buffers':
./sounddep/sound.h:22: warning: 'return' with a value, in function returning void
./sounddep/sound.h:24: warning: 'return' with a value, in function returning void
In file included from sd-sound.c:1:
/var/tmp/portage/app-emulation/uae-0.8.26-r1/work/uae-0.8.26/src/sd-file/sound.c: In function 'init_sound':
/var/tmp/portage/app-emulation/uae-0.8.26-r1/work/uae-0.8.26/src/sd-file/sound.c:96: error: 'struct uae_prefs' has no member named 'stereo'
/var/tmp/portage/app-emulation/uae-0.8.26-r1/work/uae-0.8.26/src/sd-file/sound.c:108: error: 'struct uae_prefs' has no member named 'stereo'
/var/tmp/portage/app-emulation/uae-0.8.26-r1/work/uae-0.8.26/src/sd-file/sound.c:114: error: 'struct uae_prefs' has no member named 'stereo'
/var/tmp/portage/app-emulation/uae-0.8.26-r1/work/uae-0.8.26/src/sd-file/sound.c:121: error: 'obtained_freq' undeclared (first use in this function)
/var/tmp/portage/app-emulation/uae-0.8.26-r1/work/uae-0.8.26/src/sd-file/sound.c:121: error: (Each undeclared identifier is reported only once
/var/tmp/portage/app-emulation/uae-0.8.26-r1/work/uae-0.8.26/src/sd-file/sound.c:121: error: for each function it appears in.)
/var/tmp/portage/app-emulation/uae-0.8.26-r1/work/uae-0.8.26/src/sd-file/sound.c:125: error: 'struct uae_prefs' has no member named 'stereo'
/var/tmp/portage/app-emulation/uae-0.8.26-r1/work/uae-0.8.26/src/sd-file/sound.c:127: warning: implicit declaration of function 'init_sound_table8'
/var/tmp/portage/app-emulation/uae-0.8.26-r1/work/uae-0.8.26/src/sd-file/sound.c:128: error: 'struct uae_prefs' has no member named 'stereo'
/var/tmp/portage/app-emulation/uae-0.8.26-r1/work/uae-0.8.26/src/sd-file/sound.c:128: error: 'sample8s_handler' undeclared (first use in this function)
/var/tmp/portage/app-emulation/uae-0.8.26-r1/work/uae-0.8.26/src/sd-file/sound.c:128: error: 'sample8_handler' undeclared (first use in this function)
make[1]: *** [sd-sound.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-emulation/uae-0.8.26-r1/work/uae-0.8.26/src'
make: *** [all] Error 2
 *
 * ERROR: app-emulation/uae-0.8.26-r1 failed.

Portage 2.1.4_rc14 (default-linux/amd64/2007.0, gcc-4.2.2, glibc-2.7-r1, 2.6.23-gentoo-r1 x86_64)
=================================================================
System uname: 2.6.23-gentoo-r1 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
Timestamp of tree: Mon, 07 Jan 2008 19:00:08 +0000
app-shells/bash:     3.2_p33
dev-lang/python:     2.5.1-r5
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.61-r1
sys-devel/automake:  1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/svn/env /usr/kde/svn/share/config /usr/kde/svn/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
PKGDIR="/usr/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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://localhost/gentoo-portage"
USE="X acl amd64 berkdb bitmap-fonts cli cracklib crypt cups dri fortran gcj gdbm gpm iconv ipv6 isdnlog midi mmx mudflap ncurses nls nptl nptlonly objc openmp pam pcre perl pppd python readline reflection session spl sse sse2 ssl tcpd truetype-fonts type1-fonts unicode xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="vga"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Arttu Valo 2009-01-26 17:52:31 UTC
Created attachment 179789 [details, diff]
various fixes which got uae-0.8.26-r1 compiling

Small, but still slowly and painfully produced patch set addressing various issues in uae-0.8.26-r1 source:

- gui_display() stub added to nogui.c to enable compilation with USE="-ui"
- several other compilation blocking typos fixed and 8-bit sample stuff commented out in sd-file/sound.c to get it compiling with USE="-alsa -oss -sdl-sound"
- commented out 8-bit sample handling in sd-sdl/sound.c as well to enable compilation with USE="sdl-sound -alsa -oss"
- getline was renamed to uae_getline as it caused some odd problems (glibc 2.8 issue?)
Comment 2 Arttu Valo 2009-01-26 17:54:15 UTC
uae barely compiles on the two amd64 environments I tested on with this patchset applied after all the others. I don't know if it can even run properly without the 8-bit sample stuff, but both sd-file and sdl-sound sound selections were uncompilable as they were in the source, so now it at least compiles. Maybe it works too? Who's an Amiga fan and wants to try this out? :)

There even seems to (maybe?) be newer versions out, but the ftp site is down? Debian and Ubuntu claim to have 0.8.28 and the new uae website says version 0.8.29 is latest developer version. Unfortunately, the ftp server won't respond.
Comment 3 Jouni Rinne 2009-04-05 07:17:37 UTC
No, the ftp server is not down, it's just extremely slow to response... I managed to coax the 0.8.29 sources from the server, and tested them with a modified ebuild (diff enclosed). I haven't really tested uae-0.8.29 thoroughly, but it compiles fine on amd64 & so far has worked all right (at least with USE="X alsa sdl ui -aalib -dga -oss -scsi -sdl-sound -svga").

Because the uae ftp server is soooo very slow, I copied the 0.8.29 sources temporarily to my webserver http://steam.punk.dy.fi/uae-0.8.29.tar.bz2 , for testing and ebuild development purposes. Please DON'T link any ebuilds to it, I'll remove it as soon as the uae-0.8.29 hits portage (soon-ish, please?)
Comment 4 Jouni Rinne 2009-04-05 07:18:23 UTC
Created attachment 187354 [details, diff]
uae-0.8.29.ebuild.diff
Comment 5 Jouni Rinne 2009-04-05 10:55:47 UTC
BTW, I think that the "scsi" USE-flag's dependency of 'app-cdr/cdrtools' should be changed to 'virtual/cdrtools'. Or does uae *really* need cdrtools instead of cdrkit?
Comment 6 Jouni Rinne 2009-04-06 07:36:09 UTC
D**n, it seems that uae scsi support is really dependent on libscg and libschily, which are included with cdrtools but not with cdrkit... Oh well... Please disregard my previous comment.
Comment 7 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-12-26 01:39:37 UTC
Uhm Peter can we get something for this or should I kill it? It's two year almost and here it fails with a slightly different problem as well.
Comment 8 Hanno Böck gentoo-dev 2010-01-07 10:11:29 UTC
Diego, this bug is fixed, I committed 0.8.29 ages ago, just forgot to close this one. If you have issues with the current one please open new bugs.

I'll try to get uae back in shape and unmask it again.
Comment 9 Marcin 2010-01-10 12:32:21 UTC
Yes, please unmask uae it's now more stable than e-uae.