Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Jan 2015 22:46:29 +0100
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        Glen Barber <gjb@FreeBSD.org>
Cc:        svn-src-stable@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   Re: svn commit: r276549 - stable/9
Message-ID:  <20150107214628.GB18864@ivaldir.etoilebsd.net>
In-Reply-To: <20150107172410.GC1266@hub.FreeBSD.org>
References:  <201501021832.t02IWsnk061192@svn.freebsd.org> <20150107172410.GC1266@hub.FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On Wed, Jan 07, 2015 at 05:24:10PM +0000, Glen Barber wrote:
> On Fri, Jan 02, 2015 at 06:32:54PM +0000, Baptiste Daroussin wrote:
> > Author: bapt
> > Date: Fri Jan  2 18:32:53 2015
> > New Revision: 276549
> > URL: https://svnweb.freebsd.org/changeset/base/276549
> > 
> > Log:
> >   MFC: r276052,r276053
> >   
> >   Build selective portions of gnu/usr.bin/texinfo as part of build-tools to
> >   ensure that building on a host without makeinfo (i.e. a host where
> >   make delete-old -DWITHOUT_INFO was run), then building with MK_INFO == yes
> >   doesn't manifest in build errors when building info pages
> >   
> >   This manifested itself like the following when I was build testing an MFC
> >   change on stable/10:
> >   
> >     makeinfo --no-split -I /usr/src/gnu/lib/libregex/doc -I /usr/src/gnu/lib/libregex/doc regex.texi  -o regex.info
> >     makeinfo: not found
> >     *** [regex.info] Error code 127
> >   
> >   make[6]: stopped in /usr/src/gnu/lib/libregex/doc
> >   1 error
> > 
> > Modified:
> >   stable/9/Makefile.inc1   (contents, props changed)
> > Directory Properties:
> >   stable/9/   (props changed)
> > 
> > Modified: stable/9/Makefile.inc1
> > ==============================================================================
> > --- stable/9/Makefile.inc1	Fri Jan  2 18:31:12 2015	(r276548)
> > +++ stable/9/Makefile.inc1	Fri Jan  2 18:32:53 2015	(r276549)
> > @@ -1221,6 +1221,11 @@ _gcc_tools= gnu/usr.bin/cc/cc_tools
> >  _kerberos5_tools= kerberos5/tools
> >  .endif
> >  
> > +.if ${MK_INFO} != "no"
> > +_texinfo=	gnu/usr.bin/texinfo/libtxi \
> > +		gnu/usr.bin/texinfo/makeinfo
> > +.endif
> > +
> >  .if ${MK_RESCUE} != "no"
> >  _rescue= rescue/rescue
> >  .endif
> > @@ -1253,6 +1258,16 @@ build-tools:
> >  		${MAKE} DIRPRFX=${_tool}/ depend; \
> >  		${MAKE} DIRPRFX=${_tool}/ all
> >  .endfor
> > +.for _tool in \
> > +    ${_texinfo}
> > +	${_+_}@${ECHODIR} "===> ${_tool} (obj,depend,all,install)"; \
> > +		cd ${.CURDIR}/${_tool} && \
> > +		${MAKE} DIRPRFX=${_tool}/ obj && \
> > +		${MAKE} DIRPRFX=${_tool}/ depend && \
> > +		${MAKE} DIRPRFX=${_tool}/ all && \
> > +		${MAKE} DIRPRFX=${_tool}/ install DESTDIR=${WORLDTMP}
> > +.endfor
> > +
> >  
> 
> This breaks cross-building on amd64 in ways I don't quite understand
> yet.
> 
> The relevant errors are:
> 
>  sh /releng/scripts-snapshot/chroots/9/i386/snap/tools/install.sh -s -o root -g wheel -m 555   makeinfo
>  /releng/scripts-snapshot/scripts/../chroots/9-obj/i386/snap/i386.i386/i386.i386/releng/scripts-snapshot/chroots/9/i386/snap/tmp/usr/bin/makeinfo
>  sh /releng/scripts-snapshot/chroots/9/i386/snap/tools/install.sh -o root -g wheel -m 444 makeinfo.1.gz
>  /releng/scripts-snapshot/scripts/../chroots/9-obj/i386/snap/i386.i386/i386.i386/releng/scripts-snapshot/chroots/9/i386/snap/tmp/usr/share/man/man1
>  install: /releng/scripts-snapshot/scripts/../chroots/9-obj/i386/snap/i386.i386/i386.i386/releng/scripts-snapshot/chroots/9/i386/snap/tmp/usr/bin/makeinfo: No such file or directory
>  *** [_proginstall] Error code 71
>  install: /releng/scripts-snapshot/scripts/../chroots/9-obj/i386/snap/i386.i386/i386.i386/releng/scripts-snapshot/chroots/9/i386/snap/tmp/usr/share/man/man1: No such file or directory
> 
> Note the duplicated '${TARGET}.${TARGET_ARCH}' in the path.
> 
> Glen
> 


I will fix asap

Best regards,
Bapt

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEABECAAYFAlStqTIACgkQ8kTtMUmk6EzXRgCfVX42i8XSHbzaM+Tmm0ocYdgF
9dcAn0wnpFbZq7Q8ZsC+ROJ2Lcj5cBQl
=7pzf
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150107214628.GB18864>