[MacPorts] #50563: port:x265 +universal fails destroot (OS X 10.9)
MacPorts
noreply at macports.org
Sun Feb 7 05:59:01 PST 2016
#50563: port:x265 +universal fails destroot (OS X 10.9)
-------------------------+--------------------------------
Reporter: rjvbertin@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.4
Keywords: | Port: x265
-------------------------+--------------------------------
Installing port:x265 +universal I ran across the following issue:
{{{
sudo port install x265 +universal configure.optflags="-O3 -march=native
-g"
Password:
---> Computing dependencies for x265
---> Fetching archive for x265
---> Attempting to fetch x265-1.7_0+universal.darwin_13.i386-x86_64.tbz2
from http://lil.fr.packages.macports.org/x265
---> Attempting to fetch x265-1.7_0+universal.darwin_13.i386-x86_64.tbz2
from http://mse.uk.packages.macports.org/sites/packages.macports.org/x265
---> Attempting to fetch x265-1.7_0+universal.darwin_13.i386-x86_64.tbz2
from http://packages.macports.org/x265
---> Fetching distfiles for x265
---> Attempting to fetch x265_1.7.tar.gz from
ftp://ftp.videolan.org/pub/videolan/x265/
---> Verifying checksums for x265
---> Extracting x265
---> Configuring x265
---> Building x265
---> Staging x265 into destroot
Error: Failed to destroot x265: x265.pc differs in
x265/work/destroot-i386//opt/local/lib/pkgconfig and x265/work/destroot-
x86_64//opt/local/lib/pkgconfig and cannot be merged
Error: See main.log for details.
Error: Follow http://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port x265 failed
}}}
{{{
diff -u `port work x265`/destroot-*//opt/local/lib/pkgconfig/x265.pc
--- x265/work/destroot-i386//opt/local/lib/pkgconfig/x265.pc 2016-02-07
14:46:28.000000000 +0100
+++ x265/work/destroot-x86_64//opt/local/lib/pkgconfig/x265.pc 2016-02-07
14:46:32.000000000 +0100
@@ -7,5 +7,5 @@
Description: H.265/HEVC video encoder
Version: 1.7
Libs: -L${libdir} -lx265
-Libs.private: -lc++
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/6.0/lib/darwin/libclang_rt.eprintf.a
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/6.0/lib/darwin/libclang_rt.osx.a
-ldl
+Libs.private: -lc++
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/6.0/lib/darwin/libclang_rt.osx.a
-ldl
Cflags: -I${includedir}
Exit 1
}}}
IOW, the 32bit version wants to link against libclang_rt.eprintf.a
whereas the 64bit version wants libclang_rt.osx.a ; only the latter is a
universal binary that *might* work for the universal x265 library.
Is it even necessary to request those libraries (-lc++ and libclang_rt)
explicitly?
--
Ticket URL: <https://trac.macports.org/ticket/50563>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list