When using this make command line: env TARGET_ARCH=amd64 make or this command line: env TARGET_ARCH=i386 make The make process generate a bad compilation line and failed by displaying this message: (etc...) cc -Wshadow -O3 -ffast-math -O2 -pipe -fno-strict-aliasing -Wall -I. -O2 -pipe -fno-strict-aliasing -fPIC -I/usr/local/include -std=gnu99 -s -fomit-frame-pointer i386 -c -o common/mc.o common/mc.c cc: i386: No such file or directory gmake: *** [common/mc.o] Error 1 gmake: *** Waiting for unfinished jobs.... *** Error code 1 Stop in /usr/ports/multimedia/x264. *** Error code 1 We can notice that the value of the variable TARGET_ARCH is put just after the "-fomit-frame-pointer" and before the "-c -o common/mc.o" options: Something missing. Fix: Same solution than with PR/147853 (patch included) Patch attached with submission follows: How-To-Repeat: When using this make command line: env TARGET_ARCH=amd64 make or this command line: env TARGET_ARCH=i386 make
Responsible Changed From-To: freebsd-ports-bugs->mm Over to maintainer (via the GNATS Auto Assign Tool)
mm 2010-11-22 15:36:31 UTC FreeBSD ports repository Modified files: multimedia/x264 Makefile Log: - Clear ARCH and TARGET_ARCH in configure and make environment PR: ports/151224 Submitted by: Olivier Cochard-Labbé <olivier@cochard.me> Revision Changes Path 1.79 +4 -7 ports/multimedia/x264/Makefile _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed. Thanks!
ehaupt 2012-02-27 09:38:57 UTC FreeBSD ports repository Modified files: sysutils/fusefs-ext4fuse Makefile Log: Explicitly empty TARGET_ARCH to prevent build problems when cross compiling. PR: 151224 Submitted by: Olivier Cochard-Labbé <olivier@cochard.me> Revision Changes Path 1.2 +3 -0 ports/sysutils/fusefs-ext4fuse/Makefile _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"