Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 79500 - elinks 0.10.1 blocked because it wants to overwrite
Summary: elinks 0.10.1 blocked because it wants to overwrite
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Mac OSX (show other bugs)
Hardware: PPC All
: High normal (vote)
Assignee: Gentoo for Mac OS X
URL:
Whiteboard:
Keywords:
: 79535 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-01-25 11:22 UTC by Hector Parra
Modified: 2006-04-12 10:52 UTC (History)
1 user (show)

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


Attachments
hack to prevent installing offending files (elinks-0.10.5.ebuild.patch,933 bytes, patch)
2005-06-30 12:40 UTC, Fabian Groffen
Details | Diff
configure script patch (elinks-0.10.5-macos.patch,468 bytes, patch)
2005-07-02 10:24 UTC, Fabian Groffen
Details | Diff
more rigorous configure script patch (elinks-0.10.5-macos.patch,918 bytes, patch)
2005-07-02 12:23 UTC, Fabian Groffen
Details | Diff
changes made to the ebuild to activate the patch (elinks-0.10.5.ebuild.patch,1.40 KB, patch)
2005-07-02 12:24 UTC, Fabian Groffen
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Hector Parra 2005-01-25 11:22:14 UTC
elinks seems to compile just fine, except: (apologies in advanced)

 * file /var/tmp/portage/elinks-0.10.1/image// was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///etc was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///etc/elinks was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///etc/elinks/elinks.conf was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///etc/elinks/keybind-full.sample was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///etc/elinks/keybind.conf.sample was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/bin was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/bin/elinks was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/lib was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/lib/charset.alias was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/doc was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/doc/elinks-0.10.1 was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/doc/elinks-0.10.1/AUTHORS.gz was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/doc/elinks-0.10.1/bookmarks.txt.gz was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/doc/elinks-0.10.1/BUGS.gz was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/doc/elinks-0.10.1/ChangeLog.gz was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/doc/elinks-0.10.1/color-model.txt.gz was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/doc/elinks-0.10.1/contrib was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/doc/elinks-0.10.1/contrib/colws.diff.gz was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/doc/elinks-0.10.1/contrib/conv was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/doc/elinks-0.10.1/contrib/conv/conf-links2elinks.pl was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/doc/elinks-0.10.1/contrib/conv/mailcap.pl was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/doc/elinks-0.10.1/contrib/conv/old_to_new_bookmarks.sh was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/doc/elinks-0.10.1/contrib/conv/w3m2links.gawk was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/doc/elinks-0.10.1/contrib/elinks-vim.diff.gz was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/doc/elinks-0.10.1/contrib/elinks.vim.gz was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/doc/elinks-0.10.1/contrib/guile was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/doc/elinks-0.10.1/contrib/guile/internal-hooks.scm was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/doc/elinks-0.10.1/contrib/guile/user-hooks.scm was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/doc/elinks-0.10.1/contrib/lua was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/doc/elinks-0.10.1/contrib/lua/bm-to-elinks-bookmarks.lua was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/doc/elinks-0.10.1/contrib/lua/bm.lua was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/doc/elinks-0.10.1/contrib/lua/config.lua was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/doc/elinks-0.10.1/contrib/lua/elinks-remote was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/doc/elinks-0.10.1/contrib/lua/hooks.lua was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/doc/elinks-0.10.1/contrib/lua/md5check.lua was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/doc/elinks-0.10.1/contrib/lua/remote.lua was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/doc/elinks-0.10.1/contrib/README.gz was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/doc/elinks-0.10.1/ecmascript.txt.gz was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/doc/elinks-0.10.1/elinks-lua.texi.gz was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/doc/elinks-0.10.1/events.txt.gz was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/doc/elinks-0.10.1/exmode.txt.gz was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/doc/elinks-0.10.1/feedback.txt.gz was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/doc/elinks-0.10.1/hacking.txt.gz was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/doc/elinks-0.10.1/index.txt.gz was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/doc/elinks-0.10.1/INSTALL.gz was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/doc/elinks-0.10.1/introduction.txt.gz was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/doc/elinks-0.10.1/mailcap.txt.gz was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/doc/elinks-0.10.1/Makefile.am.gz was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/doc/elinks-0.10.1/Makefile.in.gz was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/doc/elinks-0.10.1/marks.txt.gz was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/doc/elinks-0.10.1/mime.html.gz was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/doc/elinks-0.10.1/NEWS.gz was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/doc/elinks-0.10.1/README.gz was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/doc/elinks-0.10.1/remote.txt.gz was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/doc/elinks-0.10.1/SITES.gz was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/doc/elinks-0.10.1/small.txt.gz was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/doc/elinks-0.10.1/tabs.txt.gz was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/doc/elinks-0.10.1/THANKS.gz was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/doc/elinks-0.10.1/TODO.gz was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/locale was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/locale/be was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/locale/be/LC_MESSAGES was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/locale/be/LC_MESSAGES/elinks.mo was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/locale/bg was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/locale/bg/LC_MESSAGES was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/locale/bg/LC_MESSAGES/elinks.mo was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/locale/ca was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/locale/ca/LC_MESSAGES was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/locale/ca/LC_MESSAGES/elinks.mo was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/locale/cs was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/locale/cs/LC_MESSAGES was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/locale/cs/LC_MESSAGES/elinks.mo was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/locale/da was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/locale/da/LC_MESSAGES was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/locale/da/LC_MESSAGES/elinks.mo was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/locale/de was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/locale/de/LC_MESSAGES was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/locale/de/LC_MESSAGES/elinks.mo was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/locale/el was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/locale/el/LC_MESSAGES was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/locale/el/LC_MESSAGES/elinks.mo was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/locale/es was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/locale/es/LC_MESSAGES was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/locale/es/LC_MESSAGES/elinks.mo was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/locale/et was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/locale/et/LC_MESSAGES was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/locale/et/LC_MESSAGES/elinks.mo was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/locale/fi was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/locale/fi/LC_MESSAGES was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/locale/fi/LC_MESSAGES/elinks.mo was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/locale/fr was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/locale/fr/LC_MESSAGES was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/locale/fr/LC_MESSAGES/elinks.mo was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/locale/gl was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/locale/gl/LC_MESSAGES was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/locale/gl/LC_MESSAGES/elinks.mo was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/locale/hr was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/locale/hr/LC_MESSAGES was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/locale/hr/LC_MESSAGES/elinks.mo was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/locale/hu was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/locale/hu/LC_MESSAGES was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/locale/hu/LC_MESSAGES/elinks.mo was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/locale/id was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/locale/id/LC_MESSAGES was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/locale/id/LC_MESSAGES/elinks.mo was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/locale/is was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/locale/is/LC_MESSAGES was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/locale/is/LC_MESSAGES/elinks.mo was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/locale/it was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/locale/it/LC_MESSAGES was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/locale/it/LC_MESSAGES/elinks.mo was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/locale/locale.alias was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/locale/lt was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/locale/lt/LC_MESSAGES was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/locale/lt/LC_MESSAGES/elinks.mo was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/locale/nl was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/locale/nl/LC_MESSAGES was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/locale/nl/LC_MESSAGES/elinks.mo was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/locale/no was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/locale/no/LC_MESSAGES was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/locale/no/LC_MESSAGES/elinks.mo was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/locale/pl was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/locale/pl/LC_MESSAGES was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/locale/pl/LC_MESSAGES/elinks.mo was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/locale/pt was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/locale/pt/LC_MESSAGES was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/locale/pt/LC_MESSAGES/elinks.mo was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/locale/pt_BR was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/locale/pt_BR/LC_MESSAGES was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/locale/pt_BR/LC_MESSAGES/elinks.mo was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/locale/ro was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/locale/ro/LC_MESSAGES was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/locale/ro/LC_MESSAGES/elinks.mo was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/locale/ru was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/locale/ru/LC_MESSAGES was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/locale/ru/LC_MESSAGES/elinks.mo was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/locale/sk was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/locale/sk/LC_MESSAGES was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/locale/sk/LC_MESSAGES/elinks.mo was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/locale/sv was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/locale/sv/LC_MESSAGES was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/locale/sv/LC_MESSAGES/elinks.mo was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/locale/tr was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/locale/tr/LC_MESSAGES was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/locale/tr/LC_MESSAGES/elinks.mo was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/locale/uk was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/locale/uk/LC_MESSAGES was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/locale/uk/LC_MESSAGES/elinks.mo was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/man was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/man/man1 was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/man/man1/elinks.1 was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/man/man5 was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/man/man5/elinks.conf.5 was installed with group portage!
 * file /var/tmp/portage/elinks-0.10.1/image///usr/share/man/man5/elinkskeys.5 was installed with group portage!
>>> Completed installing elinks-0.10.1 into /var/tmp/portage/elinks-0.10.1/image/

* checking 82 files for package collisions
existing file /usr/lib/charset.alias is not owned by this package
existing file /usr/share/locale/locale.alias is not owned by this package
* spent 0.0753898620605 seconds checking for file collisions
* This package is blocked because it wants to overwrite
* files belonging to other packages (see messages above).
* If you have no clue what this is all about report it 
* as a bug for this package on http://bugs.gentoo.org

package net-www/elinks-0.10.1 NOT merged

No package files given... Grabbing a set.
Comment 1 Fabian Groffen gentoo-dev 2005-06-30 12:39:33 UTC
I think it is safe to ignore (that is remove from elinks) charset.alias, because
it only contains comments.

for /usr/share/locale/locale.alias it's a bit different.  It seems elinks wants
to associate some different associations:

-bokmal         nb_NO.ISO-8859-1
-bokm?l         nb_NO.ISO-8859-1
+bokmal         no_NO.ISO-8859-1
+bokm?l         no_NO.ISO-8859-1
 catalan                ca_ES.ISO-8859-1
 croatian       hr_HR.ISO-8859-2
 czech          cs_CZ.ISO-8859-2
@@ -47,7 +46,7 @@
 galician       gl_ES.ISO-8859-1
 german         de_DE.ISO-8859-1
 greek           el_GR.ISO-8859-7
-hebrew          he_IL.ISO-8859-8
+hebrew          iw_IL.ISO-8859-8
 hrvatski       hr_HR.ISO-8859-2
 hungarian       hu_HU.ISO-8859-2
 icelandic       is_IS.ISO-8859-1
@@ -61,9 +60,9 @@
 korean.euc     ko_KR.eucKR
 ko_KR          ko_KR.eucKR
 lithuanian      lt_LT.ISO-8859-13
-no_NO          nb_NO.ISO-8859-1
-no_NO.ISO-8859-1 nb_NO.ISO-8859-1
-norwegian       nb_NO.ISO-8859-1
+nb_NO          no_NO.ISO-8859-1
+nb_NO.ISO-8859-1 no_NO.ISO-8859-1
+norwegian       no_NO.ISO-8859-1
 nynorsk                nn_NO.ISO-8859-1
 polish          pl_PL.ISO-8859-2
 portuguese      pt_PT.ISO-8859-1

I wouldn't like to overwrite the system version.

elinks is now in www-client.  I made a patch that prevents elinks from
installing the offending files.  Elinks seems to run happily afterwards.  The
patch is quite a hacky solution, but it is reasonable.
Comment 2 Fabian Groffen gentoo-dev 2005-06-30 12:40:36 UTC
Created attachment 62352 [details, diff]
hack to prevent installing offending files
Comment 3 Lina Pezzella (RETIRED) gentoo-dev 2005-07-01 10:58:02 UTC
You'll find a good number of ebuilds with this problem - as you did here, we've just been deleting the 
offending charset.alias and locale.alias providing that the package works fine without their version.

In order to keyword this package, it needs to be tested with all of the USE flags. I can tell you right now
that there is going to be a problem with lua, since the lua ebuild needs to be fixed. Please see Bug #49309
for details. A user submitted a patch in comment 11 of that bug, so all that needs to be done is to test
the patch. Since the bug is so old, it seems apparent to me that the package maintainer has no interest
in fixing it himself. We want lua version 5.0.2-r1.
Comment 4 Fabian Groffen gentoo-dev 2005-07-02 06:53:49 UTC
how can I test that lua?  I just installed it, and let elinks compile with lua.
 It seems to like it very much.  Apart from the 50 million warnings that I get,
everything goes without a glitch.  Configure seems to be very happy about it too:

configure:6657: checking for Lua
configure:6695: gcc -o conftest -pipe -Wall     -rdynamic conftest.c -llua
-llualib -lm -ldl  -lbz2 -lexpat 1>&5
powerpc-apple-darwin8-gcc-4.0.0: unrecognized option '-rdynamic'
configure:6731: checking for lauxlib.h
configure:6741: gcc -E   conftest.c >/dev/null 2>conftest.out
configure:6770: checking for lua_pcall
configure:6798: gcc -o conftest -pipe -Wall     -rdynamic conftest.c -llua
-llualib -lm -ldl  -lbz2 -lexpat 1>&5
powerpc-apple-darwin8-gcc-4.0.0: unrecognized option '-rdynamic'
configure:6830: checking for LUA 5 or better
configure:6839: gcc -o conftest -pipe -Wall     -rdynamic conftest.c -llua
-llualib -lm -ldl  -lbz2 -lexpat 1>&5
powerpc-apple-darwin8-gcc-4.0.0: unrecognized option '-rdynamic'
Comment 5 Fabian Groffen gentoo-dev 2005-07-02 10:18:54 UTC
zlib and ssl work (tested)
ipv6 and lua compile (can't/(don't know how to) test them)
guile fails to compile with linker errors, see below
X works (how to test this?)
gpm says (-gpm) and doesn't allow to be enabled (makes sense to me on OSX somehow)

with-guile:
/usr/bin/ld: multiple definitions of symbol _environ
/usr/lib/gcc/powerpc-apple-darwin8/4.0.0/../../../crt1.o definition of _environ
in section (__DATA,__data)
/usr/lib/gcc/powerpc-apple-darwin8/4.0.0/../../../libguile.a(posix.o) definition
of _environ in section (__DATA,__data)
collect2: ld returned 1 exit status
make[3]: *** [elinks] Error 1

Another problem I can see, is that guile needs at least readline 4.1.  Unless
someone knows what readline is available with Tiger by default and whether that
readline is enough for guile, it is bound to require you to install a readline
package to overwrite the system supplied one (which is a collision detect issue).
Comment 6 Fabian Groffen gentoo-dev 2005-07-02 10:24:52 UTC
Created attachment 62488 [details, diff]
configure script patch

Small patch that makes configure able to 'see' that -rdynamic does NOT work on
darwin with gcc4.  The problem is in gcc giving a warning and just ignoring the
flag.  This patch 'listens' to the warning so it disables -rdynamic and
prevents a bunch of the same problems in the future.
Comment 7 Fabian Groffen gentoo-dev 2005-07-02 11:52:58 UTC
Some interesting info on with or without X flag:

http://linuxfromscratch.org/pipermail/elinks-dev/2004-January/000754.html

About the -rdynamic:
http://lists.apple.com/archives/Unix-porting/2005/Feb/msg00025.html

because the linking still goes wrong:
https://stat.ethz.ch/pipermail/r-devel/2002-January/023730.html

however I can't get it to link it, so maybe if someone has an idea?

I'm pretty much fed up with it for now.  Since guile support is quite
experimental according to configure's output, I wouldn't care to diss it.
Comment 8 Fabian Groffen gentoo-dev 2005-07-02 12:23:01 UTC
Created attachment 62494 [details, diff]
more rigorous configure script patch

Maybe this day wasn't completely in vain...

Removal of the whole -rdynamic check, and a simple addition of -Xlinker -m to
ignore a linker problem with multiple definitions.
Comment 9 Fabian Groffen gentoo-dev 2005-07-02 12:24:50 UTC
Created attachment 62495 [details, diff]
changes made to the ebuild to activate the patch

ohw man, after a whole day, we got elinks compiling and running with all
possible use flags turned on.

hooray.
Comment 10 Lina Pezzella (RETIRED) gentoo-dev 2005-07-03 13:26:30 UTC
*** Bug 79535 has been marked as a duplicate of this bug. ***
Comment 11 Lina Pezzella (RETIRED) gentoo-dev 2005-07-03 19:16:23 UTC
Nice work on that patch. Xterm behaves properly with elinks now. However, when I run elinks (elinks 
http://www.google.com), I get the following:

INTERNAL ERROR at renderer.c:309: document http://www.google.com/ to format not found                                                                                                                                
INTERNAL ERROR at view.c:940: assertion doc_view && doc_view->document failed!
Bus error

This happens both in Terminal.app as well as Xterm.
Comment 12 Fabian Groffen gentoo-dev 2005-07-04 00:11:21 UTC
Hmmm, maybe I should recompile again.  It just works for me.
Comment 13 Fabian Groffen gentoo-dev 2005-07-04 12:48:46 UTC
I checked again:

# emerge -pv elinks
These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] www-client/elinks-0.10.5  -X* (-gpm) +guile -ipv6* -lua* -ssl*
-zlib* 0 kB [1] 

Total size of downloads: 0 kB
Portage overlays:
 [1] /usr/local/portage

and it works flawlessly for me.  Do you use Terminal.app or xterm?
Comment 14 Lina Pezzella (RETIRED) gentoo-dev 2005-07-04 13:29:41 UTC
Okay. Unfortunately for you, the problem is with one of the CFLAGS I'm using. This is where your scripting
talents might serve you well. The only way I know how to deal with this type of thing is to start disabling
flags and repeating testing. elinks works just fine with CFLAGS="-O2 -pipe".

Here's my CFLAGS:

CFLAGS="-O3 -fgcse-sm -funroll-loops -fstrict-aliasing -fsched-interblock -falign-loops=16 -falign-
jumps=16 -falign-functions=16 -falign-jumps-max-skip=15 -falign-loops-max-skip=15 -ffast-math -
freorder-blocks -freorder-blocks-and-partition -finline-floor -mpowerpc-gpopt -force_cpusubtype_ALL 
-mcpu=7450 -fPIC -pipe"
Comment 15 Fabian Groffen gentoo-dev 2005-07-04 22:26:55 UTC
that's question 6a and b ;)
Comment 16 Lina Pezzella (RETIRED) gentoo-dev 2005-07-05 12:42:04 UTC
Why yes it is. Our general policy to identify the flags that don't work and to get rid of them via the "proper" 
method - which I'll let you figure out as it's a quiz question. :-)
Comment 17 Fabian Groffen gentoo-dev 2005-07-05 12:42:41 UTC
I'm running into some discussion with myself here.  On the one hand there are a
zillion of flags you can feed the compiler (only think of what -fast enables),
while on the other hand I'd like to prevent compilation failure.  Forcing to use
a certain CFLAGS (as happens in some ebuilds) seems to non-Gentoo-free to me (if
I want to have a gazillion of flags, I should take the disadvantages of that
too, right?).  However, it is unbarebly for me to test all combinations to find
out where a (combination of) flag(s) screws it up in letting the compiler doing
stupid things.

For me, your flags (without the cpu specific ones) don't even work, ie. gcc
can't even compile a configure test with them.

Flags that DO work (from -fast):
1) "-O3 -falign-loops-max-skip=15 -falign-jumps-max-skip=15"
2) "-falign-loops=16 -falign-jumps=16 -falign-functions=16 -malign-natural
-ffast-math -funroll-loops"
3) "-ftree-loop-linear -ftree-loop-memset -fgcse-sm"
4) "-mcpu=G5 -mpowerpc-gpopt -mtune=G5 -mpowerpc64"

combinations:
1) and 2) works
1) and 3) -> compiler bus error "internal compiler error: Bus error"
2) and 3) works
1), 2) and 3) -> compiler bus error
1), 2), 3) and 4) -> compiler bus error
-fast -> asserts on run
Comment 18 Kito (RETIRED) gentoo-dev 2005-07-05 13:25:21 UTC
Whatever the policy may be, Fabian is correct in stating the impossibility of testing all possible CFLAG 
combinations. You might take a little while to browse through bugzilla and look at all the bugs that are 
closed as INVALID because of users being overzealous with the ricerizations. 

IMHO,
CFLAGS="-O3 -fgcse-sm -funroll-loops -fstrict-aliasing -fsched-interblock -falign-loops=16 -falign-
jumps=16 -falign-functions=16 -falign-jumps-max-skip=15 -falign-loops-max-skip=15 -ffast-math 
-freorder-blocks -freorder-blocks-and-partition -finline-floor -mpowerpc-gpopt -
force_cpusubtype_ALL -mcpu=7450 -fPIC -pipe"

is just ridiculous to force on every package in your system...
Comment 19 Lina Pezzella (RETIRED) gentoo-dev 2005-07-05 19:57:18 UTC
I generally run wacky CFLAGS to identify any potential CFLAG issues.

Fabian: you're correct in stating that you can't test all possible combinations. That would be a bit
ridiculous. However, it's un-Gentoo-like to simply force -O2 on everyone. Thus, I personally tend to 
shoot
for a happy medium. I test a few flags that I know from experience are a good bet for breakage. If I 
can't
find it, I close as INVALID. If you do this, it would be nice to tell the user that if they identify flags that
break things and report back on it, we would be happy to fix the problem.

In this particular case, I'll tell you that the flag that is breaking things is: -fstrict-aliasing.

I particularly want you to deal with this type of situation, as it is fairly common, and it is a quiz question
after all. I'm *supposed* to be teaching you this stuff. ;-)
Comment 20 Fabian Groffen gentoo-dev 2005-07-06 11:38:21 UTC
I'm sorry... but "-fstrict-aliasing" does *not* break the binary.

(at least on my machine)

It seems only to cause trouble when -O3 or -O2 is specified as well.

If I would simply do some flag-o-matic to remove the "-fstrict-aliasing" flag I
would hurt people that don't have "-O3" in their flags.  But who knows what
other flags it interferes with?  Doing dirty hacks like if "-O3" is there, then
remove "-fstrict-aliasing" don't really make it sound very cool.  In the end I
could have decided to drop the optimalisation level to 1 as well.  I think I
cannot reasonably choose the best solution here, from the user's perspective. 
I'd rather like to add a warning and stop compilation or something explaining
the problem.

Again, are we really supposed to make a whole decision tree in bash, or can we
just rely on the contract "what you put in, is up to you", since by default the
flags are "-O2 -pipe" I think.  There is almost nothing that compiles with
"-fast" and I don't expect an ebuild to filter "-fast" cause it removes all of
the many optimisation features at once.  Also an ebuild can't figure out what is
actually in "-fast".

Moral dilemma!
Comment 21 Lina Pezzella (RETIRED) gentoo-dev 2005-07-07 13:03:13 UTC
Okay, if it's only a combination of flags that breaks things, then that is the fault of the user - in this case
me. :-) I will go ahead and commit the rest tomorrow. As you can tell, I was really hoping for an example
of CFLAG filtering, but that's the way it goes. If you *did* need to filter flags, the necessary functions are
in flag-o-matic.eclass, as hopefully you've figured out for the quiz (will look at it this weekend).

Good job!
Comment 22 Lina Pezzella (RETIRED) gentoo-dev 2005-07-08 19:31:29 UTC
Committed.