From owner-freebsd-questions@FreeBSD.ORG Sat Dec 15 15:31:17 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 852CB47B for ; Sat, 15 Dec 2012 15:31:17 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id 0E7F78FC0A for ; Sat, 15 Dec 2012 15:31:16 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.2.117.99]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id qBFFVBwg069262 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Sat, 15 Dec 2012 15:31:12 GMT (envelope-from matthew@FreeBSD.org) DKIM-Filter: OpenDKIM Filter v2.7.1 smtp.infracaninophile.co.uk qBFFVBwg069262 Authentication-Results: smtp.infracaninophile.co.uk/qBFFVBwg069262; dkim=none reason="no signature"; dkim-adsp=none (insecure policy) Message-ID: <50CC97B7.3010105@FreeBSD.org> Date: Sat, 15 Dec 2012 15:31:03 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: pkgng References: <201212150816.02075.lumiwa@gmail.com> In-Reply-To: <201212150816.02075.lumiwa@gmail.com> X-Enigmail-Version: 1.4.6 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig1DC7402D026305D0FA0836A1" X-Virus-Scanned: clamav-milter 0.97.6 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.4 required=5.0 tests=AWL,BAYES_00,SPF_SOFTFAIL autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Cc: reply+i-9244936-ab8a183000497df82749fe7ca06badfd625e75f5-1552340@reply.github.com X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Dec 2012 15:31:17 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig1DC7402D026305D0FA0836A1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 15/12/2012 14:16, ajtiM wrote: > My system: FreeBSD 9.1-RC3 #0 r242324: Tue Oct 30 00:18:27 UTC 2012 = =20 > root@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >=20 > I installed new pkg, I have WITH_PKGNG=3Dyes in /etc/make.conf, I ran p= kg2ng and=20 > I use portmaster. I turned ON SHLIBS=3DYES in pkg.conf and pkg_check -B= a show: >=20 > pkg check -Ba > pkg: (fltk-1.3.2) shared library libfltk_images.so.1.3 not found > pkg: (fltk-1.3.2) shared library libfltk_forms.so.1.3 not found > pkg: (fltk-1.3.2) shared library libfltk.so.1.3 not found > pkg: (fltk-1.3.2) shared library libfltk.so.1.3 not found [... repetetive stuff elided ...] > allocate memory > pkg: elf_begin() for /usr/local/man/man1/jackstart.1.gz failed: I/O err= or:=20 > Cannot allocate memory > pkg: Cannot mmap "/var/run/ld-elf.so.hints": Cannot allocate memory >=20 > I rebuilt hugin, fltk and jack and ran again but I got the same. Thank you for the report. I'll add it to issue #403 at the pkgng github (https://github.com/pkgng/pkgng/issues/403) so it doesn't get forgotten. I'm slowly collecting examples of applications where the shlib analysis doesn't work properly so I can debug them. Sometimes it seems to be due to ports needing LD_LIBRARY_PATH set in the environment, which we can't do much about, but there are other cases which seemingly have a different etiology. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey --------------enig1DC7402D026305D0FA0836A1 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with undefined - http://www.enigmail.net/ iEYEARECAAYFAlDMl78ACgkQ8Mjk52CukIzsrgCbBaU1t470sULage9tYb4SZzEB HQUAnAs4o1M5Jgzdrszd6qH6JhMvNmJz =WM4N -----END PGP SIGNATURE----- --------------enig1DC7402D026305D0FA0836A1--