Opened 4 years ago

Closed 4 years ago

#62410 closed defect (fixed)

Ports using the gobject-introspection portgroup don't build for the right architectures

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version: 2.6.99
Keywords: Cc: Gcenx
Port:

Description

$ port -v installed libgsf
The following ports are currently installed:
  libgsf @1.14.47_0+universal (active) platform='darwin 17' archs='i386 x86_64' date='2021-03-08T18:08:39-0600'
$ port provides /opt/local/bin/gsf
/opt/local/bin/gsf is provided by: libgsf
$ file /opt/local/bin/gsf
/opt/local/bin/gsf: Mach-O 64-bit x86_64 executable, flags:<NOUNDEFS|DYLDLINK|TWOLEVEL|PIE>

Change History (4)

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

Cc: Gcenx added
Owner: set to MarcusCalhoun-Lopez
Port: libgsf removed
Status: newassigned
Summary: libgsf doesn't build for the right architecturesPorts using the gobject-introspection portgroup don't build for the right architectures

This was caused by [90ac6621ecbbe96695afff100490e75bc9b0a4ec/macports-ports]. See #59078. It overrides CFLAGS and LDFLAGS in the build phase, which naturally causes the CFLAGS and LDFLAGS that MacPorts base already set (with -arch flags) in the environment at configure time to be ignored. The portgroup needs to be fixed and all ports using the portgroup need to be revbumped.

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

Has duplicate #62555.

comment:3 Changed 4 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

There is a pull request that attempts to fix this problem.

comment:4 Changed 4 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Resolution: fixed
Status: assignedclosed

In 50b5d8ad5b46040703957c2171fa02ed37c5a910/macports-ports (master):

gobject-introspection PG: respect all CFLAGS

Change will affect builds, so increase revision of dependent ports.
Fixes #62410

Note: See TracTickets for help on using tickets.