Ticket #13003 (closed defect: fixed)
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
Change History
Changed 6 years ago by yunzheng.hu@…
- Attachment no-assembly-patch.diff added
configures using --no-assembly which will fix compiling under leopard
comment:2 Changed 6 years ago by afb@…
- Status changed from new to closed
- Resolution set to fixed
Fixed in r30456, but only disable asm for Leopard.
Note: See
TracTickets for help on using
tickets.


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.