Date: Sun, 5 Oct 2014 17:25:31 +0200 From: Egoitz Aurrekoetxea <egoitz@ramattack.net> To: freebsd-bugs@FreeBSD.org Subject: Release generation failure from 10.0-RELEASE to RELENG_10_0 Message-ID: <28D0D221-FB9A-4F75-83CE-0FB614C69708@ramattack.net>
next in thread | raw e-mail | index | archive | help
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,
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?28D0D221-FB9A-4F75-83CE-0FB614C69708>
