Date: Fri, 23 Jan 2009 00:28:06 +0900 From: WATANABE Kazuhiro <CQG00620@nifty.ne.jp> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/130891: www/webkit-gtk2: [patch] doesn't compile/install libwebkit-1.0.a Message-ID: <20090122152806.A8B0A6D1BB@mail.asahi-net.or.jp> Resent-Message-ID: <200901221550.n0MFo4SZ083711@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 130891 >Category: ports >Synopsis: www/webkit-gtk2: [patch] doesn't compile/install libwebkit-1.0.a >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jan 22 15:50:03 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Watanabe Kazuhiro >Release: FreeBSD 7.1-RELEASE-p2 i386 >Organization: >Environment: System: FreeBSD capricorn.sign.local 7.1-RELEASE-p2 FreeBSD 7.1-RELEAS E-p2 #2: Wed Jan 14 18:56:52 JST 2009 nabe@capricorn:/FreeBSD/obj/i386 /RELENG_7_1/FreeBSD/RELENG_7_1/src/sys/VASH i386 capricorn# cd /usr/ports/www/webkit-gtk2/ capricorn# make pretty-print-build-depends-list This port requires package(s) "ORBit2-2.14.16 atk-1.24.0 autoconf-2.62 autoconf-wrapper-20071109 automake-1.10.1 automake-wrapper-20071109 a vahi-app-0.6.24 bison-2.3_4,1 bitstream-vera-1.10_4 cairo-1.8.6,1 comp ositeproto-0.4 consolekit-0.3.0_3 curl-7.18.0 damageproto-1.1.0_2 dbus -1.2.4.4 dbus-glib-0.78 dmidecode-2.10 encodings-1.0.2,1 expat-2.0.1 f ixesproto-4.0 font-bh-ttf-1.0.0 font-misc-ethiopic-1.0.0 font-misc-mel tho-1.0.0_1 font-util-1.0.1 fontconfig-2.6.0,1 freetype2-2.3.7 gamin-0 .1.10 gconf2-2.24.0 gdbm-1.8.3_3 gettext-0.17_1 gio-fam-backend-2.18.4 glib-2.18.4 gmake-3.81_3 gnome-mime-data-2.18.0_3 gnome-vfs-2.24.0 gn ome_subr-1.0 gnomehier-2.3_11 gstreamer-0.10.21 gstreamer-plugins-0.10 .21,3 gstreamer-plugins-gnomevfs-0.10.21,3 gtk-2.14.7 hal-0.5.11_11 hi color-icon-theme-0.10_2 icu-3.8.1_1 inputproto-1.4.2.1 intltool-0.40.5 jasper-1.900.1_6 jpeg-6b_7 kbproto-1.0.3 libICE-1.0.4_1,1 libIDL-0.8. 12 libSM-1.0.3_1,1 libX11-1.1.3_1,1 libXau-1.0.3_2 libXcomposite-0.4.0 ,1 libXcursor-1.1.9_1 libXdamage-1.1.1 libXdmcp-1.0.2_1 libXext-1.0.3, 1 libXfixes-4.0.3_1 libXft-2.1.13 libXi-1.1.3,1 libXinerama-1.0.2,1 li bXrandr-1.2.2_1 libXrender-0.9.4_1 libXt-1.0.5_1 libXv-1.0.3_1,1 libda emon-0.12 libfontenc-1.0.4 libiconv-1.11_1 liboil-0.3.15 libpthread-st ubs-0.1 libtool-1.5.26 libvolume_id-0.81.0 libxcb-1.1.90.1 libxml2-2.7 .2_1 libxslt-1.1.24_2 m4-1.4.11,1 mkfontdir-1.0.3_1 mkfontscale-1.0.3 p5-XML-Parser-2.36 pango-1.22.4 pciids-20081012 pcre-7.8 perl-5.8.9 pi xman-0.12.0 pkg-config-0.23_1 png-1.2.34 policykit-0.9_2 popt-1.7_5 py thon25-2.5.2_3 randrproto-1.2.1 renderproto-0.9.3 samba-libsmbclient-3 .0.32_3 shared-mime-info-0.51 sqlite3-3.6.4 tiff-3.8.2_2 videoproto-2. 2.2 xcb-proto-1.2 xcb-util-0.3.0 xextproto-7.0.2 xineramaproto-1.1.2 x org-fonts-truetype-7.3 xproto-7.0.10_1" to build. capricorn# >Description: When I build the latest www/webkit-gtk2 port(*) on a 7.1-RELEASE-p2 system to which GNU bash has been installed, libwebkit-1.0.a which is listed in the pkg-plist is not compiled and installed. Some people reported the same problem: http://lists.freebsd.org/pipermail/freebsd-gnome/2009-January/thread.html#21453 If I delete bash from the system, the library is compiled and installed successfully. (*) http://live.gnome.org/WebKitGtk >How-To-Repeat: (1) With bash capricorn# pkg_info -W /usr/local/bin/bash /usr/local/bin/bash was installed by package bash-3.2.48_1 capricorn# make BATCH=yes install deinstall ===> Vulnerability check disabled, database not found ===> Extracting for webkit-gtk2-1.0.1_4 ... ===> Configuring for webkit-gtk2-1.0.1_4 ... checking for bash... /usr/local/bin/bash checking if dolt supports this host... yes, replacing libtool ... ===> Installing for webkit-gtk2-1.0.1_4 ... ===> Registering installation for webkit-gtk2-1.0.1_4 ===> Deinstalling for www/webkit-gtk2 ===> Deinstalling webkit-gtk2-1.0.1_4 pkg_delete: file '/usr/local/lib/libwebkit-1.0.a' doesn't exist pkg_delete: couldn't entirely delete package (perhaps the packing list is incorrectly specified?) capricorn# The complete log is here: http://homepage2.nifty.com/dumb_show/unix/work/webkit-gtk2_with_bash.log.gz (2) Without bash capricorn# pkg_info -W /usr/local/bin/bash pkg_info: /usr/local/bin/bash: file cannot be found capricorn# make BATCH=yes install deinstall ===> Vulnerability check disabled, database not found ===> Extracting for webkit-gtk2-1.0.1_4 ... ===> Configuring for webkit-gtk2-1.0.1_4 ... checking for bash... no checking if dolt supports this host... no, falling back to libtool ... ===> Installing for webkit-gtk2-1.0.1_4 ... ===> Registering installation for webkit-gtk2-1.0.1_4 ===> Deinstalling for www/webkit-gtk2 ===> Deinstalling webkit-gtk2-1.0.1_4 capricorn# The complete log is here: http://homepage2.nifty.com/dumb_show/unix/work/webkit-gtk2_without_bash.log.gz >Fix: If bash is installed to the system, this port uses "doltlibtool" (http://dolt.freedesktop.org/) instead of "libtool". To solve the problem, I have to edit the Makefile. --- Makefile.orig 2009-01-10 14:21:47.000000000 +0900 +++ Makefile 2009-01-18 17:36:09.000000000 +0900 @@ -29,7 +29,8 @@ USE_LDCONFIG= yes USE_AUTOTOOLS= autoconf:262 automake:110 libtool:15 CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ - LDFLAGS="-L${LOCALBASE}/lib" + LDFLAGS="-L${LOCALBASE}/lib" \ + ac_cv_path_DOLT_BASH="" CONFIGURE_ARGS= --with-webkit-target=x11 \ --enable-icon-database \ --enable-svg \ The compilation log is here: http://homepage2.nifty.com/dumb_show/unix/work/webkit-gtk2_with_bash_fix.log.gz I have some doubts. (1) When "doltlibtool" is used, a static library is not compiled. Is this expected (normal) behavior? (2) Is this the best workaround? >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090122152806.A8B0A6D1BB>