Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 151694 - env-update writes empty incremental elements
Summary: env-update writes empty incremental elements
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS, REGRESSION
Depends on:
Blocks: 147007 153993
  Show dependency tree
 
Reported: 2006-10-17 05:47 UTC by Brian Harring (RETIRED)
Modified: 2006-10-17 15:27 UTC (History)
0 users

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


Attachments
filter empty elements (patch,739 bytes, patch)
2006-10-17 05:48 UTC, Brian Harring (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Harring (RETIRED) gentoo-dev 2006-10-17 05:47:19 UTC
bharring@seldon ~ $ grep MANPATH /etc/env.d/*
/etc/env.d/00basic:MANPATH="/usr/local/share/man:/usr/share/man"
/etc/env.d/05compiler:MANPATH=""
/etc/env.d/05gcc:MANPATH="/usr/share/gcc-data/i686-pc-linux-gnu/4.1.1/man"
/etc/env.d/09ati:MANPATH=/opt/ati/man
/etc/env.d/20java-config:MANPATH=/etc/java-config/system-vm/man/

note 05compiler...
bharring@seldon ~ $ sudo env-udpate; grep MANPATH /etc/profile.env
bharring@seldon ~ $ grep MANPATH /etc/env.d/*
export MANPATH='/usr/local/share/man:/usr/share/man::/usr/share/gcc-data/i686-pc-linux-gnu/4.1.1/man:/opt/ati/man:/etc/java-config/system-vm/man/'

note the ::
Comment 1 Brian Harring (RETIRED) gentoo-dev 2006-10-17 05:48:30 UTC
Created attachment 99874 [details, diff]
filter empty elements

add a few filter calls to strip out empty elements... Now... if you were using pkgcore, you wouldn't have this issue

:)

I assume my life is forfeit for that joke? ;)
Comment 2 Zac Medico gentoo-dev 2006-10-17 13:47:34 UTC
Thanks, your patch is in svn r4741.
Comment 3 Zac Medico gentoo-dev 2006-10-17 15:27:34 UTC
This has been released in 2.1.2_pre3-r4.