Opened 14 years ago

Closed 13 years ago

#27212 closed defect (duplicate)

irssi @0.8.15 Build failure when perl is installed universal

Reported by: cad@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc:
Port: irssi

Description

Build failure on install.

I previously had it installed, but got this build failure when upgrading. I cleaned and uninstalled it, and now I'm unable to reinstall/rebuild it.

Attachments (1)

main.log (109.3 KB) - added by cad@… 14 years ago.
build log

Download all attachments as: .zip

Change History (4)

Changed 14 years ago by cad@…

Attachment: main.log added

build log

comment:1 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: failure removed
Summary: irssi @0.8.15 Build failureirssi @0.8.15 Build failure when perl is installed universal

The relevant error seems to be:

gcc-4.2: -E, -S, -save-temps and -M options are not allowed with multiple -arch flags

This means irssi is trying to build universal (i.e. for multiple architectures) and is failing.

So irssi's universal variant should be disabled.

In addition, it looks like you did not actually request the universal variant, so I suspect the reason why it is nevertheless building universal is because you have a perl port installed with the universal variant. I believe this is because #24779 has not been resolved. To work around the issue, install the perl port without the universal variant.

comment:2 Changed 14 years ago by cad@…

I uninstalled perl5.8 and reinstalled without the universal variant. I was able to install irssi.

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

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