My environment enabled avahi-daemon. Mathematica installer will run ``avahi-daemon -c`` when install, and caused ACCESS DENIED. Reproducible: Always Steps to Reproduce: 1. install and enabled avahi-daemon 2. sudo emerge -a sci-mathematics/mathematica Actual Results: * ACCESS DENIED: open_wr: /run/avahi-daemon/pid * ACCESS DENIED: unlink: /run/avahi-daemon/pid ... F: open_wr S: deny P: /run/avahi-daemon//pid A: /run/avahi-daemon/pid R: /run/avahi-daemon/pid C: avahi-daemon -c F: unlink S: deny P: /run/avahi-daemon//pid A: /run/avahi-daemon/pid R: /run/avahi-daemon/pid C: avahi-daemon -c ... >>> Failed to emerge sci-mathematics/mathematica-12.1.1-r1, Log file: >>> '/var/tmp/portage/sci-mathematics/mathematica-12.1.1-r1/temp/build.log' * * The following package has failed to build, install, or execute postinst: * * (sci-mathematics/mathematica-12.1.1-r1:0/0::gentoo, ebuild scheduled for merge), Log file: * '/var/tmp/portage/sci-mathematics/mathematica-12.1.1-r1/temp/build.log' * Expected Results: Install success
Created attachment 656938 [details] mathematica-12.1.1-r1/temp/build.log
Created attachment 656940 [details] mathematica-12.1.1-r2.ebuild The fix of ebuild, disable check of avahi-daemon -c. This ebuild test on my overlay: https://github.com/vowstar/vowstar-overlay/blob/c3dbcc60120d9ee74ebc67e1a9826fda3d68eb13/sci-mathematics/mathematica/mathematica-12.1.1-r1.ebuild
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=240c051971ed9f661743a0d5e5a98ea63189e0e2