Opened 11 years ago

Closed 10 years ago

#22955 closed defect (fixed)

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 (4)

comment:1 Changed 11 years ago by macports@…

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

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

Keywords: snow leopard 10.6 librsync removed

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

comment:3 Changed 11 years ago by tobypeterson

Summary: librsync does not build under 10.6librsync does not build under 10.6 (with build_arch i386)

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

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

Resolution: fixed
Status: newclosed
Summary: librsync does not build under 10.6 (with build_arch i386)librsync does not build with non-default build_arch
Note: See TracTickets for help on using tickets.