tech-pkg archive

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

Re: libtool-base refusing to even start building on ia64-hp-hpux11.31



On Sun, Mar 08, 2015 at 07:54:20PM +0000, Paul Ackersviller wrote:
 > > Paul Ackersviller <pda%sdf.org@localhost> wrote:
 > > 
 > > > I'm pretty sure much of pkgsrc worked on this box last year, but now
 > > > with 2014q4, after bootstrapping, I'm only getting as far as...
 > > > 
 > > > ERROR: This package has set PKG_FAIL_REASON:
 > > > ERROR: libtool-base-2.4.2nb9 requires a working dlopen().
 > > 
 > > 11.31 certainly has working dlopen. Check for problems in
 > > dlopen.builtin.mk as well as dlopen.buildlink3.mk. I don't see
 > > any recent changes in those files though.
 > 
 > Yes... I don't really know enough about pkgsrc to know what problems
 > to look for, to which you refer.  It does seem to me though that the
 > situation may originate somewhere in bootstrapping, give that the above
 > error is the entirety of my output, nothing more is attempted before
 > or after.  I see no reference to dlopen anywhere in bootstrapping,
 > so not sure where to go from here.

The message comes from here:

   .if !empty(USE_BUILTIN.dl:M[yY][eE][sS])
   BUILDLINK_TREE+=                dl -dl
   BUILDLINK_BUILTIN_MK.dl=        ../../mk/dlopen.builtin.mk
   BUILDLINK_AUTO_VARS.dl=         ${DL_AUTO_VARS}
   .elif !empty(MACHINE_PLATFORM:MDarwin-[56].*)
   .  include "../../devel/dlcompat/buildlink3.mk"
   BUILDLINK_AUTO_VARS.dlcompat=   ${DL_AUTO_VARS}
   BUILDLINK_LDFLAGS.dl:=          ${BUILDLINK_LDFLAGS.dlcompat}
   .else
   PKG_FAIL_REASON=        "${PKGNAME} requires a working dlopen()."
   .endif

in mk/dlopen.buildlink3.mk. USE_BUILTIN.dl is set by mk/dlopen.builtin.mk, 
which begins by checking for <dlfcn.h> and -ldl. Most likely, the
problem is that this check isn't working. Try doing 'bmake show-var
VARNAME=IS_BUILTIN.dl' in devel/libtool-base. If that prints "no" the
next step is to figure out why the check fails.

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index