NetBSD Problem Report #38476
From martin@duskware.de Mon Apr 21 14:01:05 2008
Return-Path: <martin@duskware.de>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by narn.NetBSD.org (Postfix) with ESMTP id 2CDF363B293
for <gnats-bugs@gnats.netbsd.org>; Mon, 21 Apr 2008 14:01:05 +0000 (UTC)
Message-Id: <20080421133719.9E71D63B293@narn.NetBSD.org>
Date: Mon, 21 Apr 2008 13:37:19 +0000 (UTC)
From: xtraeme@gmail.com
Reply-To: xtraeme@gmail.com
To: netbsd-bugs-owner@NetBSD.org
Subject: buildcmd creates broken shared libs after rev 1.3 to wrapper/buildcmd
X-Send-Pr-Version: www-1.0
>Number: 38476
>Category: pkg
>Synopsis: buildcmd creates broken shared libs after rev 1.3 to wrapper/buildcmd
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: kim
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Apr 21 14:05:00 +0000 2008
>Closed-Date: Tue Apr 22 22:39:35 +0000 2008
>Last-Modified: Tue Apr 22 22:39:35 +0000 2008
>Originator: Juan RP
>Release: latest -current
>Organization:
>Environment:
>Description:
With the following commmit pkgsrc/mk/wrapper/buildcmd:
revision 1.3
date: 2008/04/20 12:24:21; author: kim; state: Exp; lines: +2 -2
Keep libraries specified as .a files in their original position among
other libraries (specified with -l).
Fixes a linking problem in net-snmp, where the Perl DynaLoader.a library
becomes out-of-order when all -l arguments have been moved to the end of
the command line.
The wrapper creates shared libraries that are missing required symbols.
>How-To-Repeat:
cd pkgsrc/x11/libXfont && make install clean
cd pkgsrc/fonts/bdftopdf && make install clean
bdftopcf will fail because libXfont is missing the required symbols in the
shared lib, and are only available in the static lib.
>Fix:
Dunno... but reverting this rev makes it all work.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->kim
Responsible-Changed-By: reed@NetBSD.org
Responsible-Changed-When: Mon, 21 Apr 2008 14:17:39 +0000
Responsible-Changed-Why:
Kim: Can you look at this?
From: Joerg Sonnenberger <joerg@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/38476 CVS commit: pkgsrc/mk/wrapper
Date: Mon, 21 Apr 2008 14:43:50 +0000 (UTC)
Module Name: pkgsrc
Committed By: joerg
Date: Mon Apr 21 14:43:50 UTC 2008
Modified Files:
pkgsrc/mk/wrapper: buildcmd
Log Message:
Revert rev 1.3 as it breaks e.g. -Wl,--whole-archive. See PR 38476 for
details.
To generate a diff of this commit:
cvs rdiff -r1.3 -r1.4 pkgsrc/mk/wrapper/buildcmd
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: kim@NetBSD.org
State-Changed-When: Tue, 22 Apr 2008 22:39:35 +0000
State-Changed-Why:
buildcmd change reverted by joerg
>Unformatted:
(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.