On 27 August 2018 at 10:38, Michel Dänzer <michel@xxxxxxxxxxx> wrote: > On 2018-08-24 7:44 p.m., Laurent Carlier wrote: >> >> 11/15 amdgpu-symbol-check FAIL 0.22 s (exit status 1) >> >> --- command --- >> LANG='en_US.UTF-8' SUDO_GID='0' OLDPWD='/build/libdrm/src' >> COMMAND_MODE='legacy' USERNAME='builduser' SUDO_COMMAND='/bin/bash -c bash -c >> cd\ /startdir;\ makepkg\ "$@" -bash --syncdeps --noconfirm --log --holdver -- >> skipinteg --install' CFLAGS='-march=x86-64 -mtune=generic -O2 -pipe -fstack- >> protector-strong -fno-plt' USER='builduser' CXXFLAGS='-march=x86-64 - >> mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt' TEXTDOMAINDIR='/ >> usr/share/locale' PWD='/build/libdrm/src/build' HOME='/build' >> TEXTDOMAIN='pacman-scripts' SUDO_USER='root' SUDO_UID='0' MAIL='/var/mail/ >> builduser' CHOST='x86_64-pc-linux-gnu' SHELL='/bin/bash' TERM='xterm-256color' >> SHLVL='3' CPPFLAGS='-D_FORTIFY_SOURCE=2' SOURCE_DATE_EPOCH='1535132201' >> LOGNAME='builduser' LDFLAGS='-Wl,-O1,--sort-common,--as-needed,-z,relro,- >> z,now' PATH='/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/ >> bin/vendor_perl:/usr/bin/core_perl:/usr/bin/site_perl:/usr/bin/vendor_perl:/ >> usr/bin/core_perl:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/ >> usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl' MAKEFLAGS='-j9' >> _='/usr/bin/meson' NM='/usr/bin/nm' /usr/bin/bash /build/libdrm/src/build/../ >> libdrm-2.4.94/amdgpu/amdgpu-symbol-check amdgpu/libdrm_amdgpu.so.1.0.0 >> --- stdout --- >> amdgpu_find_bo_by_cpu_mapping > > Part of the problem here is probably that the *-symbol-check scripts > haven't actually checked anything in an autotools build since commit > 4f08bfe96da1 ("*-symbol-check: Don't hard-code nm executable"): > > ../../amdgpu/amdgpu-symbol-check: line 74: -D: command not found > PASS amdgpu-symbol-check (exit status: 0) > Disclaimer: Coffee hasn't kicked in fully It does work as intended. Problem is that: a) when running manually one needs to set NM b) script don't error out when NM is not set - need a "set -u" -Emil _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel