Opened 9 years ago

Closed 4 years ago

#50563 closed defect (fixed)

port:x265 +universal fails destroot (OS X 10.9)

Reported by: RJVB (René Bertin) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc:
Port: x265

Description

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?

Attachments (1)

main.log (400.0 KB) - added by RJVB (René Bertin) 9 years ago.

Download all attachments as: .zip

Change History (4)

Changed 9 years ago by RJVB (René Bertin)

Attachment: main.log added

comment:1 Changed 9 years ago by mf2k (Frank Schima)

Cc: ays388@… removed
Owner: changed from macports-tickets@… to ays388@…

comment:2 Changed 8 years ago by kurthindenburg (Kurt Hindenburg)

Owner: changed from ays388@… to macports-tickets@…
Status: newassigned

comment:3 Changed 4 years ago by kencu (Ken)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.