Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 144155 - http://archives.gentoo.org/gentoo-dev not working
Summary: http://archives.gentoo.org/gentoo-dev not working
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Infrastructure
Classification: Unclassified
Component: Mailing Lists (show other bugs)
Hardware: All Linux
: Lowest critical (vote)
Assignee: Trevor Hardcastle
URL:
Whiteboard:
Keywords:
Depends on: 161855
Blocks:
  Show dependency tree
 
Reported: 2006-08-16 14:40 UTC by Stefan Schweizer (RETIRED)
Modified: 2007-02-11 11:18 UTC (History)
1 user (show)

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


Attachments
MHonArc 2.6.16 ebuild (mhonarc-2.6.16.ebuild,606 bytes, text/plain)
2006-09-13 17:42 UTC, Trevor Hardcastle
Details
Patch file for MHonArc 2.6.16 ebuild (2.6.16-list-output-order.patch,1.40 KB, patch)
2006-09-13 17:44 UTC, Trevor Hardcastle
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Schweizer (RETIRED) gentoo-dev 2006-08-16 14:40:52 UTC
http://archives.gentoo.org/gentoo-dev is blank here

Gentoo Base System version 1.12.4
Portage 2.1.1_pre5 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.18-rc2-mm1 i686)
=================================================================
System uname: 2.6.18-rc2-mm1 i686 Genuine Intel(R) CPU           T2500  @ 2.00GHz
Last Sync: Sun, 13 Aug 2006 06:30:06 +0000
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -fomit-frame-pointer -pipe -ftree-vectorize -Wimplicit-function-declaration"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/NX/etc /usr/NX/home /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=prescott -fomit-frame-pointer -pipe -ftree-vectorize"
DISTDIR="/files/portage/distfiles"
FEATURES="autoconfig ccache cvs distlocks metadata-transfer sandbox sfperms sign"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
LC_ALL="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,-Bdirect -Wl,-hashvals -Wl,-zdynsort -Wl,--as-needed"
LINGUAS="de en"
PKGDIR="/files/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/files/portage/layman/gentoo-de /files/portage/layman/gentopia /files/portage/layman/hanno-xgl /files/portage/layman/flameeyes-overlay /files/portage/layman/nx /files/portage/layman/gnome-experimental /files/portage/layman/java-migration-packages /files/portage/layman/java-gcj-overlay /files/portage/layman/java-experimental /files/portage/layman/voip /files/portage/layman/portage-xgl /files/portage/layman/kolab2 /files/portage/svn/sunrise /files/portage/genstef /files/portage/local"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X a52 aac acpi alsa apache2 arts avahi avi bash-completion berkdb bidi bitmap-fonts bonjour bzip2 cairo cdparanoia cli crypt cups curl dbus dga dlloader dri dts dvd dvdread elibc_glibc emboss expat fbcon ffmpeg firefox flac font-server fortran gcj gd gdbm gif gimp glut gnome gnutls gpm gstreamer gtk gtk2 hal horde howl-compat ilbc imlib input_devices_keyboard input_devices_mouse input_devices_synaptics ipv6 isdnlog java javascript jingle jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility kernel_linux kolab lcms ldap libg++ libwww linguas_de linguas_en lirc lirc_devices_devinput live lm_sensors lzo mad matroska mikmod mmx mng mono mozilla mozsvg mp3 mpeg musicbrainz mysql ncurses network nls nptl nptlonly nsplugin ogg opengl pam pcmcia pcre pdf pdflib perl png pppd python qt3 qt4 quicktime readline reflection rtc samba sane_backends_mustek_usb sasl scanner sdl session slp smime sofia-sip speex spell spl sqlite sse sse2 ssl svg tcpd tetex theora threads tiff timidity truetype truetype-fonts type1-fonts udev unicode usb userland_GNU v4l v4l2 vcd vhosts video_cards_i810 vorbis wifi win32codecs wxwindows xfs xine xinerama xml xorg xosd xprint xv xvid zeroconf zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Xavier Neys (RETIRED) gentoo-dev 2006-09-01 02:35:41 UTC
There are two problems:
1. Generated file is not only invalid, it's not even well-formed XML
2. Crappy XSLT back-end engine shits over itself and does not even return an error

Same as for bug #137202 btw.

$ xmllint --noout --valid g-dev-index.xml
g-dev-index.xml:6: element mainpage: validity error : Value "listarchive" for attribute id of mainpage is not among the enumerated set
<mainpage id="listarchive" link="/gentoo-dev/index.xml">
                                                       ^
g-dev-index.xml:6: element mainpage: validity error : No declaration for attribute link of element mainpage
<mainpage id="listarchive" link="/gentoo-dev/index.xml">
                                                       ^
g-dev-index.xml:6: element mainpage: validity error : root and DTD name do not match 'mainpage' and 'guide'
<mainpage id="listarchive" link="/gentoo-dev/index.xml">
                                                       ^
g-dev-index.xml:46: element uri: validity error : No declaration for attribute name of element uri
<uri name="91477" link="msg_91477.xml"> Paludis version 0.6.0</uri> <e>Christel
                                      ^
g-dev-index.xml:49: element uri: validity error : No declaration for attribute name of element uri
<uri name="91480" link="msg_91480.xml">Re:  Paludis version 0.6.0</uri> <e>Doug
                                      ^
g-dev-index.xml:54: element uri: validity error : No declaration for attribute name of element uri
<uri name="91464" link="msg_91464.xml"> Suggestion: Globalness of some USE flags
                                      ^
g-dev-index.xml:57: element uri: validity error : No declaration for attribute name of element uri
<uri name="91465" link="msg_91465.xml">Re:  Suggestion: Globalness of some USE f
                                      ^
g-dev-index.xml:60: element uri: validity error : No declaration for attribute name of element uri
<uri name="91466" link="msg_91466.xml">Re:  Suggestion: Globalness of some USE f
                                      ^
g-dev-index.xml:66: element uri: validity error : No declaration for attribute name of element uri
<uri name="91467" link="msg_91467.xml">Re:  Suggestion: Globalness of some USE f
                                      ^
g-dev-index.xml:74: element uri: validity error : No declaration for attribute name of element uri
<uri name="91468" link="msg_91468.xml">Re:  Suggestion: Globalness of some USE f
                                      ^
g-dev-index.xml:82: element uri: validity error : No declaration for attribute name of element uri
<uri name="91469" link="msg_91469.xml">Re:  Suggestion: Globalness of some USE f
                                      ^
g-dev-index.xml:85: element uri: validity error : No declaration for attribute name of element uri
<uri name="91470" link="msg_91470.xml">Re:  Suggestion: Globalness of some USE f
                                      ^
g-dev-index.xml:87: parser error : Opening and ending tag mismatch: ul line 80 and li
</li>
     ^
g-dev-index.xml:88: parser error : Opening and ending tag mismatch: li line 78 and ul
</ul>
     ^
Comment 2 Trevor Hardcastle 2006-09-04 17:02:41 UTC
Hey Neysx, thank you for taking a look at this.

As for 1, I haven't been able to track down why Mhonarc outputs the ul/li in the wrong order. I suppose I'll delve into some Mhonarc code and try to see what's going on, as I can't see anything in the configs that could cause it.

I have some questions about the other XML errors. I see the list of IDs in the DTD for the mainpage tag, but which of these would be suitable for this? "lists"? Maybe I shouldn't be using mainpage at all?
Comment 3 Xavier Neys (RETIRED) gentoo-dev 2006-09-05 02:56:43 UTC
(In reply to comment #2)
> Hey Neysx, thank you for taking a look at this.

No problem :)

> As for 1, I haven't been able to track down why Mhonarc outputs the ul/li in
> the wrong order. I suppose I'll delve into some Mhonarc code and try to see
> what's going on, as I can't see anything in the configs that could cause it.

This is critical, non well-formed XML will not work.

> I have some questions about the other XML errors. I see the list of IDs in the
> DTD for the mainpage tag, but which of these would be suitable for this?
> "lists"? Maybe I shouldn't be using mainpage at all?

Valid XML is guaranteed to work. Some level of invalidity won't cause trouble, but it is not supported and is not guaranteed to keep on working.

guide vs mainpage is your call. mainpages have the top links and the left-column menu.
As far as the id attribute is concerned, you can safely ignore that.
It's drobbins's hack to display the link to the current page in green in the top links. It will be deprecated soon. I'll remove at least the LoV from the attribute, hopefully the attribute itself if I don't have to update too many pages on www.g.o

Comment 4 Curtis Napier (RETIRED) gentoo-dev 2006-09-06 20:46:33 UTC
(In reply to comment #3)
> As far as the id attribute is concerned, you can safely ignore that.
> It's drobbins's hack to display the link to the current page in green in the
> top links. It will be deprecated soon. I'll remove at least the LoV from the
> attribute, ****hopefully the attribute itself if I don't have to update too many
> pages on www.g.o****
> 

You can count on me to help with that when the time comes.
Comment 5 Trevor Hardcastle 2006-09-13 17:42:37 UTC
Created attachment 96917 [details]
MHonArc 2.6.16 ebuild

It took a long while, but I've finally figured out what's causing this. I've submitted a patch to MHonArc upstream late last week to fix it, but haven't heard anything back yet. I'm sure it'll get seen soon, but for the mean time this has been worked around locally. See here for upstream info -> http://savannah.nongnu.org/bugs/?17660

The fix above is hacked in and working, but to really resolve this bug I'd like to upgrade to a fixed 2.6.16 MHonArc ebuild on nuthatch. I've attached an ebuild that uses the patch for this bug, and contains the fix from bug 123134 (which I believe was an issue when MHonArc went from 2.6.10 -> 2.6.15 on nuthatch).
Comment 6 Trevor Hardcastle 2006-09-13 17:44:09 UTC
Created attachment 96918 [details, diff]
Patch file for MHonArc 2.6.16 ebuild

Here's the patch file that the ebuild references.
Comment 7 Stefan Schweizer (RETIRED) gentoo-dev 2007-02-11 11:18:48 UTC
works here now