Opened 15 years ago

Closed 15 years ago

#24005 closed defect (fixed)

gd2 +universal destroot failure when dependencies aren't universal

Reported by: yairchu@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc:
Port: gd2

Description

when doing

port install gd2 +universal

it failed here, saying:

Error: Target org.macports.destroot returned: /opt/local/bin/gdlib-config differs...

One example difference was:

echo"features:   GD_XPM GD_FREETYPE GD_GIF GD_GIFANIM GD_OPENPOLYGON"

vs

echo"features:   GD_XPM GD_JPEG GD_FONTCONFIG GD_FREETYPE GD_PNG GD_GIF GD_GIFAN
IM GD_OPENPOLYGON"

installing universal versions for jpeg, fontconfig, and libpng solved it here. The problem is that gd2 builds with different capabilities depending on what one has installed and if those "quasi-dependencies" are not universal then it has different capabilities for different archs and then can't merge gdlib-config.

Change History (2)

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

Keywords: universal dependencies removed
Owner: changed from macports-tickets@… to ryandesign@…

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

Resolution: fixed
Status: newclosed
Summary: gd2 +universal quasi-dependencies problemsgd2 +universal destroot failure when dependencies aren't universal

You must build a port's dependencies universal before installing that port universal. This is the case for all ports. In r64619 I added the archcheck portgroup to the gd2 port so the gd2 port should now warn you if you try to build it universal without having built its dependencies universal. Please let me know if you still see the "gdlib-config differs" error after selfupdating and trying again.

Note: See TracTickets for help on using tickets.