[MacPorts] #35167: Hydrogen fails to build

MacPorts noreply at macports.org
Wed Jul 11 20:04:47 PDT 2012


#35167: Hydrogen fails to build
-------------------------------+--------------------------------------------
 Reporter:  joseche@…          |       Owner:  xenith@…         
     Type:  defect             |      Status:  new              
 Priority:  Normal             |   Milestone:                   
Component:  ports              |     Version:  2.1.1            
 Keywords:                     |        Port:  hydrogen         
-------------------------------+--------------------------------------------
Changes (by macsforever2000@…):

  * keywords:  hydrogen =>
  * owner:  macports-tickets@… => xenith@…


Old description:

> Fail in:
>
> g++ -o libs/hydrogen/src/song.o -c -O3 -fomit-frame-pointer -funroll-
> loops -DFLAC_SUPPORT -DCOREAUDIO_SUPPORT -DLADSPA_SUPPORT -DQT_CORE_LIB
> -DQT_GUI_LIB -I/opt/local/include -I. -Igui/src
> -I3rdparty/install/include -Ilibs/hydrogen/include -I/opt/local/include
> -I/opt/local/include/QtCore -I/opt/local/include/QtGui
> libs/hydrogen/src/song.cpp
> libs/hydrogen/src/song.cpp: In static member function ‘static
> H2Core::Song* H2Core::Song::get_default_song()’:
> libs/hydrogen/src/song.cpp:144: error: call of overloaded ‘QString(int)’
> is ambiguous
> /opt/local/include/QtCore/qstring.h:421: note: candidates are:
> QString::QString(const QByteArray&)
> /opt/local/include/QtCore/qstring.h:419: note:
> QString::QString(const char*)
> /opt/local/include/QtCore/qstring.h:725: note:
> QString::QString(const QString&)
> /opt/local/include/QtCore/qstring.h:89: note:
> QString::QString(QChar)
> /opt/local/include/QtCore/qstring.h:88: note:
> QString::QString(const QChar*)
> scons: *** [libs/hydrogen/src/song.o] Error 1
> scons: building terminated because of errors.

New description:

 Fail in:

 {{{
 g++ -o libs/hydrogen/src/song.o -c -O3 -fomit-frame-pointer -funroll-loops
 -DFLAC_SUPPORT -DCOREAUDIO_SUPPORT -DLADSPA_SUPPORT -DQT_CORE_LIB
 -DQT_GUI_LIB -I/opt/local/include -I. -Igui/src -I3rdparty/install/include
 -Ilibs/hydrogen/include -I/opt/local/include -I/opt/local/include/QtCore
 -I/opt/local/include/QtGui libs/hydrogen/src/song.cpp
 libs/hydrogen/src/song.cpp: In static member function ‘static
 H2Core::Song* H2Core::Song::get_default_song()’:
 libs/hydrogen/src/song.cpp:144: error: call of overloaded ‘QString(int)’
 is ambiguous
 /opt/local/include/QtCore/qstring.h:421: note: candidates are:
 QString::QString(const QByteArray&)
 /opt/local/include/QtCore/qstring.h:419: note:
 QString::QString(const char*)
 /opt/local/include/QtCore/qstring.h:725: note:
 QString::QString(const QString&)
 /opt/local/include/QtCore/qstring.h:89: note:
 QString::QString(QChar)
 /opt/local/include/QtCore/qstring.h:88: note:
 QString::QString(const QChar*)
 scons: *** [libs/hydrogen/src/song.o] Error 1
 scons: building terminated because of errors.
 }}}

--

-- 
Ticket URL: <https://trac.macports.org/ticket/35167#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list