Opened 13 years ago
Closed 12 years ago
#31832 closed defect (worksforme)
libmad build failed
Reported by: | ignazioc@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.3 |
Keywords: | Cc: | ryandesign (Ryan Carsten Schmidt), kaplan+macports@…, SlaunchaMan (Jeff Kelley), brandon.zacharie@… | |
Port: | libmad |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
hi, maybe there is a little bug in MPlayer port configuration.
I have osx 10.7.2 and i need to install MPlayer.
i typed "sudo port install MPlayer
" and this is the error message:
Computing dependencies for mplayer ---> Dependencies to be installed: libmad libogg libpng libtheora libvorbis lzo2 yasm ---> Building libmad Error: Target org.macports.build returned: shell command failed (see log for details) Error: Failed to install libmad Log for libmad is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_libmad/libmad/main.log Error: The following dependencies were not installed: libmad libogg libpng libtheora libvorbis lzo2 yasm Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets>
i checked and in /opt/local/var/macports/distfiles/libmad/ there is a file named libmad-0.15.1b.tar.gz
some advice? thanks
Attachments (1)
Change History (10)
comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|---|
Description: | modified (diff) |
Port: | libmad added |
Summary: | MPlayer Configure error - build failure → libmad build failed |
Changed 13 years ago by kaplan+macports@…
comment:4 Changed 13 years ago by brandon.zacharie@…
I'm having the same issue except it's keeping me from building pianobar. Any news on this?
comment:5 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | brandon.zacharie@… added |
---|
I was not able to reproduce the error. I don't have Lion or a 4-core machine; I don't know if those details of the log are relevant.
But there were a couple things the port was doing that I was not comfortable with, that I have fixed in r90626. Please wait 30 minutes, then "sudo port selfupdate" and "sudo port clean libmad" and try again.
comment:6 follow-up: 7 Changed 13 years ago by brandon.zacharie@…
Sorry for the bait and switch! :P My specific problem went away. I looked at another machine that had pianobar already and noticed it was running MacPorts 2.0.2. and did the following.
downgraded MacPorts from 2.0.4 to 2.0.2 on the new machine via the installer...
"port install libmad" which didn't work...
"port clean libmad"...
"port install libmad" which worked...
With all that mess I can't tell if the problem was with MacPorts, libmad, or "something else". I wish I would have tried "port clean" first. I'm willing to search for logs if anyone is interested.
comment:7 follow-up: 8 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Replying to brandon.zacharie@…:
downgraded MacPorts from 2.0.4 to 2.0.2 on the new machine via the installer...
The last thing the dmg installer packages do is to run "sudo port selfupdate" so this would have updated you right back to 2.0.4. Running "port version
" should confirm what version of MacPorts you're now running. We never support running an old version of MacPorts, by the way; portfiles rather quickly start using features only available in newer versions of MacPorts.
"port install libmad" which didn't work...
If this resumed a prior failed build attempt, that doesn't surprise me.
"port clean libmad"...
"port install libmad" which worked...
I'm glad you got it working.
With all that mess I can't tell if the problem was with MacPorts, libmad, or "something else". I wish I would have tried "port clean" first. I'm willing to search for logs if anyone is interested.
Unless you've modified your macports.conf to keep them, logs are deleted after a successful port install.
@ignazioc, @kaplan, @SlaunchaMan: if any of you are still experiencing a problem building libmad, can you please try the steps above?
comment:8 Changed 13 years ago by kaplan+macports@…
Replying to ryandesign@…:
Replying to brandon.zacharie@…:
"port clean libmad"...
"port install libmad" which worked...@ignazioc, @kaplan, @SlaunchaMan: if any of you are still experiencing a problem building libmad, can you please try the steps above?
Yes, this fixes it for me too.
comment:9 Changed 12 years ago by jmroot (Joshua Root)
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Please attach the file /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_libmad/libmad/main.log.