Opened 13 years ago

Closed 6 years ago

#31120 closed defect (fixed)

bitlbee @3.0.3 fails to build +universal

Reported by: neverpanic (Clemens Lang) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.99
Keywords: Cc:
Port: bitlbee

Description

Bitlbee fails to build universal, because:

:info:build make: Entering directory `/opt/local/var/macports/build/_opt_dports_irc_bitlbee/bitlbee/work/bitlbee-3.0.3'
:info:build * Compiling bitlbee.c
:info:build * Compiling dcc.c
:info:build llvm-gcc-4.2: -E, -S, -save-temps and -M options are not allowed with multiple -arch flags
:info:build make: *** [bitlbee.o] Error 1
:info:build make: *** Waiting for unfinished jobs....
:info:build llvm-gcc-4.2: -E, -S, -save-temps and -M options are not allowed with multiple -arch flags
:info:build make: *** [dcc.o] Error 1

Either bitlbee should be marked non-universal or this problem should be fixed (e.g. by using the muniversal portgroup).

Change History (7)

comment:1 Changed 13 years ago by neverpanic (Clemens Lang)

Version: 2.0.22.0.99

comment:2 Changed 13 years ago by yeled@…

Status: newassigned

what is your build host environment?

comment:3 Changed 13 years ago by neverpanic (Clemens Lang)

Intel C2D (i386, x86_64), Lion, Xcode 4.1.

comment:4 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from yeled@… to macports-tickets@…
Status: assignednew

comment:5 Changed 6 years ago by jmroot (Joshua Root)

Is this still a problem with 3.5.1?

comment:6 Changed 6 years ago by neverpanic (Clemens Lang)

I don't know. Feel free to close, since I don't have time to re-test.

comment:7 Changed 6 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

In 473ad352eb48fb2a701ec2be4d6329a9f960d623/macports-ports:

bitlbee: fix flags and their ordering

  • Put internal -I flags before the ones from $CPPFLAGS. This fixes the build conflicts properly.
  • Ensure correct -arch flags are used when linking.
  • Patch out silencing of build commands.
  • Disable universal variant that doesn't work.

Closes: #31120

Note: See TracTickets for help on using tickets.