Opened 12 years ago

Closed 12 years ago

#34851 closed defect (worksforme)

phonon 4.6.0 does not build

Reported by: axone-zero Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 2.1.1
Keywords: Cc:
Port: phonon

Description

sudo port upgrade outdated
Password:
--->  Computing dependencies for phonon
--->  Building phonon
Error: org.macports.build for port phonon returned: command execution failed
Please see the log file for port phonon for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_phonon/phonon/main.log
Error: Unable to upgrade port: 1
To report a bug, follow the instructions in the 

Attachments (1)

main.log (22.8 KB) - added by axone-zero 12 years ago.

Download all attachments as: .zip

Change History (6)

Changed 12 years ago by axone-zero

Attachment: main.log added

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

Port: phonon added

The relevant error in the log seems to be:

:info:build ld: in /opt/local/lib/libsasl2.2.dylib, file was built for unsupported file format which is not the architecture being linked (i386) for architecture i386

This suggests that you are building phonon with the universal variant, that cyrus-sasl2 is installed without the universal variant, and that phonon uses cyrus-sasl2 but does not declare a dependency on it. The workaround would be to install cyrus-sasl2 with the universal variant. Clean phonon before trying again.

comment:2 Changed 12 years ago by jmroot (Joshua Root)

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

comment:3 Changed 12 years ago by michaelld (Michael Dickens)

Yes; for some reason it looks like 'port' isn't catching the +universal correctly? Or, something alone those lines. I'd suggest:

sudo port clean phonon
sudo port selfupdate
sudo port upgrade outdated

and then if cyrus-sasl2 isn't installed as +universal, then:

sudo port install cyrus-sasl2 +universal

then

sudo port install phonon +universal

comment:4 Changed 12 years ago by axone-zero

Thank you very much. All works correctly with cyrus-sasl2 +universal.

comment:5 Changed 12 years ago by michaelld (Michael Dickens)

Resolution: worksforme
Status: newclosed

Great; thanks for replying back!

Note: See TracTickets for help on using tickets.