Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Sep 2014 16:22:58 +0000
From:      bugzilla-noreply@freebsd.org
To:        python@FreeBSD.org
Subject:   [Bug 191943] lang/python34 won't build in jail if software and kernel versions doesn't match
Message-ID:  <bug-191943-21822-YL57PQ4ZiZ@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-191943-21822@https.bugs.freebsd.org/bugzilla/>
References:  <bug-191943-21822@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191943

--- Comment #10 from commit-hook@freebsd.org ---
A commit references this bug:

Author: bdrewery
Date: Tue Sep 30 16:22:06 UTC 2014
New revision: 369644
URL: https://svnweb.freebsd.org/changeset/ports/369644

Log:
  If either of OSVERSION or UNAME_r is improperly set when building in a
  jail/chroot, a number of unexpected errors can occur.

    1. autotools fixup may not run when needed. This could be avoided by always
       running it [PR 177980, 177403].
    2. Not having UNAME_r set will cause many unknown
       errors. Many ports use OSREL (derived from UNAME_r) to determine the
name
       of files. This is usually also due to the port build itself using uname
-r
       to derive filenames or 'built for' messages. [PR 192449, 191943] Without
       having these sanity checks it is very easy for users to get into
       situations where "everything worked" until they touch a certain port
that
       reads uname(1) output or OSVERSION. It has always been necessary to
define
       all of the UNAME_ vars and OSVERSION (or have a proper sys/param.h
       present), but many users do not know this.

  Remove the fallback on the kernel for kern.osreldate as it easily gets the
  answer wrong.

  I have added sanity checks to ensure OSVERSION==OSREL==UNAME_r as these are
the
  most critical vars to have set properly.

  Differential Revision:    https://reviews.freebsd.org/D869
  PR:            177980, 177403, 192449, 191943
  Reviewed by:        antoine, bapt, gjb
  With hat:        portmgr

Changes:
  head/CHANGES
  head/Mk/bsd.port.mk

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-191943-21822-YL57PQ4ZiZ>