[MacPorts] #28664: qgis @1.6.0: cannot install fcgi dependency, then fails again

MacPorts noreply at macports.org
Sun Mar 6 05:59:30 PST 2011


#28664: qgis @1.6.0: cannot install fcgi dependency, then fails again
----------------------------------+-----------------------------------------
 Reporter:  barthelemy@…          |       Owner:  macports-tickets@…                   
     Type:  defect                |      Status:  new                                  
 Priority:  Normal                |   Milestone:                                       
Component:  ports                 |     Version:  1.9.2                                
 Keywords:                        |        Port:                                       
----------------------------------+-----------------------------------------
 Installing qgis fails, because installing fcgi fails:

 {{{
 sudo port install qgis
 Portfile changed since last build; discarding previous state.
 --->  Computing dependencies for qgis
 --->  Dependencies to be installed: fcgi
 --->  Fetching fcgi
 --->  Attempting to fetch fcgi-2.4.0.tar.gz from
 http://lil.fr.distfiles.macports.org/fcgi
 --->  Verifying checksum(s) for fcgi
 --->  Extracting fcgi
 --->  Applying patches to fcgi
 --->  Configuring fcgi
 Error: Target org.macports.configure returned: autoreconf failure: shell
 command failed (see log for details)
 Error: Failed to install fcgi
 Log for fcgi is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_fcgi/main.log
 Error: The following dependencies were not installed: fcgi
 Error: Status 1 encountered during processing.
 To report a bug, see <http://guide.macports.org/#project.tickets>
 }}}

 The log for fcgi says:
 {{{
 :debug:configure Environment: CPATH='/opt/local/include'
 CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_fcgi/work/.CC_PRINT_OPTIONS'
 LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES'
 MACOSX_DEPLOYMENT_TARGET='10.6'
 :debug:configure Assembled command: 'cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_fcgi/work/fcgi-2.4.0"
 && autoreconf --install -fvi'
 :info:configure sh: /opt/local/bin/autoreconf: /opt/local/bin/perl: bad
 interpreter: No such file or directory
 :info:configure shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_fcgi/work/fcgi-2.4.0"
 && autoreconf --install -fvi " returned error 126
 }}}

 However, installing fcgi directly works.

 Then, installing qgis again fails again:
 {{{
 sudo port install qgis
 Password:
 --->  Computing dependencies for qgis
 --->  Fetching qgis
 --->  Verifying checksum(s) for qgis
 --->  Extracting qgis
 --->  Applying patches to qgis
 --->  Configuring qgis
 Error: Target org.macports.configure returned: configure failure: shell
 command failed (see log for details)
 Log for qgis is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gis_qgis/main.log
 Error: Status 1 encountered during processing.
 To report a bug, see <http://guide.macports.org/#project.tickets>
 }}}

 {{{
 :info:configure Traceback (most recent call last):
 :info:configure   File
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gis_qgis/work/qgis-1.6.0/cmake/FindSIP.py",
 line 8, in <modu
 le>
 :info:configure     import sipconfig
 :info:configure ImportError: No module named sipconfig
 :info:configure CMake Error at cmake/FindSIP.cmake:54 (MESSAGE):
 :info:configure   Could not find SIP
 :info:configure Call Stack (most recent call first)::info:configure
 CMakeLists.txt:399 (FIND_PACKAGE):info:configure :info:configure
 :info:configure -- Configuring incomplete, errors occurred!:info:configure
 shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gis_qgis/work/qgis-1.6.0/build"
 && 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"
 -DCMAKE_MODULE_PATH=/opt/local/share/cmake/modules -Wno-dev
 -DCMAKE_CXX_COMPILER=/usr/bin/g++-4.2 -DCMAKE_C_COMPILER=/usr/bin/gcc-4.2
 -DEXPAT_INCLUDE_DIR=/opt/local/include
 -DEXPAT_LIBRARY=/opt/local/lib/libexpat.dylib
 -DCMAKE_INSTALL_PREFIX=/Applications/MacPorts -DGDAL_CONFIG=/opt/local/bin
 /gdal-config -DGDAL_INCLUDE_DIR=/opt/local/include
 -DGDAL_LIBRARY=/opt/local/lib/libgdal.dylib -DGEOS_CONFIG=/opt/local/bin
 /geos-config -DGEOS_INCLUDE_DIR=/opt/local/include
 -DGEOS_LIBRARY=/opt/local/lib/libgeos_c.dylib
 -DGEOS_LIB_NAME_WITH_PREFIX=-lgeos_c -DGSL_CONFIG=/opt/local/bin/gsl-
 config -DICONV_INCLUDE_DIR=/opt/local/include
 -DICONV_LIBRARY=/opt/local/lib/libi
 conv.dylib -DPROJ_INCLUDE_DIR=/opt/local/include
 -DPROJ_LIBRARY=/opt/local/lib/libproj.dylib
 -DOPENSSL_INCLUDE_DIR=/opt/local/include
 -DOPENSSL_LIBRARIES=/opt/local/lib/libssl.dyl
 ib
 -DPYTHON_INCLUDE_PATH=/opt/local/Library/Frameworks/Python.framework/Headers
 -DPYTHON_EXECUTABLE=/opt/local/bin/python
 -DPYUIC4_PROGRAM=/opt/local/bin/pyuic4-2.6 -DPYRCC4_PROGR
 AM=/opt/local/bin/pyrcc4-2.6
 -DSIP_BINARY_PATH=/opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/sip
 -DSIP_INCLUDE_DIR=/opt/local/Library/Frameworks/Python.framework
 /Headers -DQT_QT_INCLUDE_DIR=/opt/local/include
 -DQT_ZLIB_LIBRARY=/opt/local/lib/libz.dylib
 -DQT_PNG_LIBRARY=/opt/local/lib/libpng.dylib -DCMAKE_BUILD_TYPE=Release
 -DSVN_MARKER=
 /usr/bin/svnversion -DCMAKE_OSX_ARCHITECTURES="x86_64" " returned error 1
 :error:configure Target org.macports.configure returned: configure
 failure: shell command failed (see log for details)
 :debug:configure Backtrace: configure failure: shell command failed (see
 log for details)
     while executing
 "$procedure $targetname"
 :info:configure Warning: the following items did not execute (for qgis):
 org.macports.activate org.macports.configure org.macports.build
 org.macports.destroot org.macports.install
 :notice:configure Log for qgis is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gis_qgis/main.log
 }}}

 Which is strange as 1) FindSIP.py seems to use python 2.6 and 2)
 py26-sip @4.12.1_0 is installed on my system.

 I'm using Mac OS 10.6.6 and Xcode 3.2.5.

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


More information about the macports-tickets mailing list