Opened 8 years ago
Last modified 6 months 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-legacy |
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)
Change History (15)
Changed 8 years ago by nigelhorne (Nigel Horne)
comment:2 Changed 8 years ago by mkae (Marko Käning)
Port: | audacity added |
---|---|
Summary: | Audicity doesn't install → Audacity 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 8 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 8 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 8 years ago by mkae (Marko Käning)
Version: | 2.3.4 |
---|
comment:7 Changed 8 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 8 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
comment:9 follow-up: 10 Changed 8 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 Changed 8 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 (afterport clean
).
I am sorry, I cannot see any attached file. Please clarify, I am not really used to this environment.
comment:11 Changed 8 years ago by RJVB (René Bertin)
Here: 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.
comment:12 Changed 8 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.
comment:13 Changed 3 years ago by cooljeanius (Eric Gallager)
Cc: | cooljeanius added |
---|
comment:14 Changed 6 months ago by mohd-akram (Mohamed Akram)
Port: | audacity-legacy added; audacity removed |
---|
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_audacity/audacity/main.log