Skip site navigation (1)Skip section navigation (2)
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 :=20

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=20
cache hint files=85. so it seems to be solved when modifying the script =
int he following way :=20

--- /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=20
 	cp /etc/resolv.conf ${CHROOTDIR}/etc/resolv.conf
=20
+	${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=92t 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>