Subject: Re: pkg/36797: lang/scsl-jre15 won't build with modular xorg
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Takahiro Kambe <taca@back-street.net>
List: pkgsrc-bugs
Date: 08/18/2007 03:25:03
The following reply was made to PR pkg/36797; it has been noted by GNATS.

From: Takahiro Kambe <taca@back-street.net>
To: smb@cs.columbia.edu
Cc: gnats-bugs@NetBSD.org, tnn@NetBSD.org
Subject: Re: pkg/36797: lang/scsl-jre15 won't build with modular xorg
Date: Sat, 18 Aug 2007 12:23:27 +0900 (JST)

 In message <20070817121415.B37E47660CD@berkshire.machshav.com>
 	on Fri, 17 Aug 2007 08:14:15 -0400,
 	"Steven M. Bellovin" <smb@cs.columbia.edu> wrote:
 > >  This one doesn't look like a modular x.org problem -- libstdc++.5
 > >  doesn't exist on -current so I guess this doesn't work even with
 > >  XFree86. Do we have any compat package that can provide it?
 > 
 > Hmm.  I don't have a modular Xorg machine to check this on, but the
 > problem happened only when I did a bulk build via pkg_comp -- but
 > that's the only place I can easily test modular xorg yet.
 I have the same experience.  Maybe old libtstdc++.so.5 which isn't
 exist on NetBSD current anymore remains in tree.  So, in the case of
 pkg_comp would be fail but succeed without pkg_comp.
 
 > Again, might this be a pkg_comp problem?  With a bit of luck, some time
 > late this afternoon I can install the results of my bulk build to see
 > what happens without pkg_comp.
 Some commmands and libraries in jre-1_5_0-p3-bin-duh1-bsd-i586.tar.bz2
 linked with libstdc++.so.5:
 
 jre1.5.0/bin/unpack200:
         -lstdc++.5 => /usr/lib/libstdc++.so.5
         -lm.0 => /usr/lib/libm387.so.0
         -lm.0 => /usr/lib/libm.so.0
         -lpthread.0 => /usr/lib/libpthread.so.0
         -lc.12 => /usr/lib/libc.so.12
 jre1.5.0/lib/i386/libfontmanager.so:
         -lawt => not found
         -ljava => not found
         -ljvm => not found
         -lstdc++.5 => /usr/lib/libstdc++.so.5
         -lm.0 => /usr/lib/libm387.so.0
         -lm.0 => /usr/lib/libm.so.0
         -lpthread.0 => /usr/lib/libpthread.so.0
 jre1.5.0/lib/i386/libunpack.so:
         -ljvm => not found
         -ljava => not found
         -lstdc++.5 => /usr/lib/libstdc++.so.5
         -lm.0 => /usr/lib/libm387.so.0
         -lm.0 => /usr/lib/libm.so.0
         -lpthread.0 => /usr/lib/libpthread.so.0
 
 One possible solution is provide something emulator/compat4 pacakge?
 libstdc++.so.5 was included until NetBSD 3.x.
 
 -- 
 Takahiro Kambe <taca@back-street.net>