Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Nov 2018 21:10:46 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 233545] bin/sh: "export VAR" always defines VAR unlike other shells
Message-ID:  <bug-233545-227-wXAKFYFf6T@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-233545-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-233545-227@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=3D233545

--- Comment #1 from Jan Beich <jbeich@FreeBSD.org> ---
For a real example see
https://github.com/unicorn-engine/unicorn/blob/73f457353543/make.sh#L120 fo=
und
via

$ pkg install git cmake gmake ninja sdl2
$ git clone https://github.com/yuzu-emu/yuzu/
$ mkdir yuzu_build; cd yuzu_build
$ cmake -GNinja -DENABLE_QT=3DOFF ../yuzu
[..]
FAILED: /path/to/yuzu/externals/unicorn/libunicorn.a
cd /path/to/yuzu/externals/unicorn && /usr/local/bin/cmake -E env
UNICORN_ARCHS=3D"aarch64" PYTHON=3D"/usr/local/bin/python2.7" /bin/sh make.=
sh
macos-universal-no
g -shared qemu/aarch64-softmmu/tcg/tcg.o ... uc.o list.o -o libunicorn.so.1
-Wl,-Bsymbolic-functions,-soname,libunicorn.so.1 -lm
gmake: g: Command not found
gmake: [Makefile:232: libunicorn.so.1] Error 127 (ignored)
ln -sf libunicorn.so.1 libunicorn.so
gmake -C samples
gmake[1]: Entering directory '/path/to/yuzu/externals/unicorn/samples'
g -Wall -Werror -I../include -c sample_arm64.c -o sample_arm64.o
gmake[1]: g: Command not found
gmake[1]: [Makefile:129: sample_arm64.o] Error 127 (ignored)
g -Wall -Werror -I../include -c sample_arm64eb.c -o sample_arm64eb.o
gmake[1]: g: Command not found
gmake[1]: [Makefile:129: sample_arm64eb.o] Error 127 (ignored)
sample_arm64.o  -L.. -lunicorn -lpthread -lm -o sample_arm64
gmake[1]: sample_arm64.o: Command not found
gmake[1]: *** [Makefile:105: sample_arm64] Error 127
gmake[1]: Leaving directory '/path/to/yuzu/externals/unicorn/samples'
gmake: *** [Makefile:214: all] Error 2

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-233545-227-wXAKFYFf6T>