[MacPorts] #39952: webkit-gtk: can't detect glib2 during configure (was: Error while installing webkit-gtk as a dependency for boost)

MacPorts noreply at macports.org
Thu Aug 1 19:33:33 PDT 2013


#39952: webkit-gtk: can't detect glib2 during configure
-------------------------+------------------------
  Reporter:  houdelou@…  |      Owner:  jeremyhu@…
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.2.0
Resolution:              |   Keywords:
      Port:  webkit-gtk  |
-------------------------+------------------------
Changes (by larryv@…):

 * cc: devans@… (added)
 * owner:  macports-tickets@… => jeremyhu@…


Old description:

> It is saying that I don't have glib in my path but if I try to install
> glib2-devel, I get an error that it is conflicting with existing glib2
> versions which I don't want to unintstall in case it is used by another
> program or library.
>
> Thanks
>

>
> version:1
> :msg:clean --->  Computing dependencies for webkit-gtk:info:clean
> .:debug:clean webkit-gtk has no conflicts
> :debug:clean Searching for dependency: xz
> :debug:clean Found Dependency: receipt exists for xz
> :debug:clean Searching for dependency: gtk-doc
> :debug:clean Found Dependency: receipt exists for gtk-doc
> :debug:clean Searching for dependency: pkgconfig
> :debug:clean Found Dependency: receipt exists for pkgconfig
> :debug:clean Searching for dependency: autoconf
> :debug:clean Found Dependency: receipt exists for autoconf
> :debug:clean Searching for dependency: automake
> :debug:clean Found Dependency: receipt exists for automake
> :debug:clean Searching for dependency: libtool
> :debug:clean Found Dependency: receipt exists for libtool
> :debug:clean Searching for dependency: clang-3.3
> :debug:clean Found Dependency: receipt exists for clang-3.3
> :debug:clean Searching for dependency: glib2
> :debug:clean Found Dependency: receipt exists for glib2
> :debug:clean Searching for dependency: enchant
> :debug:clean Found Dependency: receipt exists for enchant
> :debug:clean Searching for dependency: geoclue
> :debug:clean Found Dependency: receipt exists for geoclue
> :debug:clean Searching for dependency: gobject-introspection
> :debug:clean Found Dependency: receipt exists for gobject-introspection
> :debug:clean Searching for dependency: gtk2
> :debug:clean Found Dependency: receipt exists for gtk2
> :debug:clean Searching for dependency: harfbuzz-icu
> :debug:clean Found Dependency: receipt exists for harfbuzz-icu
> :debug:clean Searching for dependency: libxslt
> :debug:clean Found Dependency: receipt exists for libxslt
> :debug:clean Searching for dependency: libpng
> :debug:clean Found Dependency: receipt exists for libpng
> :debug:clean Searching for dependency: libsecret
> :debug:clean Found Dependency: receipt exists for libsecret
> :debug:clean Searching for dependency: libsoup
> :debug:clean Found Dependency: receipt exists for libsoup
> :debug:clean Searching for dependency: mesa
> :debug:clean Found Dependency: receipt exists for mesa
> :debug:clean Searching for dependency: sqlite3
> :debug:clean Found Dependency: receipt exists for sqlite3
> :debug:clean Searching for dependency: webp
> :debug:clean Found Dependency: receipt exists for webp
> :debug:clean Searching for dependency: xorg-libXt
> :debug:clean Found Dependency: receipt exists for xorg-libXt
> :debug:clean Searching for dependency: gstreamer1-gst-plugins-base
> :debug:clean Found Dependency: receipt exists for gstreamer1-gst-plugins-
> base
> :msg:clean
> :debug:main Executing org.macports.main (webkit-gtk)
> :debug:main changing euid/egid - current euid: 0 - current egid: 0
> :debug:main egid changed to: 501
> :debug:main euid changed to: 503
> :debug:main Skipping completed org.macports.archivefetch (webkit-gtk)
> :debug:main Privilege de-escalation not attempted as not running as root.
> :debug:main Skipping completed org.macports.fetch (webkit-gtk)
> :debug:main Privilege de-escalation not attempted as not running as root.
> :debug:main Skipping completed org.macports.checksum (webkit-gtk)
> :debug:main Privilege de-escalation not attempted as not running as root.
> :debug:main Skipping completed org.macports.extract (webkit-gtk)
> :debug:main Privilege de-escalation not attempted as not running as root.
> :debug:main Skipping completed org.macports.patch (webkit-gtk)
> :debug:main Privilege de-escalation not attempted as not running as root.
> :debug:configure configure phase started at Thu Aug  1 21:53:33 EDT 2013
> :notice:configure --->  Configuring webkit-gtk
> :debug:configure Using compiler 'MacPorts Clang 3.3'
> :debug:configure Executing proc-pre-org.macports.configure-configure-0
> :debug:configure Executing org.macports.configure (webkit-gtk)
> :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_tarballs_ports_www_webkit-gtk/webkit-
> gtk/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib'
> CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.7' ACLOCAL='aclocal
> -I Source/autotools'
> :debug:configure Assembled command: 'cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_tarballs_ports_www_webkit-gtk/webkit-
> gtk/work/webkitgtk-2.0.4" && autoreconf --install -fvi'
> :debug:configure Executing command line:  cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_tarballs_ports_www_webkit-gtk/webkit-
> gtk/work/webkitgtk-2.0.4" && autoreconf --install -fvi
> :info:configure autoreconf: Entering directory `.'
> :info:configure autoreconf: configure.ac: not using Gettext
> :info:configure autoreconf: running: aclocal -I Source/autotools --force
> :info:configure autoreconf: configure.ac: tracing
> :info:configure autoreconf: running: glibtoolize --copy --force
> :info:configure glibtoolize: putting auxiliary files in
> AC_CONFIG_AUX_DIR, `Source/autotools'.
> :info:configure glibtoolize: copying file `Source/autotools/ltmain.sh'
> :info:configure glibtoolize: putting macros in AC_CONFIG_MACRO_DIR,
> `Source/autotools'.
> :info:configure glibtoolize: copying file `Source/autotools/libtool.m4'
> :info:configure glibtoolize: copying file `Source/autotools/ltoptions.m4'
> :info:configure glibtoolize: copying file `Source/autotools/ltsugar.m4'
> :info:configure glibtoolize: copying file `Source/autotools/ltversion.m4'
> :info:configure glibtoolize: copying file
> `Source/autotools/lt~obsolete.m4'
> :info:configure glibtoolize: Remember to add `LT_INIT' to configure.ac.
> :info:configure glibtoolize: Consider adding `-I Source/autotools' to
> ACLOCAL_AMFLAGS in Makefile.am.
> :info:configure autoreconf: running: /opt/local/bin/autoconf --force
> :info:configure autoreconf: running: /opt/local/bin/autoheader --force
> :info:configure autoreconf: running: automake --add-missing --copy
> --force-missing
> :info:configure autoreconf: Leaving directory `.'
> :debug:configure Environment: CPATH='/opt/local/include' CFLAGS='-pipe
> -Os -arch x86_64' CPPFLAGS='-DGTEST_USE_OWN_TR1_TUPLE=1' CXXFLAGS='-pipe
> -Os -Wno-c++11-extensions -arch x86_64' LIBRARY_PATH='/opt/local/lib'
> MACOSX_DEPLOYMENT_TARGET='10.7' CXX='/opt/local/bin/clang++-mp-3.3'
> CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_tarballs_ports_www_webkit-gtk/webkit-
> gtk/work/.CC_PRINT_OPTIONS' F90FLAGS='-pipe -Os -m64'
> LDFLAGS='-L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64'
> OBJC='/opt/local/bin/clang-mp-3.3' FCFLAGS='-pipe -Os -m64'
> INSTALL='/usr/bin/install -c' PYTHON='/usr/bin/python' OBJCFLAGS='-pipe
> -Os -arch x86_64' FFLAGS='-pipe -Os -m64' CC_PRINT_OPTIONS='YES'
> CC='/opt/local/bin/clang-mp-3.3'
> :debug:configure Assembled command: 'cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_tarballs_ports_www_webkit-gtk/webkit-
> gtk/work/webkitgtk-2.0.4" && ./configure --prefix=/opt/local --with-
> gtk=2.0 --disable-webkit2 --enable-introspection --enable-svg --enable-
> geolocation --enable-webgl --enable-video'
> :debug:configure Executing command line:  cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_tarballs_ports_www_webkit-gtk/webkit-
> gtk/work/webkitgtk-2.0.4" && ./configure --prefix=/opt/local --with-
> gtk=2.0 --disable-webkit2 --enable-introspection --enable-svg --enable-
> geolocation --enable-webgl --enable-video
> :info:configure checking build system type... x86_64-apple-darwin11.4.2
> :info:configure checking host system type... x86_64-apple-darwin11.4.2
> :info:configure checking for native Win32... no
> :info:configure checking for perl... /opt/local/bin/perl
> :info:configure checking for python... /usr/bin/python
> :info:configure checking for ruby... /opt/local/bin/ruby
> :info:configure checking for bison... /opt/local/bin/bison
> :info:configure checking for mv... /bin/mv
> :info:configure checking for gperf... /opt/local/bin/gperf
> :info:configure checking for flex... /opt/local/bin/flex
> :info:configure checking for gawk... gawk
> :info:configure checking for gcc... /opt/local/bin/clang-mp-3.3
> :info:configure checking whether the C compiler works... yes
> :info:configure checking for C compiler default output file name... a.out
> :info:configure checking for suffix of executables...
> :info:configure checking whether we are cross compiling... no
> :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 /opt/local/bin/clang-mp-3.3 accepts
> -g... yes
> :info:configure checking for /opt/local/bin/clang-mp-3.3 option to accept
> ISO C89... none needed
> :info:configure checking whether we are using the GNU C++ compiler... yes
> :info:configure checking whether /opt/local/bin/clang++-mp-3.3 accepts
> -g... yes
> :info:configure checking for a BSD-compatible install... /usr/bin/install
> -c
> :info:configure checking for special C compiler options needed for large
> files... no
> :info:configure checking for _FILE_OFFSET_BITS value needed for large
> files... no
> :info:configure checking for an ANSI C-conforming const... yes
> :info:configure checking for inline... inline
> :info:configure checking for working volatile... yes
> :info:configure checking how to run the C preprocessor... /opt/local/bin
> /clang-mp-3.3 -E
> :info:configure checking for grep that handles long lines and -e...
> /usr/bin/grep
> :info:configure checking for egrep... /usr/bin/grep -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 for stdbool.h that conforms to C99... yes
> :info:configure checking for _Bool... yes
> :info:configure checking for bash... /bin/bash
> :info:configure checking if dolt supports this host... no, falling back
> to libtool
> :info:configure checking how to print strings... printf
> :info:configure checking for a sed that does not truncate output...
> /opt/local/bin/gsed
> :info:configure checking for fgrep... /usr/bin/grep -F
> :info:configure checking for ld used by /opt/local/bin/clang-mp-3.3...
> /opt/local/libexec/llvm-3.3/bin/ld
> :info:configure checking if the linker
> (/opt/local/libexec/llvm-3.3/bin/ld) is GNU ld... no
> :info:configure checking for BSD- or MS-compatible name lister (nm)...
> /opt/local/bin/nm
> :info:configure checking the name lister (/opt/local/bin/nm) interface...
> BSD nm
> :info:configure checking whether ln -s works... yes
> :info:configure checking the maximum length of command line arguments...
> 196608
> :info:configure checking whether the shell understands some XSI
> constructs... yes
> :info:configure checking whether the shell understands "+="... yes
> :info:configure checking how to convert x86_64-apple-darwin11.4.2 file
> names to x86_64-apple-darwin11.4.2 format... func_convert_file_noop
> :info:configure checking how to convert x86_64-apple-darwin11.4.2 file
> names to toolchain format... func_convert_file_noop
> :info:configure checking for /opt/local/libexec/llvm-3.3/bin/ld option to
> reload object files... -r
> :info:configure checking for objdump... objdump
> :info:configure checking how to recognize dependent libraries... pass_all
> :info:configure checking for dlltool... dlltool
> :info:configure checking how to associate runtime and link libraries...
> printf %s\n
> :info:configure checking for ar... ar
> :info:configure checking for archiver @FILE support... no
> :info:configure checking for strip... strip
> :info:configure checking for ranlib... ranlib
> :info:configure checking command to parse /opt/local/bin/nm output from
> /opt/local/bin/clang-mp-3.3 object... ok
> :info:configure checking for sysroot... no
> :info:configure checking for mt... no
> :info:configure checking if : is a manifest tool... no
> :info:configure checking for dsymutil... dsymutil
> :info:configure checking for nmedit... nmedit
> :info:configure checking for lipo... lipo
> :info:configure checking for otool... otool
> :info:configure checking for otool64... no
> :info:configure checking for -single_module linker flag... yes
> :info:configure checking for -exported_symbols_list linker flag... yes
> :info:configure checking for -force_load linker flag... yes
> :info:configure checking for dlfcn.h... yes
> :info:configure checking for objdir... .libs
> :info:configure checking if /opt/local/bin/clang-mp-3.3 supports -fno-
> rtti -fno-exceptions... yes
> :info:configure checking for /opt/local/bin/clang-mp-3.3 option to
> produce PIC... -fno-common -DPIC
> :info:configure checking if /opt/local/bin/clang-mp-3.3 PIC flag -fno-
> common -DPIC works... yes
> :info:configure checking if /opt/local/bin/clang-mp-3.3 static flag
> -static works... no
> :info:configure checking if /opt/local/bin/clang-mp-3.3 supports -c -o
> file.o... yes
> :info:configure checking if /opt/local/bin/clang-mp-3.3 supports -c -o
> file.o... (cached) yes
> :info:configure checking whether the /opt/local/bin/clang-mp-3.3 linker
> (/opt/local/libexec/llvm-3.3/bin/ld) supports shared libraries... yes
> :info:configure checking dynamic linker characteristics... darwin11.4.2
> 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... no
> :info:configure checking how to run the C++ preprocessor...
> /opt/local/bin/clang++-mp-3.3 -E
> :info:configure checking for ld used by /opt/local/bin/clang++-mp-3.3...
> /opt/local/libexec/llvm-3.3/bin/ld
> :info:configure checking if the linker
> (/opt/local/libexec/llvm-3.3/bin/ld) is GNU ld... no
> :info:configure checking whether the /opt/local/bin/clang++-mp-3.3 linker
> (/opt/local/libexec/llvm-3.3/bin/ld) supports shared libraries... yes
> :info:configure checking for /opt/local/bin/clang++-mp-3.3 option to
> produce PIC... -fno-common -DPIC
> :info:configure checking if /opt/local/bin/clang++-mp-3.3 PIC flag -fno-
> common -DPIC works... yes
> :info:configure checking if /opt/local/bin/clang++-mp-3.3 static flag
> -static works... no
> :info:configure checking if /opt/local/bin/clang++-mp-3.3 supports -c -o
> file.o... yes
> :info:configure checking if /opt/local/bin/clang++-mp-3.3 supports -c -o
> file.o... (cached) yes
> :info:configure checking whether the /opt/local/bin/clang++-mp-3.3 linker
> (/opt/local/libexec/llvm-3.3/bin/ld) supports shared libraries... yes
> :info:configure checking dynamic linker characteristics... darwin11.4.2
> dyld
> :info:configure checking how to hardcode library paths into programs...
> immediate
> :info:configure checking whether to build WebKit1... yes
> :info:configure checking whether to build WebKit2... no
> :info:configure checking whether to do a debug build... no
> :info:configure checking whether to enable optimized builds... yes
> :info:configure checking the GTK+ version to use... 2.0
> :info:configure checking the target windowing system... x11
> :info:configure checking whether to enable spellcheck support... yes
> :info:configure checking whether to enable credential storage... yes
> :info:configure checking whether to enable Gamepad support... no
> :info:configure checking whether to enable HTML5 video support... yes
> :info:configure checking whether to enable XSLT support... yes
> :info:configure checking whether to enable geolocation support... yes
> :info:configure checking whether to enable SVG support... yes
> :info:configure checking whether to enable support for SVG fonts... yes
> :info:configure checking whether to enable Web Audio support... no
> :info:configure checking whether to enable code coverage support... no
> :info:configure checking whether to enable optimized memory allocator...
> yes
> :info:configure checking whether to enable debug symbols... no
> :info:configure checking which GPU acceleration backend to use... auto
> :info:configure checking whether to enable WebGL support... yes
> :info:configure checking whether to enable accelerated compositing
> support... auto
> :info:configure checking whether to enable JIT compilation...
> :info:configure checking whether to enable opcode stats... no
> :info:configure checking whether to enable GObject introspection
> support... yes
> :info:configure checking for pkg-config... /opt/local/bin/pkg-config
> :info:configure checking pkg-config is at least version 0.9.0... yes
> :info:configure checking for jpeg_destroy_decompress in -ljpeg... yes
> :info:configure checking for jpeglib... yes
> :info:configure checking for libpng... yes
> :info:configure checking webp/decode.h usability... yes
> :info:configure checking webp/decode.h presence... yes
> :info:configure checking for webp/decode.h... yes
> :info:configure checking for pkg-config... (cached) /opt/local/bin/pkg-
> config
> :info:configure checking pkg-config is at least version 0.16... yes
> :info:configure checking for GLIB - version >= 2.36.0... no
> :info:configure *** Could not run GLIB test program, checking why...
> :info:configure *** The test program failed to compile or link. See the
> file config.log for the
> :info:configure *** exact error that occured. This usually means GLIB is
> incorrectly installed.
> :info:configure configure: error: You need the GLib dev tools in your
> path
> :info:configure Command failed:  cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_tarballs_ports_www_webkit-gtk/webkit-
> gtk/work/webkitgtk-2.0.4" && ./configure --prefix=/opt/local --with-
> gtk=2.0 --disable-webkit2 --enable-introspection --enable-svg --enable-
> geolocation --enable-webgl --enable-video
> :info:configure Exit code: 1
> :error:configure Failed to configure webkit-gtk, consult
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_tarballs_ports_www_webkit-gtk/webkit-
> gtk/work/webkitgtk-2.0.4/config.log
> :error:configure org.macports.configure for port webkit-gtk returned:
> configure failure: command execution failed
> :debug:configure Error code: NONE
> :debug:configure Backtrace: configure failure: command execution failed
>     while executing
> "$procedure $targetname"
> :info:configure Warning: targets not executed for webkit-gtk:
> org.macports.install org.macports.configure org.macports.build
> org.macports.destroot
> :notice:configure Please see the log file for port webkit-gtk for
> details:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
> .org_release_tarballs_ports_www_webkit-gtk/webkit-gtk/main.log

New description:

 It is saying that I don't have glib in my path but if I try to install
 glib2-devel, I get an error that it is conflicting with existing glib2
 versions which I don't want to unintstall in case it is used by another
 program or library.

 Thanks

 [Deleted inline log, which was incomplete anyway. —larryv]

--

Comment:

 The log you pasted was incomplete. Please
 [http://guide.macports.org/#project.tickets.prerequisites clean and try
 again], and //attach// the complete main.log if it fails.

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


More information about the macports-tickets mailing list