pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/29700 (lang/sun-jre15 won't install using pkg_comp & libkver)



The following reply was made to PR pkg/29700; it has been noted by GNATS.

From: David Holland <dholland-pbugs%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: seb%NetBSD.org@localhost, gnats-admin%netbsd.org@localhost, 
pkgsrc-bugs%netbsd.org@localhost,
        kre%munnari.OZ.AU@localhost
Subject: Re: pkg/29700 (lang/sun-jre15 won't install using pkg_comp &
        libkver)
Date: Thu, 11 Feb 2010 03:23:15 +0000

 On Wed, Feb 10, 2010 at 07:50:04PM +0000, Robert Elz wrote:
  >  That's true, but this problem actually related to any application
  >  using linux emulation - libkver assumes a NetBSD libc (it sed
  >  <ctype.h>) - glibc has a totally different idea of how isdigit()
  >  ought to be implemented, and the symbols that libkver expects
  >  libc to provide just aren't there.
 
 Is it doing LD_PRELOAD=... with a NetBSD library on a Linux bin? That
 would certainly explain why it would be failing.
 
 Since the Linux emulation already has the ability to lie about the
 kernel version (since it has to pretend to be Linux) it should just
 not do this for Linux bins, I think... but figuring out where this
 happens and how to tell when it's happening probably isn't trivial.
 
 Anyway, do you know of another package (preferably, a simpler one)
 that exhibits the same behavior? Having no test case will just
 guarantee that it sits around for another five years without anyone
 doing anything. :-/
 
 (but I agree, it should be reopened, or maybe we should file a new
 PR.)
 
 -- 
 David A. Holland
 dholland%netbsd.org@localhost
 


Home | Main Index | Thread Index | Old Index