Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 163561 - euse parsing problems
Summary: euse parsing problems
Status: RESOLVED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
: 172070 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-01-24 07:39 UTC by Morgun Leonid
Modified: 2007-03-24 17:47 UTC (History)
1 user (show)

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


Attachments
make.conf where it fails (make.conf,991 bytes, text/plain)
2007-01-24 07:40 UTC, Morgun Leonid
Details
make.conf parsed ok (make.conf,990 bytes, text/plain)
2007-01-24 07:42 UTC, Morgun Leonid
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Morgun Leonid 2007-01-24 07:39:43 UTC
equery && euse fail parsing make.conf:

localhost mudiller # euse --active
/etc/make.conf: line 29: unexpected EOF while looking for matching `"'
/etc/make.conf: line 30: syntax error: unexpected end of file
/etc/make.conf: line 29: unexpected EOF while looking for matching `"'
/etc/make.conf: line 30: syntax error: unexpected end of file
/etc/make.conf: line 29: unexpected EOF while looking for matching `"'
/etc/make.conf: line 30: syntax error: unexpected end of file

I know where's the error. It fails parsing quotes " in the comments


Reproducible: Always
Comment 1 Morgun Leonid 2007-01-24 07:40:53 UTC
Created attachment 107980 [details]
make.conf where it fails
Comment 2 Morgun Leonid 2007-01-24 07:42:02 UTC
Created attachment 107982 [details]
make.conf parsed ok

Pay attention at row #10
No quote in the comment parsed well!
Comment 3 Paul Varner (RETIRED) gentoo-dev 2007-01-24 17:58:58 UTC
/etc/make.conf is supposed to be valid bash syntax. The bash comment character has to be preceded with whitespace or be at the beginning of a line in order for it to be considered a comment by bash.

Changing the offending line from:

FEATURES="prelink digest ccache "#distcc"
to
FEATURES="prelink digest ccache " #distcc"

makes that line contain a valid comment
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-03-24 17:47:39 UTC
*** Bug 172070 has been marked as a duplicate of this bug. ***