New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #22955 (closed defect: fixed)

Opened 3 years ago

Last modified 2 years ago

librsync does not build with non-default build_arch

Reported by: macports@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc:
Port: librsync

Description

When I try to build librsync i get the following error:

Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_librsync/work/librsync-0.9.7" && /usr/bin/make -j2 all " returned error 2 Command output: _main in rdiff.o

_main in rdiff.o _main in rdiff.o _main in rdiff.o _main in rdiff.o _main in rdiff.o _main in rdiff.o _main in rdiff.o

"_rs_sig_file", referenced from:

_main in rdiff.o

"_rs_trace_set_level", referenced from:

_main in rdiff.o

"_rs_librsync_version", referenced from:

_rs_librsync_version$non_lazy_ptr in rdiff.o

"_rs_log_stats", referenced from:

_main in rdiff.o _main in rdiff.o _main in rdiff.o _main in rdiff.o

"_rs_free_sumset", referenced from:

_main in rdiff.o

"_rs_strerror", referenced from:

_main in rdiff.o

"_rs_outbuflen", referenced from:

_opts in rdiff.o

ld: symbol(s) not found collect2: ld returned 1 exit status make[2]: * [rdiff] Error 1 make[1]: * [all-recursive] Error 1 make: * [all] Error 2

Change History

comment:1 Changed 3 years ago by macports@…

Sorry I forgot to mention it. I try to build for i386 (disabled x86_64)

comment:2 Changed 3 years ago by jmr@…

  • Keywords snow leopard, 10.6, librsync removed

Attach full debug output and show the command line you used.

comment:3 Changed 3 years ago by toby@…

  • Summary changed from librsync does not build under 10.6 to librsync does not build under 10.6 (with build_arch i386)

Probably passing -arch i386 during compilation, but not during linking.

comment:4 Changed 2 years ago by jmr@…

  • Status changed from new to closed
  • Resolution set to fixed
  • Summary changed from librsync does not build under 10.6 (with build_arch i386) to librsync does not build with non-default build_arch
Note: See TracTickets for help on using tickets.