New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #13003 (closed defect: fixed)

Opened 4 years ago

Last modified 3 years ago

lzo2 install quits with error on Leopard

Reported by: fauconnier.steven@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.5.0
Keywords: lzo2 leopard Cc: yunzheng.hu@…, fauconnier.steven@…, rtiainen+macosforge@…
Port:

Description

Tried installing mplayer on Leopard with MacPorts 1.5.0.
It returned the following two errors when trying to make the lzo2 dependency:

Steven:~ Steven$ sudo port install mplayer
Password:
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_lzo2/work/lzo-2.02" && make all " returned error 2
Command output:       _compress_database in lzotest.o
      _compress_database in lzotest.o
      _compress_database in lzotest.o
      _compress_database in lzotest.o
      _compress_database in lzotest.o
      _compress_database in lzotest.o
      _compress_database in lzotest.o
  "_lzo1f_decompress_asm_fast", referenced from:
      _compress_database in lzotest.o
      _compress_database in lzotest.o
  "_lzo1x_decompress_asm_fast_safe", referenced from:
      _compress_database in lzotest.o
      _compress_database in lzotest.o
      _compress_database in lzotest.o
      _compress_database in lzotest.o
      _compress_database in lzotest.o
      _compress_database in lzotest.o
      _compress_database in lzotest.o
      _compress_database in lzotest.o
      _compress_database in lzotest.o
      _compress_database in lzotest.o
      _compress_database in lzotest.o
      _compress_database in lzotest.o
      _compress_database in lzotest.o
      _compress_database in lzotest.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [lzotest] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Error: The following dependencies failed to build: lzo2
Error: Status 1 encountered during processing.

Attachments

no-assembly-patch.diff Download (417 bytes) - added by yunzheng.hu@… 4 years ago.
configures using --no-assembly which will fix compiling under leopard

Change History

Changed 4 years ago by yunzheng.hu@…

this seems to be caused by the compiled assembly object files that doesnt seem include their functions when linking the final .dylib..

i attached a patch that configures using --no-assembly which will fix the problem until we can find out why it really fails.

Changed 4 years ago by yunzheng.hu@…

configures using --no-assembly which will fix compiling under leopard

Changed 4 years ago by afb@…

  • status changed from new to closed
  • resolution set to fixed

Fixed in r30456, but only disable asm for Leopard.

Changed 4 years ago by ryandesign@…

  • cc fauconnier.steven@…, rtiainen+macosforge@… added
  • milestone set to Port Bugs

Changed 4 years ago by ryandesign@…

Has duplicate #12876.

Changed 3 years ago by anonymous

  • milestone Port Bugs deleted

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.