public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user]  besides package.use where to store info needed at emerge
@ 2008-01-03  1:42 reader
  2008-01-03  4:02 ` David Relson
  2008-01-03  8:35 ` [gentoo-user] " Neil Bothwick
  0 siblings, 2 replies; 12+ messages in thread
From: reader @ 2008-01-03  1:42 UTC (permalink / raw
  To: gentoo-user

I know about /etc/portage/package.use
but where would I keep something like and extra configure flag, that I
always want applied.

  ECONF_EXTRA='--enable-rootcommit' 

Always needs to be applied to cvs on updates.  Where is such a thing
kept?


-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user]  besides package.use where to store info needed at emerge
  2008-01-03  1:42 [gentoo-user] besides package.use where to store info needed at emerge reader
@ 2008-01-03  4:02 ` David Relson
  2008-01-03  4:30   ` [gentoo-user] " reader
  2008-01-03  8:35 ` [gentoo-user] " Neil Bothwick
  1 sibling, 1 reply; 12+ messages in thread
From: David Relson @ 2008-01-03  4:02 UTC (permalink / raw
  To: gentoo-user

On Wed, 02 Jan 2008 19:42:09 -0600
reader@newsguy.com wrote:

> I know about /etc/portage/package.use
> but where would I keep something like and extra configure flag, that I
> always want applied.
> 
>   ECONF_EXTRA='--enable-rootcommit' 
> 
> Always needs to be applied to cvs on updates.  Where is such a thing
> kept?

Have you tried ~/.cvsrc ???
-- 
gentoo-user@gentoo.org mailing list



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

* [gentoo-user]  Re: besides package.use where to store info needed at emerge
  2008-01-03  4:02 ` David Relson
@ 2008-01-03  4:30   ` reader
  0 siblings, 0 replies; 12+ messages in thread
From: reader @ 2008-01-03  4:30 UTC (permalink / raw
  To: gentoo-user

David Relson <relson@osagesoftware.com> writes:

> On Wed, 02 Jan 2008 19:42:09 -0600
> reader@newsguy.com wrote:
>
>> I know about /etc/portage/package.use
>> but where would I keep something like and extra configure flag, that I
>> always want applied.
>> 
>>   ECONF_EXTRA='--enable-rootcommit' 
>> 
>> Always needs to be applied to cvs on updates.  Where is such a thing
>> kept?
>
> Have you tried ~/.cvsrc ???

I know nothing about what that might mean or do.  It appears in man
cvs to be a sort of .bashrc for a cvs user.

Are you saying a user owned rc file can control emerge's behavior?

-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user]  besides package.use where to store info needed at emerge
  2008-01-03  1:42 [gentoo-user] besides package.use where to store info needed at emerge reader
  2008-01-03  4:02 ` David Relson
@ 2008-01-03  8:35 ` Neil Bothwick
  2008-01-03 16:44   ` [gentoo-user] " reader
  1 sibling, 1 reply; 12+ messages in thread
From: Neil Bothwick @ 2008-01-03  8:35 UTC (permalink / raw
  To: gentoo-user

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

On Wed, 02 Jan 2008 19:42:09 -0600, reader@newsguy.com wrote:

> I know about /etc/portage/package.use
> but where would I keep something like and extra configure flag, that I
> always want applied.


mkdir -p /etc/portage/env/cat/
echo "EXTRA_ECONF='whatever'" >/etc/portage/env/cat/pkg


-- 
Neil Bothwick

MASOCHIST: Windows SDK programmer with a smile!

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

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

* [gentoo-user]  Re: besides package.use where to store info needed at emerge
  2008-01-03  8:35 ` [gentoo-user] " Neil Bothwick
@ 2008-01-03 16:44   ` reader
  2008-01-03 17:15     ` Neil Bothwick
  0 siblings, 1 reply; 12+ messages in thread
From: reader @ 2008-01-03 16:44 UTC (permalink / raw
  To: gentoo-user

Neil Bothwick <neil@digimed.co.uk> writes:

> On Wed, 02 Jan 2008 19:42:09 -0600, reader@newsguy.com wrote:
>
>> I know about /etc/portage/package.use
>> but where would I keep something like and extra configure flag, that I
>> always want applied.
>

> mkdir -p /etc/portage/env/cat/
> echo "EXTRA_ECONF='whatever'" >/etc/portage/env/cat/pkg

Yikes... I was beginning to wonder why I was still getting errors on
root commit.  Looks like I had it backward.. from OP:
  >   ECONF_EXTRA='--enable-rootcommit' 

At the `pkg' part of /etc/portage/env/cat/pkg

Do I need to include the full address somehow like: dev-util/cvs
or just `/etc/portage/env/cat/cvs'

The reason I ask is that it is possible with cvs to get the root
commit error for other (as yet not understood) reasons than actually
being root and trying to commit.

So it might not be so easy to test if the procedure has worked, unless
there is a command for cvs that will make it cough up its compile time
flags.

So I want to know that part is good so I can worry about other
problems with cvs in the event of problems following an update during
update world.

-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user]  Re: besides package.use where to store info needed at emerge
  2008-01-03 16:44   ` [gentoo-user] " reader
@ 2008-01-03 17:15     ` Neil Bothwick
  2008-01-03 17:43       ` reader
  2008-01-03 18:01       ` reader
  0 siblings, 2 replies; 12+ messages in thread
From: Neil Bothwick @ 2008-01-03 17:15 UTC (permalink / raw
  To: gentoo-user

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

On Thu, 03 Jan 2008 10:44:14 -0600, reader@newsguy.com wrote:

> At the `pkg' part of /etc/portage/env/cat/pkg
> 
> Do I need to include the full address somehow like: dev-util/cvs
> or just `/etc/portage/env/cat/cvs'

cat = category
pkg = package

Use /etc/portage/env/dev-util/cvs


-- 
Neil Bothwick

Windows isn't a virus -- viruses do something!

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

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

* [gentoo-user]  Re: besides package.use where to store info needed at emerge
  2008-01-03 17:15     ` Neil Bothwick
@ 2008-01-03 17:43       ` reader
  2008-01-03 18:01       ` reader
  1 sibling, 0 replies; 12+ messages in thread
From: reader @ 2008-01-03 17:43 UTC (permalink / raw
  To: gentoo-user

Neil Bothwick <neil@digimed.co.uk> writes:

> On Thu, 03 Jan 2008 10:44:14 -0600, reader@newsguy.com wrote:
>
>> At the `pkg' part of /etc/portage/env/cat/pkg
>> 
>> Do I need to include the full address somehow like: dev-util/cvs
>> or just `/etc/portage/env/cat/cvs'
>
> cat = category
> pkg = package

Egad I had imagined some how the `cat' directory told emerge the info
in pkg was to be `/bin/cat'ted' into the compile time scenario. 
Ok.. on with the dunce cap.


-- 
gentoo-user@gentoo.org mailing list



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

* [gentoo-user]  Re: besides package.use where to store info needed at emerge
  2008-01-03 17:15     ` Neil Bothwick
  2008-01-03 17:43       ` reader
@ 2008-01-03 18:01       ` reader
  2008-01-03 18:12         ` Neil Bothwick
  1 sibling, 1 reply; 12+ messages in thread
From: reader @ 2008-01-03 18:01 UTC (permalink / raw
  To: gentoo-user

Neil Bothwick <neil@digimed.co.uk> writes:

> On Thu, 03 Jan 2008 10:44:14 -0600, reader@newsguy.com wrote:
>
>> At the `pkg' part of /etc/portage/env/cat/pkg
>> 
>> Do I need to include the full address somehow like: dev-util/cvs
>> or just `/etc/portage/env/cat/cvs'
>
> cat = category
> pkg = package
>
> Use /etc/portage/env/dev-util/cvs

Sorry to keep nagging with this but I must still not have it right.  I
do not see that compile flag being set during emerge:

  ls -R /etc/portage/env
  /etc/portage/env:
  dev-utils
 
  /etc/portage/env/dev-utils:
  cvs

   cat /etc/portage/env/dev-utils/cvs
    EXTRA_ECONF='--enable-rootcommit'

And a snippet of emerge -v cvs ouput:

 (wrapped for mail)
[...]

  >>> Compiling source in
  >>> /var/tmp/portage/dev-util/cvs-1.12.12-r4/work/cvs-1.12.12 ...
     * econf: updating cvs-1.12.12/build-aux/config.guess with 
     /usr/share/gnuconfig/config.guess
   * econf: updating cvs-1.12.12/build-aux/config.sub with
   /usr/share/gnuconfig/config.sub
  
   ./configure --prefix=/usr --host=i686-pc-linux-gnu
   --mandir=/usr/share/man --infodir=/usr/share/info
   --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib
   --with-external-zlib --with-tmpdir=/tmp --enable-encryption
   --with-gssapi --enable-nls --enable-pam --enable-server
   --build=i686-pc-linux-gnu

[...]

-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user]  Re: besides package.use where to store info needed at emerge
  2008-01-03 18:01       ` reader
@ 2008-01-03 18:12         ` Neil Bothwick
  2008-01-03 19:51           ` reader
  2008-01-03 23:47           ` Bo Ørsted Andresen
  0 siblings, 2 replies; 12+ messages in thread
From: Neil Bothwick @ 2008-01-03 18:12 UTC (permalink / raw
  To: gentoo-user

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

On Thu, 03 Jan 2008 12:01:07 -0600, reader@newsguy.com wrote:

> Sorry to keep nagging with this but I must still not have it right.  I
> do not see that compile flag being set during emerge:

It looks like the cvs ebuild doesn't use EXTRA_ECONF. You could file a
bug report about this.


-- 
Neil Bothwick

Forgive your enemies. But hit them a few times first.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

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

* [gentoo-user]  Re: besides package.use where to store info needed at emerge
  2008-01-03 18:12         ` Neil Bothwick
@ 2008-01-03 19:51           ` reader
  2008-01-03 23:47           ` Bo Ørsted Andresen
  1 sibling, 0 replies; 12+ messages in thread
From: reader @ 2008-01-03 19:51 UTC (permalink / raw
  To: gentoo-user

Neil Bothwick <neil@digimed.co.uk> writes:

> On Thu, 03 Jan 2008 12:01:07 -0600, reader@newsguy.com wrote:
>
>> Sorry to keep nagging with this but I must still not have it right.  I
>> do not see that compile flag being set during emerge:
>
> It looks like the cvs ebuild doesn't use EXTRA_ECONF. You could file a
> bug report about this.

If that were true it should fail at the command line too shouldn't it?
Or is that side stepping somehow?

It works at the command line:

  EXTRA_ECONF='--enable-rootcommit' emerge -v cvs

Does pass the configure flag along during the compile.

-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user]  Re: besides package.use where to store info needed at emerge
  2008-01-03 18:12         ` Neil Bothwick
  2008-01-03 19:51           ` reader
@ 2008-01-03 23:47           ` Bo Ørsted Andresen
  2008-01-04  4:05             ` reader
  1 sibling, 1 reply; 12+ messages in thread
From: Bo Ørsted Andresen @ 2008-01-03 23:47 UTC (permalink / raw
  To: gentoo-user

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

On Thursday 03 January 2008 19:12:50 Neil Bothwick wrote:
> On Thu, 03 Jan 2008 12:01:07 -0600, reader@newsguy.com wrote:
> > Sorry to keep nagging with this but I must still not have it right.  I
> > do not see that compile flag being set during emerge:
>
> It looks like the cvs ebuild doesn't use EXTRA_ECONF. You could file a
> bug report about this.

It uses econf. econf uses EXTRA_ECONF.

On Thursday 03 January 2008 19:01:07 reader@newsguy.com wrote:
>    cat /etc/portage/env/dev-utils/cvs
>     EXTRA_ECONF='--enable-rootcommit'

You got the category wrong.

-- 
Bo Andresen

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

* [gentoo-user]  Re: besides package.use where to store info needed at emerge
  2008-01-03 23:47           ` Bo Ørsted Andresen
@ 2008-01-04  4:05             ` reader
  0 siblings, 0 replies; 12+ messages in thread
From: reader @ 2008-01-04  4:05 UTC (permalink / raw
  To: gentoo-user

Bo Ørsted Andresen <bo.andresen@zlin.dk> writes:

>> It looks like the cvs ebuild doesn't use EXTRA_ECONF. You could file a
>> bug report about this.
>
> It uses econf. econf uses EXTRA_ECONF.
>
> On Thursday 03 January 2008 19:01:07 reader@newsguy.com wrote:
>>    cat /etc/portage/env/dev-utils/cvs
>>     EXTRA_ECONF='--enable-rootcommit'
>
> You got the category wrong.

Aaahh shoot... if it weren't for those nasty little typos I'd be a
millionaire retired on a Caribbean island somewhere...
  Thanks

-- 
gentoo-user@gentoo.org mailing list



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

end of thread, other threads:[~2008-01-04  4:17 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-03  1:42 [gentoo-user] besides package.use where to store info needed at emerge reader
2008-01-03  4:02 ` David Relson
2008-01-03  4:30   ` [gentoo-user] " reader
2008-01-03  8:35 ` [gentoo-user] " Neil Bothwick
2008-01-03 16:44   ` [gentoo-user] " reader
2008-01-03 17:15     ` Neil Bothwick
2008-01-03 17:43       ` reader
2008-01-03 18:01       ` reader
2008-01-03 18:12         ` Neil Bothwick
2008-01-03 19:51           ` reader
2008-01-03 23:47           ` Bo Ørsted Andresen
2008-01-04  4:05             ` reader

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