Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
View Bug Activity | Format For Printing | XML | Clone This Bug
If the install.sh script detects bash-completion is installed, tries to install a bins completion file at /etc/bash_completion.d Reproducible: Always Steps to Reproduce: 1. emerge bash-completion 2. emerge bins Actual Results: # emerge bins Calculating dependencies ...done! >>> emerge (1 of 1) app-misc/bins-1.1.26-r1 to / >>> md5 src_uri ;-) bins-1.1.26.tar.gz >>> Unpacking source... >>> Unpacking bins-1.1.26.tar.gz to /var/tmp/portage/bins-1.1.26-r1/work * Applying bins-1.1.26-install.patch... [ ok ]>>> Source unpacked. >>> Install bins-1.1.26-r1 into /var/tmp/portage/bins-1.1.26-r1/image/ category app-misc This will install BINS program and configuration files in the following paths : PREFIX = /var/tmp/portage/bins-1.1.26-r1/image/usr BIN = /var/tmp/portage/bins-1.1.26-r1/image/usr/bin SHARE = /var/tmp/portage/bins-1.1.26-r1/image/usr/share/bins MAN = /var/tmp/portage/bins-1.1.26-r1/image/usr/man/man1 LOCALE = /var/tmp/portage/bins-1.1.26-r1/image/usr/share/locale RC = /etc/bins ***************************** WARNING ******************************** Note that this may replace your old programs, configuration files and HTML templates ("default" "satyap" and "joi" style) by new ones, so you should backup them if you have modified something for personalization. ********************************************************************** Press Enter to go on or Crtl-C to stop now... Installing program files in /var/tmp/portage/bins-1.1.26-r1/image/usr/bin Installing configuration file in /etc/bins Installing default HTML templates in /var/tmp/portage/bins-1.1.26-r1/image/usr/share/bins/templates.default Installing default HTML templates in /var/tmp/portage/bins-1.1.26-r1/image/usr/share/bins/templates.joi Installing default HTML templates in /var/tmp/portage/bins-1.1.26-r1/image/usr/share/bins/templates.satyap Installing default HTML templates in /var/tmp/portage/bins-1.1.26-r1/image/usr/share/bins/templates.marc Installing default HTML templates in /var/tmp/portage/bins-1.1.26-r1/image/usr/share/bins/templates.petrus Installing additionnal files in /var/tmp/portage/bins-1.1.26-r1/image/usr/share/bins Installing man page in /var/tmp/portage/bins-1.1.26-r1/image/usr/man/man1 Installing bash completion system wide. ACCESS DENIED open_wr: /etc/bash_completion.d/bins cp: cannot create regular file `/etc/bash_completion.d/bins': Permission denied !!! ERROR: app-misc/bins-1.1.26-r1 failed. !!! Function src_install, Line 44, Exitcode 1 !!! (no error message) --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE = "/tmp/sandbox-app-misc_-_bins-1.1.26-r1-3161.log" open_wr: /etc/bash_completion.d/bins -------------------------------------------------------------------------------- Expected Results: Finally, install bins.
Created an attachment (id=40729) [edit] An uptated patch for install.sh This patch always install the file for bash-completion, in the right directory for Gentoo.
patch adjust, credit given :)