Release generation failure from 10.0-RELEASE to RELENG_10_0
Egoitz Aurrekoetxea
egoitz at ramattack.net
Sun Oct 5 15:27:51 UTC 2014
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,
More information about the freebsd-ports
mailing list