From owner-freebsd-gnome@FreeBSD.ORG Thu Jan 22 00:26:51 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 DBCA51065670 for ; Thu, 22 Jan 2009 00:26:50 +0000 (UTC) (envelope-from mezz7@cox.net) Received: from eastrmmtao105.cox.net (eastrmmtao105.cox.net [68.230.240.47]) by mx1.freebsd.org (Postfix) with ESMTP id 99DC78FC1F for ; Thu, 22 Jan 2009 00:26:50 +0000 (UTC) (envelope-from mezz7@cox.net) Received: from eastrmimpo03.cox.net ([68.1.16.126]) by eastrmmtao105.cox.net (InterMail vM.7.08.02.01 201-2186-121-102-20070209) with ESMTP id <20090122002651.JZUJ4139.eastrmmtao105.cox.net@eastrmimpo03.cox.net>; Wed, 21 Jan 2009 19:26:51 -0500 Received: from localhost ([68.103.37.153]) by eastrmimpo03.cox.net with bizsmtp id 6QSp1b0063JFCbG02QSpkC; Wed, 21 Jan 2009 19:26:49 -0500 X-Authority-Analysis: v=1.0 c=1 a=YEB5RgzmAAAA:8 a=6I5d2MoRAAAA:8 a=CGiGivZRzBGwz9-mzuAA:9 a=bdXnfwdC8l4p6uT3rZYA:7 a=TN2--FFudt2MFcZWR0UUKU6QAW0A:4 a=4vB-4DCPJfMA:10 a=SV7veod9ZcQA:10 a=LY0hPdMaydYA:10 X-CM-Score: 0.00 Date: Wed, 21 Jan 2009 18:26:42 -0600 To: "WATANABE Kazuhiro" From: "Jeremy Messenger" Content-Type: text/plain; format=flowed; delsp=yes; charset=utf-8 MIME-Version: 1.0 References: <49707B7B.8040704@janh.de> <497090BD.6020701@icyb.net.ua> <20090118162942.65F696A859@mail.asahi-net.or.jp> Content-Transfer-Encoding: 7bit Message-ID: In-Reply-To: <20090118162942.65F696A859@mail.asahi-net.or.jp> User-Agent: Opera Mail/9.63 (Linux) Cc: Jan Henrik Sylvester , Andriy Gapon , freebsd-gnome@freebsd.org 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 00:26:51 -0000 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 > --- > WATANABE Kazuhiro (CQG00620@nifty.ne.jp) -- mezz7@cox.net - mezz@FreeBSD.org FreeBSD GNOME Team http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org