Opened 17 years ago

Closed 15 years ago

#14108 closed defect (invalid)

inkscape fails to compile on intel leopard install

Reported by: atenderholt@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: inkscape leopard intel Cc: nox@…
Port:

Description (last modified by jmpalacios (Juan Manuel Palacios))

Hi,

A simple port install inkscape leads to the following compile error:

ld: warning in /opt/local/lib/libssl.dylib, file is not of required architecture
ld: warning in /opt/local/lib/libcrypto.dylib, file is not of required architecture
ld: warning in /opt/local/lib/libgc.dylib, file is not of required architecture
ld: warning in /opt/local/lib/liblcms.dylib, file is not of required architecture
Undefined symbols for architecture ppc:
  "_main", referenced from:
      start in crt1.10.5.o
ld: symbol(s) not found for architecture ppc
collect2: ld returned 1 exit status
lipo: can't open input file: /var/tmp//cc9reoxx.out (No such file or directory)
make[2]: *** [inkscape] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

The file crt1.10.5.o (in /Developer/SDKs/MacOSX10.5.sdk/usr/lib) has four arches: ppc7400, i386, ppc64, and x86_64). I also tried copying crt1.o, which has a ppc arch, but had no luck. Any ideas? Or fixes?

I'm using MacOS X 10.5.1 with a recently "port selfupdate", and dev tools as installed with the leopard dvd.

Thanks,

Adam

Change History (8)

comment:1 Changed 17 years ago by jmpalacios (Juan Manuel Palacios)

Description: modified (diff)
Milestone: Port Bugs

comment:2 Changed 17 years ago by jmroot (Joshua Root)

Does this still happen with the current version of inkscape?

comment:3 Changed 17 years ago by atenderholt@…

Yes it still fails with the same error. This is now on 10.5.2 with MacPorts selfupdate'd today (Inkscape 0.46).

Adam

comment:4 Changed 17 years ago by jmroot (Joshua Root)

And you're not building with +universal? What does file /opt/local/lib/libgc.dylib say?

comment:5 Changed 17 years ago by atenderholt@…

/opt/local/lib/libgc.dylib: Mach-O dynamically linked shared library i386

And unless there's some option I'm accidentally including when I run 'sudo port install inkscape', I don't think I'm building with +universal.

Thanks,

Adam

comment:6 Changed 16 years ago by nox@…

Cc: nox@… added

Cc Me!

comment:7 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:8 Changed 15 years ago by tobypeterson

Resolution: invalid
Status: newclosed

There's no way this is a legitimate bug. Possible reasons: variants.conf, migrated install from different architecture, migrated install from previous OS release, etc.

Note: See TracTickets for help on using tickets.