Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 4204 - bash-completion-20020624 merge is incomplete and or /etc/profile.d/ files are wrong.
Summary: bash-completion-20020624 merge is incomplete and or /etc/profile.d/ files are...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Thilo Bangert (RETIRED) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-26 16:05 UTC by Ben Lutgens (RETIRED)
Modified: 2003-02-04 19:42 UTC (History)
3 users (show)

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


Attachments
bash-completion ebuild fix and version update (bash-completion.tar.gz,948 bytes, application/octet-stream)
2002-07-04 13:25 UTC, Artur Wanzel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Lutgens (RETIRED) gentoo-dev 2002-06-26 16:05:11 UTC
/etc/profile.d/bash-completion has a test for /etc/bash_completion, and if it
exists source it. That file is not there. There is however a
/etc/bash_completion.d/ directory but the only thing in it is
gentoo-completion.... Clearly some things aren't being installed. I'll
investigate this further when I am not at work ;-)
Comment 1 Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2002-06-28 18:44:34 UTC
hhm, if you installed app-shells/bash-completion you will have 
/etc/bash_complettion.... 
 
i found a SLOT error though :) 
 
Comment 2 David Monk 2002-07-02 08:36:34 UTC
Thought I would comment with some info. I have the same experience with 
no /etc/bash_completion installed with this ebuild. It looks like some files 
are missing from the distfile. Or perhaps the source is not properly 
referenced?? Here's the emerge output:

QonoS etc # emerge bash-completion
Calculating dependencies ...done!
>>> emerge app-shells/bash-completion-20020624 to /
>>> md5 ;-) bash-completion-20020624.tar.bz2
>>> Unpacking source...
>>> Unpacking bash-completion-20020624.tar.bz2
>>> Source unpacked.

>>> Install bash-completion-20020624 into /var/tmp/portage/bash-completion-
20020624/image/ category
app-shells
install: cannot stat `bash_completion': No such file or directory
install: cannot stat `contrib/dict': No such file or directory
install: cannot stat `contrib/harbour': No such file or directory
install: cannot stat `contrib/isql': No such file or directory
install: cannot stat `contrib/larch': No such file or directory
install: cannot stat `contrib/lilypond': No such file or directory
install: cannot stat `contrib/p4': No such file or directory
install: cannot stat `contrib/ri': No such file or directory
/usr/lib/portage/bin/dodoc: COPYING does not exist.
/usr/lib/portage/bin/dodoc: Changelog does not exist.
/usr/lib/portage/bin/dodoc: README does not exist.
strip:
>>> Completed installing into /var/tmp/portage/bash-completion-20020624/image/

>>> Merging app-shells/bash-completion-20020624 to /
--- /etc/
--- /etc/bash_completion.d/
--- /etc/bash_completion.d/gentoo.completion
--- /etc/profile.d/
--- /etc/profile.d/bash-completion

>>> Safely unmerging already-installed instance...
>>> Config file management enabled for /etc/
>>> Config file management enabled for /usr/kde/2/share/config/
>>> Config file management enabled for /usr/kde/3/share/config/
--- !empty dir /etc/profile.d
--- !empty dir /etc/bash_completion.d
--- !empty dir /etc
>>> original instance of package unmerged safely.

 * Add the following line to your ~/.bashrc to
 * activate completion support in your bash:
 * [ -f /etc/profile.d/bash-completion ] && source /etc/profile.d/bash-
completion

>>> Regenerating /etc/ld.so.cache...
>>> app-shells/bash-completion-20020624 merged.

 * Regenerating GNU info directory index...
 * Processed 60 info files.
Comment 3 Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2002-07-04 05:22:34 UTC
hhm, looks like the source tarball changed unexpectedly. i don't have access to 
a gentoo machine, so i can't fix myself

ben: could you perhaps make the following changes to the ebuild?

 1) copy the current ebuild to bash-completion-20020704.ebuild (to update to 
the latest version.
 2) Change S to ${WORKDIR}/bash_completion
 3) Check that this is indeed is the fix :)

thanks
Comment 4 Artur Wanzel 2002-07-04 13:24:12 UTC
Hi

yeah, bash-completion-20020624.tar.bz2 unpacks to bash_completion so variable S
have to be ${WORKDIR}/bash_completion instead of ${WORKDIR}/${P/-/_}

same for bash-completion-20020704.tar.bz2

attached ebuilds and digest, I hope it's OK Thilo :)
 
/artur

Comment 5 Artur Wanzel 2002-07-04 13:25:33 UTC
Created attachment 1962 [details]
bash-completion ebuild fix and version update
Comment 6 Ben Lutgens (RETIRED) gentoo-dev 2002-07-21 13:21:56 UTC
bangert mark this invalid already it appears to have been a one time thing,
either that or it was fixed. I can't reproduce.