Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#34277 closed defect (fixed)

quartz-wm does not install on ppc

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

Description

Trying to upgrade the build process dies as soon as is starts:

--->  Building quartz-wm
DEBUG: Executing org.macports.build (quartz-wm)
DEBUG: Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_quartz-wm/quartz-wm/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.5' GI_SCANNER_DISABLE_CACHE='1'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_quartz-wm/quartz-wm/work/quartz-wm-1.3.1" && /usr/bin/make -w all'
DEBUG: Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_quartz-wm/quartz-wm/work/quartz-wm-1.3.1" && /usr/bin/make -w all 
make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_quartz-wm/quartz-wm/work/quartz-wm-1.3.1'
/usr/bin/make  all-recursive
make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_quartz-wm/quartz-wm/work/quartz-wm-1.3.1'
Making all in lib
make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_quartz-wm/quartz-wm/work/quartz-wm-1.3.1/lib'
cp libquartz-wm-ds.apsl.dylib libquartz-wm-ds.1.dylib
install_name_tool -id /opt/local/lib/libquartz-wm-ds.1.dylib libquartz-wm-ds.1.dylib
install_name_tool: for architecture i386 object: libquartz-wm-ds.1.dylib malformed object (unknown load command 7)
make[2]: *** [libquartz-wm-ds.1.dylib] Error 1
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_quartz-wm/quartz-wm/work/quartz-wm-1.3.1/lib'

The reason seems to be that this library has four architectures:

lipo -info /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_quartz-wm/quartz-wm/work/quartz-wm-1.3.1/lib/libquartz-wm-ds.1.dylib 
Architectures in the fat file: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_quartz-wm/quartz-wm/work/quartz-wm-1.3.1/lib/libquartz-wm-ds.1.dylib are: i386 x86_64 ppc ppc64

So the easy upgrade fails.

Attachments (1)

main.log (15.3 KB) - added by ballapete (Peter "Pete" Dyballa) 13 years ago.
main.log

Download all attachments as: .zip

Change History (6)

Changed 13 years ago by ballapete (Peter "Pete" Dyballa)

Attachment: main.log added

main.log

comment:1 Changed 13 years ago by ballapete (Peter "Pete" Dyballa)

It's on Leopard, Mac OS X 10.5.8, PPC.

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

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

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

Resolution: fixed
Status: newclosed
Summary: Quartz-wm 1.3.1_0 seems to come with too fat /lib/libquartz-wm-ds.*.dylibsquartz-wm does not install on ppc

No, it has nothing to do with being too fat. Your cctools just don't deal with it correctly.

:info:build install_name_tool -id /opt/local/lib/libquartz-wm-ds.1.dylib libquartz-wm-ds.1.dylib
:info:build install_name_tool: for architecture i386 object: libquartz-wm-ds.1.dylib malformed object (unknown load command 7)

r92541

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

Actually r92542

comment:5 Changed 13 years ago by ballapete (Peter "Pete" Dyballa)

With the updated Portfile quartz-wm now compiles.

Note: See TracTickets for help on using tickets.