Opened 14 years ago

Closed 8 years ago

#28923 closed defect (fixed)

rancid: universal variant fails

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: macports-tickets@…
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 (1)

main.log (25.0 KB) - added by ryandesign (Ryan Carsten Schmidt) 14 years ago.

Download all attachments as: .zip

Change History (4)

Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: main.log added

comment:1 Changed 14 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?

comment:2 Changed 10 years ago by mf2k (Frank Schima)

Owner: changed from markd@… to macports-tickets@…

markd has retired. See #44782.

comment:3 Changed 8 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.