Subject: pkg/10853: emulation pkg build fails if PKG_DEVELPOER is defined (make check-shlibs)
To: None <gnats-bugs@gnats.netbsd.org>
From: None <itojun@itojun.org>
List: netbsd-bugs
Date: 08/17/2000 18:38:12
>Number:         10853
>Category:       pkg
>Synopsis:       emulation pkg build fails if PKG_DEVELPOER is defined (make check-shlibs)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Aug 17 18:39:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Jun-ichiro itojun Hagino
>Release:        main trunc, 20000816
>Organization:
	itojun.org
>Environment:
System: NetBSD starfruit.itojun.org 1.5E NetBSD 1.5E (STARFRUIT) #93: Wed Aug 16 07:07:49 JST 2000 itojun@starfruit.itojun.org:/usr/home/itojun/NetBSD/src/sys/arch/i386/compile/STARFRUIT i386


>Description:
	recently PKG_DEVELOPER package build introduced a call to
	"make check-shlibs".  make check-shlibs does not work for emulated
	packages, like Linux emulation binaries.

>How-To-Repeat:
	try "make install" in pkgsrc/video/mtv, with PKG_DEVELOPER set to YES.

>Fix:
	i'm not sure if we should address this problem at all.
	PKG_DEVELOPER option is not for general public.
	we can say that "PKG_DEVELOPER should know that check-shlibs fails for
	emulated binaries".

	if we should address this problem, it can be done like below:
	- have a pkg-defined EMULATED_BINARY flag, which supress check-shlibs.
	- install /emul/opsys/whatever/ldd in pkgsrc/emulators/*,
	  use those in check-shlibs instead.  (could be very hard)
>Release-Note:
>Audit-Trail:
>Unformatted: