New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #28923 (new defect)

Opened 2 years ago

Last modified 2 years ago

rancid: universal variant fails

Reported by: ryandesign@… Owned by: markd@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc:
Port: rancid

Description

rancid's universal variant fails:

ccache /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I../include   -I/opt/local/include  -g -O0 -c hpuifilter.c
ccache /usr/bin/gcc-4.2  -g -O0  -L/opt/local/lib -arch x86_64 -arch i386 -o hpuifilter hpuifilter.o  
ld: warning: in hpuifilter.o, file was built for unsupported file format which is not the architecture being linked (i386)
Undefined symbols for architecture i386:
  "_main", referenced from:
      start in crt1.10.6.o
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status

Note the lack of -arch flags on the first line. I expect this means non-default-build_arch builds would fail too.

Attachments

main.log (25.0 KB) - added by ryandesign@… 2 years ago.

Change History

Changed 2 years ago by ryandesign@…

comment:1 Changed 2 years ago by markd@…

Not sure what to do with this. I'm not that knowledgeable about universal builds. I could report it to the developers, but is building universal a normal thing? Or should I just turn off universal builds in the port?

Note: See TracTickets for help on using tickets.