New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #14108 (closed defect: invalid)

Opened 5 years ago

Last modified 4 years ago

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 jmpp@…) (diff)

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

comment:1 Changed 5 years ago by jmpp@…

  • Description modified (diff)
  • Milestone set to Port Bugs

comment:2 Changed 5 years ago by jmr@…

Does this still happen with the current version of inkscape?

comment:3 Changed 5 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 5 years ago by jmr@…

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

comment:5 Changed 5 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 5 years ago by nox@…

  • Cc nox@… added

Cc Me!

comment:7 Changed 4 years ago by anonymous

  • Milestone Port Bugs deleted

Milestone Port Bugs deleted

comment:8 Changed 4 years ago by toby@…

  • Status changed from new to closed
  • Resolution set to invalid

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.