NetBSD Problem Report #53755

From triaxx@NetBSD.org  Sat Dec  1 04:37:19 2018
Return-Path: <triaxx@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 "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 8555A7A1DF
	for <gnats-bugs@gnats.NetBSD.org>; Sat,  1 Dec 2018 04:37:19 +0000 (UTC)
Message-Id: <20181201043718.3C4767A225@mollari.NetBSD.org>
Date: Sat,  1 Dec 2018 04:37:18 +0000 (UTC)
From: triaxx@NetBSD.org
Reply-To: triaxx@NetBSD.org
To: gnats-bugs@NetBSD.org
Subject: databases/postgresql11-client jobs safe build?
X-Send-Pr-Version: 3.95

>Number:         53755
>Category:       pkg
>Synopsis:       databases/postgresql11-client jobs safe build?
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    adam
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Dec 01 04:40:00 +0000 2018
>Last-Modified:  Sat Dec 01 09:51:27 +0000 2018
>Originator:     Frédéric Fauberteau
>Release:        NetBSD 8.0 / pkgsrc-HEAD
>Organization:

>Environment:
System: NetBSD mollari.NetBSD.org 7.1_STABLE NetBSD 7.1_STABLE (amd64-DOMU_SERVER) #11: Sat Apr 21 19:42:29 UTC 2018 spz@franklin.NetBSD.org:/home/netbsd/7/amd64/obj/sys/arch/amd64/compile/amd64-DOMU_SERVER amd64
Architecture: x86_64
Machine: amd64
>Description:
	Build process fails with the following error:
	//////////
	[...]
	cc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -I/usr/pkg/include -I/usr/include/krb5 initdb.o findtimezone.o localtime.o encnames.o  -L../../../src/port -L../../../src/common -L../../../src/fe_utils -lpgfeutils -L../../../src/common -lpgcommon -L../../../src/port -lpgport -L../../../src/interfaces/libpq -lpq -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L/usr/lib -L/usr/lib -L/usr/lib  -Wl,--as-needed -Wl,-R'/usr/pkg/lib'  -lpgcommon -lpgport -lintl -lxml2 -lssl -lcrypto -lgssapi -lkrb5 -lcrypto -lz -ledit -lcurses -lrt -lcrypt -lm  -o initdb
	rm -f libpgfeutils.a
	ar cr libpgfeutils.a mbprint.o print.o psqlscan.o simple_list.o string_utils.o conditional.o
	ld: cannot find -lpgfeutils
	gmake[1]: *** [Makefile:34: initdb] Error 1
	[...]
	\\\\\\\\\\

	The package has been built with pbulk/sandbox. The full report is here:
	http://pkg.triaxx.org/pub/pkgsrc/reports/NetBSD/amd64/www_8.0/20181130.0629/postgresql11-client-11.1/build.log
>How-To-Repeat:
	I built it with 'bmake install' without any error.
>Fix:
	Index: Makefile
	===================================================================
	RCS file: /cvsroot/pkgsrc/databases/postgresql11-client/Makefile,v
	retrieving revision 1.1
	diff -r1.1 Makefile
	40a41,42
	> MAKE_JOBS_SAFE=		no
	> 

	It now build without error in pbulk/sandbox.

	If a skillful eye validates my assumption, I commit. Meanwhile I will try other tests.

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->adam
Responsible-Changed-By: bsiegert@NetBSD.org
Responsible-Changed-When: Sat, 01 Dec 2018 09:51:27 +0000
Responsible-Changed-Why:
Over to maintainer.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

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