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>
Created attachment 279177 [details, diff] sample patch for bootstrap.sh
The bootstrap.sh change was reverted.