Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 657622 - app-arch/rpm-4.14.1 fails tests - file: could not find any valid magic files!
Summary: app-arch/rpm-4.14.1 fails tests - file: could not find any valid magic files!
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2018-06-08 20:00 UTC by Mart Raudsepp
Modified: 2018-06-08 22:54 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mart Raudsepp gentoo-dev 2018-06-08 20:00:10 UTC
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
Comment 1 Virgil Dupras (RETIRED) gentoo-dev 2018-06-08 20:03:59 UTC
Have you tried running it with FEATURES="-usersandbox" See #657500
Comment 2 Mart Raudsepp gentoo-dev 2018-06-08 20:08:32 UTC
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
Comment 3 Mart Raudsepp gentoo-dev 2018-06-08 20:10:24 UTC
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).
Comment 4 Mart Raudsepp gentoo-dev 2018-06-08 20:11:32 UTC
PS: want to put your hat in as maintainer? If not, we should add <!-- maintainer-needed --> comment in the xml
Comment 5 Virgil Dupras (RETIRED) gentoo-dev 2018-06-08 20:15:58 UTC
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.
Comment 6 Mart Raudsepp gentoo-dev 2018-06-08 22:43:30 UTC
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
Comment 7 Virgil Dupras (RETIRED) gentoo-dev 2018-06-08 22:54:25 UTC
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.