Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

GNU GPL (not AGPL) ghostscript 9.06 on windows doesn't build or run.

4 views
Skip to first unread message

Bob Eby

unread,
Apr 16, 2014, 1:00:52 PM4/16/14
to bug-gho...@gnu.org
You'd think it was the version.mak file, but you probably want to look
at this line of code first:

epfm("%d.%02d.%d", (int)(revision_number / 10000 % 100),
(int)(revision_number / 100 % 100), fpart);

Didier Link

unread,
Apr 17, 2014, 7:10:09 AM4/17/14
to Bob Eby, bug-gho...@gnu.org
Hi Bob,

9.06 is a GPL version (from Artifex at ghostscript.com), 9.06.0 is a GNU
one, the project need a "point release" for bugfix only needs. It's one
of the differences between (A)GPL and GNU versions.

What is exactly your problem ? A function without context or error
messages associated can't help to solve a bug.

Thanks

Didier Link
GNU Ghostscript maintainer

signature.asc

Bob Eby

unread,
Apr 17, 2014, 11:36:17 AM4/17/14
to Didier Link, bug-gho...@gnu.org
It's invoking undefined behavior in C. It causes debug assert in
Visual Studio 2010 running in debug mode.

The "mem" parameter is missing, likely it was a copy paste-error from
the duplicate code in: eprintf_program_ident().

C:\Users\reby\Downloads\gnu-ghostscript-9.06.0_original>findstr -siprn
epfm*( *.c
base\gsmisc.c:198: epf((revision_number ? "%s " : "%s"), program_name);
base\gsmisc.c:202: epf("%d.%02d.%d", (int)(revision_number
/ 10000 % 100),
base\gsmisc.c:205: epf(": ");
base\gsmisc.c:214: epfm(mem, (revision_number ? "%s " : "%s"),
program_name);
base\gsmisc.c:218: epfm("%d.%02d.%d", (int)(revision_number
/ 10000 % 100),
base\gsmisc.c:221: epfm(mem, ": ");
base\gsmisc.c:228: epf("%s(%d): ", file, line);
base\gsmisc.c:234: epf("%s(?): ", file);

> What is exactly your problem ?

Your mama.

Didier Link

unread,
Apr 17, 2014, 1:30:57 PM4/17/14
to Bob Eby, bug-gho...@gnu.org
Le jeudi 17 avril 2014 à 11:36 -0400, Bob Eby a écrit :
> It's invoking undefined behavior in C. It causes debug assert in
> Visual Studio 2010 running in debug mode.
>
> The "mem" parameter is missing, likely it was a copy paste-error from
> the duplicate code in: eprintf_program_ident().
>
> C:\Users\reby\Downloads\gnu-ghostscript-9.06.0_original>findstr -siprn
> epfm*( *.c
> base\gsmisc.c:198: epf((revision_number ? "%s " : "%s"), program_name);
> base\gsmisc.c:202: epf("%d.%02d.%d", (int)(revision_number
> / 10000 % 100),
> base\gsmisc.c:205: epf(": ");
> base\gsmisc.c:214: epfm(mem, (revision_number ? "%s " : "%s"),
> program_name);
> base\gsmisc.c:218: epfm("%d.%02d.%d", (int)(revision_number
> / 10000 % 100),

Thanks a lot for pointing me to this line, a copy/paste error as you
said above. The bug will be solved for the next release.

I've never seen a problem before, maybe this function is only used in a
library context. The base code is from the GPL Ghostscript version
developped by Artifex Software, Inc.


> base\gsmisc.c:221: epfm(mem, ": ");
> base\gsmisc.c:228: epf("%s(%d): ", file, line);
> base\gsmisc.c:234: epf("%s(?): ", file);
>
> > What is exactly your problem ?
>
> Your mama.

She's fine thank you!

Best regards and happy printing with ghostscript !

Didier

signature.asc

Bob Eby

unread,
Apr 17, 2014, 6:29:03 PM4/17/14
to Didier Link, bug-gho...@gnu.org
> The bug will be solved for the next release.

When might that be? September 2014?

Is this an outdated version?
01/01/2013 12:00AM 19,083,184 gnu-ghostscript-9.06.0.tar.bz2

0 new messages