[Bug 243955] multimedia/x265 : Fails to build on FreeBSD 12.1-RELEASE-p1 powerpc 32 bit : undefined reference to `x265_10bit::x265_api_query(int, int, int*)'
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Feb 7 12:02:04 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243955
Bug ID: 243955
Summary: multimedia/x265 : Fails to build on FreeBSD
12.1-RELEASE-p1 powerpc 32 bit : undefined reference
to `x265_10bit::x265_api_query(int, int, int*)'
Product: Ports & Packages
Version: Latest
Hardware: powerpc
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: ports-bugs at FreeBSD.org
Reporter: canardo909 at gmx.com
CC: mi at ALDAN.algebra.com, powerpc at FreeBSD.org
CC: mi at ALDAN.algebra.com, powerpc at FreeBSD.org
Flags: maintainer-feedback?(mi at ALDAN.algebra.com)
Problem found when building multimedia/x265 on FreeBSD 12.1-RELEASE-p1 r354992
GENERIC powerpc 32 bit, running on Apple Powerbook 17".
/usr/ports/multimedia/x265 # make clean
===> Cleaning for x265-3.2.1_1
/usr/ports/multimedia/x265 # make -DBATCH install clean
===> License GPLv2+ accepted by the user
===> x265-3.2.1_1 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by x265-3.2.1_1 for building
===> Extracting for x265-3.2.1_1
.....
.....
[67/68] : && /usr/local/bin/g++9 -O2 -pipe -DNDEBUG -DLINKED_10BIT
-DLINKED_12BIT -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc9
-Wl,-rpath=/usr/local/lib/gcc9 -O2 -pipe -DNDEBUG -DLINKED_10BIT
-DLINKED_12BIT -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc9
-Wl,-rpath=/usr/local/lib/gcc9 -fstack-protector-strong
-Wl,-rpath=/usr/local/lib/gcc9 -L/usr/local/lib/gcc9
/usr/ports/multimedia/x265/work/x265_3.2.1/10bit/libx265.a
/usr/ports/multimedia/x265/work/x265_3.2.1/12bit/libx265.a
-Wl,-Bsymbolic,-znoexecstack CMakeFiles/cli.dir/input/input.cpp.o
CMakeFiles/cli.dir/input/y4m.cpp.o CMakeFiles/cli.dir/input/yuv.cpp.o
CMakeFiles/cli.dir/output/output.cpp.o CMakeFiles/cli.dir/output/raw.cpp.o
CMakeFiles/cli.dir/output/reconplay.cpp.o CMakeFiles/cli.dir/output/y4m.cpp.o
CMakeFiles/cli.dir/output/yuv.cpp.o CMakeFiles/cli.dir/x265.cpp.o -o x265
-Wl,-rpath,/usr/ports/multimedia/x265/work/.build: libx265.so.179 -lpthread
-lrt -ldl && :
FAILED: x265
: && /usr/local/bin/g++9 -O2 -pipe -DNDEBUG -DLINKED_10BIT -DLINKED_12BIT
-fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc9
-Wl,-rpath=/usr/local/lib/gcc9 -O2 -pipe -DNDEBUG -DLINKED_10BIT
-DLINKED_12BIT -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc9
-Wl,-rpath=/usr/local/lib/gcc9 -fstack-protector-strong
-Wl,-rpath=/usr/local/lib/gcc9 -L/usr/local/lib/gcc9
/usr/ports/multimedia/x265/work/x265_3.2.1/10bit/libx265.a
/usr/ports/multimedia/x265/work/x265_3.2.1/12bit/libx265.a
-Wl,-Bsymbolic,-znoexecstack CMakeFiles/cli.dir/input/input.cpp.o
CMakeFiles/cli.dir/input/y4m.cpp.o CMakeFiles/cli.dir/input/yuv.cpp.o
CMakeFiles/cli.dir/output/output.cpp.o CMakeFiles/cli.dir/output/raw.cpp.o
CMakeFiles/cli.dir/output/reconplay.cpp.o CMakeFiles/cli.dir/output/y4m.cpp.o
CMakeFiles/cli.dir/output/yuv.cpp.o CMakeFiles/cli.dir/x265.cpp.o -o x265
-Wl,-rpath,/usr/ports/multimedia/x265/work/.build: libx265.so.179 -lpthread
-lrt -ldl && :
/usr/local/bin/ld: libx265.so.179: undefined reference to
`x265_10bit::x265_api_query(int, int, int*)'
/usr/local/bin/ld: libx265.so.179: undefined reference to
`x265_12bit::x265_api_query(int, int, int*)'
/usr/local/bin/ld: libx265.so.179: undefined reference to
`x265_12bit::x265_api_get_179(int)'
/usr/local/bin/ld: libx265.so.179: undefined reference to
`x265_10bit::x265_api_get_179(int)'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-ppc
mailing list