Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 315139 - media-sound/mpg123-1.12.1 fails to compile when USE-flag "network" is not set - timeout_read undeclared function
Summary: media-sound/mpg123-1.12.1 fails to compile when USE-flag "network" is not set...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-13 23:26 UTC by Constantin Greubel
Modified: 2010-04-24 17:20 UTC (History)
1 user (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 Constantin Greubel 2010-04-13 23:26:45 UTC
mpg123-1.12.1 does not compile.

libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src -I../../src/libmpg123 -DOPT_GENERIC -DREAL_IS_FLOAT -O2 -march=athlon64 -pipe -msse3 -mmmx -c tabinit.c  -fPIC -DPIC -o .libs/tabinit.o
readers.c: In function ‘default_init’:
readers.c:912: error: ‘timeout_read’ undeclared (first use in this function)
readers.c:912: error: (Each undeclared identifier is reported only once
readers.c:912: error: for each function it appears in.)
make[3]: *** [readers.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/media-sound/mpg123-1.12.1/work/mpg123-1.12.1/src/libmpg123



NETWORK has to be defined in line 65 in src/libmpg123/readers.c to use this timeout_read function.

Reproducible: Always

Steps to Reproduce:
1. USE="-network" emerge mpg123
2.
3.
Comment 1 Thomas Orgis 2010-04-14 08:19:20 UTC
Try the diff for mpg123 SVN revision 2659 ... a future bugfix release shall contain that fix, too.
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2010-04-24 17:20:11 UTC
thanks thomas

dropped USE network from 1.12.1 (it's now always enabled), we will get the fix from upstream in next version.