pkgsrc-Users archive

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

Re: unable to find gnutls in configure script run



Thomas Klausner <wiz%gatalith.at@localhost> writes:

> On Sun, Sep 15, 2024 at 04:58:50PM +0000, Van Ly wrote:
>> I was able to build emacs-29.4, building pretest emacs-30.0.91 fails at
>
> There's wip/emacs-git which tracks the latest git release of emacs and
> built fine for me today - try it.

I gave it a go.

  1 $ make
  2 make: "/usr/pkgsrc/wip/emacs-git/options.mk" line 46: Could not find ../../lang/gcc14-libjit/buildlink3.mk
  3 make: Fatal errors encountered -- cannot continue
  4 make: stopped in /usr/pkgsrc/wip/emacs-git

My /usr/pkgsrc checkout is tagged pkgsrc-2024Q2 and doesn't have lang/gcc14-libjit .

If the following are uncommented in /etc/mk.conf when building
wip/btop-git will the dependencies install from a binary package ? I
want to avoid building dependencies.

  1 #BINPKG_SITES= http://cdn.netbsd.org/pub/pkgsrc/packages/NetBSD/x86_64/10.0_2024Q2
  2 
  3 #MASTER_SITE_OVERRIDE=          http://cdn.NetBSD.org/pub/pkgsrc/distfiles/     
  4 #MASTER_SITE_BACKUP=            http://ftp.NetBSD.org/pub/pkgsrc/distfiles/     
  5 
  6 #FETCH_FAILOVER=yes                                                             
  7 #PKG_RESUME_TRANSFERS=YES                                                       
  8 
  9 #FETCH_CMD=${LOCALBASE}/bin/wget2                                               
 10 #FETCH_BEFORE_ARGS=-passive-ftp                                                 
 11 #FETCH_RESUME_ARGS=-c                                                           
 12 #FETCH_OUTPUT_ARGS=-O                                                           
 13 
 14 #UPDATE_TARGET=bin-install                                                      
 15 #DEPEND_TARGET=bin-install                                                      
 16 
 17 #MAKE_JOBS= 2

At the moment I am unable to build btop-git and don't know if changing
LOCALBASE or DESTDIR to /usr/local in the past may have broken the following

  1 $ make
  2 => Bootstrap dependency digest>=20211023: NOT found
  3 => Verifying reinstall for ../../pkgtools/digest
  4 ===> Checking for vulnerabilities in digest-20220214
  5 ===> Installing for digest-20220214
  6 => Generating pre-install file lists
  7 install: /usr/pkgsrc/pkgtools/digest/work/.destdir/usr/pkg: chown/chmod: Operation not permitted
  8 /bin/sh ./mkinstalldirs /usr/pkgsrc/pkgtools/digest/work/.destdir/usr/local/bin
  9 /usr/bin/install -c -s -o root -g wheel -m 755 digest /usr/pkgsrc/pkgtools/digest/work/.destdir/usr/local/bin/digest
 10 install: /usr/pkgsrc/pkgtools/digest/work/.destdir/usr/local/bin/digest: chown/chgrp: Operation not permitted
 11 *** Error code 1
 12 
 13 Stop.
 14 make: stopped in /usr/pkgsrc/pkgtools/digest/work/digest-20220214
 15 *** Error code 1
 16 
 17 Stop.
 18 make[2]: stopped in /usr/pkgsrc/pkgtools/digest
 19 *** Error code 1
 20 
 21 Stop.
 22 make[1]: stopped in /usr/pkgsrc/pkgtools/digest
 23 *** Error code 1
 24 
 25 Stop.
 26 make: stopped in /usr/pkgsrc/wip/btop-git

The grep for LOCALBASE and DEST in pkgsrc/mk is as follows, I might've
set LOCALBASE or DESTDIR to a value under /usr/local in the past

  1 alternatives.mk:73:PKG_ALTERNATIVES=	${LOCALBASE}/sbin/pkg_alternatives
  2 bsd.pkg.mk:226:_BUILD_DEFS+=		LOCALBASE
  3 bsd.pkg.use.mk:60:PREFIX=			${LOCALBASE}
  4 bsd.prefs.mk:562:	@${ECHO_MSG} "You CANNOT set PREFIX manually or in mk.conf. Set LOCALBASE or X11BASE"
  5 bsd.prefs.mk:715:LOCALBASE?=		/usr/pkg
  6 bsd.prefs.mk:716:TOOLBASE:=		${LOCALBASE}
  7 bsd.prefs.mk:718:LOCALBASE=		${CROSS_LOCALBASE:U/usr/pkg}
  8 bsd.prefs.mk:763:X11BASE=		${LOCALBASE}
  9 bsd.prefs.mk:902:PREPEND_PATH+=		${LOCALBASE}/bin
 10 bsd.prefs.mk:1051:_USER_VARS.dirs=	DISTDIR LOCALBASE PACKAGES PKG_SYSCONFDIR WRKOBJDIR
 11 curses.builtin.mk:39:.  if empty(H_CURSES:M${LOCALBASE}/*) && \
 12 db1.builtin.mk:22:.  if empty(H_DB:M${LOCALBASE}/*) && exists(${TOOLS_CROSS_DESTDIR}${H_DB})
 13 dlopen.builtin.mk:17:.  if empty(H_DL:M${LOCALBASE}/*) && exists(${TOOLS_CROSS_DESTDIR}${H_DL})
 14 java-vm.mk:313:_JAVA_HOME=		${LOCALBASE}/java/kaffe
 15 java-vm.mk:317:_JAVA_HOME=		${LOCALBASE}/java/openjdk8
 16 java-vm.mk:321:_JAVA_HOME=		${LOCALBASE}/java/sun-7
 17 java-vm.mk:326:_JAVA_HOME=		${LOCALBASE}/java/oracle-8
 18 java-vm.mk:331:_JAVA_HOME=		${LOCALBASE}/java/adoptopenjdk11-bin
 19 java-vm.mk:335:_JAVA_HOME=		${LOCALBASE}/java/openjdk-bin
 20 java-vm.mk:340:_JAVA_HOME=		${LOCALBASE}/java/openjdk11
 21 java-vm.mk:345:_JAVA_HOME=		${LOCALBASE}/java/openjdk17
 22 java-vm.mk:350:_JAVA_HOME=		${LOCALBASE}/java/oracle-jdk17
 23 java-vm.mk:355:_JAVA_HOME=		${LOCALBASE}/java/openjdk21
 24 java-vm.mk:402:JAVA_BINPREFIX=		${LOCALBASE}/bin/${_JAVA_NAME.${_PKG_JVM}}
 25 linux-pam.builtin.mk:18:.  if empty(H_LINUX_PAM:M__nonexistent__) && empty(H_LINUX_PAM:M${LOCALBASE}/*)
 26 motif.buildlink3.mk:37:	exists(${LOCALBASE}/lib/X11/config/LessTif.tmpl)
 27 mpi.buildlink3.mk:30:.if exists(${LOCALBASE}/bin/mpicc)
 28 mpi.buildlink3.mk:31:_INST_MPI_PACKAGE!=	${PKG_INFO} -Q PKGPATH -F ${LOCALBASE}/bin/mpicc
 29 mpi.buildlink3.mk:37:.  if exists(${LOCALBASE}/bin/mpicc)
 30 oss.builtin.mk:19:.  if empty(H_SOUNDCARD:M${LOCALBASE}/*) && empty(H_SOUNDCARD:M__nonexistent__)
 31 pgsql.buildlink3.mk:44:.  if exists(${_CROSS_DESTDIR:U}${LOCALBASE}/lib/libecpg.6.16.dylib)
 32 pgsql.buildlink3.mk:47:.  if exists(${_CROSS_DESTDIR:U}${LOCALBASE}/lib/libecpg.6.15.dylib)
 33 pgsql.buildlink3.mk:50:.  if exists(${_CROSS_DESTDIR:U}${LOCALBASE}/lib/libecpg.6.14.dylib)
 34 pgsql.buildlink3.mk:53:.  if exists(${_CROSS_DESTDIR:U}${LOCALBASE}/lib/libecpg.6.13.dylib)
 35 pgsql.buildlink3.mk:56:.  if exists(${_CROSS_DESTDIR:U}${LOCALBASE}/lib/libecpg.6.12.dylib)
 36 pgsql.buildlink3.mk:60:.  if exists(${_CROSS_DESTDIR:U}${LOCALBASE}/lib/libecpg.so.6.16)
 37 pgsql.buildlink3.mk:63:.  if exists(${_CROSS_DESTDIR:U}${LOCALBASE}/lib/libecpg.so.6.15)
 38 pgsql.buildlink3.mk:66:.  if exists(${_CROSS_DESTDIR:U}${LOCALBASE}/lib/libecpg.so.6.14)
 39 pgsql.buildlink3.mk:69:.  if exists(${_CROSS_DESTDIR:U}${LOCALBASE}/lib/libecpg.so.6.13)
 40 pgsql.buildlink3.mk:72:.  if exists(${_CROSS_DESTDIR:U}${LOCALBASE}/lib/libecpg.so.6.12)
 41 pthread.builtin.mk:17:.  if empty(H_PTHREAD:M${LOCALBASE}/*) && \
 42 solaris-pam.builtin.mk:17:.  if empty(H_SOLARIS_PAM:M${LOCALBASE}/*) && \
 43 termcap.builtin.mk:22:.  if empty(H_TERM_TC:M__nonexistent__) && empty(H_TERM_TC:M${LOCALBASE}/*) || \
 44 termcap.builtin.mk:23:      empty(H_TERMCAP:M__nonexistent__) && empty(H_TERMCAP:M${LOCALBASE}/*) || \
 45 termcap.builtin.mk:24:      empty(H_TERMLIB:M__nonexistent__) && empty(H_TERMLIB:M${LOCALBASE}/*) || \
 46 termcap.builtin.mk:58:.if empty(H_TERM_TC:M__nonexistent__) && empty(H_TERM_TC:M${LOCALBASE}/*)
 47 termcap.builtin.mk:68:.elif empty(H_TERMCAP:M__nonexistent__) && empty(H_TERMCAP:M${LOCALBASE}/*)
 48 termcap.builtin.mk:74:.elif empty(H_TERMLIB:M__nonexistent__) && empty(H_TERMLIB:M${LOCALBASE}/*)
 49 terminfo.builtin.mk:18:.  if empty(H_TERM:M__nonexistent__) && empty(H_TERM:M${LOCALBASE}/*)
 50 terminfo.builtin.mk:51:.if empty(H_TERM:M__nonexistent__) && empty(H_TERM:M${LOCALBASE}/*)
 
 

  1 apache.module.mk:32:APACHE_MODULE_DESTDIR=	${DESTDIR}${PREFIX}/lib/httpd
  2 apache.module.mk:46:	${INSTALL_LIB_DIR} ${APACHE_MODULE_DESTDIR}
  3 apache.module.mk:50:	    ${APACHE_MODULE_DESTDIR}
  4 bsd.pkg.mk:230:_BUILD_DEFS+=		_USE_DESTDIR
  5 bsd.prefs.mk:480:# - CROSS_DESTDIR is guessed from MAKEOBJDIR and MACHINE_ARCH.
  6 bsd.prefs.mk:481:# - PKG_DBDIR is expanded and prefixed with CROSS_DESTDIR
  7 bsd.prefs.mk:482:# - DESTDIR support is required
  8 bsd.prefs.mk:484:# _CROSS_DESTDIR is set for internal use to avoid conditionalising
  9 bsd.prefs.mk:498:CROSS_DESTDIR?=	${MAKEOBJDIR}/destdir.${MACHINE_ARCH}
 10 bsd.prefs.mk:499:.  if !exists(${CROSS_DESTDIR}/usr/include/stddef.h)
 11 bsd.prefs.mk:500:PKG_FAIL_REASON+=	"The cross-compiling root ${CROSS_DESTDIR:Q} is incomplete"
 12 bsd.prefs.mk:502:_CROSS_DESTDIR=	${CROSS_DESTDIR}
 13 bsd.prefs.mk:591:PKG_DESTDIR_SUPPORT=	user-destdir
 14 bsd.prefs.mk:606:# PKG_DESTDIR_SUPPORT can only be one of "destdir", or "user-destdir".
 15 bsd.prefs.mk:607:PKG_DESTDIR_SUPPORT?=	user-destdir
 16 bsd.prefs.mk:609:.if ${PKG_DESTDIR_SUPPORT} == "user-destdir"
 17 bsd.prefs.mk:610:_USE_DESTDIR=		user-destdir
 18 bsd.prefs.mk:611:.elif ${PKG_DESTDIR_SUPPORT} == "destdir"
 19 bsd.prefs.mk:612:_USE_DESTDIR=		destdir
 20 bsd.prefs.mk:614:PKG_FAIL_REASON+=	"PKG_DESTDIR_SUPPORT must be \`\`destdir'' or \`\`user-destdir''."
 21 bsd.prefs.mk:618:# ${DESTDIR}${PREFIX} instead of ${PREFIX} directly.
 22 bsd.prefs.mk:620:DESTDIR=		${WRKDIR}/.destdir
 23 bsd.prefs.mk:621:.if ${_USE_DESTDIR} == "destdir"
 24 bsd.prefs.mk:646:# TOOLS_CROSS_DESTDIR is used for the libtool build to make a wrapper
 25 bsd.prefs.mk:648:# _CROSS_DESTDIR because we're actually building a native package.
 26 bsd.prefs.mk:650:TOOLS_CROSS_DESTDIR=		${CROSS_DESTDIR}
 27 bsd.prefs.mk:652:TOOLS_CROSS_DESTDIR=		# empty
 28 bsd.prefs.mk:1054:_SYS_VARS.dirs=		WRKDIR DESTDIR PREFIX PKG_SYSCONFBASEDIR
 29 compiler.mk:335:CWRAPPERS_PREPEND.cc+=	--sysroot=${TOOLS_CROSS_DESTDIR:Q}
 30 compiler.mk:336:CWRAPPERS_PREPEND.cxx+=	--sysroot=${TOOLS_CROSS_DESTDIR:Q}
 31 compiler.mk:337:CWRAPPERS_PREPEND.ld+=	--sysroot=${TOOLS_CROSS_DESTDIR:Q}
 32 curses.builtin.mk:40:      exists(${TOOLS_CROSS_DESTDIR}${H_CURSES})
 33 curses.builtin.mk:129:.    if exists(${TOOLS_CROSS_DESTDIR}${H_CURSES})
 34 db1.builtin.mk:22:.  if empty(H_DB:M${LOCALBASE}/*) && exists(${TOOLS_CROSS_DESTDIR}${H_DB})
 35 db1.builtin.mk:68:.    if exists(${TOOLS_CROSS_DESTDIR}${H_DB})
 36 djbware.mk:45:	${ECHO} ${DESTDIR:Q}${DJB_CONFIG_PREFIX:Q} > conf-destdir;	\
 37 dlopen.builtin.mk:17:.  if empty(H_DL:M${LOCALBASE}/*) && exists(${TOOLS_CROSS_DESTDIR}${H_DL})
 38 endian.mk:32:_MACHINE_ENDIAN_CPP+=	--sysroot=${TOOLS_CROSS_DESTDIR:Q}
 39 fonts.mk:22:	${FIND} ${WRKSRC} -name ${DESTDIR:T} -prune -o -name '*.[tT][tT][fFcC]' -exec \
 40 fonts.mk:23:		${INSTALL_DATA} "{}" ${DESTDIR}${TTF_FONTS_DIR} ";"
 41 fonts.mk:24:	${FIND} ${WRKSRC} -name ${DESTDIR:T} -prune -o -name '*.[oO][tT][fFcC]' -exec \
 42 fonts.mk:25:		${INSTALL_DATA} "{}" ${DESTDIR}${OTF_FONTS_DIR} ";"
 43 fuse.buildlink3.mk:59:.      if !exists(${TOOLS_CROSS_DESTDIR}${H_FUSE})
 44 haskell.mk:140:	PKGDIR DESTDIR \
 45 haskell.mk:374:	if [ -f ${DESTDIR:Q}${_HASKELL_PKG_ID_FILE:Q} ]; then \
 46 haskell.mk:375:		n=`${WC} -l ${DESTDIR:Q}${_HASKELL_PKG_ID_FILE:Q} | ${AWK} '{print $$1}'`; \
 47 haskell.mk:377:			pkg_id=`${CAT} ${DESTDIR:Q}${_HASKELL_PKG_ID_FILE:Q}`; \
 48 haskell.mk:384:			done < ${DESTDIR:Q}${_HASKELL_PKG_ID_FILE:Q}; \
 49 haskell.mk:393:	if [ -f ${DESTDIR:Q}${_HASKELL_PKG_ID_FILE:Q} ]; then \
 50 haskell.mk:394:		n=`${WC} -l ${DESTDIR:Q}${_HASKELL_PKG_ID_FILE:Q} | ${AWK} '{print $$1}'`; \
 51 haskell.mk:396:			pkg_id=`${CAT} ${DESTDIR:Q}${_HASKELL_PKG_ID_FILE:Q}`; \
 52 haskell.mk:403:			done < ${DESTDIR:Q}${_HASKELL_PKG_ID_FILE:Q}; \
 53 haskell.mk:413:	cd ${DESTDIR:Q}${PREFIX:Q} && \
 54 haskell.mk:494:		-d "${DESTDIR}" \
 55 haskell.mk:513:# from the files in DESTDIR.
 56 java-env.mk:87:	${INSTALL_SCRIPT} ${WRKDIR}/${w} ${DESTDIR}${PREFIX}/bin/${JAVA_NAME}-${w}
 57 love.mk:20:	${INSTALL_DATA} ${WRKSRC}/${LOVE_DATA} ${DESTDIR}${PREFIX}/share/games/${LOVE_DATA}
 58 love.mk:21:	${INSTALL_SCRIPT} ${WRKSRC}/${LOVE_GAME} ${DESTDIR}${PREFIX}/bin/${LOVE_GAME}
 59 pax.mk:33:		${PAXCTL} +a ${DESTDIR}${PREFIX}/$$binary;		\
 60 pax.mk:46:		${PAXCTL} +m ${DESTDIR}${PREFIX}/$$binary;		\
 61 pgsql.buildlink3.mk:44:.  if exists(${_CROSS_DESTDIR:U}${LOCALBASE}/lib/libecpg.6.16.dylib)
 62 pgsql.buildlink3.mk:47:.  if exists(${_CROSS_DESTDIR:U}${LOCALBASE}/lib/libecpg.6.15.dylib)
 63 pgsql.buildlink3.mk:50:.  if exists(${_CROSS_DESTDIR:U}${LOCALBASE}/lib/libecpg.6.14.dylib)
 64 pgsql.buildlink3.mk:53:.  if exists(${_CROSS_DESTDIR:U}${LOCALBASE}/lib/libecpg.6.13.dylib)
 65 pgsql.buildlink3.mk:56:.  if exists(${_CROSS_DESTDIR:U}${LOCALBASE}/lib/libecpg.6.12.dylib)
 66 pgsql.buildlink3.mk:60:.  if exists(${_CROSS_DESTDIR:U}${LOCALBASE}/lib/libecpg.so.6.16)
 67 pgsql.buildlink3.mk:63:.  if exists(${_CROSS_DESTDIR:U}${LOCALBASE}/lib/libecpg.so.6.15)
 68 pgsql.buildlink3.mk:66:.  if exists(${_CROSS_DESTDIR:U}${LOCALBASE}/lib/libecpg.so.6.14)
 69 pgsql.buildlink3.mk:69:.  if exists(${_CROSS_DESTDIR:U}${LOCALBASE}/lib/libecpg.so.6.13)
 70 pgsql.buildlink3.mk:72:.  if exists(${_CROSS_DESTDIR:U}${LOCALBASE}/lib/libecpg.so.6.12)
 71 pthread.builtin.mk:18:     exists(${TOOLS_CROSS_DESTDIR}${H_PTHREAD})
 72 smf.mk:95:	${INSTALL_DATA} ${SMF_MANIFEST_WRK} ${DESTDIR}${PREFIX}/${SMF_MANIFEST_FILE}
 73 smf.mk:133:		${MKDIR} ${DESTDIR}${PREFIX}/${PKG_SMF_METHOD_DIR}; \
 74 smf.mk:135:			${DESTDIR}${PREFIX}/${SMF_METHOD_FILE.${_method_}}; \
 75 solaris-pam.builtin.mk:18:      exists(${TOOLS_CROSS_DESTDIR}${H_SOLARIS_PAM})
 76 unprivileged.mk:121:.if (${_USE_DESTDIR} == "user-destdir")



-- 
vl


Home | Main Index | Thread Index | Old Index