From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sergei Trofimovich Subject: Re: [PATCH] gnu: Add LDFLAGS=-lpthread to configure-flags where needed. Date: Tue, 21 Mar 2017 09:09:28 +0000 Message-ID: <20170321090928.02b12da9@sf> References: <1490059331-32049-1-git-send-email-john@darrington.wattle.id.au> <1490059331-32049-2-git-send-email-john@darrington.wattle.id.au> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/e.Qju5ed9x+g_1kojTL4yyb"; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54540) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cqFnU-0002nc-If for guix-devel@gnu.org; Tue, 21 Mar 2017 05:09:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cqFnR-0006oW-ED for guix-devel@gnu.org; Tue, 21 Mar 2017 05:09:44 -0400 Received: from smtp40.i.mail.ru ([94.100.177.100]:41166) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cqFnR-0006mH-2E for guix-devel@gnu.org; Tue, 21 Mar 2017 05:09:41 -0400 In-Reply-To: <1490059331-32049-2-git-send-email-john@darrington.wattle.id.au> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: John Darrington Cc: guix-devel@gnu.org --Sig_/e.Qju5ed9x+g_1kojTL4yyb Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Tue, 21 Mar 2017 02:22:11 +0100 John Darrington wrote: > --- a/gnu/packages/image.scm > +++ b/gnu/packages/image.scm > @@ -80,6 +80,8 @@ > (sha256 > (base32 "0ylgyx93hnk38haqrh8prd3ax5ngzwvjqw5cxw7p9nxmwsfyrl= yq")))) > (build-system gnu-build-system) > + (arguments > + `(#:configure-flags '("LDFLAGS=3D-lpthread"))) That's libpng-1.6.28, right? I've tried to reproduce the failure on current 'core-updates' master (x86_64-linux). It builds just fine: $ git describe v0.12.0-2306-gf826c8c7e $ ./pre-inst-env guix build libpng --check --no-grafts -K /gnu/store/vis7x2j2lsmwbl5m5w794c23ysqah8xh-libpng-1.6.28 At a glance source code of libpng and it's tests does not contain any pthre= ad calls. Do you have a build log with the failure? I wonder where missing symbols co= me from. --=20 Sergei --Sig_/e.Qju5ed9x+g_1kojTL4yyb Content-Type: application/pgp-signature Content-Description: Цифровая подпись OpenPGP -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQSZKa0VG5avZRlY01hxoe52YR/zqgUCWNDtyAAKCRBxoe52YR/z qtYwAJwJ0mnYfZzEa0Nvhj1X2M1KHgVeBgCdFBWd1e8GKrV6F5kDHYYcingjmC8= =wxx6 -----END PGP SIGNATURE----- --Sig_/e.Qju5ed9x+g_1kojTL4yyb--