Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 443810 - app-editors/nano is not included in Gentoo/FreeBSD stage3
Summary: app-editors/nano is not included in Gentoo/FreeBSD stage3
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-11-18 16:45 UTC by Yuta SATOH
Modified: 2013-02-01 22:42 UTC (History)
0 users

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


Attachments
patch for profiles/default/bsd/fbsd/packages (443810.patch,195 bytes, patch)
2012-11-18 16:54 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 2012-11-18 16:45:50 UTC
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
Comment 1 Yuta SATOH 2012-11-18 16:54:14 UTC
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
Comment 2 Alexis Ballier gentoo-dev 2012-11-24 11:37:46 UTC
do we really need nano here ?
Comment 3 Yuta SATOH 2012-11-24 19:01:41 UTC
(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
Comment 4 Alexis Ballier gentoo-dev 2012-11-27 13:39:47 UTC
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
Comment 5 Yuta SATOH 2012-11-28 11:36:55 UTC
(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
Comment 6 Alexis Ballier gentoo-dev 2013-02-01 22:42:23 UTC
(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