NetBSD Problem Report #51442

From mm_lists@pulsar-zone.net  Wed Aug 24 00:49:50 2016
Return-Path: <mm_lists@pulsar-zone.net>
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 E0FF57A1B7
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 24 Aug 2016 00:49:50 +0000 (UTC)
Message-Id: <201608240049.u7O0nkQT013119@ginseng.pulsar-zone.net>
Date: Tue, 23 Aug 2016 20:49:46 -0400
From: Matthew Mondor <mm_lists@pulsar-zone.net>
To: gnats-bugs@NetBSD.org
Subject: pkgsrc-2016Q2 NetBSD-7/amd64 postgresql95-contrib build fail

>Number:         51442
>Category:       pkg
>Synopsis:       pkgsrc-2016Q2 NetBSD-7/amd64 postgresql95-contrib build fail
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Aug 24 00:50:00 +0000 2016
>Originator:     Matthew Mondor
>Release:        NetBSD 7.0_STABLE
>Organization:
>Environment:
System: NetBSD ninja.xisop 7.0_STABLE NetBSD 7.0_STABLE (GENERIC_MM) #0: Thu Jul 28 22:49:47 EDT 2016 root@ninja.xisop:/usr/obj/sys/arch/amd64/compile/GENERIC_MM amd64
Architecture: x86_64
Machine: amd64
>Description:

[...]
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -g -O2 -I/usr/include -I/usr/pkg/include -fpic -DPIC -L/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib  -Wl,--as-needed -Wl,-R'/usr/pkg/lib' -L/usr/pkg/lib/postgresql/pgxs/src/makefiles/../../src/port -lpgport  -shared -o timetravel.so timetravel.o
ld: /usr/pkgsrc-obj/databases/postgresql95-contrib/work/.buildlink/lib/libpgport.a(pgstrcasecmp.o): relocation R_X86_64_PC32 against undefined symbol `_ctype_tab_' can not be used when making a shared object; recompile with -fPIC
ld: final link failed: Bad value
gmake: *** [/usr/pkg/lib/postgresql/pgxs/src/makefiles/../../src/Makefile.port:22: timetravel.so] Error 1
*** Error code 2

Stop.
make[2]: stopped in /usr/pkgsrc/databases/postgresql95-contrib
*** Error code 1

Stop.
make[1]: stopped in /usr/pkgsrc/databases/postgresql95-contrib
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/databases/postgresql95-contrib


>How-To-Repeat:
	cd /usr/pkgsrc/databases/postgresql95-contrib && make bin-install
>Fix:

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.