From owner-freebsd-ports@FreeBSD.ORG Wed Jul 17 21:49:43 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 2B1B9330; Wed, 17 Jul 2013 21:49:43 +0000 (UTC) (envelope-from jlh@FreeBSD.org) Received: from caravan.chchile.org (caravan.chchile.org [178.32.125.136]) by mx1.freebsd.org (Postfix) with ESMTP id B7D45DA2; Wed, 17 Jul 2013 21:49:42 +0000 (UTC) Received: by caravan.chchile.org (Postfix, from userid 1000) id D65C7BDD1E; Wed, 17 Jul 2013 21:49:40 +0000 (UTC) Date: Wed, 17 Jul 2013 23:49:40 +0200 From: Jeremie Le Hen To: Scot Hetzel Subject: Re: converters/php5-mbstring: "mbstring.so: No such file or directory" Message-ID: <20130717214940.GA91125@caravan.chchile.org> References: <20130715220719.GD4484@caravan.chchile.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Jeremie Le Hen , freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jul 2013 21:49:43 -0000 On Tue, Jul 16, 2013 at 12:19:05AM -0500, Scot Hetzel wrote: > On Mon, Jul 15, 2013 at 5:07 PM, Jeremie Le Hen wrote: > > Hi, > > > > Please Cc: me when replying as I'm not subscribed to this list. Thanks. > > > > > > I've been bit by this error for weeks. This runs in an empty not-so-recent > > stable/9 jail. The ports tree is clean (no work/ dir). > > > > # cat /etc/make.conf > > WITH_PKGNG=yes > > roundcube_SET= SQLITE SSL > > roundcube_UNSET= MYSQL > > # pkg info > > pkg-1.1.4 New generation package manager > > > > > > And the typical error message: > > > > ===> Returning to build of php5-mbstring-5.4.16 > > ===> Generating temporary packing list > > ===> Checking if converters/php5-mbstring already installed > > install: /usr/ports/converters/php5-mbstring/work/php-5.4.16/ext/mbstring/modules/mbstring.so: No such file or directory > > *** [do-install] Error code 71 > > > > Log is available here (I went back as far as I could in my back buffer): > > http://people.chchile.org/~jlh/mbstring.so_not_found.txt > > > > Something looks strange in this log: > > ===> Returning to build of roundcube-0.9.2,1 > ===> roundcube-0.9.2,1 depends on file: > /usr/local/lib/php/20100525/mbstring.so - not found > ===> Verifying install for /usr/local/lib/php/20100525/mbstring.so > in /usr/ports/converters/php5-mbstring > ===> Installing for php5-mbstring-5.4.16 > ===> php5-mbstring-5.4.16 depends on file: > /usr/local/include/php/main/php.h - found > ===> php5-mbstring-5.4.16 depends on shared library: onig - not found > ===> Verifying install for onig in /usr/ports/devel/oniguruma4 > ===> oniguruma-4.7.1 depends on file: /usr/local/sbin/pkg - found > ===> Fetching all distfiles required by oniguruma-4.7.1 for building > ===> Extracting for oniguruma-4.7.1 > => SHA256 Checksum OK for ruby/onig-4.7.1.tar.gz. > ===> Patching for oniguruma-4.7.1 > /usr/bin/sed -i.bak -e 's|echo aout|echo elf|' -e > 's|freebsd1|freebsd1.|' > /usr/ports/devel/oniguruma4/work/onig-4.7.1/configure > ===> Configuring for oniguruma-4.7.1 > : > ===> Building for oniguruma-4.7.1 > : > ===> Installing for oniguruma-4.7.1 > ===> Generating temporary packing list > ===> Checking if devel/oniguruma4 already installed > : > ===> Running ldconfig > /sbin/ldconfig -m /usr/local/lib > ===> Registering installation for oniguruma-4.7.1 as automatic > Installing oniguruma-4.7.1... done > ===> Returning to build of php5-mbstring-5.4.16 > ===> Generating temporary packing list > ===> Checking if converters/php5-mbstring already installed > install: /usr/ports/converters/php5-mbstring/work/php-5.4.16/ext/mbstring/modules/mbstring.so: > No such file or directory > *** [do-install] Error code 71 > > Stop in /usr/ports/converters/php5-mbstring. > *** [run-depends] Error code 1 > > > It jumps from "Verifying install for > /usr/local/lib/php/20100525/mbstring.so in > /usr/ports/converters/php5-mbstring" to "Installing for > php5-mbstring-5.4.16". It seems to be missing the fetch (already > fetched by lang/php5), extract, patch, configure and build stages. > > Do you have a left over WRKDIR for converters/php5-mbstring? Does > cleaning the port fix the issue? > > cd /usr/ports/converters/php5-mbstring > make clean > make build > make install Yes indeed, my backbuffer didn't contain the whole output. I just tried again, starting from scratch (no ports installed, make clean done, etc) and captured the typescript. I get a similar error (shared library doesn't exist), although it happens for devel/gettext. (Note that in the previous run, I had installed subversion binary package, which depends on libiconf, in order to upgrade my ports tree, so it didn't have to go to the devel/gettext port.) http://people.chchile.org/~jlh/php5-mbstring.typescript.txt -- Jeremie Le Hen Scientists say the world is made up of Protons, Neutrons and Electrons. They forgot to mention Morons.