Package Details: epstool 3.09-1

Git Clone URL: (read-only, click to copy)
Package Base: epstool
Description: Utility to create or extract preview images in EPS files, fix bounding boxes and convert to bitmaps
Upstream URL:
Licenses: GPL
Submitter: orivej
Maintainer: haawda
Last Packager: haawda
Votes: 53
Popularity: 0.000005
First Submitted: 2007-11-25 20:44
Last Updated: 2018-09-04 21:31

Latest Comments

« First ‹ Previous 1 2

Ambrevar commented on 2012-04-10 13:08

Compilation may fail.

I've found an error, or at least a "weakness" in the code of epstool.
Compilation with option


will fail. (Both options must be set to reproduce the error).
Since epstool's makefile uses but does not set this variable, every compilation tool using these options by default will fail in compiling the program. (Portage trees are very likely to be affected).

The compiler reports the error to come from a missing argument in open() function called from epstool.c. As of version 3.08, open() is called at lines 2827 and 2835.
To fix the error, you need to set the creation mode. For example :

2827: handle = open(stdout_name, O_WRONLY | O_CREAT, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH);
2835: handle = open(stderr_name, O_WRONLY | O_CREAT, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH);

Note that the mode I've suggested is not necessarily ideal for the purpose of this tool.
I've just used an example from the fcntl.h manpage.


I've reported the issue to the author. Meanwhile, I suggest using a patch :

Anonymous comment on 2011-07-21 07:16

It seems that the FTP server does not works properly; I suggest to patch the PKGBUILD source path to point to the HTTP server instead as it is for the download link on the Epstool official web site.