From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arun Isaac Subject: Re: [PATCH] gnu: Add optipng. Date: Tue, 27 Sep 2016 00:51:59 +0530 Message-ID: References: <87lgyglzmv.fsf@openmailbox.org> <20160925202832.17166-1-arunisaac@systemreboot.net> <20160925202832.17166-2-arunisaac@systemreboot.net> <87zimvlmj4.fsf@openmailbox.org> <20160926175958.GA5857@jasmine> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45859) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bobTh-0003oC-7v for guix-devel@gnu.org; Mon, 26 Sep 2016 15:22:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bobTc-00047C-Qe for guix-devel@gnu.org; Mon, 26 Sep 2016 15:22:12 -0400 Received: from [117.218.232.8] (port=48704 helo=systemreboot.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bobTb-00045a-QW for guix-devel@gnu.org; Mon, 26 Sep 2016 15:22:08 -0400 Received: from [103.194.20.117] (helo=steel) by systemreboot.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.87) (envelope-from ) id 1bobTW-0002Bd-U6 for guix-devel@gnu.org; Tue, 27 Sep 2016 00:52:03 +0530 In-reply-to: <20160926175958.GA5857@jasmine> 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: guix-devel@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable > make[2]: Leaving directory '/tmp/nix-build-optipng-0.7.6.drv-0/optipng-0.= 7.6/src/pngxtern' > gcc -c -O2 -Wall -Wextra -I../cexcept -I../zlib -I../libpng -I../opngred= uc -I../pngxtern -o optipng.o optipng.c > gcc -c -O2 -Wall -Wextra -I../cexcept -I../zlib -I../libpng -I../opngred= uc -I../pngxtern -o optim.o optim.c > gcc -s -o optipng optipng.o optim.o bitset.o ratio.o osys.o wildargs.o ..= /opngreduc/libopngreduc.a ../pngxtern/libpngxtern.a ../libpng/libpng.a ../z= lib/libz.a ../gifread/libgifread.a ../pnmio/libpnmio.a ../minitiff/libminit= iff.a -lm=20 > ../libpng/libpng.a(pngrutil.o): In function `png_read_filter_row': > pngrutil.c:(.text+0x13bc): undefined reference to `png_init_filter_functi= ons_neon' > collect2: error: ld returned 1 exit status > make[1]: *** [Makefile:99: optipng] Error 1 > make[1]: Leaving directory '/tmp/nix-build-optipng-0.7.6.drv-0/optipng-0.= 7.6/src/optipng' > make: *** [Makefile:2: all] Error 2 This seems related: https://sourceforge.net/p/libpng/bugs/230/ The bug was apparently fixed in libpng-1.6.15, and guix is still on 1.5.26. Could this be the issue? How do I reproduce the armhf-linux build on my x86_64 system? I tried `guix build --fallback --target=3Darmhf-linux optipng`, but it failed with the following error message while building binutils. Am I missing something? starting phase `configure' source directory: "/tmp/guix-build-binutils-cross-armhf-linux-2.25.1.drv-0/= binutils-2.25.1" (relative from build: ".") build directory: "/tmp/guix-build-binutils-cross-armhf-linux-2.25.1.drv-0/b= inutils-2.25.1" configure flags: ("CONFIG_SHELL=3D/gnu/store/ykzwykkvr2c80rw4l1qh3mvfdkl7ji= bi-bash-4.3.42/bin/bash" "SHELL=3D/gnu/store/ykzwykkvr2c80rw4l1qh3mvfdkl7ji= bi-bash-4.3.42/bin/bash" "--prefix=3D/gnu/store/cmk97w8d9hzab406g70b33kh3zb= gllnh-binutils-cross-armhf-linux-2.25.1" "--enable-fast-install" "--build= =3Dx86_64-unknown-linux-gnu" "--target=3Darmhf-linux" "--with-sysroot=3D/" = "LDFLAGS=3D-static-libgcc" "--with-lib-path=3D/no-ld-lib-path" "--disable-w= error" "--enable-install-libbfd" "--enable-deterministic-archives") checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... Invalid configuration `armhf-linux': machine= `armhf' not recognized configure: error: /gnu/store/ykzwykkvr2c80rw4l1qh3mvfdkl7jibi-bash-4.3.42/b= in/bash ./config.sub armhf-linux failed phase `configure' failed after 0.4 seconds builder for `/gnu/store/zrr3b4gz2gh4m4fzpilj6zw7aw8r8c1h-binutils-cross-arm= hf-linux-2.25.1.drv' failed with exit code 1 @ build-failed /gnu/store/zrr3b4gz2gh4m4fzpilj6zw7aw8r8c1h-binutils-cross-a= rmhf-linux-2.25.1.drv - 1 builder for `/gnu/store/zrr3b4gz2gh4m4fzpilj6zw7a= w8r8c1h-binutils-cross-armhf-linux-2.25.1.drv' failed with exit code 1 cannot build derivation `/gnu/store/10r60df8navx9fprmlzvvv55zws8xj1x-optipn= g-0.7.6.drv': 1 dependencies couldn't be built guix build: error: build failed: build of `/gnu/store/10r60df8navx9fprmlzvv= v55zws8xj1x-optipng-0.7.6.drv' failed --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJX6XVZAAoJEC4l7othgCuzS2QH/R22kd/gjoNkGKbsVFyTLwyq Vchd+u628ZxEF0tBpExDOqqq4fJRt+4DJkcLYq10GLobC16vp94KMLJ21BN1QWlJ NOtS6YZz9LrOFWZI3CWhu7ZSHMbMZmXGKar8C3ezit0BqDci1r/wiBoWCtVu0ofr 7MwbNWE+w3WZk2wL18Ggyfa/kYsqGBUgATKnAEuwGYIubqxxZEPFZcIU7ys/35XO 5molYq8Bt0fuvJLkp69uUqccYURKrhK8IfGxx2TvokgYt4SUaOd39QwY8QjDwHNQ Y+5s/cTKwlp+ayt5dTmPi22E6/8S3ZrDXVYOsq8Y0CaonioW11P+uC5GQMilkI8= =XlfM -----END PGP SIGNATURE----- --=-=-=--