Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 374157 - bootstrap.sh is not found sys-apps/shadow and always fails on Gentoo/FBSD
Summary: bootstrap.sh is not found sys-apps/shadow and always fails on Gentoo/FBSD
Status: RESOLVED INVALID
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All FreeBSD
: Normal major (vote)
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: new-fbsd-stage
  Show dependency tree
 
Reported: 2011-07-05 17:17 UTC by Yuta SATOH
Modified: 2011-07-25 10:05 UTC (History)
0 users

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


Attachments
sample patch for bootstrap.sh (bootstrap.sh.patch,1.23 KB, patch)
2011-07-05 17:22 UTC, Yuta SATOH
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yuta SATOH 2011-07-05 17:17:50 UTC
GNU's shadow masked on Gentoo/FreeBSD. 
The code added to scripts/bootstrap.sh recently doesn't operate normally on Gentoo/FreeBSD. 


Reproducible: Always

Steps to Reproduce:
1./usr/portage/scripts/bootstrap.sh -f

Actual Results:  
# /usr/portage/scripts/bootstrap.sh -f
Running in fetch-only mode ...

Gentoo Linux; http://www.gentoo.org/
Copyright 1999-2011 Gentoo Foundation; Distributed under the GPLv2
Fetching all bootstrap-related archives ...
-------------------------------------------------------------------------------
  [[ (0/3) Locating packages ]]
 * Using baselayout : >=sys-apps/baselayout-2.0.0
 * Using shadow     : >=
 * Using portage    : portage
 * Using os-headers : virtual/os-headers
 * Using binutils   : sys-devel/binutils
 * Using gcc        : sys-devel/gcc
 * Using gettext    : sys-devel/gettext
 * Using libc       : virtual/libc
 * Using texinfo    : sys-apps/texinfo
 * Using zlib       : sys-libs/zlib
 * Using ncurses    : sys-libs/ncurses
-------------------------------------------------------------------------------
  [[ (1/3) Configuring environment ]]
 * GENTOO_MIRRORS="http://ftp.iij.ad.jp/pub/linux/gentoo/ http://ftp.jaist.ac.jp/pub/Linux/Gentoo/"
 * PORTDIR="/usr/portage"
 * DISTDIR="/var/tmp/distfiles"
 * PKGDIR="/usr/portage/packages"
 * PORTAGE_TMPDIR="/var/tmp"
 * CFLAGS="-O2 -march=i686 -mtune=i686 -pipe"
 * CHOST="i686-gentoo-freebsd8.0"
 * CXXFLAGS="-O2 -march=i686 -mtune=i686 -pipe"
 * MAKEOPTS="-j3"
 * ACCEPT_KEYWORDS="x86-fbsd ~x86-fbsd"
 * FEATURES="assume-digests chflags distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
-------------------------------------------------------------------------------
  [[ (2/3) Updating portage ]]
!!! CONFIG_PROTECT is empty
!!! Problem with sandbox binary. Disabling...


 * IMPORTANT: 3 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

Calculating dependencies... done!

>>> Fetching (1 of 1) sys-apps/portage-2.2.0_alpha43
 * portage-2.2.0_alpha41.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...        [ ok ]
 * portage-2.2.0_alpha43.patch.bz2 RMD160 SHA1 SHA256 size ;-) ...      [ ok ]
 * checking ebuild checksums ;-) ...                                    [ ok ]
 * checking auxfile checksums ;-) ...                                   [ ok ]
 * checking miscfile checksums ;-) ...                                  [ ok ]

 * IMPORTANT: 3 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

-------------------------------------------------------------------------------
  [[ (3/3) Emerging packages ]]
!!! CONFIG_PROTECT is empty
!!! Problem with sandbox binary. Disabling...

!!! '>=' is not a valid package atom.
!!! Please check ebuild(5) for full details.


Expected Results:  
# /usr/portage/scripts/bootstrap.sh -f
Running in fetch-only mode ...

Gentoo Linux; http://www.gentoo.org/
Copyright 1999-2011 Gentoo Foundation; Distributed under the GPLv2
Fetching all bootstrap-related archives ...
-------------------------------------------------------------------------------
  [[ (0/3) Locating packages ]]
 * Using baselayout : >=sys-apps/baselayout-2.0.0
 * Using portage    : portage
 * Using os-headers : virtual/os-headers
 * Using binutils   : sys-devel/binutils
 * Using gcc        : sys-devel/gcc
 * Using gettext    : sys-devel/gettext
 * Using libc       : virtual/libc
 * Using texinfo    : sys-apps/texinfo
 * Using zlib       : sys-libs/zlib
 * Using ncurses    : sys-libs/ncurses
-------------------------------------------------------------------------------
<snip>
Comment 1 Yuta SATOH 2011-07-05 17:22:29 UTC
Created attachment 279177 [details, diff]
sample patch for bootstrap.sh
Comment 2 Naohiro Aota gentoo-dev 2011-07-25 10:05:28 UTC
The bootstrap.sh change was reverted.