public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] dir or file? >> /etc/portage/package.mask
@ 2020-04-18 17:56 tuxic
  2020-04-18 19:59 ` Neil Bothwick
  2020-04-19 14:23 ` Daniel Frey
  0 siblings, 2 replies; 7+ messages in thread
From: tuxic @ 2020-04-18 17:56 UTC (permalink / raw
  To: Gentoo

Hi,

I /thought/ that /etc/portage/package.mask is a file and using it
in this manner works as exspected.
Also the docs are of that opinion, too:
https://wiki.gentoo.org/wiki//etc/portage/package.mask

BUT!

host:/root>crossdev -t arm-none-eabi                           
-                                                                                                                                                                                                                 
 * crossdev version:      20200131
 * Host Portage ARCH:     amd64
 * Host Portage System:   x86_64-pc-linux-gnu (x86_64-pc-linux-gnu)
 * Target Portage ARCH:   arm
 * Target System:         arm-none-eabi
 * Stage:                 3 (C compiler & libc)
 * USE=multilib:          yes
 * Target ABIs:           default

 * binutils:              binutils-[latest]
 * gcc:                   gcc-[latest]
 * libc:                  newlib-[latest]

 * CROSSDEV_OVERLAY:      /var/db/repos/localrepo
 * PORT_LOGDIR:           /var/log/portage
 * PORTAGE_CONFIGROOT:    /
 * Portage flags:         
                                                                                                                                                                                                                  

 * error: please convert //etc/portage/package.mask to a directory
 * 


urges me to make a directory out of it.
After doing so, the command starts.

I am confused....slightly...

;)

?

Cheers,
Meino




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] dir or file? >> /etc/portage/package.mask
  2020-04-18 17:56 [gentoo-user] dir or file? >> /etc/portage/package.mask tuxic
@ 2020-04-18 19:59 ` Neil Bothwick
  2020-04-19 14:23 ` Daniel Frey
  1 sibling, 0 replies; 7+ messages in thread
From: Neil Bothwick @ 2020-04-18 19:59 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 665 bytes --]

On Sat, 18 Apr 2020 19:56:19 +0200, tuxic@posteo.de wrote:

> I /thought/ that /etc/portage/package.mask is a file and using it
> in this manner works as exspected.
> Also the docs are of that opinion, too:

Are they> From man portage:

/etc/portage/
              Files in this directory including make.conf, repos.conf,
and any file with a name that begins with "package." can be more than
just a flat file.  If it  is  a  directory, then all the files in that
directory will be sorted in ascending alphabetical order by file name and
summed together as if it were a single file.


-- 
Neil Bothwick

If I agreed with you, we'd both be wrong.

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] dir or file? >> /etc/portage/package.mask
  2020-04-18 17:56 [gentoo-user] dir or file? >> /etc/portage/package.mask tuxic
  2020-04-18 19:59 ` Neil Bothwick
@ 2020-04-19 14:23 ` Daniel Frey
  2020-04-19 16:12   ` John Covici
  1 sibling, 1 reply; 7+ messages in thread
From: Daniel Frey @ 2020-04-19 14:23 UTC (permalink / raw
  To: gentoo-user

On 4/18/20 10:56 AM, tuxic@posteo.de wrote:
> Hi,
> 
> I /thought/ that /etc/portage/package.mask is a file and using it
> in this manner works as exspected.
> Also the docs are of that opinion, too:
> https://wiki.gentoo.org/wiki//etc/portage/package.mask
> 
> BUT!
> 
>   * error: please convert //etc/portage/package.mask to a directory
>   *
> 
> 
> urges me to make a directory out of it.
> After doing so, the command starts.
> 
> I am confused....slightly...
> 

The devs are deprecating the flat-file version of package.*, I have been 
gettings warnings during emerges indicating that they all need to be 
changed to the directory layout.

If you ignore this eventually emerge will stop working. I've already 
taken the few minutes to move all my boxes to the directory layout, and 
split out the packages to individual files. You don't have to go that 
far though, the entries can stay in one file under the new directory 
structure.

Dan


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] dir or file? >> /etc/portage/package.mask
  2020-04-19 14:23 ` Daniel Frey
@ 2020-04-19 16:12   ` John Covici
  2020-04-19 16:40     ` Neil Bothwick
                       ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: John Covici @ 2020-04-19 16:12 UTC (permalink / raw
  To: gentoo-user

On Sun, 19 Apr 2020 10:23:28 -0400,
Daniel Frey wrote:
> 
> On 4/18/20 10:56 AM, tuxic@posteo.de wrote:
> > Hi,
> > 
> > I /thought/ that /etc/portage/package.mask is a file and using it
> > in this manner works as exspected.
> > Also the docs are of that opinion, too:
> > https://wiki.gentoo.org/wiki//etc/portage/package.mask
> > 
> > BUT!
> > 
> >   * error: please convert //etc/portage/package.mask to a directory
> >   *
> > 
> > 
> > urges me to make a directory out of it.
> > After doing so, the command starts.
> > 
> > I am confused....slightly...
> > 
> 
> The devs are deprecating the flat-file version of package.*, I
> have been gettings warnings during emerges indicating that they
> all need to be changed to the directory layout.
> 
> If you ignore this eventually emerge will stop working. I've
> already taken the few minutes to move all my boxes to the
> directory layout, and split out the packages to individual
> files. You don't have to go that far though, the entries can stay
> in one file under the new directory structure.

I wonder why they are doing this, I find the single file much easier
to deal with and its easier to make sure I don't have duplicate
entries this way.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

         John Covici wb2una
         covici@ccs.covici.com


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] dir or file? >> /etc/portage/package.mask
  2020-04-19 16:12   ` John Covici
@ 2020-04-19 16:40     ` Neil Bothwick
  2020-04-19 16:42     ` [gentoo-user] " Ian Zimmerman
  2020-04-19 21:47     ` [gentoo-user] " Walter Dnes
  2 siblings, 0 replies; 7+ messages in thread
From: Neil Bothwick @ 2020-04-19 16:40 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1089 bytes --]

On Sun, 19 Apr 2020 12:12:02 -0400, John Covici wrote:

> > The devs are deprecating the flat-file version of package.*, I
> > have been gettings warnings during emerges indicating that they
> > all need to be changed to the directory layout.
> > 
> > If you ignore this eventually emerge will stop working. I've
> > already taken the few minutes to move all my boxes to the
> > directory layout, and split out the packages to individual
> > files. You don't have to go that far though, the entries can stay
> > in one file under the new directory structure.  
> 
> I wonder why they are doing this, I find the single file much easier
> to deal with and its easier to make sure I don't have duplicate
> entries this way.

Horses for courses I suppose. I prefer a separate file for a package and
its dependencies. Then if I uninstall that package, I can simply delete
the file.

eix-test-obsolete should find duplicate entries, although that hasn't
been an issue so far.


-- 
Neil Bothwick

The considered application of terror is also a form of communication.

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [gentoo-user] Re: dir or file? >> /etc/portage/package.mask
  2020-04-19 16:12   ` John Covici
  2020-04-19 16:40     ` Neil Bothwick
@ 2020-04-19 16:42     ` Ian Zimmerman
  2020-04-19 21:47     ` [gentoo-user] " Walter Dnes
  2 siblings, 0 replies; 7+ messages in thread
From: Ian Zimmerman @ 2020-04-19 16:42 UTC (permalink / raw
  To: gentoo-user

On 2020-04-19 12:12, John Covici wrote:

> I wonder why they are doing this, I find the single file much easier
> to deal with and its easier to make sure I don't have duplicate
> entries this way.

Well, as Daniel wrote, you can still keep all the entries in a single
file; you just have to move the file one level down the directory
hierarchy.

I agree though, it seems pointless, and likely to make portage start up
time even longer.

-- 
Ian


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] dir or file? >> /etc/portage/package.mask
  2020-04-19 16:12   ` John Covici
  2020-04-19 16:40     ` Neil Bothwick
  2020-04-19 16:42     ` [gentoo-user] " Ian Zimmerman
@ 2020-04-19 21:47     ` Walter Dnes
  2 siblings, 0 replies; 7+ messages in thread
From: Walter Dnes @ 2020-04-19 21:47 UTC (permalink / raw
  To: gentoo-user

On Sun, Apr 19, 2020 at 12:12:02PM -0400, John Covici wrote
> 
> I wonder why they are doing this, I find the single file much easier
> to deal with and its easier to make sure I don't have duplicate
> entries this way.

  /etc/portage/package.use/package.use  (giggle)

-- 
Walter Dnes <waltdnes@waltdnes.org>
I don't run "desktop environments"; I run useful applications


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-04-19 21:48 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-18 17:56 [gentoo-user] dir or file? >> /etc/portage/package.mask tuxic
2020-04-18 19:59 ` Neil Bothwick
2020-04-19 14:23 ` Daniel Frey
2020-04-19 16:12   ` John Covici
2020-04-19 16:40     ` Neil Bothwick
2020-04-19 16:42     ` [gentoo-user] " Ian Zimmerman
2020-04-19 21:47     ` [gentoo-user] " Walter Dnes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox