Ghostscript FTBFS on the Oneiric

Bug #825054 reported by Matthias Klose
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ghostscript (Ubuntu)
Fix Released
Critical
Unassigned
Oneiric
Fix Released
Critical
Unassigned

Bug Description

https://launchpad.net/ubuntu/+source/ghostscript/9.04~dfsg-0ubuntu2/+build/2675090

fails on the buildd, but not on davis, comparing the configure logs doesn't show a difference, so maybe the gconfig_.h from the buildd would be interesting to have.

gcc -DHAVE_MKSTEMP -DHAVE_FILE64 -DHAVE_MKSTEMP64 -DHAVE_FONTCONFIG -DHAVE_LIBIDN -DHAVE_SETLOCALE -DHAVE_DBUS -DHAVE_BSWAP32 -DHAVE_BYTESWAP_H -fPIC -O2 -fPIC -Wall -Wstrict-prototypes -Wundef -Wmissing-declarations -Wmissing-prototypes -Wwrite-strings -Wno-strict-aliasing -Wdeclaration-after-statement -fno-builtin -fno-common -DHAVE_STDINT_H -DGX_COLOR_INDEX_TYPE="unsigned long long" -g -O2 -g -O2 -Wall -fPIC -DUSE_LIBPAPER -DGS_DEVS_SHARED -DGS_DEVS_SHARED_DIR=\"/usr/lib/ghostscript/9.04\" -I./soobj -I./base -DWHICH_CMS="lcms" -g -O2 -g -O2 -Wall -fPIC -DUSE_LIBPAPER -o ./soobj/gp_unix.o -c ./base/gp_unix.c
In file included from ./base/gp_unix.c:17:0:
./base/pipe_.h:39:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
In file included from ./base/gp_unix.c:19:0:
./base/time_.h:49:8: error: redefinition of 'struct timeval'
/usr/include/powerpc-linux-gnu/bits/time.h:75:8: note: originally defined here
./base/gp_unix.c: In function 'gp_get_realtime':
./base/gp_unix.c:148:9: warning: implicit declaration of function 'gettimeofday' [-Wimplicit-function-declaration]
make[3]: *** [soobj/gp_unix.o] Error 1

Tags: ftbfs oneiric
Matthias Klose (doko)
Changed in ghostscript (Ubuntu):
importance: Undecided → High
status: New → Confirmed
tags: added: ftbfs oneiric
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

I have the same problem when compiling locally on my x86_64 Oneiric system. I have found out that /usr/include/sys/time.h is missing amd only a /usr/include/time.h is present. In Natty /usr/include/sys/was full of *.h files in Oneiric it is empty. It seems that there is something wrong with libc6-dev. Moving ...

affects: ghostscript (Ubuntu Oneiric) → eglibc (Ubuntu Oneiric)
Changed in eglibc (Ubuntu Oneiric):
importance: High → Critical
milestone: none → ubuntu-11.10-beta-1
summary: - [powerpc] ghostscript ftbfs on the buildd
+ Ghostscript FTBFS on the Oneiric
Revision history for this message
Matthias Klose (doko) wrote :

wrong

$ dpkg -L libc6-dev|grep time.h
/usr/include/powerpc-linux-gnu/bits/time.h
/usr/include/powerpc-linux-gnu/sys/time.h
/usr/include/time.h
/usr/include/utime.h

affects: eglibc (Ubuntu Oneiric) → ghostscript (Ubuntu Oneiric)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ghostscript - 9.04~dfsg-0ubuntu3

---------------
ghostscript (9.04~dfsg-0ubuntu3) oneiric; urgency=low

  * debian/rules: Add "XCFLAGS=-DHAVE_SYS_TIME_H=1" to the "make" command line
    as the multiarch changes of libc6-dev ar not compatible with Ghostscript's
    auto-detection of time.h (LP: #825054).
  * debian/symbols.common: Updated. Applied patch which dpkg-gensymbols
    generated for debian/libgs9.symbols to this file.
  * debian/patches/020110812~46b4ee6-pxl-landscape.patch: Fixed rendering
    landscape-oriented input files with PCL-XL output through the pxlmono
    and pxlcolor output devices (Upstream bug 692128).
  * debian/patches/020110812~d9e044e-lips4v-fix.patch: Fixed lips4v driver
    (Upstream bug 690565).
 -- Till Kamppeter <email address hidden> Fri, 12 Aug 2011 14:37:31 +0200

Changed in ghostscript (Ubuntu Oneiric):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.