Bug 133934 - acroread won't start due to expr: syntax error
|
Bug#:
133934
|
Product: Gentoo Linux
|
Version: 2006.0
|
Platform: All
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: printing@gentoo.org
|
Reported By: wuno@lsvw.de
|
|
Component: Applications
|
|
|
URL:
|
|
Summary: acroread won't start due to expr: syntax error
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2006-05-21 03:36 0000
|
Maybe due to my bash (3.1_p17) / coreutils (5.95) combination I couldn't start
acroread and the ff-plugin anymore. Running in an xterm I see:
expr: syntax error (repeated endlessly)
Changing language settings, downgrading coreutils to stable 5.94-r1 and
acroread to 7.0.5-r1 didn't help (didn't downgrade bash though)
I then looked at the acroread script in /opt/Acrobat7 and found that several
version checks done with expr had unqouted variables, while most other
expressions being variables to expr where. Putting those variables in double
quotes resolved the problem, acroread and plugin are fine again.
Patch for acroread script will be attached.
emerge --info attached also
upgrading coreutils to 5.96 didn't solve the problems with the portage
acroread-7.0.5-r2 and -r3 ebuilds. The patch is still needed.
thanks I added the patch to the masked 7.0.8 ebuild.
(In reply to comment #6)
> thanks I added the patch to the masked 7.0.8 ebuild.
>
Stefan, I feel bad, cause now after upgrading to binutils-2.17 (no more LDFLAG
-Wl,Bdirect) and coreutils-5.97 the 7.0.5-r3 ebuild works again w/o the patch.
So, maybe http://bugs.gentoo.org/attachment.cgi?id=87186 isn't needed anymore
(probably won't hurt anyway if it's applied). Sorry for the noise.