Opened 10 years ago

Closed 10 years ago

#41865 closed defect (fixed)

gstreamer010 @0.10.36_1+universal: i386 build produces x86_64 binaries

Reported by: Superlokkus (Markus Klemm) Owned by: rmstonecipher@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc: dershow, hapaguy (Brian Kurt Fujikawa), dbevans (David B. Evans), ryandesign (Ryan Carsten Schmidt)
Port: gstreamer010

Description

Several merging failings:

Error: org.macports.destroot for port gstreamer010 returned: /opt/local/lib/libgstbase-0.10.0.dylib differs in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gstreamer010/gstreamer010/work/destroot-i386 and /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gstreamer010/gstreamer010/work/destroot-x86_64 and cannot be merged

OSX 10.9.1

Attachments (1)

main.log (749.6 KB) - added by Superlokkus (Markus Klemm) 10 years ago.

Download all attachments as: .zip

Change History (6)

Changed 10 years ago by Superlokkus (Markus Klemm)

Attachment: main.log added

comment:1 Changed 10 years ago by dershow

Cc: dersh@… added

Cc Me!

comment:2 Changed 10 years ago by larryv (Lawrence Velázquez)

Owner: changed from macports-tickets@… to rmstonecipher@…
Port: gstreamer010 added
Summary: gstreamer010 @0.10.36_1 +Staging into destroot failsgstreamer010 @0.10.36_1+universal: i386 build produces x86_64 binaries

This is the issue.

:info:destroot
[Xcode path]/usr/bin/lipo:
[blah blah]/gstreamer010/work/destroot-i386//opt/local/lib/libgstbase-0.10.0.dylib
and
[blah blah]/gstreamer010/work/destroot-x86_64//opt/local/lib/libgstbase-0.10.0.dylib
have the same architectures (x86_64) and can't be in the same fat output file

comment:3 Changed 10 years ago by hapaguy (Brian Kurt Fujikawa)

Cc: brian.fujikawa@… added

Cc Me!

comment:4 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: devans@… ryandesign@… added

Hmm, these lines were added in r114980:

build.args-append       CC="${configure.cc} ${configure.cc_archflags}"
destroot.args-append    CC="${configure.cc} ${configure.cc_archflags}"

But this is wrong for ports using the muniversal portgroup, which this port is.

See the gstreamer1 port which handles this correctly with a more complicated block.

comment:5 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

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