[MacPorts] #17645: Hydrogen 09.3.79 Build Failure
MacPorts
noreply at macports.org
Sun Dec 14 09:27:22 PST 2008
#17645: Hydrogen 09.3.79 Build Failure
-------------------------------+--------------------------------------------
Reporter: arturoc@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.7.0
Keywords: hydrogen, qt4-mac | Port: hydrogen
-------------------------------+--------------------------------------------
The build initially fails on the svn checkout "405 Method Not Allowed"
{{{
---> Fetching hydrogen
DEBUG: Executing org.macports.fetch (hydrogen)
DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.5'
DEBUG: Assembled command: 'cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_hydrogen/work"
&& /usr/bin/svn --non-interactive checkout -r 79 http://hydrogen-
music.org/svn/trunk'
svn: PROPFIND request failed on '/svn/trunk'
svn: PROPFIND of '/svn/trunk': 405 Method Not Allowed (http://hydrogen-
music.org)
Error: Target org.macports.fetch returned: Subversion check out failed
Warning: the following items did not execute (for hydrogen):
org.macports.activate org.macports.fetch org.macports.extract
org.macports.checksum org.macports.patch org.macports.configure
org.macports.build org.macports.destroot org.macports.install
Error: Status 1 encountered during processing.
}}}
Updating the Portfile to use the repository listed on the Hydrogen webpage
resolves this issue:
svn.url http://svn.assembla.com/svn/hydrogen/trunk
However once you get past this, the configure step fails to find the QT4
libs. Even though in my case QT4 was built as a dependency called from
the Hydrogen build.
{{{
-----------------------------------------------------------------
Starting Hydrogen configuration http://www.hydrogen-music.org
-----------------------------------------------------------------
* QTDIR = /opt/local
* Searching for QT library in /opt/local *** Not found ***
*** ERROR: QT library not found. Maybe QT development libraries are not
installed or QTDIR isn't properly set.
Error: Target org.macports.configure returned: configure failure: shell
command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_hydrogen/work/trunk"
&& ./configure " returned error 1
Command output: usage: rm [-f | -i] [-dPRrvW] file ...
unlink file
-----------------------------------------------------------------
Starting Hydrogen configuration http://www.hydrogen-music.org
-----------------------------------------------------------------
* QTDIR = /opt/local
* Searching for QT library in /opt/local *** Not found ***
*** ERROR: QT library not found. Maybe QT development libraries are not
installed or QTDIR isn't properly set.
Warning: the following items did not execute (for hydrogen):
org.macports.activate org.macports.configure org.macports.build
org.macports.destroot org.macports.install
Error: Status 1 encountered during processing.
}}}
Setting QTDIR did not work as the configure script automatically appends
lib/ to the prefix.. Short of editing the configure script, creating a
link will workaround the issue:
ln -s /opt/local/Library/Frameworks/QtCore.framework/
/opt/local/lib/QtCore.framework
Then the build will complete. Though the configure script should
probably detect the default qt4-mac location.
--
Ticket URL: <http://trac.macports.org/ticket/17645>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list