pkgsrc-Bugs archive

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

Re: pkg/52244: can't compile print/luatex any longer on Solaris 11, mprf.h



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

From: coypu%sdf.org@localhost
To: gnats-bugs%NetBSD.org@localhost
Cc: joern.clausen%uni-bielefeld.de@localhost
Subject: Re: pkg/52244: can't compile print/luatex any longer on Solaris 11,
 mprf.h
Date: Fri, 19 May 2017 07:50:03 +0000

 It seems we pass this as a CONFIGURE_ARGS:
 CONFIGURE_ARGS+=	--with-system-mpfr \
 			--with-mpfr-includes=${BUILDLINK_PREFIX.mpfr}/include \
 			--with-mpfr-libdir=${BUILDLINK_PREFIX.mpfr}/lib
 
 And in my case:
 $ make show-var VARNAME=BUILDLINK_PREFIX.mpfr
 /usr/pkg
 
 $ file /usr/pkg/include/mpfr.h
 /usr/pkg/include/mpfr.h: ASCII text
 
 Can double check with
 "make show-var VARNAME=CONFIGURE_ARGS" to see that it is indeed passed correctly.
 
 seems like it is supposed to be read by pkgsrc/print/luatex/work/texlive-20160523-source/texk/web2c/configure
 
 # Check whether --with-mpfr-includes was given.
 if test "${with_mpfr_includes+set}" = set; then :
   withval=$with_mpfr_includes;
 fi
 ..
 
 if test "x$with_system_mpfr" = xyes; then
   if test "x$with_mpfr_includes" != x && test "x$with_mpfr_includes" != xyes; then
   MPFR_INCLUDES="-I$with_mpfr_includes"
 fi
 
 Later, in some else case (I don't know what it is 'else' for, it's lacking
 appropriate indentation and ),
 else
   MPFR_INCLUDES="-I$kpse_BLD/libs/mpfr/include"
 ... more overrides ..
 
 I'm curious:
 - Double check that mpfr.h is indeed in ${BUILDLINK_PREFIX.mpfr}/include
   (cd pkgsrc/*/luatex; bmake show-var VARNAME=BUILDLINK_PREFIX.mpfr)
 - Double check that -I${BUILDLINK_PREFIX.mpfr}/include is passed in
   your case via CONFIGURE_ARGS (bmake show-var VARNAME=CONFIGURE_ARGS)
 - What is MPFR_INCLUDES? this should be in one of the config.log files.
   My quick route is find . -name config.log |xargs grep MPFR_INCLUDES,
   but it should probably be in
   work/texlive-20160523-source/texk/web2c/config.log
 
 If it starts wrong, I suspect it could be something wrong with the use of
 builtin mpfr.
 If it is wrong towards the end, it might be the else case - I'm not sure
 what it is 'else' for.
 If all those are correct, perhaps we need to check if some makefile is not
 using MPFR_INCLUDES.
 


Home | Main Index | Thread Index | Old Index