#66117 closed defect (fixed)

libvpx @1.12.0 fails at destroot on PPC, as dylibs are not built

Reported by: barracuda156 Owned by: mascguy (Christopher Nielsen)
Priority: Normal Milestone:
Component: ports Version: 2.8.0
Keywords: powerpc Cc:
Port: libvpx, libvpx-devel

Description

make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libvpx/libvpx/work/libvpx-1.12.0'
Error: Failed to destroot libvpx: no files matched glob pattern "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_libvpx/libvpx/work/destroot/opt/local/lib/libvpx.*.dylib"

Attachments (1)

main.log (261.4 KB) - added by barracuda156 23 months ago.

Download all attachments as: .zip

Change History (8)

Changed 23 months ago by barracuda156

Attachment: main.log added

comment:1 Changed 23 months ago by barracuda156

Keywords: ppc64 added; snowleopard rosetta removed
Port: libvpx-devel added
Summary: libvpx fails at destroot on Rosettalibvpx fails at destroot on PPC because of portfile code

comment:2 Changed 19 months ago by kencu (Ken)

Keywords: ppc64 removed

comment:3 Changed 19 months ago by kencu (Ken)

Summary: libvpx fails at destroot on PPC because of portfile codelibvpx-devel: @1.11.0_2 fails at destroot on PPC when building on 10.6 for PPC using nonstandard gcc11 as compiler.

comment:4 Changed 19 months ago by kencu (Ken)

OK, well it similarly does not build the dylibs on a standard PowerPC Darwin Leopard system, so at least that is confirmed.

The issue is libvpx doesn't have a target for powerpc-darwin-* in configure, and so it recognizes the system as generic-gnu. generic-gnu is not known to be a target that supports shared libraries, so the build sets --disable-shared.

libvpx is famous for doing a lot of it's own target assessment. We've had to fix this port many times before for this issue. We will need to get it to recognize powerpc-darwin-* as a system, and then perhaps upstream that fix.

comment:5 Changed 19 months ago by kencu (Ken)

Summary: libvpx-devel: @1.11.0_2 fails at destroot on PPC when building on 10.6 for PPC using nonstandard gcc11 as compiler.libvpx @1.12.0 fails at destroot on PPC, as dylibs are not built

comment:6 Changed 19 months ago by kencu (Ken)

Oh, not quite -- the Portfile is for some reason forcing the target to "generic-gnu", but only on ppc and ppc64.

That is not going to work out right in the long run -- the Leopard Intel and Leopard PowerPC builds will be quite different.

This needs to get fixed properly.

comment:7 Changed 19 months ago by kencu (Ken)

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