NetBSD Problem Report #54991

From www@netbsd.org  Thu Feb 20 15:04:47 2020
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 "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id D0A411A9213
	for <gnats-bugs@gnats.NetBSD.org>; Thu, 20 Feb 2020 15:04:47 +0000 (UTC)
Message-Id: <20200220150446.BDF7A1A9217@mollari.NetBSD.org>
Date: Thu, 20 Feb 2020 15:04:46 +0000 (UTC)
From: rares.aioanei@gmail.com
Reply-To: rares.aioanei@gmail.com
To: gnats-bugs@NetBSD.org
Subject: Cannot compile PostgreSQL 11 on -current with dtrace option
X-Send-Pr-Version: www-1.0

>Number:         54991
>Category:       pkg
>Synopsis:       Cannot compile PostgreSQL 11 on -current with dtrace option
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    adam
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Feb 20 15:05:00 +0000 2020
>Last-Modified:  Sun Feb 23 09:38:51 +0000 2020
>Originator:     Rares Aioanei
>Release:        HEAD / 20th of February 2020
>Organization:
>Environment:
NetBSD localhost 9.99.47 NetBSD 9.99.47 (GENERIC) #0: Wed Feb 19 21:49:48 UTC 2020  mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/amd64/compile/GENERIC amd64

>Description:
When trying to compile psql 11 with dtrace and llvm options, I get this : 

==========================================================================
=> Tool dependency bison>=1.0: found bison-3.4.2
=> Tool dependency gmake>=3.81: found gmake-4.2.1nb1
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
=> Full dependency postgresql11-client>=11.7: NOT found
=> Verifying reinstall for ../../databases/postgresql11-client
=> Bootstrap dependency digest>=20010302: found digest-20190127
===> Building for postgresql11-client-11.7
/usr/pkg/bin/gmake -C ../../src/backend generated-headers
gmake[1]: Entering directory '/home/arares/pkgsrc/databases/postgresql11-client/work/postgresql-11.7/src/backend'
/usr/pkg/bin/gmake -C catalog distprep generated-header-symlinks
gmake[2]: Entering directory '/home/arares/pkgsrc/databases/postgresql11-client/work/postgresql-11.7/src/backend/catalog'
gmake[2]: Nothing to be done for 'distprep'.
gmake[2]: Nothing to be done for 'generated-header-symlinks'.
gmake[2]: Leaving directory '/home/arares/pkgsrc/databases/postgresql11-client/work/postgresql-11.7/src/backend/catalog'
/usr/pkg/bin/gmake -C utils distprep generated-header-symlinks
gmake[2]: Entering directory '/home/arares/pkgsrc/databases/postgresql11-client/work/postgresql-11.7/src/backend/utils'
gmake[2]: Nothing to be done for 'distprep'.
/usr/sbin/dtrace -C -h -s probes.d -o probes.h.tmp
dtrace: failed to compile script probes.d: "/usr/lib/dtrace/psinfo.d", line 46: failed to copy type of 'pr_arglen': Type information is in parent and unavailable
gmake[2]: *** [Makefile:57: probes.h] Error 1
gmake[2]: Leaving directory '/home/arares/pkgsrc/databases/postgresql11-client/work/postgresql-11.7/src/backend/utils'
gmake[1]: *** [Makefile:151: submake-utils-headers] Error 2
gmake[1]: Leaving directory '/home/arares/pkgsrc/databases/postgresql11-client/work/postgresql-11.7/src/backend'
gmake: *** [../../src/Makefile.global:370: submake-generated-headers] Error 2
*** Error code 2

Stop.
make[2]: stopped in /home/arares/pkgsrc/databases/postgresql11-client
*** Error code 1

Stop.
make[1]: stopped in /home/arares/pkgsrc/databases/postgresql11-client
*** Error code 1

Stop.
make: stopped in /home/arares/pkgsrc/databases/postgresql11

>How-To-Repeat:

>Fix:

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->adam
Responsible-Changed-By: leot@NetBSD.org
Responsible-Changed-When: Sun, 23 Feb 2020 09:38:51 +0000
Responsible-Changed-Why:
Adam, can you please give it a look?
(over to MAINTAINER)


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.