Subject: pkg/4938: jpeg tries to build with ld -Bforcearchive, fails on pmax
To: None <gnats-bugs@gnats.netbsd.org>
From: Chris Jones <cjones@pmax.math.montana.edu>
List: netbsd-bugs
Date: 02/04/1998 15:54:03
>Number:         4938
>Category:       pkg
>Synopsis:       jpeg tries to build with ld -Bforcearchive and fails on pmax
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Feb  4 15:05:00 1998
>Last-Modified:
>Originator:     Chris Jones
>Organization:
-------------------------------------------------------------------------------
Chris Jones                                    cjones@rupert.honors.montana.edu
           Mad scientist in training...
"Is this going to be a stand-up programming session, sir, or another bug hunt?"
>Release:        <NetBSD-current source date>1.3
>Environment:
	
System: NetBSD pmax.math.montana.edu 1.3 NetBSD 1.3 (PMAX) #0: Wed Jan 28 15:23:19 MST 1998 root@pmax.math.montana.edu:/usr/src/sys/arch/pmax/compile/PMAX pmax

/usr/share/mk/bsd.port.mk:#	$NetBSD: bsd.port.mk,v 1.43 1998/02/02 08:11:49 hubertf Exp $
/usr/share/mk/bsd.port.subdir.mk:#	$NetBSD: bsd.port.subdir.mk,v 1.7 1998/01/30 14:33:48 agc Exp $
/usr/share/mk/bsd.own.mk:#	$NetBSD: bsd.own.mk,v 1.58 1998/01/15 09:37:25 agc Exp $

>Description:
The jpeg package won't build on pmax because it tries to run ld with
-Bforcearchive, which apparently doesn't work on pmax.
	
>How-To-Repeat:
	
>Fix:
I removed the string "-Bforcearchive " from patch-aa, and the package now
compiles and installs.  I'm sure that's not the right way to do this, but
I'm not familiar enough with the package system to know where to put
architecture-specific patch files.

For the record, I'm also not positive that's the *right* way to build
shared libs on a pmax; I just know it compiled and installed something
that file identifies as a shared lib.
	
>Audit-Trail:
>Unformatted: