Opened 3 years ago

#64534 new defect

rsync fails to build for ppc on 10.6.8 (Rosetta) in default config (but builds with custom call)

Reported by: barracuda156 Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: powerpc, snowleopard, rosetta Cc:
Port: rsync

Description

Another linker error:

/usr/bin/gcc-4.2 -std=gnu99 -I./zlib -pipe -Os -arch ppc -DHAVE_CONFIG_H -Wall -W -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc -o rsync flist.o rsync.o generator.o receiver.o cleanup.o sender.o exclude.o util.o util2.o main.o checksum.o match.o syscall.o log.o backup.o delete.o options.o io.o compat.o hlink.o token.o uidlist.o socket.o hashtable.o usage.o fileio.o batch.o clientname.o chmod.o acls.o xattrs.o progress.o pipe.o lib/md5-asm-x86_64.o  params.o loadparm.o clientserver.o access.o connection.o authenticate.o lib/wildmatch.o lib/compat.o lib/snprintf.o lib/mdfour.o lib/md5.o lib/permstring.o lib/pool_alloc.o lib/sysacls.o lib/sysxattrs.o  zlib/deflate.o zlib/inffast.o zlib/inflate.o zlib/inftrees.o zlib/trees.o zlib/zutil.o zlib/adler32.o zlib/compress.o zlib/crc32.o  -lpopt -liconv -llz4 -lzstd -lxxhash -lcrypto 
collect2: ld terminated with signal 6 [Abort trap]
make: *** [rsync] Error 1
make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_rsync/rsync/work/rsync-3.2.3'
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_rsync/rsync/work/rsync-3.2.3" && /usr/bin/make -j4 -w all 
Exit code: 2
Error: Failed to build rsync: command execution failed

However builds successfully with:

sudo port -v install rsync  configure.compiler=macports-gcc-7 build_arch="ppc"
Sergey-Fedorovs-Mac-mini:~ svacchanda$ port -v installed rsync
The following ports are currently installed:
  rsync @3.2.3_1 (active) requested_variants='' platform='darwin 10' archs='ppc' date='2022-01-26T18:23:55+0800'

Change History (0)

Note: See TracTickets for help on using tickets.