Dne 08. 09. 20 v 10:51 Petr Pisar napsal(a): >> I'm debugging an issue in a FTBFS, which appears caused by unexpected >> warnings during a build [1]. These warnings come from R and complain >> that /etc/localtime is not a symlink. > I hit this issue many years ago and tzdata maintainer claimed > <https://bugzilla.redhat.com/show_bug.cgi?id=1136219> that it was a fault > of a mock tool. (Mock tool is used when building a package in Koji). I asked > a maintainer of mock to fix it > <https://bugzilla.redhat.com/show_bug.cgi?id=1136040> and he "fixed" it by not The problem does not exists in default Mock installation because it use --isolation=nspawn and systemd-nspawn takes care of creating /etc/localtime (as symlink to /usr/share/zoneinfo/*) When you run Mock with --isolation=simple - this is what Koji does - then you can reproduce it. The problem is that the file /etc/localtime is - on normal system - handled by systemd. And systemd is not present in default chroot. I created https://github.com/rpm-software-management/mock/pull/625 hopefully it should fix this issue. -- Miroslav Suchy, RHCA Red Hat, Associate Manager ABRT/Copr, #brno, #fedora-buildsys
Attachment:
signature.asc
Description: OpenPGP digital signature
_______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx