An experimental zope-2.6.1 ebuild using python-2.2.
Created attachment 8493 [details] net-www/zope/zope-2.6.1.ebuild You will need a modified zproduct.eclass(as of today).
Created attachment 8494 [details] net-www/zope/files/2.6.1/zope.envd
Created attachment 8495 [details] net-www/zope/files/2.6.1/zope.initd
Created attachment 8496 [details] net-www/zope/files/digest-zope-2.6.1 Might want to make your own.
emerging zope fails, when creating the default randon password. console output attached. ------------------------------------------------------------------------------ Creating stop script, stop chmod 0711 /var/tmp/portage/zope-2.6.1/work/Zope-2.6.1-src/stop ------------------------------------------------------------------------------ creating default inituser file Traceback (most recent call last): File "wo_pcgi.py", line 45, in ? if __name__=='__main__': main(sys.argv[0]) File "wo_pcgi.py", line 39, in main import zpasswd; zpasswd.write_inituser(home, user, group) File "/var/tmp/portage/zope-2.6.1/work/Zope-2.6.1-src/zpasswd.py", line 79, in write_inituser pw = write_generated_password(home, ac_path, 'admin') File "/var/tmp/portage/zope-2.6.1/work/Zope-2.6.1-src/zpasswd.py", line 50, in write_generated_password pw = pw + random.choice(pw_choices) File "/usr/lib/python2.2/random.py", line 355, in choice return seq[int(self.random() * len(seq))] OverflowError: float too large to convert !!! ERROR: net-www/zope-2.6.1 failed. !!! Function src_compile, Line 78, Exitcode 1 !!! Failed to compile.
looks like the overflow prob is found: if i open a python interactive shell and type print int(12.234234) i get the same error. people in #python were saying that this looks like probs with glibc. digging in bugs.gentoo.org showed that the -march=pentium4 results in glibc problems http://bugs.gentoo.org/show_bug.cgi?id=14069
A zope build similar to to the above, should be in portage now. Test away, and let me know about new bugs. Thanks. --kutsuya
Something similar now in Portage tree.