Good afternoon,

Have found what seems to be a bug in the generate-release.sh script. When 
running the command for example : 

sh generate-release.sh releng/10.0 /expert/release-generada

it fails when stats building pkg in the chrooted env. I think this is because 
in the chroot env are not created the shared library 
cache hint files…. so it seems to be solved when modifying the script int he 
following way : 

--- /root/generate-release.sh-defecto   2014-10-05 08:30:49.000000000 +0200
+++ /usr/src/release/generate-release.sh        2014-10-05 08:30:57.000000000 
+0200
@@ -108,6 +108,8 @@
 if [ -d ${CHROOTDIR}/usr/doc ]; then 
        cp /etc/resolv.conf ${CHROOTDIR}/etc/resolv.conf
 
+       ${CHROOT_CMD} /etc/rc.d/ldconfig onerestart
+
        # Install docproj to build release documentation
        ${CHROOT_CMD} /bin/sh -c \
                'make -C /usr/ports/textproc/docproj \

I think this is similar as reported in ports/186554 bug.

Could someone say if this should had been solved in another way?. I think this 
is correct. Isn’t it?.

Best regards,
_______________________________________________
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to