[Bug 225377] archivers/liblz4: setting TARGET_ARCH variable prevent to compile

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Feb 10 10:20:31 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225377

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

root at lame4:/usr/ports/archivers/liblz4 # uname -a
FreeBSD lame4.bsdrp.net 12.0-CURRENT FreeBSD 12.0-CURRENT #5 r328114: Thu Jan
18 11:22:16 CET 2018    
olivier at lame4.bsdrp.net:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG  amd64
root at lame4:/usr/ports/archivers/liblz4 # make clean
===>  Cleaning for liblz4-1.8.1.2,1
root at lame4:/usr/ports/archivers/liblz4 # env 'TARGET_ARCH=amd64' make
===>  License BSD2CLAUSE GPLv2 accepted by the user
===>   liblz4-1.8.1.2,1 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by liblz4-1.8.1.2,1 for building
===>  Extracting for liblz4-1.8.1.2,1
=> SHA256 Checksum OK for lz4-lz4-v1.8.1.2_GH0.tar.gz.
===>  Patching for liblz4-1.8.1.2,1
===>   liblz4-1.8.1.2,1 depends on executable: gmake - found
===>   liblz4-1.8.1.2,1 depends on package: pkgconf>=1.3.0_1 - found
===>  Configuring for liblz4-1.8.1.2,1
===>  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/programs'
cc -O2 -pipe  -fstack-protector -fno-strict-aliasing    -I../lib
-DXXH_NAMESPACE=LZ4_ amd64 -c -o bench.o bench.c
cc -O2 -pipe  -fstack-protector -fno-strict-aliasing    -I../lib
-DXXH_NAMESPACE=LZ4_ amd64 -c -o datagen.o datagen.c
cc -O2 -pipe  -fstack-protector -fno-strict-aliasing    -I../lib
-DXXH_NAMESPACE=LZ4_ amd64 -c -o lz4cli.o lz4cli.c
cc -O2 -pipe  -fstack-protector -fno-strict-aliasing    -I../lib
-DXXH_NAMESPACE=LZ4_ 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/programs'
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'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

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

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


More information about the freebsd-ports-bugs mailing list