Opened 13 years ago

Closed 13 years ago

#34014 closed defect (worksforme)

quartz-wm 1.3.0 seems to use /usr/lib/libquartz-wm-ds.1.dylib on PPC Leopard 10.5.8

Reported by: ballapete (Peter "Pete" Dyballa) Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: Cc:
Port: quartz-wm

Description

The succeded build cannot be used because it uses this dylib and crashes. Otool reports:

/opt/local/bin/quartz-wm:
	/opt/local/lib/libAppleWM.7.dylib (compatibility version 8.0.0, current version 8.0.0)
	/opt/local/lib/libpixman-1.0.dylib (compatibility version 25.0.0, current version 25.4.0)
	/opt/local/lib/libX11.6.dylib (compatibility version 10.0.0, current version 10.0.0)
	/opt/local/lib/libXext.6.dylib (compatibility version 11.0.0, current version 11.0.0)
	/opt/local/lib/libXinerama.1.dylib (compatibility version 2.0.0, current version 2.0.0)
	/opt/local/lib/libXrandr.2.dylib (compatibility version 5.0.0, current version 5.0.0)
	/usr/lib/libquartz-wm-ds.1.dylib (compatibility version 1.0.0, current version 1.0.0)
	/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit (compatibility version 45.0.0, current version 949.54.0)
	/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 111.1.7)

I tried to rebuild and install this port, but something failed, so that /opt/local/bin/quartz-wm always kept its. All clean, deactivate, unarchive, uninstall commands did not change anything on this situation. Taking extreme measures I deleted did

sudo rm /opt/local/var/macports/software/quartz-wm/quartz-wm-1.3.0_0.darwin_9.ppc.tgz

This did not let me install quartz-wm 1.3.0 because this file was missing. Port kept the name in its installed pseudo-portname, but the contents could not be listed. After another selfupdate, deactivate, uninstall, clean the installation succeeded and otool now lists /opt/local/lib/libquartz-wm-ds.1.dylib. Maybe because now this worked?

DEBUG: activating file: /opt/local/lib/libquartz-wm-ds.1.dylib
DEBUG: activating file: /opt/local/lib/libquartz-wm-ds.dylib

I missed to save the main.log from the faulty build... (have only the "successful" one)

Change History (2)

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

Cc: jeremyhu@… removed
Owner: changed from macports-tickets@… to jeremyhu@…

comment:2 Changed 13 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: worksforme
Status: newclosed

Unfortunately I can't really do much without the build log, and you said that it's working now... =/

The issue you are seeing indicates that the post-destroot install_name_tool didn't do its job on the first install:

    post-destroot {
        system "install_name_tool -change /usr/lib/libquartz-wm-ds.1.dylib ${prefix}/lib/libquartz-wm-ds.1.dylib ${destroot}${prefix}/bin/quartz-wm"
    }

Please reopen and provide a build log if you're able to reproduce, but for now, closing since it eventually did work.

Note: See TracTickets for help on using tickets.