Opened 2 hours ago

Last modified 2 minutes ago

#70989 new defect

libvpx @1.13.1 conflicts with gtest

Reported by: MaintenanceCosts Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: libvpx

Description (last modified by MaintenanceCosts)

libvpx fails consistently, after cleaning, with "Undefined symbols for architecture arm64" error. Error is the same whether variant is default or +universal. Log attached.

Attachments (1)

main.log (709.4 KB) - added by MaintenanceCosts 2 hours ago.
Logfile

Download all attachments as: .zip

Change History (6)

Changed 2 hours ago by MaintenanceCosts

Attachment: main.log added

Logfile

comment:1 Changed 2 hours ago by MaintenanceCosts

Description: modified (diff)
Summary: libvpx-1.13.1 won't build on Sequoia/Apple Siliconlibvpx @1.13.1 won't build on Sequoia/Apple Silicon

comment:2 Changed 13 minutes ago by kencu (Ken)

and yet, I built it without any trouble:

% port -v installed libvpx
The following ports are currently installed:
  libvpx @1.13.1_0 requested_variants='' platform='darwin 24' archs='arm64' date='2024-09-25T14:47:24-0700'

comment:3 Changed 7 minutes ago by kencu (Ken)

I can reproduce your error if I install the "gtest" port and then try to rebuild libvpx.

So deactivate gtest

sudo port deactivate gtest

and then clean and install libvpx, and you should be good. You can reactivate gtest after libvpx is installed if you want.

We have a "conflicts_build" mechanism in MacPorts, so we'll have to declare this in the libvpx Portfile.

On a broader note, gtest is a port that often collides like this. It should probably be installed in a sequestered folder, not in the main "lib" folder, to avoid accidentally linking it in when you don't really want it.

comment:4 Changed 7 minutes ago by kencu (Ken)

Summary: libvpx @1.13.1 won't build on Sequoia/Apple Siliconlibvpx @1.13.1 conflicts with gtest

comment:5 in reply to:  3 Changed 2 minutes ago by ryandesign (Ryan Carsten Schmidt)

Replying to kencu:

It should probably be installed in a sequestered folder, not in the main "lib" folder, to avoid accidentally linking it in when you don't really want it.

…creating additional work everytime you actually want to use it.

Note: See TracTickets for help on using tickets.