Package Details: epstool 3.09-1

Git Clone URL: https://aur.archlinux.org/epstool.git (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: http://pages.cs.wisc.edu/~ghost/gsview/epstool.htm
Licenses: GPL
Submitter: orivej
Maintainer: frazar0
Last Packager: haawda
Votes: 55
Popularity: 0.024133
First Submitted: 2007-11-25 20:44 (UTC)
Last Updated: 2018-09-04 21:31 (UTC)

Latest Comments

« First ‹ Previous 1 2

Ambrevar commented on 2012-04-10 13:10 (UTC)

Compilation may fail. I've found an error, or at least a "weakness" in the code of epstool. Compilation with option CFLAGS=-O2 -D_FORTIFY_SOURCE=2 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 : http://pastebin.com/U2hkgiVw

<deleted-account> commented on 2011-07-21 07:16 (UTC)

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.