Created attachment 549886 [details] emerge --info strip: x86_64-pc-linux-gnu-strip --strip-unneeded -R .comment -R .GCC.command.line -R .note.gnu.gold-version usr/bin/monerod usr/bin/monero-wallet-rpc usr/bin/monero-wallet-cli >>> Installing (1 of 1) net-p2p/monero-0.12.3.0::chaoslab stat: cannot stat '/var/lib/monero': No such file or directory * Fixing /var/lib/monero permissions chown: cannot access '/var/lib/monero': No such file or directory * ERROR: net-p2p/monero-0.12.3.0::chaoslab failed (postinst phase): * (no error message) * * Call stack: * ebuild.sh, line 124: Called pkg_postinst * environment, line 3019: Called die * The specific snippet of code: * chown -R monero:monero "${EROOT%/}/var/lib/monero" || die;
Created attachment 549888 [details] build.log
Hi, sorry for my belated response. Unfortunately I cannot reproduce your issue. As you have enabled the *daemon* USE flag, the dedicated user/group and its home directory was supposed to be created in pkg_setup(). But somehow your portage skipped that phase, hence the "No such file or directory" produced by pkg_postinst(), which expected for the user/group/homedir to exist.
I can confirm that building monero-0.12.3.0 without USE=daemon works. However, I got another problem with current monero-0.13.0.2 (see bug #669292).
Created attachment 552430 [details] build.log (0.13.0.2)
Reopening 'cause unfortunately this still happens with current 0.13.0.2 when building with USE=daemon: stat: cannot stat '/var/lib/monero': No such file or directory * Fixing /var/lib/monero permissions BTW what should be installed in '/var/lib/monero'? All relevant binaries including monerod are installed in /usr/bin.
No longer reproducible on my machine.
*** Bug 674946 has been marked as a duplicate of this bug. ***