From owner-freebsd-gnome@FreeBSD.ORG Sun Jan 18 16:50:15 2009 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2EA5710656CD for ; Sun, 18 Jan 2009 16:50:15 +0000 (UTC) (envelope-from CQG00620@nifty.ne.jp) Received: from mail.asahi-net.or.jp (mail2.asahi-net.or.jp [202.224.39.198]) by mx1.freebsd.org (Postfix) with ESMTP id D2E338FC08 for ; Sun, 18 Jan 2009 16:50:14 +0000 (UTC) (envelope-from CQG00620@nifty.ne.jp) Received: from asahi-net.jp (h204079.dynamic.ppp.asahi-net.or.jp [61.114.204.79]) by mail.asahi-net.or.jp (Postfix) with ESMTP id 65F696A859; Mon, 19 Jan 2009 01:29:42 +0900 (JST) Date: Mon, 19 Jan 2009 01:29:42 +0900 From: WATANABE Kazuhiro To: freebsd-gnome@freebsd.org In-Reply-To: <497090BD.6020701@icyb.net.ua> References: <49707B7B.8040704@janh.de> <497090BD.6020701@icyb.net.ua> User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.7 Emacs/21.3 (i386--freebsd) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Message-Id: <20090118162942.65F696A859@mail.asahi-net.or.jp> Cc: Jan Henrik Sylvester , Andriy Gapon Subject: Re: webkit-gtk2 pkg-plist X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Jan 2009 16:50:15 -0000 At Fri, 16 Jan 2009 15:50:53 +0200, Andriy Gapon wrote: > on 16/01/2009 14:20 Jan Henrik Sylvester said the following: > > I tried 'pkg_create -b webkit-gtk2-1.0.1_4', but it could not find > > lib/libwebkit-1.0.a -- did my build fail or is pkg-plist wrong? > > I see the same - port build and installation appear to be successful, > but package creation fails with the above error. Hi. I have encountered the same problem, too. When I build the latest webkit-gtk2 port on a 7.1-RELEASE-p2 system to which GNU bash has been installed, libwebkit-1.0.a is not compiled and installed. If I delete bash from the system, the library is compiled and installed successfully. * 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 * 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 If bash is installed to the system, this port uses "doltlibtool" 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? --- WATANABE Kazuhiro (CQG00620@nifty.ne.jp)