after unmasking tests for arm64 and installing fakechroot, tests still fail: make[4]: Leaving directory '/var/tmp/portage/app-arch/rpm-4.14.1/work/rpm-4.14.1' cp -r ./data/ testing/ chmod -R u+w testing/data/ for d in dev etc magic tmp var; do if [ ! -d testing/${d} ]; then mkdir testing/${d}; fi; done for node in urandom stdin stderr stdout null; do ln -s /dev/${node} testing/dev/${node}; done for cf in hosts resolv.conf passwd shadow group gshadow mtab ; do [ -f /etc/${cf} ] && ln -s /etc/${cf} testing/etc/${cf}; done for prog in gzip cat patch tar sh ln chmod rm mkdir uname grep sed find file ionice mktemp nice cut sort diff touch install wc; do p=`which ${prog}`; ln -s ${p} testing//usr/bin/; done for d in /proc /sys /selinux /etc/selinux; do if [ -d ${d} ]; then ln -s ${d} testing/${d}; fi; done (cd testing/magic && file -C) file: could not find any valid magic files! make[3]: *** [Makefile:674: testing/usr/bin/rpmbuild] Error 1
Have you tried running it with FEATURES="-usersandbox" See #657500
Yes, this error happens with both (in fact, I don't see any significant other failures when I ran with default usersandbox). testing/magic is empty, so file -C can't compile anything
Whissi fixed this in cbb01d51517b6c8339d715d4cb8748d860cfb9ad for sys-apps/file, but I hadn't upgraded to the straight to stable revbump (I tend to expect only I have stabled things for arm64, and check other upgrades only occasionally).
PS: want to put your hat in as maintainer? If not, we should add <!-- maintainer-needed --> comment in the xml
I would prefer to avoid maintaining packages I don't use myself for now. The gentoo dev learning curve is already steep enough :) I'll take care of adding proper "maintainer needed" metadata.
Still a LOT of failures with -usersandbox and even that and -sandbox. But that's new bugs I suppose, and for another day for me
Yes, I know, but what whissi found worrying was the "NSS initialization failed" part. Considering that tests weren't enabled before, this failure shouldn't block the stabilization of a security bug.