Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 448256 - New Gentoo/FreeBSD stage3 has dev-lang/python-2.7.3 with USE=build
Summary: New Gentoo/FreeBSD stage3 has dev-lang/python-2.7.3 with USE=build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All FreeBSD
: Normal normal (vote)
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: new-fbsd-stage
  Show dependency tree
 
Reported: 2012-12-23 08:28 UTC by Yuta SATOH
Modified: 2013-02-08 15:42 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yuta SATOH 2012-12-23 08:28:10 UTC
emerge -e @system does not pick up dev-lang/python-2.7.3-r3.
As a result, included dev-lang/python-2.7.3 with USE=build to stage3.

# cd /var/tmp/catalyst/tmp/default/stage3-amd64-fbsd-9.1-20121220t/var/db/pkg
# grep -r 'build ' * | grep /USE
dev-lang/python-2.7.3-r3/USE:amd64-fbsd build elibc_FreeBSD java5 kernel_FreeBSD multilib userland_BSD wide-unicode



Reproducible: Always

Steps to Reproduce:
1. USE="-* build" emerge '<dev-lang/python-3.0'
2. emerge '>dev-lang/python-3.0'
3. emerge -pv --quiet --usepkg --buildpkg --newuse -e @system

Actual Results:  
# emerge -pv --quiet --usepkg --buildpkg --newuse -e @system | grep dev-lang/python
[ebuild   R   ] dev-lang/python-3.2.3-r2  USE="gdbm ipv6 ncurses readline ssl threads (wide-unicode) xml -build -doc -examples -sqlite -tk -wininst"
Comment 1 Yuta SATOH 2012-12-23 08:32:43 UTC
I've updated patch for catalyst on bsd-overlay.

http://git.overlays.gentoo.org/gitweb/?p=proj/gentoo-bsd.git;a=blobdiff;f=dev-util/catalyst/files/catalyst-2.0.12.1-fbsd.patch;h=413235f46afa7f6d786b9fd459ef852331455d94;hp=70d55d1f62c24a2427f4eda6aa6b4571fac58bd4;hb=71b07f443c0da79abd5b762876baa3bf2e1a9c3f;hpb=99b89767898efb04f172223f676fd81180134d8d

# emerge -pv --quiet --usepkg --buildpkg --newuse -e @world | grep dev-lang/python
[ebuild   R   ] dev-lang/python-3.2.3-r2  USE="gdbm ipv6 ncurses readline ssl threads (wide-unicode) xml -build -doc -examples -sqlite -tk -wininst"
[ebuild   R   ] dev-lang/python-2.7.3-r3  USE="gdbm* ipv6* ncurses* readline* ssl* threads* (wide-unicode) xml* -berkdb -build* -doc -examples -sqlite -tk -wininst"

# emerge -pv --quiet --usepkg --newuse -e @system | grep ebuild | wc -l
     116
# emerge -pv --quiet --usepkg --newuse -e @world | grep ebuild | wc -l
     117
Comment 2 Rick Farina (Zero_Chaos) gentoo-dev 2012-12-31 17:38:40 UTC
I might be confused here but the stages don't normally come with python2 and python3 installed... is the bsd stage shipping both?
Comment 3 Matt Turner gentoo-dev 2012-12-31 19:13:42 UTC
(In reply to comment #2)
> I might be confused here but the stages don't normally come with python2 and
> python3 installed... is the bsd stage shipping both?

At least in the past they have.
Comment 4 Alexis Ballier gentoo-dev 2013-02-08 15:42:59 UTC
--- ChangeLog	1 Feb 2013 22:42:14 -0000	1.138
+++ ChangeLog	8 Feb 2013 15:42:44 -0000
@@ -2,6 +2,9 @@
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
 # $Header: /var/cvsroot/gentoo-x86/profiles/default/bsd/ChangeLog,v 1.138 2013/02/01 22:42:14 aballier Exp $
 
+  08 Feb 2013; Alexis Ballier <aballier@gentoo.org> fbsd/make.defaults:
+  add python2 to USE too so that it is rebuilt within stage3, bug #448256
+
   01 Feb 2013; Alexis Ballier <aballier@gentoo.org>
   fbsd/amd64/9.1/clang/packages.build, fbsd/packages.build:
   remove nano from packages.build, bug #443810 by Yuta SATOH
Index: fbsd/make.defaults
===================================================================
RCS file: /var/cvsroot/gentoo-x86/profiles/default/bsd/fbsd/make.defaults,v
retrieving revision 1.14
diff -u -B -r1.14 make.defaults
--- fbsd/make.defaults	15 Oct 2012 14:33:44 -0000	1.14
+++ fbsd/make.defaults	8 Feb 2013 15:42:44 -0000
@@ -1,4 +1,4 @@
-# Copyright 1999-2012 Gentoo Foundation.
+# Copyright 1999-2013 Gentoo Foundation.
 # Distributed under the terms of the GNU General Public License, v2
 # $Header: /var/cvsroot/gentoo-x86/profiles/default/bsd/fbsd/make.defaults,v 1.14 2012/10/15 14:33:44 aballier Exp $
 
@@ -24,5 +24,7 @@
 # Let virtual/mta pick ssmtp[mta] for stage1 builds.
 # https://bugs.gentoo.org/show_bug.cgi?id=408587
 # python2: let portage pulls in python-2 so that we get it as default
-# interpreter in stage1's
+# interpreter in stage1's and add it to make.default so that it is rebuilt in
+# stage 3 and when updating.
 BOOTSTRAP_USE="${BOOTSTRAP_USE} mta python2"
+USE="${USE} python2"