Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 739130 - sci-mathematics/mathematica-12.1.1-r1: install failed with ACCESS DENIED:open_wr error
Summary: sci-mathematics/mathematica-12.1.1-r1: install failed with ACCESS DENIED:open...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Andreas K. Hüttel
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-26 17:50 UTC by vowstar
Modified: 2020-09-21 18:23 UTC (History)
1 user (show)

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


Attachments
mathematica-12.1.1-r1/temp/build.log (build.log,3.04 KB, text/plain)
2020-08-26 17:53 UTC, vowstar
Details
mathematica-12.1.1-r2.ebuild (file_739130.txt,3.17 KB, text/plain)
2020-08-26 17:57 UTC, vowstar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description vowstar 2020-08-26 17:50:48 UTC
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
Comment 1 vowstar 2020-08-26 17:53:54 UTC
Created attachment 656938 [details]
mathematica-12.1.1-r1/temp/build.log
Comment 2 vowstar 2020-08-26 17:57:41 UTC
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