Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 73093 - sgml-common ebuild fails to compile with ROOT although has ROOT support thru a hack
Summary: sgml-common ebuild fails to compile with ROOT although has ROOT support thru ...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High major (vote)
Assignee: Text-Markup Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-01 17:34 UTC by devsk
Modified: 2005-07-05 18:21 UTC (History)
0 users

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


Attachments
remove files the automake will create links for (sgml-common-0.6.3-r4.ebuild.patch,385 bytes, patch)
2004-12-01 17:35 UTC, devsk
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description devsk 2004-12-01 17:34:28 UTC
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.
Comment 1 devsk 2004-12-01 17:35:12 UTC
Created attachment 45103 [details, diff]
remove files the automake will create links for
Comment 2 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-12-02 20:24:00 UTC
I cannot reproduce the problem. Could you explain more
about it? (Also, please paste the output of `emerge --info`)
Comment 3 devsk 2004-12-08 17:41:35 UTC
you probably have /usr/share/automake/install-sh and other files mentioned in the error message in the description on your machine.
Comment 4 Leonardo Boshell (RETIRED) gentoo-dev 2005-06-05 18:39:53 UTC
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.
Comment 5 Leonardo Boshell (RETIRED) gentoo-dev 2005-07-05 18:21:36 UTC
No further feedback from reporter.