Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 270436 - [patch] media-sound/esound-0.2.41 fails to compile on Gentoo/FreeBSD (x86)
Summary: [patch] media-sound/esound-0.2.41 fails to compile on Gentoo/FreeBSD (x86)
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: x86 FreeBSD
: High normal (vote)
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-19 14:41 UTC by Yuta SATOH
Modified: 2012-03-18 12:36 UTC (History)
2 users (show)

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


Attachments
patch for esound-0.2.41.ebuild (esound-0.2.41.ebuild.patch,322 bytes, patch)
2009-05-19 15:32 UTC, Yuta SATOH
Details | Diff
files/esound-0.2.41-fbsd-esddsp-fromports.patch (esound-0.2.41-fbsd-esddsp-fromports.patch,2.22 KB, patch)
2009-05-19 15:33 UTC, Yuta SATOH
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yuta SATOH 2009-05-19 14:41:17 UTC
The following message is displayed and fails to compile on Gentoo/FreeBSD (x86).

 i486-gentoo-freebsd7.1-gcc -DHAVE_CONFIG_H -I. -DSYSCONFDIR=\"/etc/esd\" -DSERVERDIR=\"/usr/bin\" -O2 -pipe -fno-strict-aliasing -Wall -c util.c -o libesd_la-util.o >/dev/null 2>&1
/bin/sh ./libtool --tag=CC   --mode=link i486-gentoo-freebsd7.1-gcc  -O2 -pipe -fno-strict-aliasing   -Wall -version-info 2:39:2 -no-undefined  -o libesd.la -rpath /usr/lib libesd_la-esdlib.lo libesd_la-esdmgr.lo libesd_la-esdfile.lo libesd_la-esd_config.lo libesd_la-audio.lo libesd_la-genrand.lo libesd_la-util.lo -laudiofile -lm    -laudiofile -lm
i486-gentoo-freebsd7.1-gcc -shared  .libs/libesd_la-esdlib.o .libs/libesd_la-esdmgr.o .libs/libesd_la-esdfile.o .libs/libesd_la-esd_config.o .libs/libesd_la-audio.o .libs/libesd_la-genrand.o .libs/libesd_la-util.o  /usr/lib/libaudiofile.so -lm  -Wl,-soname -Wl,libesd.so.2 -o .libs/libesd.so.2
(cd .libs && rm -f libesd.so && ln -s libesd.so.2 libesd.so)
(cd .libs && rm -f libesd.so && ln -s libesd.so.2 libesd.so)
i486-gentoo-freebsd7.1-ar cru .libs/libesd.a  libesd_la-esdlib.o libesd_la-esdmgr.o libesd_la-esdfile.o libesd_la-esd_config.o libesd_la-audio.o libesd_la-genrand.o libesd_la-util.o
i486-gentoo-freebsd7.1-ranlib .libs/libesd.a
creating libesd.la
(cd .libs && rm -f libesd.la && ln -s ../libesd.la libesd.la)
/bin/sh ./libtool --tag=CC   --mode=compile i486-gentoo-freebsd7.1-gcc -DHAVE_CONFIG_H -I.  -DSYSCONFDIR=\"/etc/esd\" -DSERVERDIR=\"/usr/bin\"    -O2 -pipe -fno-strict-aliasing   -Wall -c -o esddsp.lo esddsp.c
 i486-gentoo-freebsd7.1-gcc -DHAVE_CONFIG_H -I. -DSYSCONFDIR=\"/etc/esd\" -DSERVERDIR=\"/usr/bin\" -O2 -pipe -fno-strict-aliasing -Wall -c esddsp.c  -fPIC -DPIC -o .libs/esddsp.o
esddsp.c: In function 'open_wrapper':
esddsp.c:239: warning: 'mode_t' is promoted to 'int' when passed through '...'
esddsp.c:239: note: (so you should pass 'int' not 'mode_t' to 'va_arg')
esddsp.c:239: note: if this code is reached, the program will abort
esddsp.c: In function 'open':
esddsp.c:287: note: if this code is reached, the program will abort
esddsp.c: In function 'open64':
esddsp.c:314: note: if this code is reached, the program will abort
esddsp.c: At top level:
esddsp.c:691: error: expected declaration specifiers or '...' before 'off64_t'
esddsp.c: In function 'mmap64':
esddsp.c:693: error: expected declaration specifiers or '...' before 'off64_t'
esddsp.c:696: error: expected declaration specifiers or '...' before 'off64_t'
esddsp.c:699: error: 'offset' undeclared (first use in this function)
esddsp.c:699: error: (Each undeclared identifier is reported only once
esddsp.c:699: error: for each function it appears in.)
esddsp.c:699: error: too many arguments to function 'func'
gmake[2]: *** [esddsp.lo] Error 1
gmake[2]: Leaving directory `/var/tmp/portage/media-sound/esound-0.2.41/work/esound-0.2.41'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/var/tmp/portage/media-sound/esound-0.2.41/work/esound-0.2.41'
gmake: *** [all] Error 2
 *
 * ERROR: media-sound/esound-0.2.41 failed.
 * Call stack:
 *               ebuild.sh, line   48:  Called src_compile
 *             environment, line 2760:  Called die
 * The specific snippet of code:
 *       emake || die "Make failed"
 *  The die message:
 *   Make failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/media-sound/esound-0.2.41/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-sound/esound-0.2.41/temp/environment'.
 *


Reproducible: Always

Steps to Reproduce:
1. emerge media-sound/esound

Actual Results:  
fails to compile


Expected Results:  
success to compile.


Portage 2.1.6.11 (default/bsd/fbsd/x86/7.1, gcc-4.3.2, freebsd-lib-7.1-r3, 7.2-RELEASE i386)
=================================================================
System uname: FreeBSD-7.2-RELEASE-i386-32bit-ELF
Timestamp of tree: Mon, 18 May 2009 16:00:01 +0000
distcc 3.0 i486-gentoo-freebsd7.1 [disabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.7
dev-lang/python:     2.5.4-r2
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r2
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  7.1-r3
ACCEPT_KEYWORDS="x86-fbsd ~x86-fbsd"
CBUILD="i486-gentoo-freebsd7.1"
CFLAGS="-O2 -pipe"
CHOST="i486-gentoo-freebsd7.1"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg cvs distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.iij.ad.jp/pub/linux/gentoo/ http://ftp.jaist.ac.jp/pub/Linux/Gentoo/"
LDFLAGS=""
LINGUAS="ja"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl berkdb cli cracklib crypt cups dri gdbm iconv ipv6 java5 java6 midi ncurses nls nptlonly oss pam pcre perl ppds python readline reflection session spl ssl tcpd unicode x86-fbsd xorg zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul 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="FreeBSD" INPUT_DEVICES="keyboard mouse joystick wacom" KERNEL="FreeBSD" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ja" USERLAND="BSD" VIDEO_CARDS="dummy nv fbdev intel"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Yuta SATOH 2009-05-19 14:44:00 UTC
oops, I made a mistake in the summary. 
Comment 2 Yuta SATOH 2009-05-19 15:32:48 UTC
Created attachment 191790 [details, diff]
patch for esound-0.2.41.ebuild
Comment 3 Yuta SATOH 2009-05-19 15:33:25 UTC
Created attachment 191792 [details, diff]
files/esound-0.2.41-fbsd-esddsp-fromports.patch

Taken from FreeBSD Ports.
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-05-19 16:58:48 UTC
The patch should not be conditional... and it seems to me like it's a bit too intrusive, as usual when it comes to ports patches.

I'll see if I can reduce it to what is actually necessary, although I doubt upstream is going to fix this anytime soon (esound is likely abandoned).
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2009-05-20 15:33:59 UTC
(In reply to comment #4)
> I'll see if I can reduce it to what is actually necessary, although I doubt
> upstream is going to fix this anytime soon (esound is likely abandoned).

There was a release with patches from different distribs etc. applied, so
fortunately not that dead anymore..
Comment 6 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-04-12 18:48:13 UTC
According to http://git.gnome.org/browse/esound/, last activity was on november 2008 to release 0.2.41. Should we keep on supporting esound at this point with pulseaudio superseeding it in every possible way I know of ?
Comment 7 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-04-12 18:50:46 UTC
According to http://tinderbox.dev.gentoo.org/misc/rindex/media-sound/esound, the only non optional reverse deps is <gok-2.28. That should not be a blocker for long if we decide to kill esound in gentoo.
Comment 8 Pacho Ramos gentoo-dev 2012-03-18 12:36:16 UTC
dropped