NetBSD Problem Report #51764

From www@NetBSD.org  Tue Jan  3 07:57:34 2017
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id B344C7A2A7
	for <gnats-bugs@gnats.NetBSD.org>; Tue,  3 Jan 2017 07:57:34 +0000 (UTC)
Message-Id: <20170103075733.022E37A2D2@mollari.NetBSD.org>
Date: Tue,  3 Jan 2017 07:57:32 +0000 (UTC)
From: joern.clausen@uni-bielefeld.de
Reply-To: joern.clausen@uni-bielefeld.de
To: gnats-bugs@NetBSD.org
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
>Closed-Date:    
>Last-Modified:  Sun Jan 08 15:36:31 +0000 2017
>Originator:     Joern Clausen
>Release:        
>Organization:
University of Bielefeld
>Environment:
>Description:
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/libX11.so.6
xcb_wait_for_reply64                /opt/pkg-hrz/20160711/lib/libX11.so.6
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

libX11.so.6 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.

>How-To-Repeat:

>Fix:

>Release-Note:

>Audit-Trail:

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


State-Changed-From-To: open->suspended
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Sun, 08 Jan 2017 15:36:31 +0000
State-Changed-Why:
Suggested by submitter in PR 51594


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.