svn commit: r270417 - head/release/arm

Glen Barber gjb at FreeBSD.org
Sat Aug 23 16:13:39 UTC 2014


On Sun, Aug 24, 2014 at 02:11:21AM +1000, Kubilay Kocak wrote:
> On 24/08/2014 1:59 AM, Glen Barber wrote:
> > Author: gjb
> > Date: Sat Aug 23 15:59:31 2014
> > New Revision: 270417
> > URL: http://svnweb.freebsd.org/changeset/base/270417
> > 
> > Log:
> >   Fix arm build breakage when building stable/10 on
> >   head/.
> >   
> >   MFC after:	3 days
> >   Sponsored by:	The FreeBSD Foundation
> > 
> > Modified:
> >   head/release/arm/release.sh
> > 
> > Modified: head/release/arm/release.sh
> > ==============================================================================
> > --- head/release/arm/release.sh	Sat Aug 23 15:54:22 2014	(r270416)
> > +++ head/release/arm/release.sh	Sat Aug 23 15:59:31 2014	(r270417)
> > @@ -92,6 +92,10 @@ install_uboot() {
> >  }
> >  
> >  main() {
> > +	# Fix broken ports that use kern.osreldate.
> > +	OSVERSION=$(chroot ${CHROOTDIR} /usr/bin/uname -U)
> > +	export OSVERSION
> > +
> >  	# Build the 'xdev' target for crochet.
> >  	eval chroot ${CHROOTDIR} make -C /usr/src \
> >  		${XDEV_FLAGS} XDEV=${XDEV} XDEV_ARCH=${XDEV_ARCH} \
> 
> Is this an individual port issue, or a ports framework issue?
> 
> What should broken ports use?

Ports should not be using the kern.osreldate sysctl *at* *all*.

We have userland tools for this.

Glen

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-src-all/attachments/20140823/6f250c15/attachment.sig>


More information about the svn-src-all mailing list