Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Feb 2018 10:20:29 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 225377] archivers/liblz4: setting TARGET_ARCH variable prevent to compile
Message-ID:  <bug-225377-13-6eeoz8SdPW@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-225377-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-225377-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225377

--- Comment #4 from Olivier Cochard <olivier@freebsd.org> ---
Here a full build log:

root@lame4:/usr/ports/archivers/liblz4 # uname -a
FreeBSD lame4.bsdrp.net 12.0-CURRENT FreeBSD 12.0-CURRENT #5 r328114: Thu J=
an
18 11:22:16 CET 2018=20=20=20=20
olivier@lame4.bsdrp.net:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG  a=
md64
root@lame4:/usr/ports/archivers/liblz4 # make clean
=3D=3D=3D>  Cleaning for liblz4-1.8.1.2,1
root@lame4:/usr/ports/archivers/liblz4 # env 'TARGET_ARCH=3Damd64' make
=3D=3D=3D>  License BSD2CLAUSE GPLv2 accepted by the user
=3D=3D=3D>   liblz4-1.8.1.2,1 depends on file: /usr/local/sbin/pkg - found
=3D=3D=3D> Fetching all distfiles required by liblz4-1.8.1.2,1 for building
=3D=3D=3D>  Extracting for liblz4-1.8.1.2,1
=3D> SHA256 Checksum OK for lz4-lz4-v1.8.1.2_GH0.tar.gz.
=3D=3D=3D>  Patching for liblz4-1.8.1.2,1
=3D=3D=3D>   liblz4-1.8.1.2,1 depends on executable: gmake - found
=3D=3D=3D>   liblz4-1.8.1.2,1 depends on package: pkgconf>=3D1.3.0_1 - found
=3D=3D=3D>  Configuring for liblz4-1.8.1.2,1
=3D=3D=3D>  Building for liblz4-1.8.1.2,1
gmake[1]: Entering directory
'/usr/local/poudriere/ports/default/archivers/liblz4/work/lz4-1.8.1.2'
gmake[2]: Entering directory
'/usr/local/poudriere/ports/default/archivers/liblz4/work/lz4-1.8.1.2/lib'
compiling static library
compiling dynamic library 1.8.1
creating versioned links
gmake[2]: Leaving directory
'/usr/local/poudriere/ports/default/archivers/liblz4/work/lz4-1.8.1.2/lib'
gmake[2]: Entering directory
'/usr/local/poudriere/ports/default/archivers/liblz4/work/lz4-1.8.1.2/progr=
ams'
cc -O2 -pipe  -fstack-protector -fno-strict-aliasing    -I../lib
-DXXH_NAMESPACE=3DLZ4_ amd64 -c -o bench.o bench.c
cc -O2 -pipe  -fstack-protector -fno-strict-aliasing    -I../lib
-DXXH_NAMESPACE=3DLZ4_ amd64 -c -o datagen.o datagen.c
cc -O2 -pipe  -fstack-protector -fno-strict-aliasing    -I../lib
-DXXH_NAMESPACE=3DLZ4_ amd64 -c -o lz4cli.o lz4cli.c
cc -O2 -pipe  -fstack-protector -fno-strict-aliasing    -I../lib
-DXXH_NAMESPACE=3DLZ4_ amd64 -c -o lz4io.o lz4io.c
cc: error: no such file or directory: 'amd64'
cc: error: no such file or directory: 'amd64'
cc: error: no such file or directory: 'amd64'
gmake[2]: *** [<builtin>: bench.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
gmake[2]: *** [<builtin>: datagen.o] Error 1
gmake[2]: *** [<builtin>: lz4cli.o] Error 1
cc: error: no such file or directory: 'amd64'
gmake[2]: *** [<builtin>: lz4io.o] Error 1
gmake[2]: Leaving directory
'/usr/local/poudriere/ports/default/archivers/liblz4/work/lz4-1.8.1.2/progr=
ams'
gmake[1]: *** [Makefile:68: lz4-release] Error 2
gmake[1]: Leaving directory
'/usr/local/poudriere/ports/default/archivers/liblz4/work/lz4-1.8.1.2'
=3D=3D=3D> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failure =
to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/local/poudriere/ports/default/archivers/liblz4

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-225377-13-6eeoz8SdPW>