From owner-freebsd-gnome@FreeBSD.ORG Thu Jan 22 16:04:37 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 F2143106566C for ; Thu, 22 Jan 2009 16:04:37 +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 A2C628FC13 for ; Thu, 22 Jan 2009 16:04:37 +0000 (UTC) (envelope-from CQG00620@nifty.ne.jp) Received: from asahi-net.jp (l205136.dynamic.ppp.asahi-net.or.jp [218.219.205.136]) by mail.asahi-net.or.jp (Postfix) with ESMTP id 073646D1CB; Fri, 23 Jan 2009 01:04:35 +0900 (JST) Date: Fri, 23 Jan 2009 01:04:35 +0900 From: WATANABE Kazuhiro To: freebsd-gnome@freebsd.org In-Reply-To: References: <49707B7B.8040704@janh.de> <497090BD.6020701@icyb.net.ua> <20090118162942.65F696A859@mail.asahi-net.or.jp> 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: <20090122160436.073646D1CB@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: Thu, 22 Jan 2009 16:04:38 -0000 At Wed, 21 Jan 2009 18:26:42 -0600, Jeremy Messenger wrote: > On Sun, 18 Jan 2009 10:29:42 -0600, WATANABE Kazuhiro > wrote: > > > 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? > > I don't know anything with doltlibtool stuff. Even I don't understand why > someone create that. Can you submit it to PR that way we don't lose it? > Thanks for dig and patch! > > Cheers, > Mezz OK, I've done it: http://www.freebsd.org/cgi/query-pr.cgi?pr=130891 Best regards, --- WATANABE Kazuhiro (CQG00620@nifty.ne.jp)