When I try to emerge sgml-common with ROOT and don't have /usr/share/automake/install-sh (for example), the build fails. automake: configure.in: installing `./install-sh'; error while making link: File exists automake: configure.in: installing `./mkinstalldirs'; error while making link: File exists automake: configure.in: installing `./missing'; error while making link: File exists automake: Makefile.am: installing `./INSTALL'; error while making link: File exists automake: Makefile.am: installing `./COPYING'; error while making link: File exists The patch provided fixes it. Reproducible: Always Steps to Reproduce: 1.ROOT=/opt emerge sgml-common 2. 3.
Created attachment 45103 [details, diff] remove files the automake will create links for
I cannot reproduce the problem. Could you explain more about it? (Also, please paste the output of `emerge --info`)
you probably have /usr/share/automake/install-sh and other files mentioned in the error message in the description on your machine.
The question would be, why doesn't your system have those automake files? Besides, I'm not sure that the automake messages actually correspond to a fatal error. There is however some logic inside the ebuild that is not friendly with ROOT values different from "/" in pkg_postinst() and pkg_postrm(). Can you provide the complete output from the emerge process? And if you can provide a fix for the issues in pkg_post* that would be most appreciated. :) Thanks.
No further feedback from reporter.