Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jul 2018 08:59:29 +0000
From:      bugzilla-noreply@freebsd.org
To:        python@FreeBSD.org
Subject:   [Bug 229749] lang/python36: python3.6-config breaks when symlinked e.g. by using BINARY_ALIAS in ports
Message-ID:  <bug-229749-21822-FFWAb0Y4va@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-229749-21822@https.bugs.freebsd.org/bugzilla/>
References:  <bug-229749-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=3D229749

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

Author: tobik
Date: Thu Jul 26 08:58:52 UTC 2018
New revision: 475350
URL: https://svnweb.freebsd.org/changeset/ports/475350

Log:
  lang/python3?: Fix python3.?-config behavior when symlinked

  When python3.?-config is symlinked to another location it starts
  outputting bogus paths.  For example

  $ pwd
  /home/tobias
  $ python3.6-config --includes
  -I/usr/local/include/python3.6m -I/usr/local/include/python3.6m
  $ ln -s /usr/local/bin/python3.6-config python3-config
  $ ./python3-config --includes
  -I/home/include/python3.6m -I/home/include/python3.6m

  This breaks ports trying to use BINARY_ALIAS together with
  python3.?-config.  Apply a patch to resolve the symlink first before
  trying to find the install prefix.

  PR:           229749
  Submitted by: tobik
  Reviewed by:  antoine, miwi
  Approved by:  python (miwi)

Changes:
  head/lang/python34/Makefile
  head/lang/python34/files/patch-Misc__python-config.sh.in
  head/lang/python35/Makefile
  head/lang/python35/files/patch-Misc__python-config.sh.in
  head/lang/python36/Makefile
  head/lang/python36/files/patch-Misc__python-config.sh.in
  head/lang/python37/Makefile
  head/lang/python37/files/patch-Misc__python-config.sh.in

--=20
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.=



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