Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 577256 - Failed to emerge dev-libs/libcdio-paranoia-0.93_p1
Summary: Failed to emerge dev-libs/libcdio-paranoia-0.93_p1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All OS X
: Normal minor (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-13 04:21 UTC by *
Modified: 2016-04-02 06:53 UTC (History)
0 users

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


Attachments
ebuild patch (libcdio-paranoia-0.93_p1.ebuild.patch,536 bytes, patch)
2016-03-13 04:23 UTC, *
Details | Diff
fix_gettimeofday.patch (fix_gettimeofday.patch,319 bytes, patch)
2016-03-13 04:24 UTC, *
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description * 2016-03-13 04:21:07 UTC
My system is OS X El Capitan (10.11.3).
I'm using an installation built with a successful bootstrap from bug 564814.
I encountered 2 issues when building dev-libs/libcdio-paranoia-0.93_p1, which I don't really need, but it was pulled in by default when building mplayer.

I'll attach a couple patches.

First issue:

/opt/gentoo/bin/bash ../../libtool  --tag=CC   --mode=link x86_64-apple-darwin15-clang  -march=native -O2 -pipe -Wall -Wchar-subscripts -Wmissing-prototypes -Wmissing-declarations -Wunused -Wpointer-arith -Wwrite-strings -Wnested-externs -Wno-sign-compare -version-info 2:0:0  -Wl,--version-script=libcdio_cdda.la.ver -Wl,-dead_strip_dylibs -o libcdio_cdda.la -rpath /opt/gentoo/usr/lib common_interface.lo cddap_interface.lo interface.lo scan_devices.lo smallft.lo toc.lo utils.lo drive_exceptions.lo  -lcdio -lm -liconv -R/opt/gentoo/usr/lib -lm
libtool: link: x86_64-apple-darwin15-clang -dynamiclib -Wl,-undefined -Wl,dynamic_lookup -o .libs/libcdio_cdda.2.0.0.dylib  .libs/common_interface.o .libs/cddap_interface.o .libs/interface.o .libs/scan_devices.o .libs/smallft.o .libs/toc.o .libs/utils.o .libs/drive_exceptions.o   -lcdio /opt/gentoo/usr/lib/libiconv.dylib -lm  -march=native -O2 -Wl,--version-script=libcdio_cdda.la.ver -Wl,-dead_strip_dylibs   -install_name  /opt/gentoo/usr/lib/libcdio_cdda.2.dylib -compatibility_version 3 -current_version 3.0 -Wl,-single_module
ld: unknown option: --version-script=libcdio_cdda.la.ver
x86_64-apple-darwin15-clang-3.7: error: linker command failed with exit code 1 (use -v to see invocation)

Second issue:

 * QA Notice: Package triggers severe warnings which indicate that it
 *            may exhibit random runtime failures.
 * /opt/gentoo/var/tmp/portage/dev-libs/libcdio-paranoia-0.93_p1/work/libcdio-paranoia-10.2+0.93+1/lib/cdda_interface/utils.c:191:9: warning: implicit declaration of function 'gettimeofday' is invalid in C99 [-Wimplicit-function-declaration]

Reproducible: Always

Steps to Reproduce:
emerge --oneshot =dev-libs/libcdio-paranoia-0.93_p1
Comment 1 * 2016-03-13 04:23:58 UTC
Created attachment 428100 [details, diff]
ebuild patch
Comment 2 * 2016-03-13 04:24:54 UTC
Created attachment 428102 [details, diff]
fix_gettimeofday.patch
Comment 3 Fabian Groffen gentoo-dev 2016-04-02 06:53:38 UTC
Fixes applied, thanks