Opened 8 years ago

Last modified 2 years ago

#52621 new defect

Audacity doesn't install

Reported by: nigelhorne (Nigel Horne) Owned by: RJVB (René Bertin)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: mkae (Marko Käning), cooljeanius (Eric Gallager)
Port: audacity

Description (last modified by ryandesign (Ryan Carsten Schmidt))

port install audacity
--->  Computing dependencies for audacity
--->  Building audacity
Error: org.macports.build for port audacity returned: command execution failed
Please see the log file for port audacity for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_audacity/audacity/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port audacity failed

Attachments (1)

main.log (149.3 KB) - added by nigelhorne (Nigel Horne) 8 years ago.
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_audacity/audacity/main.log

Download all attachments as: .zip

Change History (14)

Changed 8 years ago by nigelhorne (Nigel Horne)

Attachment: main.log added

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_audacity/audacity/main.log

comment:1 Changed 8 years ago by mkae (Marko Käning)

Cc: mk@… added

Cc Me!

comment:2 Changed 8 years ago by mkae (Marko Käning)

Port: audacity added
Summary: Audicity doesn't installAudacity doesn't install

comment:3 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Owner: changed from macports-tickets@… to rjvbertin@…

Please clean and try again, then attach the new main.log.

comment:4 Changed 7 years ago by RJVB (René Bertin)

I have already seen this kind of error, but mostly because of operator error like using LTO (link-time optimisation) with a build system that doesn't support it. There isn't much I can do with the current log .

It did remind me to check for updates, and I have thus uploaded an upgrade for port:audacity-devel to my personal repo (https://github.com/RJVB/macstrop/tree/master/audio/audacity).

comment:5 Changed 7 years ago by mkae (Marko Käning)

There are quite a few changes in those patches. Have you informed upstream about it?

I'll test building in the next few days and let you know how it goes on my Qt4-based OSX 10.9.5 VM.

comment:6 Changed 7 years ago by mkae (Marko Käning)

Version: 2.3.4

comment:7 Changed 7 years ago by RJVB (René Bertin)

I'm not expecting any issues in your VM since audacity doesn't use Qt at all (and I'm running 10.9.5 too). Try the current version first please, to see if you run into the reported issue.

Yes, I reported an earlier version of the changes upstream a while back. IIRC they were not rejected downright but clearly there's been no incentive to include them, at least not everything. The people maintaining audacity for Mac apparently use the provided Xcode project which isn't appropriate for us; most of the changes are to make the autoconf/configure build system work. It's annoying but in principle it doesn't shock me that it'd be up to us to maintain those changes.

comment:8 Changed 7 years ago by bnilsson11

I tried to install audacity on my Sierra 10.12.2 and I got exactly this error.

:info:build ld: warning: ignoring file ../lib-src/lv2/liblv2.a, file was built for archive which is not the architecture being linked (x86_64): ../lib-src/lv2/liblv2.a

I am suprised to see that this problem is not yet fixed. Or is the problem on my side?

MacPorts 2.4.0

Last edited 6 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:9 Changed 7 years ago by RJVB (René Bertin)

The problem is that I couldn't reproduce the error, and as a result forgot about it waiting for feedback that would help me understand the problem.

That has been the case now: see ticket #53438 . Audacity builds liblv2.a by adding the content of intermediate archives (static libraries) in a series of steps, and those files do not just include object files. That may or may not be an error in the ar command, but fortunately I remembered from long ago that this kind of archive construction doesn't always work on OS X - and how to get around that issue.

I'd appreciate it if you could put the latest version of the attached patchfile in `port dir audacity`/files and try to build again (after port clean).

comment:10 in reply to:  9 Changed 7 years ago by bnilsson11

Replying to RJVB:

The problem is that I couldn't reproduce the error, and as a result forgot about it waiting for feedback that would help me understand the problem.

That has been the case now: see ticket #53438 . Audacity builds liblv2.a by adding the content of intermediate archives (static libraries) in a series of steps, and those files do not just include object files. That may or may not be an error in the ar command, but fortunately I remembered from long ago that this kind of archive construction doesn't always work on OS X - and how to get around that issue.

I'd appreciate it if you could put the latest version of the attached patchfile in `port dir audacity`/files and try to build again (after port clean).

I am sorry, I cannot see any attached file. Please clarify, I am not really used to this environment.

comment:11 Changed 7 years ago by RJVB (René Bertin)

Here: https://trac.macports.org/attachment/ticket/53438/patch-python.3.diff

The file was attached to the referenced ticket, #53438 . That hashtag should show up as a clickable URL for you.

Version 0, edited 7 years ago by RJVB (René Bertin) (next)

comment:12 Changed 7 years ago by briskycat (Andrew Novikov)

Today I put patch-python.3.diff into $(port dir audacity)/files (/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/audio/audacity/files in my case), then made port clean, then sudo port install audacity. The outcome was the same:

:info:build ld: warning: ignoring file ../lib-src/lv2/liblv2.a, file was built for archive which is not the architecture being linked (x86_64): ../lib-src/lv2/liblv2.a

So, the patch doesn't seem to work.

Last edited 6 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:13 Changed 2 years ago by cooljeanius (Eric Gallager)

Cc: cooljeanius added
Note: See TracTickets for help on using tickets.