Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 07 Feb 2020 12:02:02 +0000
From:      bugzilla-noreply@freebsd.org
To:        powerpc@FreeBSD.org
Subject:   [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*)'
Message-ID:  <bug-243955-25139@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D243955

            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@FreeBSD.org
          Reporter: canardo909@gmx.com
                CC: mi@ALDAN.algebra.com, powerpc@FreeBSD.org
                CC: mi@ALDAN.algebra.com, powerpc@FreeBSD.org
             Flags: maintainer-feedback?(mi@ALDAN.algebra.com)

Problem found when building multimedia/x265 on FreeBSD 12.1-RELEASE-p1 r354=
992
GENERIC powerpc 32 bit, running on Apple Powerbook 17".


/usr/ports/multimedia/x265 # make clean
=3D=3D=3D>  Cleaning for x265-3.2.1_1
/usr/ports/multimedia/x265 # make -DBATCH install clean
=3D=3D=3D>  License GPLv2+ accepted by the user
=3D=3D=3D>   x265-3.2.1_1 depends on file: /usr/local/sbin/pkg - found
=3D=3D=3D> Fetching all distfiles required by x265-3.2.1_1 for building
=3D=3D=3D>  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=3D/usr/local/lib/gcc9=20
-Wl,-rpath=3D/usr/local/lib/gcc9 -O2 -pipe  -DNDEBUG -DLINKED_10BIT
-DLINKED_12BIT -fstack-protector-strong -Wl,-rpath=3D/usr/local/lib/gcc9=20
-Wl,-rpath=3D/usr/local/lib/gcc9  -fstack-protector-strong
-Wl,-rpath=3D/usr/local/lib/gcc9 -L/usr/local/lib/gcc9=20=20
/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=
=20
-Wl,-rpath,/usr/ports/multimedia/x265/work/.build:  libx265.so.179  -lpthre=
ad=20
-lrt  -ldl && :
FAILED: x265=20
: && /usr/local/bin/g++9  -O2 -pipe  -DNDEBUG -DLINKED_10BIT -DLINKED_12BIT
-fstack-protector-strong -Wl,-rpath=3D/usr/local/lib/gcc9=20
-Wl,-rpath=3D/usr/local/lib/gcc9 -O2 -pipe  -DNDEBUG -DLINKED_10BIT
-DLINKED_12BIT -fstack-protector-strong -Wl,-rpath=3D/usr/local/lib/gcc9=20
-Wl,-rpath=3D/usr/local/lib/gcc9  -fstack-protector-strong
-Wl,-rpath=3D/usr/local/lib/gcc9 -L/usr/local/lib/gcc9=20=20
/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=
=20
-Wl,-rpath,/usr/ports/multimedia/x265/work/.build:  libx265.so.179  -lpthre=
ad=20
-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.
=3D=3D=3D> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failure =
to
the maintainer.
*** Error code 1

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-243955-25139>