Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 510924 - >=media-libs/libbluray-0.4.0: build fails on Gentoo/FreeBSD
Summary: >=media-libs/libbluray-0.4.0: build fails on Gentoo/FreeBSD
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All FreeBSD
: Normal normal (vote)
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-21 11:30 UTC by Yuta SATOH
Modified: 2017-07-22 18:12 UTC (History)
0 users

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 Yuta SATOH 2014-05-21 11:30:34 UTC
The following message is displayed and fails to compile.

<snip>
libtool: compile:  x86_64-gentoo-freebsd10.0-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/media-libs/libbluray-0.5.0-r1/work/libbluray-0.5.0/src -I.. -std=c99 -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112L -D_REENTRANT -I/var/tmp/portage/media-libs/libbluray-0.5.0-r1/work/libbluray-0.5.0 -Ifile -Ilibbluray -Ilibbluray/bdnav -I/usr/include/libxml2 -I/usr/include/freetype2 -O0 -pipe -ggdb -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wshadow -Werror=implicit-function-declaration -Wextra -Winline -c /var/tmp/portage/media-libs/libbluray-0.5.0-r1/work/libbluray-0.5.0/src/libbluray/decoders/graphics_controller.c  -fPIC -DPIC -o libbluray/decoders/.libs/graphics_controller.o
In file included from /var/tmp/portage/media-libs/libbluray-0.5.0-r1/work/libbluray-0.5.0/src/libbluray/decoders/graphics_controller.c:31:0:
/var/tmp/portage/media-libs/libbluray-0.5.0-r1/work/libbluray-0.5.0/src/util/time.h: In function '_bd_get_scr_impl':
/var/tmp/portage/media-libs/libbluray-0.5.0-r1/work/libbluray-0.5.0/src/util/time.h:57:5: error: implicit declaration of function 'gettimeofday' [-Werror=implicit-function-declaration]
     gettimeofday(&tv, 0);
     ^
cc1: some warnings being treated as errors
Makefile:1262: recipe for target 'libbluray/decoders/graphics_controller.lo' failed
gmake[2]: *** [libbluray/decoders/graphics_controller.lo] Error 1
gmake[2]: Leaving directory '/var/tmp/portage/media-libs/libbluray-0.5.0-r1/work/libbluray-0.5.0-amd64_fbsd/src'
Makefile:426: recipe for target 'all-recursive' failed
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory '/var/tmp/portage/media-libs/libbluray-0.5.0-r1/work/libbluray-0.5.0-amd64_fbsd'
Makefile:354: recipe for target 'all' failed
gmake: *** [all] Error 2
 * ERROR: media-libs/libbluray-0.5.0-r1::gentoo failed (compile phase):
 *   emake failed
Comment 1 Yuta SATOH 2014-05-21 11:32:49 UTC
FreeBSD's ports patch is required in order to compile the latest version.

http://svnweb.freebsd.org/ports/head/multimedia/libbluray/files/patch-src-Makefile.am?revision=352423&view=co
Comment 2 Steve Dibb (RETIRED) gentoo-dev 2017-07-22 18:12:37 UTC
Looks like they dropped patches, and are on 0.93 now.

Closing bug, reopen if still an issue with same.