r369644 make impossible to build ports on jails lower than the base system

Oleg Ginzburg olevole at olevole.ru
Wed Oct 1 13:45:39 UTC 2014


On Wednesday, October 01, 2014 04:52:58 AM David Wolfskill wrote:
> On Wed, Oct 01, 2014 at 02:59:23PM +0400, Oleg Ginzburg wrote:
> > Hello,
> > 
> > If the kernel is fresh than jajl containers, recent changes in
> > bsd.ports.mk
> > provoke an error:
> > 
> > 
> > % jls
> > 
> >    JID  IP Address      Hostname                      Path
> >    
> >      1  192.168.0.23    kde4.my.domain               
> >      /usr/jails/jails/kde4
> > 
> > % uname -a
> > FreeBSD gizmo.my.domain 11.0-CURRENT FreeBSD 11.0-CURRENT #4 r272224M: Mon
> > Sep 29 09:22:06 UTC 2014
> > root at gizmo.my.domain:/usr/jails/src/obj_amd64_amd64_11/usr/src/sys/GENERIC
> > .CBSD amd64
> > 
> > % file -s /usr/jails/jails/kde4/bin/sh
> > /usr/jails/jails/kde4/bin/sh: ELF 64-bit LSB executable, x86-64, version 1
> > (FreeBSD), dynamically linked (uses shared libs), for FreeBSD 10.0
> > (1000510), stripped
> > 
> > % jexec 1 make -C /usr/ports/sysutils/panicmail
> > make: "/usr/ports/Mk/bsd.port.mk" line 1213: UNAME_r (11.0-CURRENT) and
> > OSVERSION (1000510) do not agree on major version number.
> > ...
> 
> You could set the environment variable UNAME_r (e.g., to "10.0-STABLE")
> prior to the "make" invocation.

Yes. In other words - and it was intended by this change, and from that 
moment, the substitution of the environment has become a necessity if i want 
to work with the ports on at lower version environments?

> 
> Peace,
> david

-- 

TOX ID: olevole at toxme.se
(B4A584A75560D5A93DBF387FAAC56669DA18797078A46B9A9818726BEE643E52A43A6A2E3DA0)
E-mail: olevole at olevole.ru
XMPP/jabber: olevole at jabber.ru
Voice: 199.48.133.74/1001


More information about the freebsd-ports mailing list