[MacPorts] #24428: lmms 0.4.5 undefined symbols - build errors

MacPorts noreply at macports.org
Sun Apr 11 07:53:20 PDT 2010


#24428: lmms 0.4.5 undefined symbols - build errors
-------------------------------+--------------------------------------------
 Reporter:  matrixm@…          |       Owner:  macports-tickets@…                   
     Type:  defect             |      Status:  new                                  
 Priority:  Normal             |   Milestone:                                       
Component:  ports              |     Version:  1.8.2                                
 Keywords:                     |        Port:  lmms                                 
-------------------------------+--------------------------------------------

Comment(by matrixm@…):

 Ok, setup a local repository and copied the Portfile to it for lmms. I
 modified the Portfile to include -framework Carbon in the configure.args-
 append section. I'm no longer getting all the undefined symbols errors,
 but it's still not working. Now I'm getting the output listed below when
 it tries to run the configure:

 {{{
 --->  Configuring lmms
 DEBUG: Using compiler 'Mac OS X gcc 4.2'
 DEBUG: Executing proc-pre-org.macports.configure-configure-0
 DEBUG: Executing org.macports.configure (lmms)
 DEBUG: Environment: CFLAGS='-O2 -arch i386'
 CPPFLAGS='-I/opt/local/include' CXXFLAGS='-O2 -arch i386'
 MACOSX_DEPLOYMENT_TARGET='10.6' CXX='/usr/bin/g++-4.2' F90FLAGS='-O2 -m32'
 LDFLAGS='-L/opt/local/lib' OBJC='/usr/bin/gcc-4.2' FCFLAGS='-O2 -m32'
 INSTALL='/usr/bin/install -c' OBJCFLAGS='-O2 -arch i386' FFLAGS='-O2 -m32'
 CC='/usr/bin/gcc-4.2'
 DEBUG: Assembled command: 'cd
 "/opt/local/var/macports/build/_Users_matrixm_bin_ports_multimedia_lmms/work/lmms-0.4.5"
 && cmake -DCMAKE_INSTALL_PREFIX=/opt/local -DCMAKE_VERBOSE_MAKEFILE=ON
 -DCMAKE_COLOR_MAKEFILE=ON -DCMAKE_BUILD_TYPE=Release
 -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON
 -DCMAKE_INSTALL_NAME_DIR=/opt/local/lib
 -DCMAKE_SYSTEM_PREFIX_PATH="/opt/local;/usr"
 -DQT_QMAKE_EXECUTABLE=/opt/local/libexec/qt4-mac/bin/qmake -Wno-dev
 -DWANT_VST=off -framework Carbon -DCMAKE_OSX_ARCHITECTURES="i386"'
 CMake Error: The source directory
 "/opt/local/var/macports/build/_Users_matrixm_bin_ports_multimedia_lmms/work/lmms-0.4.5/Carbon"
 does not exist.
 Specify --help for usage, or press the help button on the CMake GUI.
 Error: Target org.macports.configure returned: configure failure: shell
 command " cd
 "/opt/local/var/macports/build/_Users_matrixm_bin_ports_multimedia_lmms/work/lmms-0.4.5"
 && cmake -DCMAKE_INSTALL_PREFIX=/opt/local -DCMAKE_VERBOSE_MAKEFILE=ON
 -DCMAKE_COLOR_MAKEFILE=ON -DCMAKE_BUILD_TYPE=Release
 -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON
 -DCMAKE_INSTALL_NAME_DIR=/opt/local/lib
 -DCMAKE_SYSTEM_PREFIX_PATH="/opt/local;/usr"
 -DQT_QMAKE_EXECUTABLE=/opt/local/libexec/qt4-mac/bin/qmake -Wno-dev
 -DWANT_VST=off -framework Carbon -DCMAKE_OSX_ARCHITECTURES="i386" "
 returned error 1
 DEBUG: Backtrace: configure failure: shell command " cd
 "/opt/local/var/macports/build/_Users_matrixm_bin_ports_multimedia_lmms/work/lmms-0.4.5"
 && cmake -DCMAKE_INSTALL_PREFIX=/opt/local -DCMAKE_VERBOSE_MAKEFILE=ON
 -DCMAKE_COLOR_MAKEFILE=ON -DCMAKE_BUILD_TYPE=Release
 -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON
 -DCMAKE_INSTALL_NAME_DIR=/opt/local/lib
 -DCMAKE_SYSTEM_PREFIX_PATH="/opt/local;/usr"
 -DQT_QMAKE_EXECUTABLE=/opt/local/libexec/qt4-mac/bin/qmake -Wno-dev
 -DWANT_VST=off -framework Carbon -DCMAKE_OSX_ARCHITECTURES="i386" "
 returned error 1
     while executing
 "$procedure $targetname"
 Warning: the following items did not execute (for lmms):
 org.macports.activate org.macports.configure org.macports.build
 org.macports.destroot org.macports.install
 Error: Status 1 encountered during processing.
 }}}

 It looks almost like it expects Carbon to be a library that it needs to be
 able to load, but I can tell when I search for carbon ports that it's
 actually a library that the OS should provide instead. I'm willing to try
 any suggestions to help get this working.

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


More information about the macports-tickets mailing list