* [gentoo-portage-dev] euse creates broken /etc/make.conf when USE declaration starts with empty line:
@ 2009-06-24 13:23 Amit Dor-Shifer
2009-06-24 15:27 ` Joseph Booker
0 siblings, 1 reply; 3+ messages in thread
From: Amit Dor-Shifer @ 2009-06-24 13:23 UTC (permalink / raw
To: gentoo-portage-dev
Hi.
I have the following USE setup in /etc/make.conf:
USE="
a b
c
-d -e
"
Portage seems ok with this layout.
However, when I euse to enable some other flag, /etc/make.conf gets
corrupted:
amit0 ~ # euse -E f
/etc/make.conf was modified, a backup copy has been placed at
/etc/make.conf.euse_backup
amit0 ~ # grep -A 5 ^USE /etc/make.conf
USE="a b c -d -e f"
a b
c
-d -e
"
Is euse broken?
amit0 ~ # qlist -Iv sys-apps/portage gentoolkit
app-portage/gentoolkit-0.2.4.2-r1
app-portage/gentoolkit-dev-0.2.6.2
sys-apps/portage-2.1.6.7
Amit
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-portage-dev] euse creates broken /etc/make.conf when USE declaration starts with empty line:
2009-06-24 13:23 [gentoo-portage-dev] euse creates broken /etc/make.conf when USE declaration starts with empty line: Amit Dor-Shifer
@ 2009-06-24 15:27 ` Joseph Booker
2009-06-24 19:49 ` [gentoo-portage-dev] " Duncan
0 siblings, 1 reply; 3+ messages in thread
From: Joseph Booker @ 2009-06-24 15:27 UTC (permalink / raw
To: gentoo-portage-dev
[-- Attachment #1: Type: text/plain, Size: 611 bytes --]
On Wed, 24 Jun 2009 16:23:59 +0300
Amit Dor-Shifer <amitds@oversi.com> wrote:
> Hi.
>
> I have the following USE setup in /etc/make.conf:
>
> USE="
> a b
> c
>
> -d -e
> "
Try the following:
USE=" \
a b \
c \
\
-d -e \
"
What you have is correct bash syntax, but the way written above
(escaping the new lines) will work with euse and portage
btw, gentoo-portage-dev really isn't the place to discuss euse bugs,
gentoo-dev, gentoo-user, the forums, or bugs.gentoo.org would be more
appropriate. (gentoo-portage-dev is more about the internals of portage)
--
Joseph Booker
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* [gentoo-portage-dev] Re: euse creates broken /etc/make.conf when USE declaration starts with empty line:
2009-06-24 15:27 ` Joseph Booker
@ 2009-06-24 19:49 ` Duncan
0 siblings, 0 replies; 3+ messages in thread
From: Duncan @ 2009-06-24 19:49 UTC (permalink / raw
To: gentoo-portage-dev
Joseph Booker <joe@neoturbine.net> posted 20090624102731.677409f3@fenrir,
excerpted below, on Wed, 24 Jun 2009 10:27:31 -0500:
> btw, gentoo-portage-dev really isn't the place to discuss euse bugs,
> gentoo-dev, gentoo-user, the forums, or bugs.gentoo.org would be more
> appropriate. (gentoo-portage-dev is more about the internals of portage)
FWIW, gentoo-dev wouldn't be either. But as here, pretty much all lists
(and forums and IRC and...) should be at least polite enough to refer
first time posters to the correct locations, and often to answer the
question too. =:^)
But Gentoo uses bugs for all sorts of stuff, including administrative
stuff like tracking new and retiring devs, and other "not ordinarily
something you'd call a bug" bugs, so that's a reasonable place (even if
they do get marked invalid or notabug at times), and the various user
forums/lists/IRC-channels work well if you want a second user opinion, or
just some peer help, before bothering a dev.
--
Duncan - List replies preferred. No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master." Richard Stallman
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-06-24 19:50 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-24 13:23 [gentoo-portage-dev] euse creates broken /etc/make.conf when USE declaration starts with empty line: Amit Dor-Shifer
2009-06-24 15:27 ` Joseph Booker
2009-06-24 19:49 ` [gentoo-portage-dev] " Duncan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox