on Freebsd 12.1 , i tried to install by selecting only CFG option. but it failed to install and give error. i also tested other options, these also give same error. you may also look this url to get more info. https://github.com/ptrrkssn/nss_ndb/issues/4 usr/local/share/examples/nss_ndb ====> Compressing man pages (compress-man) ===> Installing for nss_ndb-1.0.23 ===> Checking if nss_ndb is already installed ===> Registering installation for nss_ndb-1.0.23 pkg-static: Unable to access file /usr/ports/sysutils/nss_ndb/work/stage/usr/loc al/etc/nss_ndb.conf:No such file or directory *** Error code 74 Stop. make[1]: stopped in /usr/ports/sysutils/nss_ndb *** Error code 1 Stop. make: stopped in /usr/ports/sysutils/nss_ndb
Created attachment 216514 [details] Patch against r541425 The attached patch should address this issue
The patch is looking good as far as I can tell. - Peter
Thank you for patch, but port tree didnt get update and without patch or port latest version, port still seems broken. Thank you for your help people. have a nice day.
hi can you update the port. because i still gives same error. I know there is patch but port tree needs to be updated with 1.0.24-dev and another point there is no DB6 selection for nss_ndb-1.0.23 but i remember , there was db6 support. ===> Staging for nss_ndb-1.0.23 ===> Generating temporary packing list /usr/bin/install -c -d /usr/ports/sysutils/nss_ndb/work/stage/usr/local/lib /usr/bin/install -c -m 0755 nss_ndb.so.1.0.23 /usr/ports/sysutils/nss_ndb/work/ stage/usr/local/lib ln -sf nss_ndb.so.1.0.23 /usr/ports/sysutils/nss_ndb/work/stage/usr/local/lib/ns s_ndb.so.1 if test "/usr/local/lib" != "/usr/lib"; then echo "Do not forget 'make install- nsslink' if you want 'nsswitch' to use the installed library."; fi Do not forget 'make install-nsslink' if you want 'nsswitch' to use the installed library. /usr/bin/install -c -d /usr/ports/sysutils/nss_ndb/work/stage/usr/local/sbin /usr/bin/install -c makendb nsstest /usr/ports/sysutils/nss_ndb/work/stage/usr/l ocal/sbin /usr/bin/install -c -d /usr/ports/sysutils/nss_ndb/work/stage/usr/local/man/man5 for F in nss_ndb.conf.5; do /usr/bin/install -c -m 0644 $F /usr/ports/sysutils/ nss_ndb/work/stage/usr/local/man/man5 && gzip -f /usr/ports/sysutils/nss_ndb/wor k/stage/usr/local/man/man5/$F; done /usr/bin/install -c -d /usr/ports/sysutils/nss_ndb/work/stage/usr/local/man/man8 for F in nss_ndb.8 makendb.8 nsstest.8; do /usr/bin/install -c -m 0644 $F /usr/ ports/sysutils/nss_ndb/work/stage/usr/local/man/man8 && gzip -f /usr/ports/sysut ils/nss_ndb/work/stage/usr/local/man/man8/$F; done /usr/bin/install -c -d /usr/ports/sysutils/nss_ndb/work/stage/usr/local/share/ex amples/nss_ndb /usr/bin/install -c ndbsync nss_ndb.conf /usr/ports/sysutils/nss_ndb/work/stage/ usr/local/share/examples/nss_ndb ====> Compressing man pages (compress-man) ===> Installing for nss_ndb-1.0.23 ===> Checking if nss_ndb is already installed ===> Registering installation for nss_ndb-1.0.23 pkg-static: Unable to access file /usr/ports/sysutils/nss_ndb/work/stage/usr/loc al/etc/nss_ndb.conf:No such file or directory *** Error code 74 Stop. make[1]: stopped in /usr/ports/sysutils/nss_ndb *** Error code 1 Stop. make: stopped in /usr/ports/sysutils/nss_ndb
I applied the patch now. but i couldnt install it. it seems port is patched. What is changed? [root@vm /usr/ports/sysutils/nss_ndb]# make install ===> Installing for nss_ndb-1.0.23_1 ===> Checking if nss_ndb is already installed ===> Registering installation for nss_ndb-1.0.23_1 pkg-static: Unable to access file /usr/ports/sysutils/nss_ndb/work/stage/usr/local/etc/nss_ndb.conf:No such file or directory *** Error code 74 Stop. make[1]: stopped in /usr/ports/sysutils/nss_ndb *** Error code 1 Stop. make: stopped in /usr/ports/sysutils/nss_ndb MakeFile # $FreeBSD: head/sysutils/nss_ndb/Makefile 556922 2020-12-03 20:41:49Z rene $ PORTNAME= nss_ndb DISTVERSIONPREFIX= v DISTVERSION= 1.0.23 PORTREVISION= 1 CATEGORIES= sysutils security MAINTAINER= pen@lysator.liu.se COMMENT= BerkeleyDB-based nsswitch backend for passwd & groups LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE OPTIONS_DEFINE= CFG VAR REALM WRKGRP CFG_DESC= Enable configuration file CFG_CONFIGURE_ON= --with-config-file CFG_PLIST_FILES+= "@sample etc/nss_ndb.conf.sample" VAR_DESC= Enable configuration variable VAR_CONFIGURE_ON= --with-config-var REALM_DESC= Enable realm stripping REALM_CONFIGURE_ON= --with-realm WRKGRP_DESC= Enable workgroup stripping WRKGRP_CONFIGURE_ON= --with-workgroup OPTIONS_SINGLE= BDB OPTIONS_SINGLE_BDB= DB0 DB5 DB4 OPTIONS_DEFAULT= DB0 DB0_DESC= Use old libc version of Berkeley DB DB0_CONFIGURE_ON= --without-db DB5_DESC= Build with Berkeley DB v5 library DB5_USES+= localbase DB5_USE_LDCONFIG+= yes DB5_LIB_DEPENDS= libdb-5.so:databases/db5 DB5_CONFIGURE_ON= --with-db=5 DB4_DESC= Build with Berkeley DB v4.8 library DB4_USES+= localbase DB4_USE_LDCONFIG+= yes DB4_LIB_DEPENDS= libdb-4.8.so:databases/db48 DB4_CONFIGURE_ON= --with-db=4 USES= compiler:c11 USE_GITHUB= yes GH_ACCOUNT= ptrrkssn GNU_CONFIGURE= yes PLIST_FILES= lib/nss_ndb.so.1 \ lib/nss_ndb.so.1.0.23 \ sbin/makendb sbin/nsstest \ man/man5/nss_ndb.conf.5.gz \ man/man8/makendb.8.gz \ man/man8/nsstest.8.gz \ man/man8/nss_ndb.8.gz \ share/examples/nss_ndb/ndbsync \ share/examples/nss_ndb/nss_ndb.conf \ do-install-CFG-on: ${INSTALL_DATA} ${WRKSRC}/nss_ndb.conf ${STAGEDIR}${PREFIX}/etc/nss_ndb.conf.sample
can someone update this port? port owner updated github repo but freebsd port didnt get that update. i can only install this port by apply the patch and make clean if i run make install before install the pathch. i am writing this , in case someone try to install this port.
255159 should fix this (just waiting for a FreeBSD Ports committer).