Opened 13 years ago

Closed 13 years ago

#29936 closed defect (fixed)

gts requires pkgconfig but does not declare a dependency on it

Reported by: wkirkham@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc:
Port: gts

Description (last modified by ryandesign (Ryan Carsten Schmidt))

I got a new computer and began fresh installs of MacPorts and some other software. I tried to install Gerris. It seems like something is amiss if it won't install on a virgin machine on the same day MacPorts is installed. There were no Ports to update, I checked per the documented procedures. It looks like some issue with versions or dependencies. I got the following errors:

Error: Target org.macports.configure returned: configure failure: shell command failed (see log for details)
Error: Failed to install gts
Log for gts is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_gts/main.log
Error: The following dependencies were not installed: gts
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

LOG FILE PASTED BELOW:

version:1
:debug:clean Attempting ln -sf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_gts/work /opt/local/var/macports/sources/rsync.macports.org/release/ports/math/gts/work
:debug:main Executing org.macports.main (gts)
:msg:main --->  Fetching gts
:debug:fetch fetch phase started at Sat Jun 25 18:56:41 PDT 2011
:debug:fetch Executing org.macports.fetch (gts)
:info:fetch --->  gts-0.7.6.tar.gz doesn't seem to exist in /opt/local/var/macports/distfiles/gts
:debug:fetch Pinging downloads.sourceforge.net...
:debug:fetch Pinging aarnet.dl.sourceforge.net...
:debug:fetch Pinging biznetnetworks.dl.sourceforge.net...
:debug:fetch Pinging cdnetworks-us-1.dl.sourceforge.net...
:debug:fetch Pinging cdnetworks-us-2.dl.sourceforge.net...
:debug:fetch Pinging cdnetworks-kr-1.dl.sourceforge.net...
:debug:fetch Pinging cdnetworks-kr-2.dl.sourceforge.net...
:debug:fetch Pinging citylan.dl.sourceforge.net...
:debug:fetch Pinging dfn.dl.sourceforge.net...
:debug:fetch Pinging fastbull.dl.sourceforge.net...
:debug:fetch Pinging freefr.dl.sourceforge.net...
:debug:fetch Pinging garr.dl.sourceforge.net...
:debug:fetch Pinging heanet.dl.sourceforge.net...
:debug:fetch Pinging hivelocity.dl.sourceforge.net...
:debug:fetch Pinging ignum.dl.sourceforge.net...
:debug:fetch Pinging internode.dl.sourceforge.net...
:debug:fetch Pinging iweb.dl.sourceforge.net...
:debug:fetch Pinging jaist.dl.sourceforge.net...
:debug:fetch Pinging kent.dl.sourceforge.net...
:debug:fetch Pinging mesh.dl.sourceforge.net...
:debug:fetch Pinging nchc.dl.sourceforge.net...
:debug:fetch Pinging ncu.dl.sourceforge.net...
:debug:fetch Pinging netcologne.dl.sourceforge.net...
:debug:fetch Pinging puzzle.dl.sourceforge.net...
:debug:fetch Pinging softlayer.dl.sourceforge.net...
:debug:fetch Pinging space.dl.sourceforge.net...
:debug:fetch Pinging sunet.dl.sourceforge.net...
:debug:fetch Pinging surfnet.dl.sourceforge.net...
:debug:fetch Pinging switch.dl.sourceforge.net...
:debug:fetch Pinging transact.dl.sourceforge.net...
:debug:fetch Pinging ufpr.dl.sourceforge.net...
:debug:fetch Pinging voxel.dl.sourceforge.net...
:debug:fetch Pinging waix.dl.sourceforge.net...
:debug:fetch Pinging distfiles.macports.org...
:debug:fetch Pinging aarnet.au.distfiles.macports.org...
:debug:fetch Pinging lil.fr.distfiles.macports.org...
:debug:fetch Pinging sea.us.distfiles.macports.org...
:debug:fetch Pinging ykf.ca.distfiles.macports.org...
:debug:fetch downloads.sourceforge.net ping time is 85.553
:debug:fetch aarnet.dl.sourceforge.net ping time is 197.050
:debug:fetch biznetnetworks.dl.sourceforge.net ping time is 235.861
:debug:fetch cdnetworks-us-1.dl.sourceforge.net ping time is 32.159
:debug:fetch cdnetworks-us-2.dl.sourceforge.net ping time is 29.830
:debug:fetch cdnetworks-kr-1.dl.sourceforge.net ping time is 136.510
:debug:fetch cdnetworks-kr-2.dl.sourceforge.net ping time is 135.147
:debug:fetch citylan.dl.sourceforge.net ping time is 242.692
:debug:fetch dfn.dl.sourceforge.net ping time is 196.132
:debug:fetch fastbull.dl.sourceforge.net ping time is 220.739
:debug:fetch freefr.dl.sourceforge.net ping time is 216.156
:debug:fetch garr.dl.sourceforge.net ping time is 323.584
:debug:fetch heanet.dl.sourceforge.net ping time is 200.699
:debug:fetch hivelocity.dl.sourceforge.net ping time is 10000
:debug:fetch ignum.dl.sourceforge.net ping time is 202.821
:debug:fetch internode.dl.sourceforge.net ping time is 232.458
:debug:fetch iweb.dl.sourceforge.net ping time is 95.441
:debug:fetch jaist.dl.sourceforge.net ping time is 148.382
:debug:fetch kent.dl.sourceforge.net ping time is 173.207
:debug:fetch mesh.dl.sourceforge.net ping time is 205.031
:debug:fetch nchc.dl.sourceforge.net ping time is 188.287
:debug:fetch ncu.dl.sourceforge.net ping time is 10000
:debug:fetch netcologne.dl.sourceforge.net ping time is 10000
:debug:fetch puzzle.dl.sourceforge.net ping time is 282.344
:debug:fetch softlayer.dl.sourceforge.net ping time is 63.561
:debug:fetch space.dl.sourceforge.net ping time is 10000
:debug:fetch sunet.dl.sourceforge.net ping time is 223.857
:debug:fetch surfnet.dl.sourceforge.net ping time is 282.539
:debug:fetch switch.dl.sourceforge.net ping time is 283.127
:debug:fetch transact.dl.sourceforge.net ping time is 190.248
:debug:fetch ufpr.dl.sourceforge.net ping time is 246.052
:debug:fetch voxel.dl.sourceforge.net ping time is 72.657
:debug:fetch waix.dl.sourceforge.net ping time is 234.980
:debug:fetch distfiles.macports.org ping time is 43.620
:debug:fetch aarnet.au.distfiles.macports.org ping time is 213.091
:debug:fetch lil.fr.distfiles.macports.org ping time is 166.490
:debug:fetch sea.us.distfiles.macports.org ping time is 10000
:debug:fetch ykf.ca.distfiles.macports.org ping time is 120.771
:msg:fetch --->  Attempting to fetch gts-0.7.6.tar.gz from http://cdnetworks-us-2.dl.sourceforge.net/gts
:msg:fetch --->  Verifying checksum(s) for gts
:debug:checksum checksum phase started at Sat Jun 25 18:56:47 PDT 2011
:debug:checksum Executing org.macports.checksum (gts)
:info:checksum --->  Checksumming gts-0.7.6.tar.gz
:debug:checksum Correct (sha1) checksum for gts-0.7.6.tar.gz
:debug:checksum Correct (rmd160) checksum for gts-0.7.6.tar.gz
:msg:checksum --->  Extracting gts
:debug:extract extract phase started at Sat Jun 25 18:56:47 PDT 2011
:debug:extract Executing org.macports.extract (gts)
:info:extract --->  Extracting gts-0.7.6.tar.gz
:debug:extract setting option extract.args to '/opt/local/var/macports/distfiles/gts/gts-0.7.6.tar.gz'
:debug:extract Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_gts/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.6'
:debug:extract Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_gts/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/gts/gts-0.7.6.tar.gz' | /usr/bin/gnutar --no-same-owner -xf -'
:debug:patch patch phase started at Sat Jun 25 18:56:47 PDT 2011
:debug:patch Executing org.macports.patch (gts)
:msg:patch --->  Applying patches to gts
:info:patch --->  Applying /opt/local/var/macports/sources/rsync.macports.org/release/ports/math/gts/files/patch-examples-happrox.c.diff
:debug:patch Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_gts/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.6'
:debug:patch Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_gts/work/gts-0.7.6" && /usr/bin/patch -p0'
:info:patch patching file examples/happrox.c
:msg:patch --->  Configuring gts
:debug:patch Using compiler 'Mac OS X gcc 4.2'
:debug:configure configure phase started at Sat Jun 25 18:56:47 PDT 2011
:debug:configure Executing org.macports.configure (gts)
:debug:configure Environment: CPATH='/opt/local/include' CFLAGS='-pipe -O2 -arch x86_64' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-pipe -O2 -arch x86_64' LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLOYMENT_TARGET='10.6' CXX='/usr/bin/g++-4.2' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_gts/work/.CC_PRINT_OPTIONS' F90FLAGS='-pipe -O2 -m64' LDFLAGS='-L/opt/local/lib -arch x86_64' OBJC='/usr/bin/gcc-4.2' FCFLAGS='-pipe -O2 -m64' INSTALL='/usr/bin/install -c' OBJCFLAGS='-pipe -O2 -arch x86_64' FFLAGS='-pipe -O2 -m64' CC_PRINT_OPTIONS='YES' CC='/usr/bin/gcc-4.2'
:debug:configure Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_gts/work/gts-0.7.6" && ./configure --prefix=/opt/local'
:info:configure checking for a BSD-compatible install... /usr/bin/install -c
:info:configure checking whether build environment is sane... yes
:info:configure checking for gawk... no
:info:configure checking for mawk... no
:info:configure checking for nawk... no
:info:configure checking for awk... awk
:info:configure checking whether make sets $(MAKE)... yes
:info:configure checking build system type... i686-apple-darwin10.7.0
:info:configure checking host system type... i686-apple-darwin10.7.0
:info:configure checking for style of include used by make... GNU
:info:configure checking for gcc... /usr/bin/gcc-4.2
:info:configure checking for C compiler default output file name... a.out
:info:configure checking whether the C compiler works... yes
:info:configure checking whether we are cross compiling... no
:info:configure checking for suffix of executables... 
:info:configure checking for suffix of object files... o
:info:configure checking whether we are using the GNU C compiler... yes
:info:configure checking whether /usr/bin/gcc-4.2 accepts -g... yes
:info:configure checking for /usr/bin/gcc-4.2 option to accept ANSI C... none needed
:info:configure checking dependency style of /usr/bin/gcc-4.2... gcc3
:info:configure checking for a sed that does not truncate output... /usr/bin/sed
:info:configure checking for egrep... grep -E
:info:configure checking for ld used by /usr/bin/gcc-4.2... /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld
:info:configure checking if the linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) is GNU ld... no
:info:configure checking for /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld option to reload object files... -r
:info:configure checking for BSD-compatible nm... /usr/bin/nm
:info:configure checking whether ln -s works... yes
:info:configure checking how to recognise dependent libraries... pass_all
:info:configure checking how to run the C preprocessor... /usr/bin/gcc-4.2 -E
:info:configure checking for ANSI C header files... yes
:info:configure checking for sys/types.h... yes
:info:configure checking for sys/stat.h... yes
:info:configure checking for stdlib.h... yes
:info:configure checking for string.h... yes
:info:configure checking for memory.h... yes
:info:configure checking for strings.h... yes
:info:configure checking for inttypes.h... yes
:info:configure checking for stdint.h... yes
:info:configure checking for unistd.h... yes
:info:configure checking dlfcn.h usability... yes
:info:configure checking dlfcn.h presence... yes
:info:configure checking for dlfcn.h... yes
:info:configure checking whether we are using the GNU C++ compiler... yes
:info:configure checking whether /usr/bin/g++-4.2 accepts -g... yes
:info:configure checking dependency style of /usr/bin/g++-4.2... gcc3
:info:configure checking how to run the C++ preprocessor... /usr/bin/g++-4.2 -E
:info:configure checking for g77... no
:info:configure checking for f77... no
:info:configure checking for xlf... no
:info:configure checking for frt... no
:info:configure checking for pgf77... no
:info:configure checking for fort77... no
:info:configure checking for fl32... no
:info:configure checking for af77... no
:info:configure checking for f90... no
:info:configure checking for xlf90... no
:info:configure checking for pgf90... no
:info:configure checking for epcf90... no
:info:configure checking for f95... no
:info:configure checking for fort... no
:info:configure checking for xlf95... no
:info:configure checking for ifc... no
:info:configure checking for efc... no
:info:configure checking for pgf95... no
:info:configure checking for lf95... no
:info:configure checking for gfortran... no
:info:configure checking whether we are using the GNU Fortran 77 compiler... no
:info:configure checking whether  accepts -g... no
:info:configure checking the maximum length of command line arguments... 196608
:info:configure checking command to parse /usr/bin/nm output from /usr/bin/gcc-4.2 object... ok
:info:configure checking for objdir... .libs
:info:configure checking for ar... ar
:info:configure checking for ranlib... ranlib
:info:configure checking for strip... strip
:info:configure checking if /usr/bin/gcc-4.2 static flag  works... yes
:info:configure checking if /usr/bin/gcc-4.2 supports -fno-rtti -fno-exceptions... no
:info:configure checking for /usr/bin/gcc-4.2 option to produce PIC... -fno-common
:info:configure checking if /usr/bin/gcc-4.2 PIC flag -fno-common works... yes
:info:configure checking if /usr/bin/gcc-4.2 supports -c -o file.o... yes
:info:configure checking whether the /usr/bin/gcc-4.2 linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) supports shared libraries... yes
:info:configure checking dynamic linker characteristics... darwin10.7.0 dyld
:info:configure checking how to hardcode library paths into programs... immediate
:info:configure checking whether stripping libraries is possible... yes
:info:configure checking if libtool supports shared libraries... yes
:info:configure checking whether to build shared libraries... yes
:info:configure checking whether to build static libraries... yes
:info:configure configure: creating libtool
:info:configure appending configuration tag "CXX" to libtool
:info:configure checking for ld used by /usr/bin/g++-4.2... /usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld
:info:configure checking if the linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) is GNU ld... no
:info:configure checking whether the /usr/bin/g++-4.2 linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) supports shared libraries... yes
:info:configure checking for /usr/bin/g++-4.2 option to produce PIC... -fno-common
:info:configure checking if /usr/bin/g++-4.2 PIC flag -fno-common works... yes
:info:configure checking if /usr/bin/g++-4.2 supports -c -o file.o... yes
:info:configure checking whether the /usr/bin/g++-4.2 linker (/usr/libexec/gcc/i686-apple-darwin10/4.2.1/ld) supports shared libraries... yes
:info:configure checking dynamic linker characteristics... darwin10.7.0 dyld
:info:configure checking how to hardcode library paths into programs... immediate
:info:configure checking whether stripping libraries is possible... yes
:info:configure appending configuration tag "F77" to libtool
:info:configure checking whether to enable maintainer-specific portions of Makefiles... no
:info:configure checking for gcc... (cached) /usr/bin/gcc-4.2
:info:configure checking whether we are using the GNU C compiler... (cached) yes
:info:configure checking whether /usr/bin/gcc-4.2 accepts -g... (cached) yes
:info:configure checking for /usr/bin/gcc-4.2 option to accept ANSI C... (cached) none needed
:info:configure checking dependency style of /usr/bin/gcc-4.2... (cached) gcc3
:info:configure checking for gawk... (cached) awk
:info:configure checking for library containing strerror... none required
:info:configure checking for ANSI C header files... (cached) yes
:info:configure checking for pgm_init in -lnetpbm... yes
:info:configure checking for pkg-config... no
:info:configure checking for GLIB - version >= 2.4.0... no
:info:configure *** A new enough version of pkg-config was not found.
:info:configure *** See http://www.freedesktop.org/software/pkgconfig/
:info:configure checking for glib-config... no
:info:configure checking for GLIB - version >= 1.2.8... no
:info:configure *** The glib-config script installed by GLIB could not be found
:info:configure *** If GLIB was installed in PREFIX, make sure PREFIX/bin is in
:info:configure *** your path, or set the GLIB_CONFIG environment variable to the
:info:configure *** full path to glib-config.
:info:configure configure: error:
:info:configure *** GLIB 1.2.8 or better is required. The latest version of GLIB
:info:configure *** is always available from ftp://ftp.gtk.org/.
:info:configure shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_gts/work/gts-0.7.6" && ./configure --prefix=/opt/local " 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 gts): org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install
:error:configure Failed to install gts
:notice:configure Log for gts is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_gts/main.log

Change History (2)

comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: Gerris gts-install-failed removed
Owner: changed from macports-tickets@… to ryandesign@…
Port: gts added; gerris removed
Status: newassigned
Summary: Error: Failed to install gtsgts requires pkgconfig but does not declare a dependency on it

comment:2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

r79794 should fix this. Please wait 30 minutes, then "sudo port selfupdate" and try again.

For future reference, voluminous output like logfiles should be attached, not pasted.

Note: See TracTickets for help on using tickets.