Re: Ghostscript/GhostPDL 9.22 Release Candidate 2

Johannes Meixner <[email protected]> Fri, 29 Sep 2017 10:38:54 +0200 (CEST)
Newsgroups gmane.comp.printing.ghostscript.devel
Message-ID <[email protected]>
Hello,

On Sep 28 14:01 Chris Liddell wrote (excerpt):
> second release candidates for Ghostscript ... 9.22

here only a quick build failure report since 9.22-rc2
(it worked with 9.22-rc1) - I did not yet analyze it:

Now with 9.22-rc2 build fails with something like
(example excerpts from a build log - long lines wrapped):
--------------------------------------------------------------
+ pushd ijs
...
Now type `make' to compile ijs
+ ./configure --prefix=/usr --bindir=/usr/bin
  --libdir=/usr/lib64 --datadir=/usr/share
  --mandir=/usr/share/man --infodir=/usr/share/info
  --enable-shared --disable-static
  ...
+ make
/bin/sh ./libtool --tag=CC --mode=compile gcc
  -DPACKAGE_NAME=\"ijs\"
  -DPACKAGE_TARNAME=\"ijs_name\" -DPACKAGE_VERSION=\"0.35\"
  -DPACKAGE_STRING=\"ijs\ 0.35\" -D PACKAGE_BUGREPORT=\"\"
  -DPACKAGE_URL=\"\" -DPACKAGE=\"ijs_name\" -DVERSION=\"0.35\"
  -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1
  -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
  -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
  -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\"
  -I. -fmessage-length=0 -grecord-gcc-switches -O2 -Wall
  -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables
  -fasynchronous-unwind-tables -fno-strict-aliasing -c
  -o ijs.lo ijs.c
libtool: Version mismatch error.  This is libtool 2.4.6
  Debian-2.4.6-2, but the
libtool: definition of this LT_INIT comes from libtool 2.4.2.
libtool: You should recreate aclocal.m4 with macros
  from libtool 2.4.6 Debian-2.4.6-2
libtool: and run autoconf again.
Makefile:569: recipe for target 'ijs.lo' failed
make: *** [ijs.lo] Error 63
--------------------------------------------------------------

This is how I make ijs (and made it all the time in the past)
in ghostscript.spec:
--------------------------------------------------------------
# Configure and make libijs (that is not done regardless
# whether or not --with-ijs is used above):
pushd ijs
./autogen.sh
./configure --prefix=%{_prefix} \
             --bindir=%{_bindir} \
             --libdir=%{_libdir} \
             --datadir=%{_datadir} \
             --mandir=%{_mandir} \
             --infodir=%{_infodir} \
             --enable-shared \
             --disable-static
make
popd
--------------------------------------------------------------

For sources (e.g. ghostscript.spec) and full build logs got to

https://build.opensuse.org/package/show/home:jsmeix:branches:Printing/ghostscript

and there click on the "failed" buld results links.

Build only works with newest stuff like openSUSE_Tumbleweed
but fails for all others like openSUSE_Leap and SLE_12.

I wished I could "just provide" the newest Ghostscript
also for released stuff like openSUSE_Leap and SLE_12
so that suer whi need the newest Ghostscript could upgrade
via the openSUSE Build Service "Printing" project:
https://build.opensuse.org/project/show/Printing


Kind Regards
Johannes Meixner
-- 
SUSE LINUX GmbH - GF: Felix Imendoerffer, Jane Smithard,
Graham Norton - HRB 21284 (AG Nuernberg)