Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 412293

Summary: app-text/acroread-9.5.1 - dirname missing operand in wrapper script
Product: Gentoo Linux Reporter: Christopher Smith <chrylis>
Component: [OLD] PrintingAssignee: Printing Team <printing>
Status: RESOLVED INVALID    
Severity: normal CC: bug
Priority: Normal    
Version: 10.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge.info

Description Christopher Smith 2012-04-17 07:06:16 UTC
Created attachment 309219 [details]
emerge.info

The acroread shell wrapper through the current version (9.5.1) outputs an apparently inconsequential error message when run on a system without a GNOME installation.

In 9.5.1, the offending command is on line 529, which doesn't validate that a target file (looked up in gconf) actually exists.  In my case, I ran the command on line 527, which produced the result "epiphany" (the GNOME default browser?), which is not installed, leading to calling readlink and then dirname on an empty string.
Comment 1 Tomáš Chvátal (RETIRED) gentoo-dev 2013-02-22 10:13:29 UTC
This is bug in the upstream script so please report it upstream 
https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform
Comment 2 Andreas K. Hüttel archtester gentoo-dev 2017-02-15 23:49:24 UTC
(In reply to Christopher Smith from comment #0)
> Created attachment 309219 [details]
> emerge.info
> 
> The acroread shell wrapper through the current version (9.5.1) outputs an
> apparently inconsequential error message when run on a system without a
> GNOME installation.
> 
> In 9.5.1, the offending command is on line 529, which doesn't validate that
> a target file (looked up in gconf) actually exists.  In my case, I ran the
> command on line 527, which produced the result "epiphany" (the GNOME default
> browser?), which is not installed, leading to calling readlink and then
> dirname on an empty string.

I'd say this is a local configuration issue (your handler points to an invalid program).

Here I don't have a Gnome installation, and the output is firefox.