app-editors/nano is included in stage1 and stage2. However, it is removed from stage3. I think we should include nano also stage3. Reproducible: Always Steps to Reproduce: 1. Create gfbsd stage3 using catalyst 2. 3. Actual Results: --- Running action sequence: preclean copying stage3-preclean-chroot.sh to /var/tmp/catalyst/tmp/default/stage3-amd64-fbsd-9.1-20121013/tmp/ copying chroot-functions.sh to /var/tmp/catalyst/tmp/default/stage3-amd64-fbsd-9.1-20121013/tmp/ Running stage3-preclean-chroot.sh in chroot /var/tmp/catalyst/tmp/default/stage3-amd64-fbsd-9.1-20121013/ >>> Regenerating /var/run/ld-elf.so.hints... emerge --depclean --with-bdeps=y !!! CONFIG_PROTECT is empty * Always study the list of packages to be cleaned for any obvious * mistakes. Packages that are part of the world set will always * be kept. They can be manually added to this set with * `emerge --noreplace <atom>`. Packages that are listed in * package.provided (see portage(5)) will be removed by * depclean, even if they are part of the world set. * * As a safety measure, depclean will not remove any packages * unless *all* required dependencies have been resolved. As a * consequence, it is often necessary to run `emerge --update * --newuse --deep @world` prior to depclean. Calculating dependencies... done! >>> Calculating removal order... !!! 'app-editors/nano' (virtual/editor) is part of your system profile. !!! Unmerging it may be damaging to your system. app-editors/nano selected: 2.3.1-r2 protected: none omitted: none All selected packages: app-editors/nano-2.3.1-r2 >>> 'Selected' packages are slated for removal. >>> 'Protected' and 'omitted' packages will not be removed. >>> Unmerging (1 of 1) app-editors/nano-2.3.1-r2... Packages installed: 97 Packages in world: 1 Packages in system: 43 Required packages: 97 Number removed: 1 * GNU info directory index is up-to-date. * IMPORTANT: 2 news items need reading for repository 'gentoo'. * Use eselect news to read news items. removing /var/tmp/catalyst/tmp/default/stage3-amd64-fbsd-9.1-20121013/tmp/chroot-functions.sh from the chroot --- Running action sequence: unbind
Created attachment 329866 [details, diff] patch for profiles/default/bsd/fbsd/packages add *app-editors/nano The result of adding this line, nano not removed from stage3. emerge --depclean --with-bdeps=y <snip> Calculating dependencies... done! >>> No packages selected for removal by depclean >>> To see reverse dependencies, use --verbose Packages installed: 108 Packages in world: 1 Packages in system: 44 Required packages: 108 Number removed: 0
do we really need nano here ?
(In reply to comment #2) > do we really need nano here ? I think that should be included in stage3 is a user-friendly editor. but, need not be nano. I think no problem in ee, which is included in freebsd-bin. If you don't want be included nano in stages, please remove app-editors/nano from packages.build. nano will not be included in stage1 and stage2 by removing from packages.build. FYI, nano is protected by virtual/editor on Linux. on FreeBSD, app-editors/nano is installed by packages.build. sys-apps/ed is installed by sys-freebsd/freebsd-bin. It seems to automatically remove because stage3 contains 2 editor packages. virtual/editor/editor-0.ebuild RDEPEND="|| ( app-editors/nano <snip> sys-apps/ed )" sys-freebsd/freebsd-bin/freebsd-bin-9.1_rc3.ebuild RDEPEND="sys-apps/ed
right, but if we add it to the system set then nano will become mandatory for _all_ systems. I'd rather remove it from packages.build yes
(In reply to comment #4) > right, but if we add it to the system set then nano will become mandatory > for _all_ systems. I'd rather remove it from packages.build yes sounds good. Please remove it from 2 packages.build. profiles # grep -r app-editors/nano * default/bsd/fbsd/amd64/9.1/clang/packages.build:app-editors/nano default/bsd/fbsd/packages.build:app-editors/nano
(In reply to comment #5) > (In reply to comment #4) > > right, but if we add it to the system set then nano will become mandatory > > for _all_ systems. I'd rather remove it from packages.build yes > > sounds good. > Please remove it from 2 packages.build. > > profiles # grep -r app-editors/nano * > default/bsd/fbsd/amd64/9.1/clang/packages.build:app-editors/nano > default/bsd/fbsd/packages.build:app-editors/nano done