Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#17645 closed defect (fixed)

Hydrogen 09.3.79 Build Failure

Reported by: arturoc@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: hydrogen, qt4-mac Cc: arturoc@…, MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Port: hydrogen

Description

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.

Change History (5)

comment:1 Changed 16 years ago by arturoc@…

Cc: arturoc@… added

Cc Me!

comment:2 Changed 16 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Cc: mcalhoun@… added

Cc Me!

comment:3 Changed 16 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

svn.url fixed in r44126.

comment:4 Changed 16 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Resolution: fixed
Status: newclosed

qt4-mac now is now located in a single directory (r44203), so setting QTDIR seems to work (r44217).

comment:5 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.