Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 232554 - media-sound/esound-0.2.39 does not build
Summary: media-sound/esound-0.2.39 does not build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: http://bugzilla.gnome.org/show_bug.cg...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-21 11:38 UTC by Florian Fainelli
Modified: 2008-07-21 17:09 UTC (History)
1 user (show)

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


Attachments
Diff to the ebuild to use the errno patch (esound-ebuild.patch,395 bytes, patch)
2008-07-21 11:42 UTC, Florian Fainelli
Details | Diff
Diff to thee esound sources to declare errno in sound_oss.c (esound-0.2.39-errno.patch,328 bytes, patch)
2008-07-21 11:43 UTC, Florian Fainelli
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Fainelli 2008-07-21 11:38:50 UTC
media-sound/esound-0.2.39 does not build due to a missing declaration for errno in sound_oss.c

Reproducible: Always

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

Actual Results:  
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DSYSCONFDIR=\"/etc/esd\" -DSERVERDIR=\"/usr/bin\" -O2 -pipe -march=k8 -fno-strict-aliasing -Wall -c esd_config.c -o libesd_la-esd_config.o >/dev/null 2>&1
/bin/sh ./libtool --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -DSYSCONFDIR=\"/etc/esd\" -DSERVERDIR=\"/usr/bin\"    -O2 -pipe -march=k8 -fno-strict-aliasing   -Wall -c -o libesd_la-audio.lo `test -f 'audio.c' || echo './'`audio.c
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DSYSCONFDIR=\"/etc/esd\" -DSERVERDIR=\"/usr/bin\" -O2 -pipe -march=k8 -fno-strict-aliasing -Wall -c audio.c  -fPIC -DPIC -o .libs/libesd_la-audio.o
In file included from audio.c:29:
audio_oss.c:2:19: error: ernno.h: No such file or directory
In file included from audio.c:29:
audio_oss.c: In function 'esd_audio_open':
audio_oss.c:45: error: 'errno' undeclared (first use in this function)
audio_oss.c:45: error: (Each undeclared identifier is reported only once
audio_oss.c:45: error: for each function it appears in.)
audio_oss.c:45: error: 'ENOENT' undeclared (first use in this function)
make[2]: *** [libesd_la-audio.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-sound/esound-0.2.39/work/esound-0.2.39'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-sound/esound-0.2.39/work/esound-0.2.39'
make: *** [all] Error 2
 *
 * ERROR: media-sound/esound-0.2.39 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2722:  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.39/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-sound/esound-0.2.39/temp/environment'.
 *
Comment 1 Florian Fainelli 2008-07-21 11:42:58 UTC
Created attachment 160994 [details, diff]
Diff to the ebuild to use the errno patch
Comment 2 Florian Fainelli 2008-07-21 11:43:53 UTC
Created attachment 160995 [details, diff]
Diff to thee esound sources to declare errno in sound_oss.c
Comment 3 Rémi Cardona (RETIRED) gentoo-dev 2008-07-21 17:09:21 UTC
Patch added to CVS without a revbump. Thanks :)