[Bug 635355] New: broken link in info:libc
https://bugzilla.novell.com/show_bug.cgi?id=635355 https://bugzilla.novell.com/show_bug.cgi?id=635355#c0 Summary: broken link in info:libc Classification: openSUSE Product: openSUSE 11.2 Version: Final Platform: x86-64 OS/Version: openSUSE 11.2 Status: NEW Severity: Normal Priority: P5 - None Component: Documentation AssignedTo: ke@novell.com ReportedBy: giecrilj@stegny.2a.pl QAContact: ke@novell.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; pl-PL; rv:1.9.1.11) Gecko/20100714 SUSE/3.5.11-0.1.1 Ant.com Toolbar 2.0.1 Firefox/3.5.11 Hyperlinks from libc to gcc do not have the gcc version number and thus do not correspond to resources. Reproducible: Always Steps to Reproduce: 1. Visit URL:info:/libc/Header%20Files 2. Follow the hyperlink to [Header Files]. Actual Results: 1. For more information about the use of header files and `#include' directives, [Header Files] (cpp.info)Header Files. 2. KDE Info Pages Viewer Error No info page for topic "cpp.info" found. You may find what you are looking for at the cpp.info manpage. Expected Results: 2. URL:info:/cpp-4.4.info/Header%20Files Note that there are several ways to address this problem: info: The info mechanism could be instructed to automatically detect version number. (Note that this already happens for the info executable, albeit in a limited way: { info 'cpp'; } works, { info '(cpp)'; } fails. glibc-info: The straightforward soultion is to update the hyperlinks with version numbers. gcc-info: Provide generic hyperlinks, e.g. { ln '-s' 'cpp-4.4.info.gz' 'cpp.info.gz'; }. This already happens for shared libraries. This action could also be performed by SuSE config. gcc44-info: Do not use versioned document names or provide the links as above. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=635355
https://bugzilla.novell.com/show_bug.cgi?id=635355#c1
Karl Eichwalder
https://bugzilla.novell.com/show_bug.cgi?id=635355
https://bugzilla.novell.com/show_bug.cgi?id=635355#c
Philipp Thomas
https://bugzilla.novell.com/show_bug.cgi?id=635355
https://bugzilla.novell.com/show_bug.cgi?id=635355#c2
--- Comment #2 from Christopher Yeleighton
https://bugzilla.novell.com/show_bug.cgi?id=635355
https://bugzilla.novell.com/show_bug.cgi?id=635355#c3
--- Comment #3 from Christopher Yeleighton
https://bugzilla.novell.com/show_bug.cgi?id=635355
https://bugzilla.novell.com/show_bug.cgi?id=635355#c4
Richard Guenther
https://bugzilla.novell.com/show_bug.cgi?id=635355
https://bugzilla.novell.com/show_bug.cgi?id=635355#c5
--- Comment #5 from Christopher Yeleighton
https://bugzilla.novell.com/show_bug.cgi?id=635355
https://bugzilla.novell.com/show_bug.cgi?id=635355#c6
--- Comment #6 from Richard Guenther
https://bugzilla.novell.com/show_bug.cgi?id=635355
https://bugzilla.novell.com/show_bug.cgi?id=635355#c7
--- Comment #7 from Christopher Yeleighton
https://bugzilla.novell.com/show_bug.cgi?id=635355
https://bugzilla.novell.com/show_bug.cgi?id=635355#c8
--- Comment #8 from Richard Guenther
https://bugzilla.novell.com/show_bug.cgi?id=635355
https://bugzilla.novell.com/show_bug.cgi?id=635355#c9
--- Comment #9 from Christopher Yeleighton
https://bugzilla.novell.com/show_bug.cgi?id=635355
https://bugzilla.novell.com/show_bug.cgi?id=635355#c10
--- Comment #10 from Richard Guenther
https://bugzilla.novell.com/show_bug.cgi?id=635355
https://bugzilla.novell.com/show_bug.cgi?id=635355#c11
--- Comment #11 from Christopher Yeleighton
Only installing gcc-info will provide unversioned links. gcc-info will link to the distribution default versioned versions (gcc45-info). Installing or removing gcc44-info will not affect the unversioned link.
This comment directly contradicts comment #6. I am confused. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=635355
https://bugzilla.novell.com/show_bug.cgi?id=635355#c12
--- Comment #12 from Richard Guenther
(In reply to comment #10)
Only installing gcc-info will provide unversioned links. gcc-info will link to the distribution default versioned versions (gcc45-info). Installing or removing gcc44-info will not affect the unversioned link.
This comment directly contradicts comment #6. I am confused.
I don't see how. What remains to be seen is what happens on distribution upgrade when the system gcc is updated and gcc-info is installed. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=635355
https://bugzilla.novell.com/show_bug.cgi?id=635355#c13
--- Comment #13 from Christopher Yeleighton
This comment directly contradicts comment #6. I am confused.
I don't see how.
Deinstalling the package with the versioned entry will also cause the unversioned entry to be removed.
Removing gcc44-info removes the entry cpp from the info directory (info).
Installing or removing gcc44-info will not affect the unversioned link.
Removing gcc44-info leaves the file cpp.info intact. So, indeed, no contradiction: the entry goes but the file remains.
What remains to be seen is what happens on distribution upgrade when the system gcc is updated and gcc-info is installed.
Updating gcc should create the file cpp46.info and register it in the info directory. Installing gcc-info should create the file cpp.info and register it in the info directory. Updating gcc should trigger an update of gcc-info, otherwise things could go stale. Removing gcc46-info should trigger an update of gcc-info as well. If this would leave gcc-info without any supporting package, gcc-info should be removed along with it. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=635355
https://bugzilla.novell.com/show_bug.cgi?id=635355#c14
Richard Guenther
https://bugzilla.novell.com/show_bug.cgi?id=635355
https://bugzilla.novell.com/show_bug.cgi?id=635355#c15
--- Comment #15 from Christopher Yeleighton
participants (1)
-
bugzilla_noreply@novell.com