Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#35927 closed defect (fixed)

webkit-gtk @1.8.2 cannot be installed

Reported by: edhem.bajric@… Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc: dbevans (David B. Evans)
Port: webkit-gtk

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

Originally I wanted to install gimp2 @2.8.0, requiring webkit-gtk. By installing the latter on my macbook 2,1 (Intel core 2 duo @ 2 GHz, 3 GB RAM), the following error occured (See the last lines; the log-file is shown hereafter):

Last login: Thu Aug 30 16:13:00 on console
noname:~ Edo$ sudo port install -s gimp2
Password:
--->  Computing dependencies for gimp2
--->  Dependencies to be installed: aalib gegl babl librsvg libcroco libgsf gconf orbit2 policykit eggdbus gnome-vfs desktop-file-utils gnome-mime-data libbonobo w3m boehmgc lensfun libopenraw libspiro gimp-help-en coreutils pngcrush libexif libgnomeui audiofile libbonoboui libgnome esound libgnomecanvas libgnome-keyring gnome-keyring libwmf poppler poppler-data webkit-gtk geoclue gst-plugins-base gstreamer gzip libsoup glib-networking libproxy mesa xorg-dri2proto xorg-glproto
[…]
--->  Fetching distfiles for webkit-gtk
--->  Attempting to fetch webkit-1.8.2.tar.xz from http://lil.fr.distfiles.macports.org/webkit-gtk
--->  Verifying checksum(s) for webkit-gtk
--->  Extracting webkit-gtk
--->  Applying patches to webkit-gtk
--->  Configuring webkit-gtk
--->  Building webkit-gtk
Error: org.macports.build for port webkit-gtk returned: command execution failed
Error: Failed to install webkit-gtk
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
Error: The following dependencies were not installed: webkit-gtk
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port gimp2 failed

The logfile main.log:

version:1
:debug:clean Attempting ln -sf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_webkit-gtk/webkit-gtk/work /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/www/webkit-gtk/work
:debug:clean changing euid/egid - current euid: 0 - current egid: 0
:debug:clean egid changed to: 501
:debug:clean euid changed to: 502
:debug:main Executing org.macports.main (webkit-gtk)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:archivefetch archivefetch phase started at Thu Aug 30 17:21:35 CEST 2012
:debug:archivefetch Executing org.macports.archivefetch (webkit-gtk)
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:fetch fetch phase started at Thu Aug 30 17:21:35 CEST 2012
:notice:fetch --->  Fetching distfiles for webkit-gtk
:debug:fetch Can't run fetch on this port without elevated privileges. Escalating privileges back to root.
:debug:fetch euid changed to: 0. egid changed to: 0.
:debug:fetch changing euid/egid - current euid: 0 - current egid: 0
:debug:fetch egid changed to: 501
:debug:fetch euid changed to: 502
:debug:fetch Executing org.macports.fetch (webkit-gtk)
:info:fetch --->  webkit-1.8.2.tar.xz doesn't seem to exist in /opt/local/var/macports/distfiles/webkit-gtk
:notice:fetch --->  Attempting to fetch webkit-1.8.2.tar.xz from http://lil.fr.distfiles.macports.org/webkit-gtk
:debug:fetch Privilege de-escalation not attempted as not running as root.
:debug:checksum checksum phase started at Thu Aug 30 17:21:46 CEST 2012
:notice:checksum --->  Verifying checksum(s) for webkit-gtk
:debug:checksum Executing org.macports.checksum (webkit-gtk)
:info:checksum --->  Checksumming webkit-1.8.2.tar.xz
:debug:checksum Correct (sha1) checksum for webkit-1.8.2.tar.xz
:debug:checksum Correct (rmd160) checksum for webkit-1.8.2.tar.xz
:debug:checksum Correct (sha256) checksum for webkit-1.8.2.tar.xz
:debug:checksum Privilege de-escalation not attempted as not running as root.
:debug:extract extract phase started at Thu Aug 30 17:21:47 CEST 2012
:notice:extract --->  Extracting webkit-gtk
:debug:extract setting option extract.cmd to /opt/local/bin/xz
:debug:extract Executing org.macports.extract (webkit-gtk)
:info:extract --->  Extracting webkit-1.8.2.tar.xz
:debug:extract setting option extract.args to '/opt/local/var/macports/distfiles/webkit-gtk/webkit-1.8.2.tar.xz'
: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_tarballs_ports_www_webkit-gtk/webkit-gtk/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_tarballs_ports_www_webkit-gtk/webkit-gtk/work" && /opt/local/bin/xz -dc '/opt/local/var/macports/distfiles/webkit-gtk/webkit-1.8.2.tar.xz' | /usr/bin/gnutar --no-same-owner -xf -'
:debug:extract 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" && /opt/local/bin/xz -dc '/opt/local/var/macports/distfiles/webkit-gtk/webkit-1.8.2.tar.xz' | /usr/bin/gnutar --no-same-owner -xf - 
:debug:extract euid/egid changed to: 0/0
:debug:extract chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_webkit-gtk/webkit-gtk/work to macports
:debug:extract euid/egid changed to: 502/501
:debug:extract Privilege de-escalation not attempted as not running as root.
:debug:patch patch phase started at Thu Aug 30 17:21:54 CEST 2012
:debug:patch Executing org.macports.patch (webkit-gtk)
:notice:patch --->  Applying patches to webkit-gtk
:info:patch --->  Applying case-insensitive.patch
: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_tarballs_ports_www_webkit-gtk/webkit-gtk/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_tarballs_ports_www_webkit-gtk/webkit-gtk/work/webkit-1.8.2" && /usr/bin/patch -p0'
:debug:patch 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/webkit-1.8.2" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/www/webkit-gtk/files/case-insensitive.patch'
:info:patch patching file Source/WebCore/platform/text/TextCodecUTF8.h
:info:patch --->  Applying our-icu.patch
: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_tarballs_ports_www_webkit-gtk/webkit-gtk/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_tarballs_ports_www_webkit-gtk/webkit-gtk/work/webkit-1.8.2" && /usr/bin/patch -p0'
:debug:patch 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/webkit-1.8.2" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/www/webkit-gtk/files/our-icu.patch'
:info:patch patching file configure.ac
:info:patch Hunk #1 succeeded at 414 (offset 5 lines).
:info:patch --->  Applying xrender-check.patch
: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_tarballs_ports_www_webkit-gtk/webkit-gtk/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_tarballs_ports_www_webkit-gtk/webkit-gtk/work/webkit-1.8.2" && /usr/bin/patch -p0'
:debug:patch 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/webkit-1.8.2" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/www/webkit-gtk/files/xrender-check.patch'
:info:patch patching file configure.ac
:info:patch Hunk #1 succeeded at 1172 (offset 152 lines).
:info:patch --->  Applying quartz.patch
: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_tarballs_ports_www_webkit-gtk/webkit-gtk/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_tarballs_ports_www_webkit-gtk/webkit-gtk/work/webkit-1.8.2" && /usr/bin/patch -p0'
:debug:patch 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/webkit-1.8.2" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/www/webkit-gtk/files/quartz.patch'
:info:patch patching file Source/WebCore/GNUmakefile.list.am
:info:patch --->  Applying bison-2.6.patch
: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_tarballs_ports_www_webkit-gtk/webkit-gtk/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_tarballs_ports_www_webkit-gtk/webkit-gtk/work/webkit-1.8.2" && /usr/bin/patch -p0'
:debug:patch 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/webkit-1.8.2" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/www/webkit-gtk/files/bison-2.6.patch'
:info:patch patching file Source/WebCore/css/CSSGrammar.y
:info:patch patching file Source/WebCore/css/CSSParser.cpp
:info:patch patching file Source/WebCore/xml/XPathGrammar.y
:info:patch patching file Source/WebCore/xml/XPathParser.cpp
:debug:patch Executing proc-post-org.macports.patch-patch-0
:debug:patch Executing reinplace: /usr/bin/sed {s:echo -n:/bin/echo -n:g} < /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_webkit-gtk/webkit-gtk/work/webkit-1.8.2/Source/WebCore/GNUmakefile.am >@ file12
:debug:patch euid/egid changed to: 0/0
:debug:patch chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_webkit-gtk/webkit-gtk/work/webkit-1.8.2/Source/WebCore/GNUmakefile.am to macports
:debug:patch euid/egid changed to: 502/501
:debug:patch euid/egid changed to: 0/0
:debug:patch setting attributes on /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_webkit-gtk/webkit-gtk/work/webkit-1.8.2/Source/WebCore/GNUmakefile.am
:debug:patch euid/egid changed to: 502/501
:debug:patch Privilege de-escalation not attempted as not running as root.
:debug:configure configure phase started at Thu Aug 30 17:21:54 CEST 2012
:notice:configure --->  Configuring webkit-gtk
:debug:configure Using compiler 'Mac OS X gcc 4.2'
: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.6' 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/webkit-1.8.2" && 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/webkit-1.8.2" && 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: 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 -O2 -arch x86_64' 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_tarballs_ports_www_webkit-gtk/webkit-gtk/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_tarballs_ports_www_webkit-gtk/webkit-gtk/work/webkit-1.8.2" && ./configure --prefix=/opt/local --with-gtk=2.0 --disable-introspection --enable-link-prefetch --enable-image-resizer --enable-media-statistics --enable-media-stream --enable-svg --enable-geolocation --enable-webgl --enable-page-visibility-api --enable-datagrid --enable-mathml --enable-web-timing --enable-mhtml --enable-microdata --enable-mutation-observers --enable-video-track'
: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/webkit-1.8.2" && ./configure --prefix=/opt/local --with-gtk=2.0 --disable-introspection --enable-link-prefetch --enable-image-resizer --enable-media-statistics --enable-media-stream --enable-svg --enable-geolocation --enable-webgl --enable-page-visibility-api --enable-datagrid --enable-mathml --enable-web-timing --enable-mhtml --enable-microdata --enable-mutation-observers --enable-video-track 
[…]
:info:build ranlib: file: .libs/libWebCore.a(libWebCore_la-JSWebKitCSSFilterValue.o) has no symbols
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_webkit-gtk/webkit-gtk/work/webkit-1.8.2'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_webkit-gtk/webkit-gtk/work/webkit-1.8.2'
:info:build 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/webkit-1.8.2" && /usr/bin/make -j2 -w all 
:info:build Exit code: 2
:error:build org.macports.build for port webkit-gtk returned: command execution failed
:debug:build Error code: CHILDSTATUS 47885 2
:debug:build Backtrace: command execution failed
    while executing
"system -nice 0 $fullcmdstring"
    ("eval" body line 1)
    invoked from within
"eval system $notty $nice \$fullcmdstring"
    invoked from within
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: targets not executed for webkit-gtk: org.macports.activate org.macports.build org.macports.destroot org.macports.install
:error:build Failed to install webkit-gtk
:debug:build could not read "/opt/local/lib/pkgconfig/vg.pc": no such file or directory
    while executing
"::file type $file"
:notice:build 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

Attachments (4)

main.log (431.5 KB) - added by edhem.bajric@… 12 years ago.
main.2.log (406.6 KB) - added by Russell-Jones-OxPhys (Russell Jones) 12 years ago.
Full main.log for +universal build of webkit-gtk
DetailedMain.log (581.6 KB) - added by edhem.bajric@… 12 years ago.
DetailedOutput.txt (358.2 KB) - added by edhem.bajric@… 12 years ago.

Download all attachments as: .zip

Change History (13)

Changed 12 years ago by edhem.bajric@…

Attachment: main.log added

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

Cc: devans@… added
Description: modified (diff)
Owner: changed from macports-tickets@… to jeremyhu@…
Port: webkit-gtk added

I've fixed your WikiFormatting.

comment:2 Changed 12 years ago by jeremyhu (Jeremy Huddleston Sequoia)

please attach a full build log. run 'sudo port -v clean webkit-gtk' followed by 'sudo port -v install webkit-gtk' and attach your new main.log

Changed 12 years ago by Russell-Jones-OxPhys (Russell Jones)

Attachment: main.2.log added

Full main.log for +universal build of webkit-gtk

comment:3 Changed 12 years ago by Russell-Jones-OxPhys (Russell Jones)

I think I have the same problem, though the OP was not building +universal. I get a lot of link errors, though I get a lot more copies of the lines

:info:build libtool: link: warning: `-no-install' is ignored for x86_64-apple-darwin11.4.0
:info:build libtool: link: warning: assuming `-no-fast-install' instead

comment:4 Changed 12 years ago by Russell-Jones-OxPhys (Russell Jones)

Cleaned and rebuilt, and all was well.

comment:5 Changed 12 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: worksforme
Status: newclosed

alright then...

comment:6 in reply to:  5 Changed 12 years ago by edhem.bajric@…

Resolution: worksforme
Status: closedreopened

Replying to jeremyhu@…:

alright then...

Dear Sir

I followed your suggestions by the application of the following commands:

sudo port -v clean webkit-gtk sudo port -vs install webkit-gtk

Still, webkit-gtk cannot be installed. I try to attach the main.log-file and the standard verbose output of the process to this ticket, as soon as I've found out, how.

comment:7 Changed 12 years ago by edhem.bajric@…

I attach nw the two files. The main.log-file is named DetailedMain.log and the standard verbose output is stored into the file with the name DetailedOutput.txt

Yours sincerely and thanks a lot Edhem

Changed 12 years ago by edhem.bajric@…

Attachment: DetailedMain.log added

Changed 12 years ago by edhem.bajric@…

Attachment: DetailedOutput.txt added

comment:8 Changed 12 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: fixed
Status: reopenedclosed

Please 'port sync' first... you have an old version.

comment:9 in reply to:  8 Changed 12 years ago by edhem.bajric@…

Replying to jeremyhu@…:

Please 'port sync' first... you have an old version.

Dear all

I performed the following commands:

sudo port -yds sync sudo port -vds selfupdate sudo port -vs upgrade outdated sudo port install -s webkit-gtk sudo port install -s gimp2

I updated macports, its tree, the outdated packages and retried to install webkit-gtk and gimp2 - with success! Many thanks for your advice and support. Have a nice day!

Yours sincerely Ed

Note: See TracTickets for help on using tickets.