NetBSD Problem Report #50299

From taca@back-street.net  Sun Oct  4 15:30:47 2015
Return-Path: <taca@back-street.net>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(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 8972DA5674
	for <gnats-bugs@gnats.NetBSD.org>; Sun,  4 Oct 2015 15:30:47 +0000 (UTC)
Message-Id: <20151005.003042.236507105905828168.taca@back-street.net>
Date: Mon, 05 Oct 2015 00:30:42 +0900 (JST)
From: taca@NetBSD.org
To: gnats-bugs@NetBSD.org
Subject: mail/postfix-pcre dose not work
X-Send-Pr-Version: 3.95

>Number:         50299
>Category:       pkg
>Synopsis:       mail/postfix-pcre dose not work
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    fhajny
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Oct 04 15:35:00 +0000 2015
>Closed-Date:    Sat Oct 10 19:46:12 +0000 2015
>Last-Modified:  Sat Oct 10 19:46:12 +0000 2015
>Originator:     Takahiro Kambe
>Release:        NetBSD 7.0_RC3
>Organization:
Takahiro Kambe
>Environment:
	<The following information is extracted from your kernel. Please>
	<append output of "ldd", "ident" where relevant (multiple lines).>
System: NetBSD edge.back-street.net 7.0_RC3 NetBSD 7.0_RC3 (VMWARE-F7) #40: Sat Aug 22 22:26:51 JST 2015 taca@edge.back-street.net:/data/amd64/obj/sys/arch/amd64/compile/VMWARE-F7 amd64
Architecture: x86_64
Machine: amd64
>Description:
	mail/postfix-pcre dose not work with error:

	postfix/smtpd[8642]: fatal: load_library_symbols: dlopen failure loading /usr/pkg/lib/postfix/postfix-pcre.so: Shared object "libpcre.so.1" not found

>How-To-Repeat:
	Build postfix and postfix-pcre and run instead of postfix-2.11.6.
>Fix:
	postfix-pcre.so dose not link with RPATH:

	% cd /usr/pkgsrc/postfix-pcre
	% make
	...
	% cd $(make show-var VARNAME=WRKSRC)
	% ldd src/util/postfix-pcre.so 
	src/util/postfix-pcre.so:
		-lpcre.1 => not found
		-lgcc_s.1 => /usr/lib/libgcc_s.so.1
		-lc.12 => /usr/lib/libc.so.12

	Some flags for ld(1) seems to lack...

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->fhajny
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Sun, 04 Oct 2015 22:08:08 +0000
Responsible-Changed-Why:
Over to importer
(this looks like the error: "${BUILDLINK_PREFIX.}" with nothing after the dot)


From: "Takahiro Kambe" <taca@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/50299 CVS commit: pkgsrc/mail
Date: Mon, 5 Oct 2015 00:05:31 +0000

 Module Name:	pkgsrc
 Committed By:	taca
 Date:		Mon Oct  5 00:05:31 UTC 2015

 Modified Files:
 	pkgsrc/mail/postfix-lmdb: Makefile
 	pkgsrc/mail/postfix-mysql: Makefile
 	pkgsrc/mail/postfix-pcre: Makefile
 	pkgsrc/mail/postfix-pgsql: Makefile
 	pkgsrc/mail/postfix-sqlite: Makefile

 Log Message:
 Link with corect rpath.  Fix PR pkg/50299.


 To generate a diff of this commit:
 cvs rdiff -u -r1.1 -r1.2 pkgsrc/mail/postfix-lmdb/Makefile
 cvs rdiff -u -r1.1 -r1.2 pkgsrc/mail/postfix-mysql/Makefile
 cvs rdiff -u -r1.1 -r1.2 pkgsrc/mail/postfix-pcre/Makefile
 cvs rdiff -u -r1.1 -r1.2 pkgsrc/mail/postfix-pgsql/Makefile
 cvs rdiff -u -r1.1 -r1.2 pkgsrc/mail/postfix-sqlite/Makefile

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: Takahiro Kambe <taca@NetBSD.org>
To: gnats-bugs@NetBSD.org, wiz@NetBSD.org
Cc: fhajny@NetBSD.org
Subject: Re: pkg/50299 (mail/postfix-pcre dose not work)
Date: Mon, 05 Oct 2015 09:06:42 +0900 (JST)

 In message <20151004220808.80661A6555@mollari.NetBSD.org>
 	on Sun,  4 Oct 2015 22:08:08 +0000 (UTC),
 	wiz@NetBSD.org wrote:
 > Synopsis: mail/postfix-pcre dose not work
 > 
 > Responsible-Changed-From-To: pkg-manager->fhajny
 > Responsible-Changed-By: wiz@NetBSD.org
 > Responsible-Changed-When: Sun, 04 Oct 2015 22:08:08 +0000
 > Responsible-Changed-Why:
 > Over to importer
 > (this looks like the error: "${BUILDLINK_PREFIX.}" with nothing after the dot)
 It's great hint for me and should be fixed now.
 (I'll pull up to pkgsrc-2015Q3.)

 -- 
 Takahiro Kambe <taca@NetBSD.org>

From: "S.P.Zeidler" <spz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/50299 CVS commit: [pkgsrc-2015Q3] pkgsrc/mail
Date: Tue, 6 Oct 2015 18:41:35 +0000

 Module Name:	pkgsrc
 Committed By:	spz
 Date:		Tue Oct  6 18:41:34 UTC 2015

 Modified Files:
 	pkgsrc/mail/postfix-lmdb [pkgsrc-2015Q3]: Makefile
 	pkgsrc/mail/postfix-mysql [pkgsrc-2015Q3]: Makefile
 	pkgsrc/mail/postfix-pcre [pkgsrc-2015Q3]: Makefile
 	pkgsrc/mail/postfix-pgsql [pkgsrc-2015Q3]: Makefile
 	pkgsrc/mail/postfix-sqlite [pkgsrc-2015Q3]: Makefile

 Log Message:
 Pullup ticket #4833 - requested by taca
 mail/postfix-lmdb: build fix
 mail/postfix-mysql: build fix
 mail/postfix-pcre: build fix
 mail/postfix-pgsql: build fix
 mail/postfix-sqlite: build fix

 Revisions pulled up:
 - mail/postfix-lmdb/Makefile                                    1.1-1.3
 - mail/postfix-mysql/Makefile                                   1.1-1.3
 - mail/postfix-pcre/Makefile                                    1.1-1.3
 - mail/postfix-pgsql/Makefile                                   1.1-1.3
 - mail/postfix-sqlite/Makefile                                  1.1-1.3

 -------------------------------------------------------------------
    Module Name:	pkgsrc
    Committed By:	taca
    Date:		Mon Oct  5 00:05:31 UTC 2015

    Modified Files:
    	pkgsrc/mail/postfix-lmdb: Makefile
    	pkgsrc/mail/postfix-mysql: Makefile
    	pkgsrc/mail/postfix-pcre: Makefile
    	pkgsrc/mail/postfix-pgsql: Makefile
    	pkgsrc/mail/postfix-sqlite: Makefile

    Log Message:
    Link with corect rpath.  Fix PR pkg/50299.

    To generate a diff of this commit:
    cvs rdiff -u -r1.1 -r1.2 pkgsrc/mail/postfix-lmdb/Makefile
    cvs rdiff -u -r1.1 -r1.2 pkgsrc/mail/postfix-mysql/Makefile
    cvs rdiff -u -r1.1 -r1.2 pkgsrc/mail/postfix-pcre/Makefile
    cvs rdiff -u -r1.1 -r1.2 pkgsrc/mail/postfix-pgsql/Makefile
    cvs rdiff -u -r1.1 -r1.2 pkgsrc/mail/postfix-sqlite/Makefile

 -------------------------------------------------------------------
    Module Name:	pkgsrc
    Committed By:	taca
    Date:		Mon Oct  5 00:14:13 UTC 2015

    Modified Files:
    	pkgsrc/mail/postfix-lmdb: Makefile
    	pkgsrc/mail/postfix-mysql: Makefile
    	pkgsrc/mail/postfix-pcre: Makefile
    	pkgsrc/mail/postfix-pgsql: Makefile
    	pkgsrc/mail/postfix-sqlite: Makefile

    Log Message:
    Bump PKGREVISION.

    To generate a diff of this commit:
    cvs rdiff -u -r1.2 -r1.3 pkgsrc/mail/postfix-lmdb/Makefile
    cvs rdiff -u -r1.2 -r1.3 pkgsrc/mail/postfix-mysql/Makefile
    cvs rdiff -u -r1.2 -r1.3 pkgsrc/mail/postfix-pcre/Makefile
    cvs rdiff -u -r1.2 -r1.3 pkgsrc/mail/postfix-pgsql/Makefile
    cvs rdiff -u -r1.2 -r1.3 pkgsrc/mail/postfix-sqlite/Makefile


 To generate a diff of this commit:
 cvs rdiff -u -r1.1 -r1.1.2.1 pkgsrc/mail/postfix-lmdb/Makefile
 cvs rdiff -u -r1.1 -r1.1.2.1 pkgsrc/mail/postfix-mysql/Makefile
 cvs rdiff -u -r1.1 -r1.1.2.1 pkgsrc/mail/postfix-pcre/Makefile
 cvs rdiff -u -r1.1 -r1.1.2.1 pkgsrc/mail/postfix-pgsql/Makefile
 cvs rdiff -u -r1.1 -r1.1.2.1 pkgsrc/mail/postfix-sqlite/Makefile

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sat, 10 Oct 2015 19:46:12 +0000
State-Changed-Why:
pulled up


>Unformatted:
 	<Please check that the above is correct for the bug being reported,>
 	<and append source date of snapshot, if applicable (one line).>

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.