NetBSD Problem Report #51764

From  Tue Jan  3 07:57:34 2017
Return-Path: <>
Received: from ( [])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "", Issuer "Postmaster" (verified OK))
	by (Postfix) with ESMTPS id B344C7A2A7
	for <>; Tue,  3 Jan 2017 07:57:34 +0000 (UTC)
Message-Id: <>
Date: Tue,  3 Jan 2017 07:57:32 +0000 (UTC)
Subject: ghostscript-gpl build problem with cwrappers on Solaris/i86
X-Send-Pr-Version: www-1.0

>Number:         51764
>Category:       pkg
>Synopsis:       ghostscript-gpl build problem with cwrappers on Solaris/i86
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    joerg
>State:          suspended
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jan 03 08:00:00 +0000 2017
>Last-Modified:  Tue Jan 29 06:47:18 +0000 2019
>Originator:     Joern Clausen
University of Bielefeld
In addition to the problems with cwrappers on Solaris/sparc reported in pkg/51594, compilation now also fails for me on Solaris/i86. Compiling print/ghostscript-gpl with active cwrappers results in

gmake[2]: Entering directory `/opt/pkgsrc/pkg-hrz/pkgsrc/print/ghostscript-gpl/work.pkgsrc-sol11i86/ghostscript-9.06'
gcc  -DHAVE_MKSTEMP   -DHAVE_FONTCONFIG  -DHAVE_SETLOCALE -DHAVE_SSE2  -DHAVE_BSWAP32  -DHAVE_STRERROR -O2 -Ijpeg -I/opt/pkg-hrz/20160711/include -I/opt/pkg-hrz/20160711/include/freetype2  -Wall -Wstrict-prototypes -Wundef -Wmissing-declarations -Wmissing-prototypes -Wwrite-strings -Wno-strict-aliasing -Wdeclaration-after-statement -fno-builtin -fno-common -DHAVE_STDINT_H=1 -DHAVE_DIRENT_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_TIMES_H=1 -DGX_COLOR_INDEX_TYPE="unsigned long int" -DA4 -fPIC -I/opt/pkg-hrz/20160711/include -I/opt/pkg-hrz/20160711/include/freetype2 -DUSE_LIBICONV_GNU -DUSE_LIBPAPER   -I./soobj -I./base  -DWHICH_CMS="lcms2" -g -o ./sobin/gsc ./psi/dxmainc.c \
-L./sobin -Wl,-R/opt/pkg-hrz/20160711/lib -lgs
Undefined                       first referenced
 symbol                             in file
xcb_poll_for_reply64                /opt/pkg-hrz/20160711/lib/
xcb_wait_for_reply64                /opt/pkg-hrz/20160711/lib/
ld: fatal: symbol referencing errors
collect2: error: ld returned 1 exit status
gmake[2]: *** [sobin/gsc] Error 1
gmake[2]: Leaving directory `/opt/pkgsrc/pkg-hrz/pkgsrc/print/ghostscript-gpl/work.pkgsrc-sol11i86/ghostscript-9.06'
gmake[1]: *** [so-subtarget] Error 2
gmake[1]: Leaving directory `/opt/pkgsrc/pkg-hrz/pkgsrc/print/ghostscript-gpl/work.pkgsrc-sol11i86/ghostscript-9.06'
gmake: *** [so] Error 2
*** Error code 2 was built in October 2016 and has been linked to numerous packages since then. With cwrappers turned off, ghostscript-gpl builds successfully.

.work.log and other files from both builds are available on request.





Responsible-Changed-From-To: pkg-manager->joerg
Responsible-Changed-When: Tue, 03 Jan 2017 08:20:33 +0000
Improved SYNOPSIS; over to cwrappers maintainer for analysis

State-Changed-From-To: open->suspended
State-Changed-When: Sun, 08 Jan 2017 15:36:31 +0000
Suggested by submitter in PR 51594


NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD:,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.