From dam at opencsw.org Tue Oct 1 09:09:21 2013 From: dam at opencsw.org (Dagobert Michelsen) Date: Tue, 1 Oct 2013 09:09:21 +0200 Subject: [csw-maintainers] guile packaging Message-ID: Hi Peter, the upcoming GNU make will come with optional guile support and while looking at the guile packaging I noticed that CSWlibguile2-0-22 only contains the library itself. From my understanding (which is far from knowledgable in terms of guile) the files in /opt/csw/lib/guile are also needed when using the library. If this is really the case these files should be relocated to the library package. Thoughts? Best regards -- Dago -- "You don't become great by trying to be great, you become great by wanting to do something, and then doing it so hard that you become great in the process." - xkcd #896 -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2351 bytes Desc: not available URL: From pfelecan at opencsw.org Tue Oct 1 09:14:25 2013 From: pfelecan at opencsw.org (Peter FELECAN) Date: Tue, 01 Oct 2013 09:14:25 +0200 Subject: [csw-maintainers] guile packaging In-Reply-To: (Dagobert Michelsen's message of "Tue, 1 Oct 2013 09:09:21 +0200") References: Message-ID: Dagobert Michelsen writes: > Hi Peter, > > the upcoming GNU make will come with optional guile support and while looking at the guile > packaging I noticed that CSWlibguile2-0-22 only contains the library itself. From my > understanding (which is far from knowledgable in terms of guile) the files in /opt/csw/lib/guile > are also needed when using the library. If this is really the case these files should > be relocated to the library package. Thoughts? You're probably right. I'll explore and act results wise. -- Peter From markp at opencsw.org Tue Oct 1 15:38:12 2013 From: markp at opencsw.org (Mark Phillips) Date: Tue, 1 Oct 2013 14:38:12 +0100 Subject: [csw-maintainers] It's time to give up Puppet Message-ID: Hey Folks, Would anybody like to pick up ownership of the CSW puppet & puppet3 (+master) packages? I haven't been using Solaris for a good year or so now, and I no longer have any Solaris hosts myself. So I can't properly test this - or, more honestly, I don't have the drive to test properly ;-) Generally speaking repacking each time a new release comes out is a doddle - the gar builds work a treat. If nobody from the immediate CSW community steps forward, I'll throw it out to puppet-users to see if anybody there would like to take it. Cheers, --Mark -------------- next part -------------- An HTML attachment was scrubbed... URL: From pfelecan at opencsw.org Thu Oct 3 11:18:08 2013 From: pfelecan at opencsw.org (Peter FELECAN) Date: Thu, 03 Oct 2013 11:18:08 +0200 Subject: [csw-maintainers] guile packaging In-Reply-To: (Dagobert Michelsen's message of "Tue, 1 Oct 2013 09:09:21 +0200") References: Message-ID: Dagobert Michelsen writes: > the upcoming GNU make will come with optional guile support and while > looking at the guile packaging I noticed that CSWlibguile2-0-22 only > contains the library itself. From my understanding (which is far from > knowledgable in terms of guile) the files in /opt/csw/lib/guile are > also needed when using the library. If this is really the case these > files should be relocated to the library package. Thoughts? There is a new release of the guile packages. The main feature is the relocation of the relevant component in the library package. Now you're ready for the new GNU Make... -- Peter From pfelecan at opencsw.org Thu Oct 3 13:57:50 2013 From: pfelecan at opencsw.org (Peter FELECAN) Date: Thu, 03 Oct 2013 13:57:50 +0200 Subject: [csw-maintainers] Buildfarm setup - documentation In-Reply-To: ("Maciej (Matchek) =?utf-8?Q?Blizi=C5=84ski=22's?= message of "Fri, 27 Sep 2013 09:45:59 +0100") References: Message-ID: I started the build-farm documentation verification and made some corrections and clarification, visible on the devel mailing list. Unfortunately, for the moment, I'm stuck with an issue in libssl: https://www.opencsw.org/mantis/view.php?id=5112 -- Peter From dam at opencsw.org Thu Oct 3 14:43:04 2013 From: dam at opencsw.org (Dagobert Michelsen) Date: Thu, 3 Oct 2013 14:43:04 +0200 Subject: [csw-maintainers] Buildfarm setup - documentation In-Reply-To: References: Message-ID: Hi Peter, Am 03.10.2013 um 13:57 schrieb Peter FELECAN : > I started the build-farm documentation verification and made some > corrections and clarification, visible on the devel mailing list. > > Unfortunately, for the moment, I'm stuck with an issue in libssl: > https://www.opencsw.org/mantis/view.php?id=5112 Looks like your emulation has an quite old processor. Can you powerup the emulation for some newer isa? Best regards -- Dago -- "You don't become great by trying to be great, you become great by wanting to do something, and then doing it so hard that you become great in the process." - xkcd #896 -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2351 bytes Desc: not available URL: From pfelecan at opencsw.org Thu Oct 3 14:51:43 2013 From: pfelecan at opencsw.org (Peter FELECAN) Date: Thu, 03 Oct 2013 14:51:43 +0200 Subject: [csw-maintainers] Buildfarm setup - documentation In-Reply-To: (Dagobert Michelsen's message of "Thu, 3 Oct 2013 14:43:04 +0200") References: Message-ID: Dagobert Michelsen writes: > Hi Peter, > > Am 03.10.2013 um 13:57 schrieb Peter FELECAN : >> I started the build-farm documentation verification and made some >> corrections and clarification, visible on the devel mailing list. >> >> Unfortunately, for the moment, I'm stuck with an issue in libssl: >> https://www.opencsw.org/mantis/view.php?id=5112 > > Looks like your emulation has an quite old processor. Can you powerup > the emulation for some newer isa? This is not an emulation but real "metal". No so old either, well not in real historical time ... 10 years. BTW, it supports SSE, see http://en.wikipedia.org/wiki/AMD_Athlon_XP_3200%2B#Athlon_XP_.22Barton.22_.28Model_10.2C_130_nm.29 , consequently I don't get what the message conveys. -- Peter From pfelecan at opencsw.org Thu Oct 3 15:14:06 2013 From: pfelecan at opencsw.org (Peter FELECAN) Date: Thu, 03 Oct 2013 15:14:06 +0200 Subject: [csw-maintainers] Buildfarm setup - documentation In-Reply-To: (Peter FELECAN's message of "Thu, 03 Oct 2013 13:57:50 +0200") References: Message-ID: Why do we install, even optionally, the following: - DB2 client - IBM Informix Client SDK Are they needed for a feature of the build-farm? -- Peter From dam at opencsw.org Thu Oct 3 15:19:35 2013 From: dam at opencsw.org (Dagobert Michelsen) Date: Thu, 3 Oct 2013 15:19:35 +0200 Subject: [csw-maintainers] Buildfarm setup - documentation In-Reply-To: References: Message-ID: <64A9C94C-5CC7-4A3C-A6AE-43FEEFDD2153@opencsw.org> Hi Peter, Am 03.10.2013 um 15:14 schrieb Peter FELECAN : > Why do we install, even optionally, the following: > > - DB2 client > - IBM Informix Client SDK There is also the Oracle Instantclient. > Are they needed for a feature of the build-farm? Yes, I built DBD Perl modules for all of these. They are not super-important, I just added the how-to-install as a reminder for me and others who want to redo the work. If you don't intend to rebuilt the respective Perl modules you can skip the install. Best regards -- Dago -- "You don't become great by trying to be great, you become great by wanting to do something, and then doing it so hard that you become great in the process." - xkcd #896 -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2351 bytes Desc: not available URL: From laurent at opencsw.org Thu Oct 3 15:21:13 2013 From: laurent at opencsw.org (Laurent Blume) Date: Thu, 03 Oct 2013 15:21:13 +0200 Subject: [csw-maintainers] Buildfarm setup - documentation In-Reply-To: References: Message-ID: <524D6F49.1060506@opencsw.org> On 03/10/13 14:51, Peter FELECAN wrote: > This is not an emulation but real "metal". No so old either, well not in > real historical time ... 10 years. BTW, it supports SSE, see > http://en.wikipedia.org/wiki/AMD_Athlon_XP_3200%2B#Athlon_XP_.22Barton.22_.28Model_10.2C_130_nm.29 > , consequently I don't get what the message conveys. > It supports SSE, but it is really obsolete and does not support SSe2, and that library needs it: $ file /opt/csw/lib/libcrypto.so.1.0.0 /opt/csw/lib/libcrypto.so.1.0.0: ELF 32-bit LSB dynamic lib 80386 Version 1 [SSE2 SSE MMX CMOV FPU], dynamically linked, stripped I think that's probably a mistake, since so far, I've seen even SSE avoided for the 32 bit binaries. Laurent From dam at opencsw.org Thu Oct 3 15:26:05 2013 From: dam at opencsw.org (Dagobert Michelsen) Date: Thu, 3 Oct 2013 15:26:05 +0200 Subject: [csw-maintainers] Buildfarm setup - documentation In-Reply-To: <524D6F49.1060506@opencsw.org> References: <524D6F49.1060506@opencsw.org> Message-ID: <813F7CAE-7DEB-4127-9309-01DE49D8A557@opencsw.org> Hi folks, Am 03.10.2013 um 15:21 schrieb Laurent Blume : > On 03/10/13 14:51, Peter FELECAN wrote: >> This is not an emulation but real "metal". No so old either, well not in >> real historical time ... 10 years. BTW, it supports SSE, see >> http://en.wikipedia.org/wiki/AMD_Athlon_XP_3200%2B#Athlon_XP_.22Barton.22_.28Model_10.2C_130_nm.29 >> , consequently I don't get what the message conveys. >> > > It supports SSE, but it is really obsolete and does not support SSe2, and that library needs it: > $ file /opt/csw/lib/libcrypto.so.1.0.0 > /opt/csw/lib/libcrypto.so.1.0.0: ELF 32-bit LSB dynamic lib 80386 Version 1 [SSE2 SSE MMX CMOV FPU], dynamically linked, stripped > > I think that's probably a mistake, since so far, I've seen even SSE avoided for the 32 bit binaries. Or if necessary we could build more hwcap versions: http://www.oracle.com/technetwork/server-storage/solaris/hwcap-modification-139536.html The needed aux-linkage has already been done for full-features versions of neon and curl. Best regards -- Dago -- "You don't become great by trying to be great, you become great by wanting to do something, and then doing it so hard that you become great in the process." - xkcd #896 -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2351 bytes Desc: not available URL: From laurent at opencsw.org Thu Oct 3 15:27:45 2013 From: laurent at opencsw.org (Laurent Blume) Date: Thu, 03 Oct 2013 15:27:45 +0200 Subject: [csw-maintainers] Buildfarm setup - documentation In-Reply-To: <813F7CAE-7DEB-4127-9309-01DE49D8A557@opencsw.org> References: <524D6F49.1060506@opencsw.org> <813F7CAE-7DEB-4127-9309-01DE49D8A557@opencsw.org> Message-ID: <524D70D1.6000807@opencsw.org> On 03/10/13 15:26, Dagobert Michelsen wrote: > Or if necessary we could build more hwcap versions: The best way to go :-) From pfelecan at opencsw.org Thu Oct 3 15:30:32 2013 From: pfelecan at opencsw.org (Peter FELECAN) Date: Thu, 03 Oct 2013 15:30:32 +0200 Subject: [csw-maintainers] Buildfarm setup - documentation In-Reply-To: <813F7CAE-7DEB-4127-9309-01DE49D8A557@opencsw.org> (Dagobert Michelsen's message of "Thu, 3 Oct 2013 15:26:05 +0200") References: <524D6F49.1060506@opencsw.org> <813F7CAE-7DEB-4127-9309-01DE49D8A557@opencsw.org> Message-ID: Dagobert Michelsen writes: > Hi folks, > > Am 03.10.2013 um 15:21 schrieb Laurent Blume : >> On 03/10/13 14:51, Peter FELECAN wrote: >>> This is not an emulation but real "metal". No so old either, well not in >>> real historical time ... 10 years. BTW, it supports SSE, see >>> http://en.wikipedia.org/wiki/AMD_Athlon_XP_3200%2B#Athlon_XP_.22Barton.22_.28Model_10.2C_130_nm.29 >>> , consequently I don't get what the message conveys. >>> >> >> It supports SSE, but it is really obsolete and does not support SSe2, and that library needs it: >> $ file /opt/csw/lib/libcrypto.so.1.0.0 >> /opt/csw/lib/libcrypto.so.1.0.0: ELF 32-bit LSB dynamic lib 80386 Version 1 [SSE2 SSE MMX CMOV FPU], dynamically linked, stripped >> >> I think that's probably a mistake, since so far, I've seen even SSE avoided for the 32 bit binaries. > > > Or if necessary we could build more hwcap versions: > http://www.oracle.com/technetwork/server-storage/solaris/hwcap-modification-139536.html > The needed aux-linkage has already been done for full-features versions of > neon and curl. Thank you for my enlightenment folks. I hope that this will be corrected either by not requiring SSE2 or by hwcap. For the moment I'm not investing in bare metal just for the sake of build-farm documentation verification. -- Peter From pfelecan at opencsw.org Thu Oct 3 15:33:00 2013 From: pfelecan at opencsw.org (Peter FELECAN) Date: Thu, 03 Oct 2013 15:33:00 +0200 Subject: [csw-maintainers] Buildfarm setup - documentation In-Reply-To: <64A9C94C-5CC7-4A3C-A6AE-43FEEFDD2153@opencsw.org> (Dagobert Michelsen's message of "Thu, 3 Oct 2013 15:19:35 +0200") References: <64A9C94C-5CC7-4A3C-A6AE-43FEEFDD2153@opencsw.org> Message-ID: Dagobert Michelsen writes: > Hi Peter, > > Am 03.10.2013 um 15:14 schrieb Peter FELECAN : >> Why do we install, even optionally, the following: >> >> - DB2 client >> - IBM Informix Client SDK > > There is also the Oracle Instantclient. > >> Are they needed for a feature of the build-farm? > > Yes, I built DBD Perl modules for all of these. They are not super-important, > I just added the how-to-install as a reminder for me and others who want > to redo the work. If you don't intend to rebuilt the respective Perl modules > you can skip the install. Alright. Not installing avoids the capability to rebuild the totality of the stack which is, I remind you, one of the purposes of the build-farm documentation verification. Can you, please, provide a little bit more information about these additional components, e.g. from where to get the packages, &c. -- Peter From pfelecan at opencsw.org Thu Oct 3 15:40:56 2013 From: pfelecan at opencsw.org (Peter FELECAN) Date: Thu, 03 Oct 2013 15:40:56 +0200 Subject: [csw-maintainers] Buildfarm setup - documentation In-Reply-To: <524D70D1.6000807@opencsw.org> (Laurent Blume's message of "Thu, 03 Oct 2013 15:27:45 +0200") References: <524D6F49.1060506@opencsw.org> <813F7CAE-7DEB-4127-9309-01DE49D8A557@opencsw.org> <524D70D1.6000807@opencsw.org> Message-ID: Laurent Blume writes: > On 03/10/13 15:26, Dagobert Michelsen wrote: >> Or if necessary we could build more hwcap versions: > > The best way to go :-) Well, after reading the documentation I'm not sure that work wise is the easier. Finally, it depends on the resources than Yann wishes to allocate to this, if any. -- Peter From yann at pleiades.fr.eu.org Thu Oct 3 15:41:31 2013 From: yann at pleiades.fr.eu.org (Yann Rouillard) Date: Thu, 3 Oct 2013 15:41:31 +0200 Subject: [csw-maintainers] Buildfarm setup - documentation In-Reply-To: <524D6F49.1060506@opencsw.org> References: <524D6F49.1060506@opencsw.org> Message-ID: openssl has it own build system with specific build flags, that must be the reason why it requires SSE2 and SSE and not most other binaries. I will look for the options at fault. But BTW what is our policy concerning enabling of SSE/SSE2 ? I didn't have a complain so far about it and I suspect that this set of instructions helps to speed up some cryptographic codes in openssl, so I wonder if this is a good idea to remove them. Yann 2013/10/3 Laurent Blume > On 03/10/13 14:51, Peter FELECAN wrote: > >> This is not an emulation but real "metal". No so old either, well not in >> real historical time ... 10 years. BTW, it supports SSE, see >> http://en.wikipedia.org/wiki/**AMD_Athlon_XP_3200%2B#Athlon_** >> XP_.22Barton.22_.28Model_10.**2C_130_nm.29 >> , consequently I don't get what the message conveys. >> >> > It supports SSE, but it is really obsolete and does not support SSe2, and > that library needs it: > $ file /opt/csw/lib/libcrypto.so.1.0.**0 > /opt/csw/lib/libcrypto.so.1.0.**0: ELF 32-bit LSB dynamic lib > 80386 Version 1 [SSE2 SSE MMX CMOV FPU], dynamically linked, stripped > > I think that's probably a mistake, since so far, I've seen even SSE > avoided for the 32 bit binaries. > > Laurent > > ______________________________**_________________ > maintainers mailing list > maintainers at lists.opencsw.org > https://lists.opencsw.org/**mailman/listinfo/maintainers > .:: This mailing list's archive is public. ::. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dam at opencsw.org Thu Oct 3 15:45:06 2013 From: dam at opencsw.org (Dagobert Michelsen) Date: Thu, 3 Oct 2013 15:45:06 +0200 Subject: [csw-maintainers] Buildfarm setup - documentation In-Reply-To: References: <524D6F49.1060506@opencsw.org> Message-ID: <2E5E8148-EEEF-40CE-97F7-6CA601149C3E@opencsw.org> Hi Yann, Am 03.10.2013 um 15:41 schrieb Yann Rouillard : > openssl has it own build system with specific build flags, that must be the reason why it requires SSE2 and SSE and not most other binaries. > I will look for the options at fault. > > But BTW what is our policy concerning enabling of SSE/SSE2 ? I guess we don't have one yet. > I didn't have a complain so far about it and I suspect that this set of instructions helps to speed up some cryptographic codes in openssl, so I wonder if this is a good idea to remove them. Adding another ISA as option will probably take quite some time. Peter, do you think your use case is common enough to justify the extra work for Yann? Would using a VM on a more modern machine be also possible? Best regards -- Dago > > Yann > > > > > 2013/10/3 Laurent Blume > On 03/10/13 14:51, Peter FELECAN wrote: > This is not an emulation but real "metal". No so old either, well not in > real historical time ... 10 years. BTW, it supports SSE, see > http://en.wikipedia.org/wiki/AMD_Athlon_XP_3200%2B#Athlon_XP_.22Barton.22_.28Model_10.2C_130_nm.29 > , consequently I don't get what the message conveys. > > > It supports SSE, but it is really obsolete and does not support SSe2, and that library needs it: > $ file /opt/csw/lib/libcrypto.so.1.0.0 > /opt/csw/lib/libcrypto.so.1.0.0: ELF 32-bit LSB dynamic lib 80386 Version 1 [SSE2 SSE MMX CMOV FPU], dynamically linked, stripped > > I think that's probably a mistake, since so far, I've seen even SSE avoided for the 32 bit binaries. > > Laurent > > _______________________________________________ > maintainers mailing list > maintainers at lists.opencsw.org > https://lists.opencsw.org/mailman/listinfo/maintainers > .:: This mailing list's archive is public. ::. > > _______________________________________________ > maintainers mailing list > maintainers at lists.opencsw.org > https://lists.opencsw.org/mailman/listinfo/maintainers > .:: This mailing list's archive is public. ::. -- "You don't become great by trying to be great, you become great by wanting to do something, and then doing it so hard that you become great in the process." - xkcd #896 -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2351 bytes Desc: not available URL: From yann at pleiades.fr.eu.org Thu Oct 3 15:46:18 2013 From: yann at pleiades.fr.eu.org (Yann Rouillard) Date: Thu, 3 Oct 2013 15:46:18 +0200 Subject: [csw-maintainers] Buildfarm setup - documentation In-Reply-To: <813F7CAE-7DEB-4127-9309-01DE49D8A557@opencsw.org> References: <524D6F49.1060506@opencsw.org> <813F7CAE-7DEB-4127-9309-01DE49D8A557@opencsw.org> Message-ID: > > Or if necessary we could build more hwcap versions: > > http://www.oracle.com/technetwork/server-storage/solaris/hwcap-modification-139536.html > The needed aux-linkage has already been done for full-features versions of > neon and curl. > > Great ! Yet another modulation for openssl ! :) I will have a look at neon and curl to see how it's done. Yann -------------- next part -------------- An HTML attachment was scrubbed... URL: From dam at opencsw.org Thu Oct 3 15:51:48 2013 From: dam at opencsw.org (Dagobert Michelsen) Date: Thu, 3 Oct 2013 15:51:48 +0200 Subject: [csw-maintainers] Buildfarm setup - documentation In-Reply-To: References: <524D6F49.1060506@opencsw.org> <813F7CAE-7DEB-4127-9309-01DE49D8A557@opencsw.org> Message-ID: <7C37D6D0-BBA4-47F0-887A-94BE2313635F@opencsw.org> Hi Yann, Am 03.10.2013 um 15:46 schrieb Yann Rouillard : >> Or if necessary we could build more hwcap versions: >> http://www.oracle.com/technetwork/server-storage/solaris/hwcap-modification-139536.html >> The needed aux-linkage has already been done for full-features versions of >> neon and curl. > > Great ! Yet another modulation for openssl ! :) > I will have a look at neon and curl to see how it's done. Well, it is quite ugly. The idea is to make one build with simple dependencies and another with more dependencies. Then on post-build remove the respective library which should have the AUX filter, add the flag and redo the build. Make then picks up just the missing files and rebuilds them with the additional flag. If there were libraries the removal-set-compile would also have to be done several times: http://sourceforge.net/apps/trac/gar/browser/csw/mgar/pkg/libcurl4/trunk/Makefile http://sourceforge.net/apps/trac/gar/browser/csw/mgar/pkg/libneon27/trunk/Makefile It is incredibly ugly, but after fiddling for probably half a year and trying different patch methods this was by far the least untrusive, easiest to understand and most flexible. Best regards -- Dago -- "You don't become great by trying to be great, you become great by wanting to do something, and then doing it so hard that you become great in the process." - xkcd #896 -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2351 bytes Desc: not available URL: From pfelecan at opencsw.org Thu Oct 3 15:57:31 2013 From: pfelecan at opencsw.org (Peter FELECAN) Date: Thu, 03 Oct 2013 15:57:31 +0200 Subject: [csw-maintainers] Buildfarm setup - documentation In-Reply-To: <2E5E8148-EEEF-40CE-97F7-6CA601149C3E@opencsw.org> (Dagobert Michelsen's message of "Thu, 3 Oct 2013 15:45:06 +0200") References: <524D6F49.1060506@opencsw.org> <2E5E8148-EEEF-40CE-97F7-6CA601149C3E@opencsw.org> Message-ID: Dagobert Michelsen writes: > Hi Yann, > > Am 03.10.2013 um 15:41 schrieb Yann Rouillard : >> openssl has it own build system with specific build flags, that must be the reason why it requires SSE2 and SSE and not most other binaries. >> I will look for the options at fault. >> >> But BTW what is our policy concerning enabling of SSE/SSE2 ? > > I guess we don't have one yet. Currently we use as a default Pentium Pro. Maybe it's not adequate. But, I'm not aware, for the moment, of the consequences. >> I didn't have a complain so far about it and I suspect that this set >> of instructions helps to speed up some cryptographic codes in >> openssl, so I wonder if this is a good idea to remove them. > > Adding another ISA as option will probably take quite some time. > Peter, do you think your use case is common enough to justify the > extra work for Yann? Would using a VM on a more modern machine > be also possible? Using a VM, even on modern machine, has it's own inconvenients and, frankly, who can imagine a build farm on VMs? It requires bare metal for a lot of reasons. -- Peter From dam at opencsw.org Thu Oct 3 16:01:46 2013 From: dam at opencsw.org (Dagobert Michelsen) Date: Thu, 3 Oct 2013 16:01:46 +0200 Subject: [csw-maintainers] Buildfarm setup - documentation In-Reply-To: References: <524D6F49.1060506@opencsw.org> <2E5E8148-EEEF-40CE-97F7-6CA601149C3E@opencsw.org> Message-ID: <15166493-F769-4CCF-AF1A-7D14082771EE@opencsw.org> Hi Peter, Am 03.10.2013 um 15:57 schrieb Peter FELECAN : > Dagobert Michelsen writes: >> Adding another ISA as option will probably take quite some time. >> Peter, do you think your use case is common enough to justify the >> extra work for Yann? Would using a VM on a more modern machine >> be also possible? > > Using a VM, even on modern machine, has it's own inconvenients and, > frankly, who can imagine a build farm on VMs? It requires bare metal for > a lot of reasons. Umh, the buildfarm you use runs on VMs ;-) That include all *x hosts. What reasons do you have in mind preventing running a farm on virtualized environments? Best regards -- Dago -- "You don't become great by trying to be great, you become great by wanting to do something, and then doing it so hard that you become great in the process." - xkcd #896 -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2351 bytes Desc: not available URL: From pfelecan at opencsw.org Thu Oct 3 16:12:34 2013 From: pfelecan at opencsw.org (Peter FELECAN) Date: Thu, 03 Oct 2013 16:12:34 +0200 Subject: [csw-maintainers] Buildfarm setup - documentation In-Reply-To: <15166493-F769-4CCF-AF1A-7D14082771EE@opencsw.org> (Dagobert Michelsen's message of "Thu, 3 Oct 2013 16:01:46 +0200") References: <524D6F49.1060506@opencsw.org> <2E5E8148-EEEF-40CE-97F7-6CA601149C3E@opencsw.org> <15166493-F769-4CCF-AF1A-7D14082771EE@opencsw.org> Message-ID: Dagobert Michelsen writes: > Hi Peter, > > Am 03.10.2013 um 15:57 schrieb Peter FELECAN : >> Dagobert Michelsen writes: >>> Adding another ISA as option will probably take quite some time. >>> Peter, do you think your use case is common enough to justify the >>> extra work for Yann? Would using a VM on a more modern machine >>> be also possible? >> >> Using a VM, even on modern machine, has it's own inconvenients and, >> frankly, who can imagine a build farm on VMs? It requires bare metal for >> a lot of reasons. > > Umh, the buildfarm you use runs on VMs ;-) That include all *x hosts. > What reasons do you have in mind preventing running a farm on > virtualized environments? I know that. And suffer from that, don't get me wrong but at least on i386 the build times are often one order of magnitude slower than on my similar bare metal on which, of course, I'm alone. It's often more easier to get a bunch of oldish bare metal than have a server capable of well supporting VMs at a reasonable performance. And I'm not even mentioning SPARC bare metal versus virtualization for which I have not enough experience. Anyhow, the point is not this, the point is that we have stuff which doesn't run on the lowest denominator that we support and that can be quite surprising, even for me. -- Peter From dam at opencsw.org Thu Oct 3 19:27:13 2013 From: dam at opencsw.org (Dagobert Michelsen) Date: Thu, 3 Oct 2013 19:27:13 +0200 Subject: [csw-maintainers] Buildfarm setup - documentation In-Reply-To: References: <524D6F49.1060506@opencsw.org> <2E5E8148-EEEF-40CE-97F7-6CA601149C3E@opencsw.org> <15166493-F769-4CCF-AF1A-7D14082771EE@opencsw.org> Message-ID: Hi Peter, Am 03.10.2013 um 16:12 schrieb Peter FELECAN : > Dagobert Michelsen writes: >> Am 03.10.2013 um 15:57 schrieb Peter FELECAN : >>> Dagobert Michelsen writes: >>>> Adding another ISA as option will probably take quite some time. >>>> Peter, do you think your use case is common enough to justify the >>>> extra work for Yann? Would using a VM on a more modern machine >>>> be also possible? >>> >>> Using a VM, even on modern machine, has it's own inconvenients and, >>> frankly, who can imagine a build farm on VMs? It requires bare metal for >>> a lot of reasons. >> >> Umh, the buildfarm you use runs on VMs ;-) That include all *x hosts. >> What reasons do you have in mind preventing running a farm on >> virtualized environments? > > I know that. And suffer from that, don't get me wrong but at least on > i386 the build times are often one order of magnitude slower than on my > similar bare metal on which, of course, I'm alone. It's often more easier > to get a bunch of oldish bare metal than have a server capable of > well supporting VMs at a reasonable performance. And I'm not even > mentioning SPARC bare metal versus virtualization for which I have not > enough experience. Ah yes, I can understand that, especially that you are often working on very large sets of packages like texlive or qt4. > Anyhow, the point is not this, the point is that we have stuff which > doesn't run on the lowest denominator that we support and that can be > quite surprising, even for me. This is also very true. IIRC we raised the general build level to PentiumPro, but as we didn't have negative feedback on openssl before I would like to hear some more feedback. Maybe we can have some more thoughts on the base cpu level for x86 from other maintainers? Best regards -- Dago -- "You don't become great by trying to be great, you become great by wanting to do something, and then doing it so hard that you become great in the process." - xkcd #896 -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2351 bytes Desc: not available URL: From maciej at opencsw.org Thu Oct 3 19:57:24 2013 From: maciej at opencsw.org (=?UTF-8?Q?Maciej_=28Matchek=29_Blizi=C5=84ski?=) Date: Thu, 3 Oct 2013 18:57:24 +0100 Subject: [csw-maintainers] Buildfarm setup - documentation In-Reply-To: References: Message-ID: 2013/10/3 Peter FELECAN > I started the build-farm documentation verification and made some > corrections and clarification, visible on the devel mailing list. Very cool. It's a long document and it'll take us a number of iterations to make it semi-right. As far as 'sudo' - I assumed that the instructions would be performed as an unprivileged user. Otherwise people might think that these instructions are meant for the root user, while they're really not. What do you think? Maciej From pfelecan at opencsw.org Fri Oct 4 09:26:12 2013 From: pfelecan at opencsw.org (Peter FELECAN) Date: Fri, 04 Oct 2013 09:26:12 +0200 Subject: [csw-maintainers] Buildfarm setup - documentation In-Reply-To: ("Maciej (Matchek) =?utf-8?Q?Blizi=C5=84ski=22's?= message of "Thu, 3 Oct 2013 18:57:24 +0100") References: Message-ID: "Maciej (Matchek) Blizi?ski" writes: > 2013/10/3 Peter FELECAN >> I started the build-farm documentation verification and made some >> corrections and clarification, visible on the devel mailing list. > > Very cool. It's a long document and it'll take us a number of > iterations to make it semi-right. Oh, I prefer to make it at least semi-left. That is, I prefer the laevogyration. > As far as 'sudo' - I assumed that the instructions would be performed > as an unprivileged user. Otherwise people might think that these > instructions are meant for the root user, while they're really not. > What do you think? I understood the sudo usage but there is not the slightest indication about how to activate it. I know that Google is your friend, at least when it's not your employer. What about using the discreet and quai-subliminal hints of # and $ ? -- Peter From maciej at opencsw.org Fri Oct 4 11:11:32 2013 From: maciej at opencsw.org (=?UTF-8?Q?Maciej_=28Matchek=29_Blizi=C5=84ski?=) Date: Fri, 4 Oct 2013 10:11:32 +0100 Subject: [csw-maintainers] Buildfarm setup - documentation In-Reply-To: References: Message-ID: 2013/10/4 Peter FELECAN > > > As far as 'sudo' - I assumed that the instructions would be performed > > as an unprivileged user. Otherwise people might think that these > > instructions are meant for the root user, while they're really not. > > What do you think? > > I understood the sudo usage but there is not the slightest indication > about how to activate it. What about this? https://sourceforge.net/apps/trac/gar/browser/csw/mgar/pkg/opencsw-manual/trunk/files/for-maintainers/buildfarm-setup.rst#L47 > I know that Google is your friend, at least > when it's not your employer. What about using the discreet and > quai-subliminal hints of # and $ ? I'm not a fan. With Sphinx it's even worse, because it thinks that # is a comment and screws up the rest of the line; Sphinx highlights shell syntax and PS1 is not part of it, so you can't blame Sphinx. If you insist on including instructions how to set up sudo, you can copy the relevant snippet from my Usable Solaris howto. http://usable-solaris.googlecode.com/svn/trunk/docs/solaris-10-preliminary-setup.html#_regular_user_setup YOUR_REGULAR_USER=joe pkgutil -y -i sudo echo "${YOUR_REGULAR_USER} ALL =(ALL) ALL" >> /etc/opt/csw/sudoers chmod 0440 /etc/opt/csw/sudoers Maciej From pfelecan at opencsw.org Fri Oct 4 15:00:46 2013 From: pfelecan at opencsw.org (Peter FELECAN) Date: Fri, 04 Oct 2013 15:00:46 +0200 Subject: [csw-maintainers] Buildfarm setup - documentation In-Reply-To: ("Maciej (Matchek) =?utf-8?Q?Blizi=C5=84ski=22's?= message of "Thu, 3 Oct 2013 18:57:24 +0100") References: Message-ID: I "unstuck" myself from the crypto SSE2 issue by creating a more up to date package and installing it. Now I'm attacking the "checkpkg" section and I'm discovering with great displeasure what a mess is to start using MySQL from our unstable distribution! Even if you have experience in setting up this beast it is a travel through a fuzzy labyrinth finding out all the places and components. I'll try to fill issues in our bug tracker as much as I can without distracting me from the main goal and not shaving the yak... What's the most convenient template for the data base server ? Small, medium or large? Maybe some hints on what's the procedure on enabling MySQL on a pristine system? -- Peter From maciej at opencsw.org Fri Oct 4 15:08:11 2013 From: maciej at opencsw.org (=?UTF-8?Q?Maciej_=28Matchek=29_Blizi=C5=84ski?=) Date: Fri, 4 Oct 2013 14:08:11 +0100 Subject: [csw-maintainers] Buildfarm setup - documentation In-Reply-To: References: Message-ID: 2013/10/4 Peter FELECAN : > What's the most convenient template for the data base server ? Small, > medium or large? Maybe some hints on what's the procedure on enabling > MySQL on a pristine system? I don't think you need to do any of that. The only thing you need is the max_allowed_packet setting, you can just run these two commands: echo >>/etc/opt/csw/my.cnf "[mysqld]" echo >>/etc/opt/csw/my.cnf "max_allowed_packet=64M" The rest is taken care of by the postinstall script. The database daemon is running and you can connect as the root user. Maciej From pfelecan at opencsw.org Fri Oct 4 15:18:56 2013 From: pfelecan at opencsw.org (Peter FELECAN) Date: Fri, 04 Oct 2013 15:18:56 +0200 Subject: [csw-maintainers] Buildfarm setup - documentation In-Reply-To: ("Maciej (Matchek) =?utf-8?Q?Blizi=C5=84ski=22's?= message of "Fri, 4 Oct 2013 14:08:11 +0100") References: Message-ID: "Maciej (Matchek) Blizi?ski" writes: > 2013/10/4 Peter FELECAN : >> What's the most convenient template for the data base server ? Small, >> medium or large? Maybe some hints on what's the procedure on enabling >> MySQL on a pristine system? > > I don't think you need to do any of that. The only thing you need is > the max_allowed_packet setting, you can just run these two commands: > > echo >>/etc/opt/csw/my.cnf "[mysqld]" > echo >>/etc/opt/csw/my.cnf "max_allowed_packet=64M" > > The rest is taken care of by the postinstall script. The database > daemon is running and you can connect as the root user. It is not taken care. This is why I'm whining: # svcs -l svc:/network/cswmysql5:default fmri svc:/network/cswmysql5:default enabled false state disabled next_state none state_time Fri Oct 04 12:17:34 2013 restarter svc:/system/svc/restarter:default dependency require_all/none svc:/system/filesystem/local (online) dependency require_all/none svc:/network/loopback (online) bash-3.2# svcs -l svc:/network/cswmysql5:default fmri svc:/network/cswmysql5:default enabled false state disabled next_state none state_time Fri Oct 04 12:17:34 2013 restarter svc:/system/svc/restarter:default dependency require_all/none svc:/system/filesystem/local (online) dependency require_all/none svc:/network/loopback (online) BTW, can you tell me if the template to create /etc/opt/csw/my.cnf as required for checkpkg is the small, medium or large. TIA -- Peter From maciej at opencsw.org Fri Oct 4 15:26:37 2013 From: maciej at opencsw.org (=?UTF-8?Q?Maciej_=28Matchek=29_Blizi=C5=84ski?=) Date: Fri, 4 Oct 2013 14:26:37 +0100 Subject: [csw-maintainers] Buildfarm setup - documentation In-Reply-To: References: Message-ID: 2013/10/4 Peter FELECAN > It is not taken care. This is why I'm whining: > > # svcs -l svc:/network/cswmysql5:default > fmri svc:/network/cswmysql5:default > enabled false > state disabled Hm. Maybe you need to something to start it... but I've done about 3 fresh installations in the last half a year and don't recall anything MySQL related, so the installation must have been easy for me. Maybe you need to run something like 1 command to set up the database files and then svc enable. We can include that in the instructions. > BTW, can you tell me if the template to create /etc/opt/csw/my.cnf as > required for checkpkg is the small, medium or large. No template. Start with empty file, add two lines as instructed, and you're done. Maciej From pfelecan at opencsw.org Fri Oct 4 17:58:42 2013 From: pfelecan at opencsw.org (Peter FELECAN) Date: Fri, 04 Oct 2013 17:58:42 +0200 Subject: [csw-maintainers] Buildfarm setup - documentation In-Reply-To: ("Maciej (Matchek) =?utf-8?Q?Blizi=C5=84ski=22's?= message of "Fri, 4 Oct 2013 14:26:37 +0100") References: Message-ID: "Maciej (Matchek) Blizi?ski" writes: > 2013/10/4 Peter FELECAN >> It is not taken care. This is why I'm whining: >> >> # svcs -l svc:/network/cswmysql5:default >> fmri svc:/network/cswmysql5:default >> enabled false >> state disabled > > Hm. Maybe you need to something to start it... but I've done about 3 > fresh installations in the last half a year and don't recall anything > MySQL related, so the installation must have been easy for me. Maybe > you need to run something like 1 command to set up the database files > and then svc enable. We can include that in the instructions. > >> BTW, can you tell me if the template to create /etc/opt/csw/my.cnf as >> required for checkpkg is the small, medium or large. > > No template. Start with empty file, add two lines as instructed, and > you're done. The ball is rolling further... I documented the data base setup and now I'm stuck with the tables creation: $ pkgdb initdb ERROR:root:Could not create table : Row size too large. The maximum row size for the used table type, not counting BLOBs, is 65535. You have to change some columns to TEXT or BLOBs Traceback (most recent call last): File "/opt/csw/bin/pkgdb", line 709, in main() File "/opt/csw/bin/pkgdb", line 457, in main dbc.CreateTables() File "/opt/csw/lib/python/csw/database.py", line 164, in CreateTables table.createTable(ifNotExists=True) File "/opt/csw/lib/python/site-packages/sqlobject/main.py", line 1414, in createTable constraints = conn.createTable(cls) File "/opt/csw/lib/python/site-packages/sqlobject/dbconnection.py", line 510, in createTable self.query(createSql) File "/opt/csw/lib/python/site-packages/sqlobject/dbconnection.py", line 414, in query return self._runWithConnection(self._query, s) File "/opt/csw/lib/python/site-packages/sqlobject/dbconnection.py", line 327, in _runWithConnection val = meth(conn, *args) File "/opt/csw/lib/python/site-packages/sqlobject/dbconnection.py", line 411, in _query self._executeRetry(conn, conn.cursor(), s) File "/opt/csw/lib/python/site-packages/sqlobject/mysql/mysqlconnection.py", line 121, in _executeRetry raise OperationalError(ErrorMessage(e)) sqlobject.dberrors.OperationalError: Row size too large. The maximum row size for the used table type, not counting BLOBs, is 65535. You have to change some columns to TEXT or BLOBs I have seen hour note on the cswutils issue with missing dependencies. You need to state which is the correct context of usage for pkgdb. -- Peter From laurent at opencsw.org Fri Oct 4 18:44:55 2013 From: laurent at opencsw.org (Laurent Blume) Date: Fri, 04 Oct 2013 18:44:55 +0200 Subject: [csw-maintainers] Buildfarm setup - documentation In-Reply-To: References: Message-ID: <524EF087.8020504@opencsw.org> On 04/10/2013 15:18, Peter FELECAN wrote: > It is not taken care. This is why I'm whining: Would you please explain what you are referring to? I saw your bug about some incorrect old changelog files, I'm cleaning that up. But I would not qualify that as ?major? in any way, as it's not preventing anything. Removing a couple of old files and changing the directories of others will wait until 5.5.35. As for the docs, everything MySQL provides is included, so feel free to open a bug upstream if that's a problem with you. Personnally, I use Google to search their website. > # svcs -l svc:/network/cswmysql5:default > fmri svc:/network/cswmysql5:default > enabled false > state disabled > next_state none > state_time Fri Oct 04 12:17:34 2013 > restarter svc:/system/svc/restarter:default > dependency require_all/none svc:/system/filesystem/local (online) > dependency require_all/none svc:/network/loopback (online) > bash-3.2# svcs -l svc:/network/cswmysql5:default > fmri svc:/network/cswmysql5:default > enabled false > state disabled > next_state none > state_time Fri Oct 04 12:17:34 2013 > restarter svc:/system/svc/restarter:default > dependency require_all/none svc:/system/filesystem/local (online) > dependency require_all/none svc:/network/loopback (online) I have no clue what's supposed to be wrong in those lines. Can you point it out? Thanks in advance, Laurent From maciej at opencsw.org Fri Oct 4 19:08:59 2013 From: maciej at opencsw.org (=?UTF-8?Q?Maciej_=28Matchek=29_Blizi=C5=84ski?=) Date: Fri, 4 Oct 2013 18:08:59 +0100 Subject: [csw-maintainers] Buildfarm setup - documentation In-Reply-To: References: Message-ID: 2013/10/4 Peter FELECAN > sqlobject.dberrors.OperationalError: Row size too large. The maximum row size for the used table type, not counting BLOBs, is 65535. You have to change some columns to TEXT or BLOBs Looks like the missing max_allowed_packet setting. > I have seen hour note on the cswutils issue with missing > dependencies. You need to state which is the correct context of usage > for pkgdb. This is done this way: cd .../path/to/gar/sources bin/pkgdb Maciej From pfelecan at opencsw.org Fri Oct 4 19:54:25 2013 From: pfelecan at opencsw.org (Peter FELECAN) Date: Fri, 04 Oct 2013 19:54:25 +0200 Subject: [csw-maintainers] Buildfarm setup - documentation In-Reply-To: ("Maciej (Matchek) =?utf-8?Q?Blizi=C5=84ski=22's?= message of "Fri, 4 Oct 2013 18:08:59 +0100") References: Message-ID: "Maciej (Matchek) Blizi?ski" writes: > 2013/10/4 Peter FELECAN >> sqlobject.dberrors.OperationalError: Row size too large. The maximum >> row size for the used table type, not counting BLOBs, is 65535. You >> have to change some columns to TEXT or BLOBs > > Looks like the missing max_allowed_packet setting. But: $ cat /etc/opt/csw/my.cnf [mysqld] max_allowed_packet=64M how do you explain that? And, of course, the database server was started after the insertion of these lines. >> I have seen hour note on the cswutils issue with missing >> dependencies. You need to state which is the correct context of usage >> for pkgdb. > > This is done this way: > > cd .../path/to/gar/sources > bin/pkgdb It wasn't clear at all ant, BTW I dare to disagree with the idea that cswutils should not contain pkgdb and it must be run from mgar. The use case for which I care is when the database server is not the building machine. -- Peter From pfelecan at opencsw.org Fri Oct 4 20:06:22 2013 From: pfelecan at opencsw.org (Peter FELECAN) Date: Fri, 04 Oct 2013 20:06:22 +0200 Subject: [csw-maintainers] Buildfarm setup - documentation In-Reply-To: <524EF087.8020504@opencsw.org> (Laurent Blume's message of "Fri, 04 Oct 2013 18:44:55 +0200") References: <524EF087.8020504@opencsw.org> Message-ID: Laurent Blume writes: > On 04/10/2013 15:18, Peter FELECAN wrote: Unfortunately you omitted to cite/read what Maciej said: >> The rest is taken care of by the postinstall script. The database >> daemon is running and you can connect as the root user. >> It is not taken care. This is why I'm whining: > > Would you please explain what you are referring to? Aside of what Maciej incorrectly assume, i.e. that the postinstall script takes care of that, I'm refering to the incorrect message displayed by the postinstall script: ### The following messages are from /var/sadm/pkg/CSWmysql5/install/postinstall. See /opt/csw/mysql5/share/mysql/doc/README.CSW for packaging changes. Please ignore references to starting mysqld_safe in the messages above. These messages are from mysql_install_db. See the following for starting CSWmysql5. - the file /opt/csw/mysql5/share/mysql/doc/README.CSW does not exist - the message does not help someone who installs this, on the contrary it sows confusion > I saw your bug about > some incorrect old changelog files, I'm cleaning that up. Read again the issue's rapport. The changelog is a qualification for what I found in the documentation directory. In general the README.CSW contains specific instructions for configuring and running our package when things are different from what people get elsewhere. Those wo suypply a changelog just name it like that, i.e. ChangeLog. > But I would not qualify that as ?major? in any way, as it's not > preventing anything. Removing a couple of old files and changing the > directories of others will wait until 5.5.35. The qualification is subjective isn't it? I feel it as major because it's not only non useful but also misleading. > As for the docs, everything MySQL provides is included, so feel free to > open a bug upstream if that's a problem with you. Personnally, I use > Google to search their website. > >> # svcs -l svc:/network/cswmysql5:default >> fmri svc:/network/cswmysql5:default >> enabled false >> state disabled >> next_state none >> state_time Fri Oct 04 12:17:34 2013 >> restarter svc:/system/svc/restarter:default >> dependency require_all/none svc:/system/filesystem/local (online) >> dependency require_all/none svc:/network/loopback (online) >> bash-3.2# svcs -l svc:/network/cswmysql5:default >> fmri svc:/network/cswmysql5:default >> enabled false >> state disabled >> next_state none >> state_time Fri Oct 04 12:17:34 2013 >> restarter svc:/system/svc/restarter:default >> dependency require_all/none svc:/system/filesystem/local (online) >> dependency require_all/none svc:/network/loopback (online) > > I have no clue what's supposed to be wrong in those lines. Can you point > it out? Nothing. It was included only to show that the postinstall script has not take care of something. And I'm not saying that it should. -- Peter From laurent at opencsw.org Fri Oct 4 20:14:31 2013 From: laurent at opencsw.org (Laurent Blume) Date: Fri, 04 Oct 2013 20:14:31 +0200 Subject: [csw-maintainers] Buildfarm setup - documentation In-Reply-To: References: <524EF087.8020504@opencsw.org> Message-ID: <524F0587.6010304@opencsw.org> On 04/10/2013 20:06, Peter FELECAN wrote: > Nothing. It was included only to show that the postinstall script has > not take care of something. And I'm not saying that it should. Whatever. Laurent From maciej at opencsw.org Fri Oct 4 21:27:06 2013 From: maciej at opencsw.org (=?UTF-8?Q?Maciej_=28Matchek=29_Blizi=C5=84ski?=) Date: Fri, 4 Oct 2013 20:27:06 +0100 Subject: [csw-maintainers] Buildfarm setup - documentation In-Reply-To: References: Message-ID: 2013/10/4 Peter FELECAN : >> Looks like the missing max_allowed_packet setting. > > But: > > $ cat /etc/opt/csw/my.cnf > [mysqld] > max_allowed_packet=64M > > how do you explain that? And, of course, the database server was started > after the insertion of these lines. Maybe there's another file taking precedence that you've created earlier. You can look in the startup script to see the possible my.cnf file locations. >>> I have seen hour note on the cswutils issue with missing >>> dependencies. You need to state which is the correct context of usage >>> for pkgdb. >> >> This is done this way: >> >> cd .../path/to/gar/sources >> bin/pkgdb > > It wasn't clear at all Maybe it's just so deeply ingrained in my brain that I no longer see it possible any other way. But I do include this explicitly in the new setup docs: http://wiki.opencsw.org/checkpkg#toc20 > ant, BTW I dare to disagree with the idea that > cswutils should not contain pkgdb and it must be run from mgar. The use > case for which I care is when the database server is not the building > machine. There are two separate issues: 1. what there is 2. what there ought to be Maybe it'd be better for some reason if pkgdb worked from /opt/csw/bin (issue 2), but it currently doesn't (issue 1). So if you try running the one from /opt/csw/bin, it will likely fail. Maciej From pfelecan at opencsw.org Sat Oct 5 11:04:03 2013 From: pfelecan at opencsw.org (Peter FELECAN) Date: Sat, 05 Oct 2013 11:04:03 +0200 Subject: [csw-maintainers] Buildfarm setup - documentation In-Reply-To: ("Maciej (Matchek) =?utf-8?Q?Blizi=C5=84ski=22's?= message of "Fri, 4 Oct 2013 20:27:06 +0100") References: Message-ID: "Maciej (Matchek) Blizi?ski" writes: > 2013/10/4 Peter FELECAN : >>> Looks like the missing max_allowed_packet setting. >> >> But: >> >> $ cat /etc/opt/csw/my.cnf >> [mysqld] >> max_allowed_packet=64M >> >> how do you explain that? And, of course, the database server was started >> after the insertion of these lines. > > Maybe there's another file taking precedence that you've created > earlier. You can look in the startup script to see the possible my.cnf > file locations. It is not the case: $ /opt/csw/libexec/mysqld --verbose --help | less /opt/csw/libexec/mysqld Ver 5.5.34 for solaris10 on i386 (OpenCSW) Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Starts the MySQL database server. Usage: /opt/csw/libexec/mysqld [OPTIONS] Default options are read from the following files in the given order: /etc/my.cnf /etc/mysql/my.cnf /etc/opt/csw/my.cnf ~/.my.cnf ... max-allowed-packet 67108864 ... $ ls -l /etc/my.cnf /etc/mysql/my.cnf /etc/opt/csw/my.cnf ~/.my.cnf /etc/my.cnf: No such file or directory /etc/mysql/my.cnf: No such file or directory /export/home/peter/.my.cnf: No such file or directory -rw-r--r-- 1 root root 32 Oct 4 15:34 /etc/opt/csw/my.cnf $ cat /etc/opt/csw/my.cnf [mysqld] max_allowed_packet=64M >>>> I have seen hour note on the cswutils issue with missing >>>> dependencies. You need to state which is the correct context of usage >>>> for pkgdb. >>> >>> This is done this way: >>> >>> cd .../path/to/gar/sources >>> bin/pkgdb >> >> It wasn't clear at all > > Maybe it's just so deeply ingrained in my brain that I no longer see > it possible any other way. But I do include this explicitly in the new > setup docs: http://wiki.opencsw.org/checkpkg#toc20 $ opencsw/.buildsys/v2/bin/pkgdb initdb 2>&1 | tee -a /tmp/pkgdb.log ERROR:root:Could not create table : Row size too large. The maximum row size for the used table type, not counting BLOBs, is 65535. You have to change some columns to TEXT or BLOBs Traceback (most recent call last): File "opencsw/.buildsys/v2/bin/pkgdb", line 709, in main() File "opencsw/.buildsys/v2/bin/pkgdb", line 457, in main dbc.CreateTables() File "/export/home/peter/opencsw/.buildsys/v2/lib/python/database.py", line 164, in CreateTables table.createTable(ifNotExists=True) File "/opt/csw/lib/python/site-packages/sqlobject/main.py", line 1414, in createTable constraints = conn.createTable(cls) File "/opt/csw/lib/python/site-packages/sqlobject/dbconnection.py", line 510, in createTable self.query(createSql) File "/opt/csw/lib/python/site-packages/sqlobject/dbconnection.py", line 414, in query return self._runWithConnection(self._query, s) File "/opt/csw/lib/python/site-packages/sqlobject/dbconnection.py", line 327, in _runWithConnection val = meth(conn, *args) File "/opt/csw/lib/python/site-packages/sqlobject/dbconnection.py", line 411, in _query self._executeRetry(conn, conn.cursor(), s) File "/opt/csw/lib/python/site-packages/sqlobject/mysql/mysqlconnection.py", line 121, in _executeRetry raise OperationalError(ErrorMessage(e)) sqlobject.dberrors.OperationalError: Row size too large. The maximum row size for the used table type, not counting BLOBs, is 65535. You have to change some columns to TEXT or BLOBs >> and, BTW I dare to disagree with the idea that >> cswutils should not contain pkgdb and it must be run from mgar. The use >> case for which I care is when the database server is not the building >> machine. > > There are two separate issues: > > 1. what there is > 2. what there ought to be > > Maybe it'd be better for some reason if pkgdb worked from /opt/csw/bin > (issue 2), but it currently doesn't (issue 1). So if you try running > the one from /opt/csw/bin, it will likely fail. I understand. However, I gave you an user case where is better to have it packaged. What do you think? It's just a question of packaging the right and update stuff. What the heck, we have packaged thousands of projects but we cannot package our own tools? -- Peter From pfelecan at opencsw.org Sat Oct 5 11:05:24 2013 From: pfelecan at opencsw.org (Peter FELECAN) Date: Sat, 05 Oct 2013 11:05:24 +0200 Subject: [csw-maintainers] Buildfarm setup - documentation In-Reply-To: <524F0587.6010304@opencsw.org> (Laurent Blume's message of "Fri, 04 Oct 2013 20:14:31 +0200") References: <524EF087.8020504@opencsw.org> <524F0587.6010304@opencsw.org> Message-ID: Laurent Blume writes: > On 04/10/2013 20:06, Peter FELECAN wrote: >> Nothing. It was included only to show that the postinstall script has >> not take care of something. And I'm not saying that it should. > > Whatever. I don't understand. Can you precise your meaning? By "whatever" do you mean: 1. quoi que ce soit 2. n'importe quoi 3. if something else, then what? Thank you -- Peter From maciej at opencsw.org Sat Oct 5 11:37:23 2013 From: maciej at opencsw.org (Maciej =?utf-8?Q?Blizi=C5=84ski?=) Date: Sat, 5 Oct 2013 10:37:23 +0100 Subject: [csw-maintainers] Buildfarm setup - documentation In-Reply-To: References: Message-ID: <20131005093723.GA10364@cotton.home.blizinski.pl> On Sat, Oct 05, 2013 at 11:04:03AM +0200, Peter FELECAN wrote: > "Maciej (Matchek) Blizi?ski" writes: > $ opencsw/.buildsys/v2/bin/pkgdb initdb 2>&1 | tee -a /tmp/pkgdb.log > ERROR:root:Could not create table : Row size too large. The maximum row size for the used table type, not counting BLOBs, is 65535. You have to change some columns to TEXT or BLOBs > Traceback (most recent call last): > File "opencsw/.buildsys/v2/bin/pkgdb", line 709, in > main() > File "opencsw/.buildsys/v2/bin/pkgdb", line 457, in main > dbc.CreateTables() > File "/export/home/peter/opencsw/.buildsys/v2/lib/python/database.py", line 164, in CreateTables > table.createTable(ifNotExists=True) > File "/opt/csw/lib/python/site-packages/sqlobject/main.py", line 1414, in createTable > constraints = conn.createTable(cls) > File "/opt/csw/lib/python/site-packages/sqlobject/dbconnection.py", line 510, in createTable > self.query(createSql) > File "/opt/csw/lib/python/site-packages/sqlobject/dbconnection.py", line 414, in query > return self._runWithConnection(self._query, s) > File "/opt/csw/lib/python/site-packages/sqlobject/dbconnection.py", line 327, in _runWithConnection > val = meth(conn, *args) > File "/opt/csw/lib/python/site-packages/sqlobject/dbconnection.py", line 411, in _query > self._executeRetry(conn, conn.cursor(), s) > File "/opt/csw/lib/python/site-packages/sqlobject/mysql/mysqlconnection.py", line 121, in _executeRetry > raise OperationalError(ErrorMessage(e)) > sqlobject.dberrors.OperationalError: Row size too large. The maximum row size for the used table type, not counting BLOBs, is 65535. You have to change some columns to TEXT or BLOBs Hm. This happens when you try to initialize the database and create the tables, not when you try to insert any data. Is this the old code or the new code? If it's the new code, then it's a bug. But I haven't been able to reproduce it. If it's the old code, then it's what I mentioned earlier: It's not the instructions we don't have, it's the code we don't have. > >> and, BTW I dare to disagree with the idea that > >> cswutils should not contain pkgdb and it must be run from mgar. The use > >> case for which I care is when the database server is not the building > >> machine. > > > > There are two separate issues: > > > > 1. what there is > > 2. what there ought to be > > > > Maybe it'd be better for some reason if pkgdb worked from /opt/csw/bin > > (issue 2), but it currently doesn't (issue 1). So if you try running > > the one from /opt/csw/bin, it will likely fail. > > I understand. However, I gave you an user case where is better to have > it packaged. What do you think? It's just a question of packaging the > right and update stuff. What the heck, we have packaged thousands of > projects but we cannot package our own tools? We either should package them well or not package them at all. Packaging them well requires additional time and effort, which we simply don't have. Is running "svn up" really that hard? Can we please remove the "install cswutils" line from the instructions? https://sourceforge.net/apps/trac/gar/browser/csw/mgar/pkg/opencsw-manual/trunk/files/for-maintainers/buildfarm-setup.rst#L166 Maciej -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: Digital signature URL: From pfelecan at opencsw.org Sat Oct 5 12:24:40 2013 From: pfelecan at opencsw.org (Peter FELECAN) Date: Sat, 05 Oct 2013 12:24:40 +0200 Subject: [csw-maintainers] Buildfarm setup - documentation In-Reply-To: <20131005093723.GA10364@cotton.home.blizinski.pl> ("Maciej =?utf-8?Q?Blizi=C5=84ski=22's?= message of "Sat, 5 Oct 2013 10:37:23 +0100") References: <20131005093723.GA10364@cotton.home.blizinski.pl> Message-ID: Maciej Blizi?ski writes: > On Sat, Oct 05, 2013 at 11:04:03AM +0200, Peter FELECAN wrote: >> "Maciej (Matchek) Blizi?ski" writes: >> $ opencsw/.buildsys/v2/bin/pkgdb initdb 2>&1 | tee -a /tmp/pkgdb.log >> ERROR:root:Could not create table : Row size too large. The maximum row size for the used table type, not counting BLOBs, is 65535. You have to change some columns to TEXT or BLOBs >> Traceback (most recent call last): >> File "opencsw/.buildsys/v2/bin/pkgdb", line 709, in >> main() >> File "opencsw/.buildsys/v2/bin/pkgdb", line 457, in main >> dbc.CreateTables() >> File "/export/home/peter/opencsw/.buildsys/v2/lib/python/database.py", line 164, in CreateTables >> table.createTable(ifNotExists=True) >> File "/opt/csw/lib/python/site-packages/sqlobject/main.py", line 1414, in createTable >> constraints = conn.createTable(cls) >> File "/opt/csw/lib/python/site-packages/sqlobject/dbconnection.py", line 510, in createTable >> self.query(createSql) >> File "/opt/csw/lib/python/site-packages/sqlobject/dbconnection.py", line 414, in query >> return self._runWithConnection(self._query, s) >> File "/opt/csw/lib/python/site-packages/sqlobject/dbconnection.py", line 327, in _runWithConnection >> val = meth(conn, *args) >> File "/opt/csw/lib/python/site-packages/sqlobject/dbconnection.py", line 411, in _query >> self._executeRetry(conn, conn.cursor(), s) >> File "/opt/csw/lib/python/site-packages/sqlobject/mysql/mysqlconnection.py", line 121, in _executeRetry >> raise OperationalError(ErrorMessage(e)) >> sqlobject.dberrors.OperationalError: Row size too large. The maximum row size for the used table type, not counting BLOBs, is 65535. You have to change some columns to TEXT or BLOBs > > Hm. This happens when you try to initialize the database and create the > tables, not when you try to insert any data. > > Is this the old code or the new code? > > If it's the new code, then it's a bug. But I haven't been able to > reproduce it. > > If it's the old code, then it's what I mentioned earlier: It's not the > instructions we don't have, it's the code we don't have. revision 22118. consequently what I imagine you call "new code". -- Peter From dam at opencsw.org Sat Oct 5 12:32:36 2013 From: dam at opencsw.org (Dagobert Michelsen) Date: Sat, 5 Oct 2013 12:32:36 +0200 Subject: [csw-maintainers] Buildfarm setup - documentation In-Reply-To: <20131005093723.GA10364@cotton.home.blizinski.pl> References: <20131005093723.GA10364@cotton.home.blizinski.pl> Message-ID: <5ABF4AAE-C3B4-4F7B-8177-BD2C4A42C49E@opencsw.org> Hi Maciej, Am 05.10.2013 um 11:37 schrieb Maciej Blizi?ski : > We either should package them well or not package them at all. Packaging > them well requires additional time and effort, which we simply don't > have. Is running "svn up" really that hard? It may be in fact a good idea at some point to really release it as package to allow easy rebuilding. Best regards -- Dago -- "You don't become great by trying to be great, you become great by wanting to do something, and then doing it so hard that you become great in the process." - xkcd #896 -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2351 bytes Desc: not available URL: From maciej at opencsw.org Sat Oct 5 12:37:29 2013 From: maciej at opencsw.org (Maciej =?utf-8?Q?Blizi=C5=84ski?=) Date: Sat, 5 Oct 2013 11:37:29 +0100 Subject: [csw-maintainers] Buildfarm setup - documentation In-Reply-To: References: <20131005093723.GA10364@cotton.home.blizinski.pl> Message-ID: <20131005103729.GA12364@cotton.home.blizinski.pl> On Sat, Oct 05, 2013 at 12:24:40PM +0200, Peter FELECAN wrote: > Maciej Blizi?ski writes: > (...) > >> sqlobject.dberrors.OperationalError: Row size too large. The maximum row size for the used table type, not counting BLOBs, is 65535. You have to change some columns to TEXT or BLOBs > > > > Hm. This happens when you try to initialize the database and create the > > tables, not when you try to insert any data. > > > > Is this the old code or the new code? > > > > If it's the new code, then it's a bug. But I haven't been able to > > reproduce it. > > > > If it's the old code, then it's what I mentioned earlier: It's not the > > instructions we don't have, it's the code we don't have. > > revision 22118. consequently what I imagine you call "new code". No, the new code is still in git, on github. If it's from subversion, it's the old code. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: Digital signature URL: From maciej at opencsw.org Sat Oct 5 12:44:51 2013 From: maciej at opencsw.org (Maciej =?utf-8?Q?Blizi=C5=84ski?=) Date: Sat, 5 Oct 2013 11:44:51 +0100 Subject: [csw-maintainers] Buildfarm setup - documentation In-Reply-To: <5ABF4AAE-C3B4-4F7B-8177-BD2C4A42C49E@opencsw.org> References: <20131005093723.GA10364@cotton.home.blizinski.pl> <5ABF4AAE-C3B4-4F7B-8177-BD2C4A42C49E@opencsw.org> Message-ID: <20131005104451.GB12364@cotton.home.blizinski.pl> On Sat, Oct 05, 2013 at 12:32:36PM +0200, Dagobert Michelsen wrote: > Hi Maciej, > > Am 05.10.2013 um 11:37 schrieb Maciej Blizi?ski : > > We either should package them well or not package them at all. Packaging > > them well requires additional time and effort, which we simply don't > > have. Is running "svn up" really that hard? > > > It may be in fact a good idea at some point to really release it as package I'm not against it, but benefits don't outweigh the costs in my opinion. Of course, if anyone cares enough, feel free to put in the work to package it, which involves: - refactoring the code so it can be packaged at all (requires writing a setup.py and modifying the code itself) - writing the build recipe - testing the package - writing up the release procedure - later on, potentially supporting multiple versions of the code - either making sure that it can work from both sources and the package, or modifying GAR so that we're only using it from the installed package in the buildfarm - making sure that it's possible to work on a development version so that we can continue improving the code It's too much work an too little gain. > to allow easy rebuilding. Not sure if I understand. Do you mean, easy rebuilding of which code? Maciej -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: Digital signature URL: From dam at opencsw.org Sat Oct 5 12:48:50 2013 From: dam at opencsw.org (Dagobert Michelsen) Date: Sat, 5 Oct 2013 12:48:50 +0200 Subject: [csw-maintainers] Buildfarm setup - documentation In-Reply-To: <20131005104451.GB12364@cotton.home.blizinski.pl> References: <20131005093723.GA10364@cotton.home.blizinski.pl> <5ABF4AAE-C3B4-4F7B-8177-BD2C4A42C49E@opencsw.org> <20131005104451.GB12364@cotton.home.blizinski.pl> Message-ID: <6A4F9F0B-B5DE-48DD-989A-961AEB49F3FC@opencsw.org> Hi Maciej, Am 05.10.2013 um 12:44 schrieb Maciej Blizi?ski : > On Sat, Oct 05, 2013 at 12:32:36PM +0200, Dagobert Michelsen wrote: >> Hi Maciej, >> >> Am 05.10.2013 um 11:37 schrieb Maciej Blizi?ski : >>> We either should package them well or not package them at all. Packaging >>> them well requires additional time and effort, which we simply don't >>> have. Is running "svn up" really that hard? >> >> >> It may be in fact a good idea at some point to really release it as package > > I'm not against it, but benefits don't outweigh the costs in my opinion. > Of course, if anyone cares enough, feel free to put in the work to > package it, which involves: > > - refactoring the code so it can be packaged at all (requires writing > a setup.py and modifying the code itself) > - writing the build recipe > - testing the package > - writing up the release procedure > - later on, potentially supporting multiple versions of the code > - either making sure that it can work from both sources and the package, > or modifying GAR so that we're only using it from the installed > package in the buildfarm > - making sure that it's possible to work on a development version so > that we can continue improving the code > > It's too much work an too little gain. I see. I was more thinking of taking the files and putting them in a package :-) This was probably too simply thought... >> to allow easy rebuilding. > > Not sure if I understand. Do you mean, easy rebuilding of which code? Ah, forget it. I am confused this morning. I thought of allowing people to package up binary stuff we aren't allowed to distribute like jdk or the oracle client, but that requires a gar package, not a pkgdb package. Sorry for the noise. Best regards -- Dago -- "You don't become great by trying to be great, you become great by wanting to do something, and then doing it so hard that you become great in the process." - xkcd #896 -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2351 bytes Desc: not available URL: From pfelecan at opencsw.org Sat Oct 5 13:48:42 2013 From: pfelecan at opencsw.org (Peter FELECAN) Date: Sat, 05 Oct 2013 13:48:42 +0200 Subject: [csw-maintainers] Buildfarm setup - documentation In-Reply-To: <20131005103729.GA12364@cotton.home.blizinski.pl> ("Maciej =?utf-8?Q?Blizi=C5=84ski=22's?= message of "Sat, 5 Oct 2013 11:37:29 +0100") References: <20131005093723.GA10364@cotton.home.blizinski.pl> <20131005103729.GA12364@cotton.home.blizinski.pl> Message-ID: Maciej Blizi?ski writes: > On Sat, Oct 05, 2013 at 12:24:40PM +0200, Peter FELECAN wrote: >> Maciej Blizi?ski writes: >> (...) >> >> sqlobject.dberrors.OperationalError: Row size too large. The >> > maximum row size for the used table type, not counting BLOBs, is >> > 65535. You have to change some columns to TEXT or BLOBs >> > >> > Hm. This happens when you try to initialize the database and create the >> > tables, not when you try to insert any data. >> > >> > Is this the old code or the new code? >> > >> > If it's the new code, then it's a bug. But I haven't been able to >> > reproduce it. >> > >> > If it's the old code, then it's what I mentioned earlier: It's not the >> > instructions we don't have, it's the code we don't have. >> >> revision 22118. consequently what I imagine you call "new code". > > No, the new code is still in git, on github. If it's from subversion, > it's the old code. Good. I think that at this point we must clarify things: 1. I volunteer to verify the manual in what concerns the build-farm setup. 2. You write and consolidate the pieces for a draft 3. I'm testing and adapting the manual and we arrive at a point where the procedure doesn't work. 4. You explicitly write about .buildsys/v2 in mgar in the draft as in our exchanges 5. Now you are writing about a "new" code which is in git. This is quite confusing. I wonder what is the reason. Also, when asking you if it's a good idea to package the required tool you say: 1. That using "svn up" is not a really difficult 2. But, later, you say that it's in a git repository 3. You give a list long as a fasting day for why packaging the checkpg related tool is not a good idea This is also very confusing. Can you, please, explain your standpoint? Thank you in advance -- Peter From maciej at opencsw.org Sun Oct 6 10:51:09 2013 From: maciej at opencsw.org (=?UTF-8?Q?Maciej_=28Matchek=29_Blizi=C5=84ski?=) Date: Sun, 6 Oct 2013 09:51:09 +0100 Subject: [csw-maintainers] I unbroke the community site Message-ID: The community site was down. The WSGI process was using the system (/usr/bin) Python which led to modules missing. mod_wsgi (pid=25638): Target WSGI script '/var/www/www.opencsw.org/osqa/osqa/osqa.wsgi' cannot be loaded as Python module. mod_wsgi (pid=25638): Exception occurred processing WSGI script '/var/www/www.opencsw.org/osqa/osqa/osqa.wsgi'. Traceback (most recent call last): File "/var/www/www.opencsw.org/osqa/osqa/osqa.wsgi", line 10, in import django.core.handlers.wsgi ImportError: No module named django.core.handlers.wsgi I fixed it by adding the WSGIPythonHome directive near the top of the httpd-vhosts.conf configuration file: # Must not be inside a VirtualHost directive. WSGIPythonHome /opt/csw Maciej From maciej at opencsw.org Sun Oct 6 15:41:36 2013 From: maciej at opencsw.org (Maciej =?utf-8?Q?Blizi=C5=84ski?=) Date: Sun, 6 Oct 2013 14:41:36 +0100 Subject: [csw-maintainers] Buildfarm setup - documentation In-Reply-To: References: <20131005093723.GA10364@cotton.home.blizinski.pl> <20131005103729.GA12364@cotton.home.blizinski.pl> Message-ID: <20131006134136.GA29695@cotton.home.blizinski.pl> Hi Peter, I really appreciate your testing. It's important for us as a project to have working code and instructions to set up a package building host. Our code is open, and I think that letting people to build packages on their own is the best way for us to go. It's hard for one person to do it, and I really value it that you're stepping in to help! Perhaps current problems with testing stem from mismatch between your expectations and the current state of the world. I tried to make it very clear that we don't have fully working code[1]. I also described the situation in an email from 15th of August[2] and 23th of September[3]. To address your specific questions: When we were talking about things like "svn up", we were not talking about the current code or state of the repository, because current "svn up" does not yield working code. I meant "svn up" as a general notion of a command that downloads the newest version of the code from a repository. The ".buildsys/v2" path is not specific to the old or the new code. If you're working with the new code, you're still using the ".buildsys/v2" path, simply because the mgar BUILDSYS variable does nothing. If you look into mgar sources, you'll see that it's ignored. The only way to use a different build system with mgar, is to make a symlink. Therefore, the path is always the same. Back to the instructions, we have instructions for the old code which are in the consolidated document, and we have instructions for the new code, which are on the wiki[4]. When the new code is submitted into subversion and deployed on the buildfarm, the new instructions will be moved to the consolidated document. I'll read through the buildfarm setup document once more and I'll try to remove any ambiguities I find. I hope you and I will continue this testing and will manage to improve the situation. It requires more patience than anyone initially thought, but it's worth the effort. Maciej [1] http://lists.opencsw.org/pipermail/maintainers/2013-September/018602.html [2] http://lists.opencsw.org/pipermail/maintainers/2013-August/018475.html [3] http://lists.opencsw.org/pipermail/maintainers/2013-September/018604.html [4] http://wiki.opencsw.org/checkpkg#toc20 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: Digital signature URL: From pfelecan at opencsw.org Sun Oct 6 16:00:47 2013 From: pfelecan at opencsw.org (Peter FELECAN) Date: Sun, 06 Oct 2013 16:00:47 +0200 Subject: [csw-maintainers] Buildfarm setup - documentation In-Reply-To: <20131006134136.GA29695@cotton.home.blizinski.pl> ("Maciej =?utf-8?Q?Blizi=C5=84ski=22's?= message of "Sun, 6 Oct 2013 14:41:36 +0100") References: <20131005093723.GA10364@cotton.home.blizinski.pl> <20131005103729.GA12364@cotton.home.blizinski.pl> <20131006134136.GA29695@cotton.home.blizinski.pl> Message-ID: Maciej Blizi?ski writes: > [...] > I'll read through the buildfarm setup document once more and I'll try to > remove any ambiguities I find. I hope you and I will continue this > testing and will manage to improve the situation. It requires more > patience than anyone initially thought, but it's worth the effort. Thank you for these clarifications. I'm waiting for your green light to restart the verification process. -- Peter From maciej at opencsw.org Sun Oct 6 17:11:10 2013 From: maciej at opencsw.org (Maciej =?utf-8?Q?Blizi=C5=84ski?=) Date: Sun, 6 Oct 2013 16:11:10 +0100 Subject: [csw-maintainers] Buildfarm setup - documentation In-Reply-To: References: <20131005093723.GA10364@cotton.home.blizinski.pl> <20131005103729.GA12364@cotton.home.blizinski.pl> <20131006134136.GA29695@cotton.home.blizinski.pl> Message-ID: <20131006151110.GA18212@cotton.home.blizinski.pl> On Sun, Oct 06, 2013 at 04:00:47PM +0200, Peter FELECAN wrote: > Maciej Blizi?ski writes: > > > [...] > > I'll read through the buildfarm setup document once more and I'll try to > > remove any ambiguities I find. I hope you and I will continue this > > testing and will manage to improve the situation. It requires more > > patience than anyone initially thought, but it's worth the effort. > > Thank you for these clarifications. I'm waiting for your green light to > restart the verification process. Done! :) https://sourceforge.net/apps/trac/gar/changeset/22134 Maciej -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: Digital signature URL: From pfelecan at opencsw.org Mon Oct 7 11:09:44 2013 From: pfelecan at opencsw.org (Peter FELECAN) Date: Mon, 07 Oct 2013 11:09:44 +0200 Subject: [csw-maintainers] Buildfarm setup - documentation In-Reply-To: <20131006151110.GA18212@cotton.home.blizinski.pl> ("Maciej =?utf-8?Q?Blizi=C5=84ski=22's?= message of "Sun, 6 Oct 2013 16:11:10 +0100") References: <20131005093723.GA10364@cotton.home.blizinski.pl> <20131005103729.GA12364@cotton.home.blizinski.pl> <20131006134136.GA29695@cotton.home.blizinski.pl> <20131006151110.GA18212@cotton.home.blizinski.pl> Message-ID: Following the development version as documented in http://wiki.opencsw.org/checkpkg#toc20 I get: $ bin/pkgdb initdb 2>&1 | tee -a /tmp/pkgdb-initdb /opt/csw/lib/python/site-packages/sqlobject/mysql/mysqlconnection.py:113: Warning: Specified key was too long; max key length is 767 bytes return cursor.execute(query) Traceback (most recent call last): File "bin/pkgdb", line 718, in main() File "bin/pkgdb", line 458, in main dbc.InitialDataImport() File "/export/home/peter/maciej-gar-devel/lib/python/database.py", line 94, in InitialDataImport m.CatalogRelease(name=relname) File "/opt/csw/lib/python/site-packages/sqlobject/main.py", line 1226, in __init__ self._create(id, **kw) File "/opt/csw/lib/python/site-packages/sqlobject/main.py", line 1274, in _create self._SO_finishCreate(id) File "/opt/csw/lib/python/site-packages/sqlobject/main.py", line 1298, in _SO_finishCreate id, names, values) File "/opt/csw/lib/python/site-packages/sqlobject/dbconnection.py", line 468, in queryInsertID return self._runWithConnection(self._queryInsertID, soInstance, id, names, values) File "/opt/csw/lib/python/site-packages/sqlobject/dbconnection.py", line 327, in _runWithConnection val = meth(conn, *args) File "/opt/csw/lib/python/site-packages/sqlobject/mysql/mysqlconnection.py", line 155, in _queryInsertID self._executeRetry(conn, c, q) File "/opt/csw/lib/python/site-packages/sqlobject/mysql/mysqlconnection.py", line 127, in _executeRetry raise IntegrityError(msg) sqlobject.dberrors.IntegrityError: Cannot add or update a child row: a foreign key constraint fails (`checkpkg`.`catalog_release`, CONSTRAINT `catalog_release_type_id_exists` FOREIGN KEY (`type_id`) REFERENCES `catalog_release_type` (`id`)) -- Peter From maciej at opencsw.org Mon Oct 7 11:32:17 2013 From: maciej at opencsw.org (=?UTF-8?Q?Maciej_=28Matchek=29_Blizi=C5=84ski?=) Date: Mon, 7 Oct 2013 10:32:17 +0100 Subject: [csw-maintainers] Buildfarm setup - documentation In-Reply-To: References: <20131005093723.GA10364@cotton.home.blizinski.pl> <20131005103729.GA12364@cotton.home.blizinski.pl> <20131006134136.GA29695@cotton.home.blizinski.pl> <20131006151110.GA18212@cotton.home.blizinski.pl> Message-ID: 2013/10/7 Peter FELECAN > > File "/export/home/peter/maciej-gar-devel/lib/python/database.py", line 94, in InitialDataImport > m.CatalogRelease(name=relname) There are significant database schema changes in the new code, have you cleared the old tables from the database? (The initdb command only creates tables, it does not delete or alter them. We could rename "initdb" to something else to make it clearer.) Maciej From pfelecan at opencsw.org Mon Oct 7 11:48:09 2013 From: pfelecan at opencsw.org (Peter FELECAN) Date: Mon, 07 Oct 2013 11:48:09 +0200 Subject: [csw-maintainers] Buildfarm setup - documentation In-Reply-To: ("Maciej (Matchek) =?utf-8?Q?Blizi=C5=84ski=22's?= message of "Mon, 7 Oct 2013 10:32:17 +0100") References: <20131005093723.GA10364@cotton.home.blizinski.pl> <20131005103729.GA12364@cotton.home.blizinski.pl> <20131006134136.GA29695@cotton.home.blizinski.pl> <20131006151110.GA18212@cotton.home.blizinski.pl> Message-ID: "Maciej (Matchek) Blizi?ski" writes: > 2013/10/7 Peter FELECAN >> >> File "/export/home/peter/maciej-gar-devel/lib/python/database.py", line 94, in InitialDataImport >> m.CatalogRelease(name=relname) > > There are significant database schema changes in the new code, have > you cleared the old tables from the database? No. I forgot that even though if the old version didn't worked it created stuff... Droped and re-created now. > (The initdb command only creates tables, it does not delete or alter > them. We could rename "initdb" to something else to make it clearer.) We have now: $ bin/pkgdb initdb /opt/csw/lib/python2.6/site-packages/sqlobject/mysql/mysqlconnection.py:113: Warning: Specified key was too long; max key length is 767 bytes return cursor.execute(query) Which I presume is innocuous. However, it's better to remove warnings if possible at all. -- Peter From maciej at opencsw.org Mon Oct 7 12:11:09 2013 From: maciej at opencsw.org (=?UTF-8?Q?Maciej_=28Matchek=29_Blizi=C5=84ski?=) Date: Mon, 7 Oct 2013 11:11:09 +0100 Subject: [csw-maintainers] Buildfarm setup - documentation In-Reply-To: References: <20131005093723.GA10364@cotton.home.blizinski.pl> <20131005103729.GA12364@cotton.home.blizinski.pl> <20131006134136.GA29695@cotton.home.blizinski.pl> <20131006151110.GA18212@cotton.home.blizinski.pl> Message-ID: 2013/10/7 Peter FELECAN : > We have now: > > $ bin/pkgdb initdb > /opt/csw/lib/python2.6/site-packages/sqlobject/mysql/mysqlconnection.py:113: Warning: Specified key was too long; max key length is 767 bytes > return cursor.execute(query) > > Which I presume is innocuous. However, it's better to remove warnings if > possible at all. It's MySQL specific, and has to do with the 767 bytes restriction on an index key. It's probably about this line and the line below, and the fact that there are indexes on these two fields: https://github.com/opencsw/gar/blob/blob-split/lib/python/models.py#L140 I've checked that the longest filename that we currently have has 180 characters, so we might reduce the length of the field in the database to 255 characters. Maciej From pfelecan at opencsw.org Mon Oct 7 14:03:59 2013 From: pfelecan at opencsw.org (Peter FELECAN) Date: Mon, 07 Oct 2013 14:03:59 +0200 Subject: [csw-maintainers] Buildfarm setup - documentation In-Reply-To: ("Maciej (Matchek) =?utf-8?Q?Blizi=C5=84ski=22's?= message of "Mon, 7 Oct 2013 11:11:09 +0100") References: <20131005093723.GA10364@cotton.home.blizinski.pl> <20131005103729.GA12364@cotton.home.blizinski.pl> <20131006134136.GA29695@cotton.home.blizinski.pl> <20131006151110.GA18212@cotton.home.blizinski.pl> Message-ID: I'm now at $ bin/pkgdb system-metadata-to-disk INFO:root:system-idx-SunOS5.10-i386-pkginfo.marshal does not exist. INFO:root:system-idx-SunOS5.10-i386-contents.marshal does not exist. INFO:root:system-idx-SunOS5.10-i386-files_metadata.marshal does not exist. 179005 / 179006 /var/yp/updaters INFO:root:system-idx-SunOS5.10-i386-binaries_dump_info.marshal does not exist. /usr/sbin/snoop after 2 hours and 40 minutes and it stops from time to time for something like 20 minutes. There is not a lot of activity during that period: last pid: 18959; load avg: 0.01, 0.00, 0.01; up 5+21:17:43 13:56:45 56 processes: 55 sleeping, 1 on cpu CPU states: 99.4% idle, 0.2% user, 0.4% kernel, 0.0% iowait, 0.0% swap Kernel: 122 ctxsw, 314 intr, 57 syscall Memory: 1984M phys mem, 953M free mem, 1024M total swap, 1024M free swap PID USERNAME NLWP PRI NICE SIZE RES STATE TIME CPU COMMAND 15099 mysql 16 59 0 1215M 158M sleep 2:50 0.10% mysqld 18848 peter 11 59 0 18M 12M sleep 0:01 0.01% pkgdb_web.py 18847 peter 11 59 0 18M 12M sleep 0:01 0.01% releases_web.py 18853 peter 1 60 0 196M 186M sleep 15:48 0.00% pkgdb.py Well, I imagine that patience is what's needed here and now. -- Peter From dam at opencsw.org Mon Oct 7 15:01:57 2013 From: dam at opencsw.org (Dagobert Michelsen) Date: Mon, 7 Oct 2013 15:01:57 +0200 Subject: [csw-maintainers] Problems with GCC Java compiler Message-ID: Hi folks, I am again fiddling with gcc flavors and noticed a problem with gcj (not that it ever worked on our release): 1. libiconv is needed, but no longer linked in Although I didn't tinker with this the issue may be resolved easily. http://sourceforge.net/apps/trac/gar/changeset?new=22091%40csw%2Fmgar%2Fpkg%2Fgcc4%2Ftrunk%2FMakefile&old=20525%40csw%2Fmgar%2Fpkg%2Fgcc4%2Ftrunk%2FMakefile > dam at unstable10s [unstable10s]:/home/dam/mgar/pkg/pdftk/trunk/work/solaris10-sparc/build-isa-sparcv8plus/pdftk-1.45-dist/java > /opt/csw/bin/gcj-4.8 -Wall -Wextra -fsource=1.3 -O2 --encoding=UTF-8 --classpath="/usr/share/java/libgcj-4.8.jar:/home/dam/mgar/pkg/pdftk/trunk/work/solaris10-sparc/build-isa-sparcv8plus/pdftk-1.45-dist/java:." -C com/lowagie/text/ElementTags.java > ld.so.1: gij-4.8: fatal: relocation error: file /opt/csw/lib/sparcv8/libgcj.so.14: symbol libiconv_open: referenced symbol not found > Killed > zsh: 12672 exit 1 /opt/csw/bin/gcj-4.8 -Wall -Wextra -fsource=1.3 -O2 --encoding=UTF-8 -C 2. Some obscure compilation error, I will take any advice here: > dam at unstable10s [unstable10s]:/home/dam/mgar/pkg/pdftk/trunk/work/solaris10-sparc/build-isa-sparcv8plus/pdftk-1.45-dist/java > LD_PRELOAD=/opt/csw/lib/libiconv.so /opt/csw/bin/gcj-4.8 -Wall -Wextra -fsource=1.3 -O2 --encoding=UTF-8 --classpath="/usr/share/java/libgcj-4.8.jar:/home/dam/mgar/pkg/pdftk/trunk/work/solaris10-sparc/build-isa-sparcv8plus/pdftk-1.45-dist/java:." -C com/lowagie/text/ElementTags.java > Exception in thread "main" java.lang.NoClassDefFoundError: org.eclipse.jdt.internal.compiler.batch.GCCMain > at gnu.java.lang.MainThread.run(libgcj.so.14.0.0) > Caused by: java.lang.ClassNotFoundException: org.eclipse.jdt.internal.compiler.batch.GCCMain not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:/opt/csw/share/java/ecj.jar], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}} > at java.net.URLClassLoader.findClass(libgcj.so.14.0.0) > at java.lang.ClassLoader.loadClass(libgcj.so.14.0.0) > at java.lang.ClassLoader.loadClass(libgcj.so.14.0.0) > at gnu.java.lang.MainThread.run(libgcj.so.14.0.0) > zsh: 12684 exit 1 LD_PRELOAD=/opt/csw/lib/libiconv.so /opt/csw/bin/gcj-4.8 -Wall -Wextra -O2 Best regards -- Dago -- "You don't become great by trying to be great, you become great by wanting to do something, and then doing it so hard that you become great in the process." - xkcd #896 -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2351 bytes Desc: not available URL: From pfelecan at opencsw.org Mon Oct 7 15:43:32 2013 From: pfelecan at opencsw.org (Peter FELECAN) Date: Mon, 07 Oct 2013 15:43:32 +0200 Subject: [csw-maintainers] Buildfarm setup - documentation In-Reply-To: (Peter FELECAN's message of "Mon, 07 Oct 2013 14:03:59 +0200") References: <20131005093723.GA10364@cotton.home.blizinski.pl> <20131005103729.GA12364@cotton.home.blizinski.pl> <20131006134136.GA29695@cotton.home.blizinski.pl> <20131006151110.GA18212@cotton.home.blizinski.pl> Message-ID: I think that the process is stuck: last pid: 18976; load avg: 0.00, 0.00, 0.00; up 5+23:01:28 15:40:30 56 processes: 55 sleeping, 1 on cpu CPU states: 99.4% idle, 0.2% user, 0.4% kernel, 0.0% iowait, 0.0% swap Kernel: 125 ctxsw, 1 trap, 316 intr, 55 syscall, 1 flt Memory: 1984M phys mem, 952M free mem, 1024M total swap, 1024M free swap PID USERNAME NLWP PRI NICE SIZE RES STATE TIME CPU COMMAND 15099 mysql 16 59 0 1215M 158M sleep 2:56 0.10% mysqld 18847 peter 11 59 0 18M 12M sleep 0:02 0.01% releases_web.py 18848 peter 11 59 0 18M 12M sleep 0:02 0.01% pkgdb_web.py 18853 peter 1 60 0 196M 186M sleep 15:48 0.00% pkgdb.py More than 2 hours and nothing really happens... Please advise. -- Peter From maciej at opencsw.org Mon Oct 7 16:24:13 2013 From: maciej at opencsw.org (=?UTF-8?Q?Maciej_=28Matchek=29_Blizi=C5=84ski?=) Date: Mon, 7 Oct 2013 15:24:13 +0100 Subject: [csw-maintainers] Buildfarm setup - documentation In-Reply-To: References: <20131005093723.GA10364@cotton.home.blizinski.pl> <20131005103729.GA12364@cotton.home.blizinski.pl> <20131006134136.GA29695@cotton.home.blizinski.pl> <20131006151110.GA18212@cotton.home.blizinski.pl> Message-ID: 2013/10/7 Peter FELECAN : > More than 2 hours and nothing really happens... > > Please advise. Is there any I/O activity? Are there any disk I/O errors? Are there any dodgy network mounts? For example, NFS mounted over IPv6 results in unbelievably slow rates because of a VirtualBox bug. The system-metadata-to-disk step usually takes 15-30 minutes tops. You can rerun it with --debug to see where it's stuck. Maciej From pfelecan at opencsw.org Mon Oct 7 17:10:15 2013 From: pfelecan at opencsw.org (Peter FELECAN) Date: Mon, 07 Oct 2013 17:10:15 +0200 Subject: [csw-maintainers] Buildfarm setup - documentation In-Reply-To: ("Maciej (Matchek) =?utf-8?Q?Blizi=C5=84ski=22's?= message of "Mon, 7 Oct 2013 15:24:13 +0100") References: <20131005093723.GA10364@cotton.home.blizinski.pl> <20131005103729.GA12364@cotton.home.blizinski.pl> <20131006134136.GA29695@cotton.home.blizinski.pl> <20131006151110.GA18212@cotton.home.blizinski.pl> Message-ID: "Maciej (Matchek) Blizi?ski" writes: > 2013/10/7 Peter FELECAN : >> More than 2 hours and nothing really happens... >> >> Please advise. > > Is there any I/O activity? # iostat -D 5 10 cmdk0 sd0 nfs1 rps wps util rps wps util rps wps util 1 1 0.8 0 0 0.0 0 0 0.0 0 0 0.0 0 0 0.0 0 0 0.0 0 0 0.0 0 0 0.0 0 0 0.0 0 0 0.0 0 0 0.0 0 0 0.0 0 0 0.0 0 0 0.0 0 0 0.0 0 0 0.0 0 0 0.0 0 0 0.0 0 0 0.0 0 0 0.0 0 0 0.0 0 0 0.0 0 0 0.0 0 0 0.0 0 0 0.0 0 0 0.0 0 0 0.0 0 0 0.0 0 0 0.0 0 0 0.0 > Are there any disk I/O errors? # iostat -E cmdk0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0 Model: ST380011A Revision: Serial No: 5JV8MBPW Size: 80.03GB <80025845760 bytes> Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0 Illegal Request: 0 sd0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0 Vendor: _NEC Product: DVD_RW ND-2500A Revision: 1.06 Serial No: Size: 0.00GB <0 bytes> Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0 > Are there any dodgy network mounts? # df -h Filesystem size used avail capacity Mounted on rpool/ROOT/s10x_u11wos_24a 73G 30G 40G 43% / /devices 0K 0K 0K 0% /devices ctfs 0K 0K 0K 0% /system/contract proc 0K 0K 0K 0% /proc mnttab 0K 0K 0K 0% /etc/mnttab swap 681M 384K 681M 1% /etc/svc/volatile objfs 0K 0K 0K 0% /system/object sharefs 0K 0K 0K 0% /etc/dfs/sharetab /usr/lib/libc/libc_hwcap1.so.1 70G 30G 40G 43% /lib/libc.so.1 fd 0K 0K 0K 0% /dev/fd swap 711M 30M 681M 5% /tmp swap 681M 28K 681M 1% /var/run rpool/export 73G 32K 40G 1% /export rpool/export/home 73G 715M 40G 2% /export/home rpool 73G 42K 40G 1% /rpool > For example, NFS mounted over IPv6 results > in unbelievably slow rates because of a VirtualBox bug. I'm runing on bare metal, i.e. no Virtual Box > You can rerun it with --debug to see where it's stuck. I will and report back -- Peter From wilbury at opencsw.org Mon Oct 7 17:14:21 2013 From: wilbury at opencsw.org (Juraj Lutter) Date: Mon, 07 Oct 2013 17:14:21 +0200 Subject: [csw-maintainers] Buildfarm setup - documentation In-Reply-To: References: <20131005093723.GA10364@cotton.home.blizinski.pl> <20131005103729.GA12364@cotton.home.blizinski.pl> <20131006134136.GA29695@cotton.home.blizinski.pl> <20131006151110.GA18212@cotton.home.blizinski.pl> Message-ID: <5252CFCD.7060209@opencsw.org> On 10/07/13 15:43, Peter FELECAN wrote: > I think that the process is stuck: > > last pid: 18976; load avg: 0.00, 0.00, 0.00; up 5+23:01:28 15:40:30 > 56 processes: 55 sleeping, 1 on cpu > CPU states: 99.4% idle, 0.2% user, 0.4% kernel, 0.0% iowait, 0.0% swap > Kernel: 125 ctxsw, 1 trap, 316 intr, 55 syscall, 1 flt > Memory: 1984M phys mem, 952M free mem, 1024M total swap, 1024M free swap > > PID USERNAME NLWP PRI NICE SIZE RES STATE TIME CPU COMMAND > 15099 mysql 16 59 0 1215M 158M sleep 2:56 0.10% mysqld > 18847 peter 11 59 0 18M 12M sleep 0:02 0.01% releases_web.py > 18848 peter 11 59 0 18M 12M sleep 0:02 0.01% pkgdb_web.py > 18853 peter 1 60 0 196M 186M sleep 15:48 0.00% pkgdb.py > > More than 2 hours and nothing really happens... > In mysql do: show full processlist -- Juraj Lutter From maintainers at lists.opencsw.org Mon Oct 7 18:32:06 2013 From: maintainers at lists.opencsw.org (=?UTF-8?B?xLBoc2FuwqBEb8SfYW4=?= via maintainers) Date: Mon, 07 Oct 2013 18:32:06 +0200 Subject: HEADS-UP: DKIM & DMARC compliant mailing lists Message-ID: <5252E206.7050000@opencsw.org> Hi, I've updated our Mailman installation to the most recent version and Mailman can now be finally configured to be DMARC compliant. In order to be DMARC and DKIM compliant, I've changed the Mailman configuration and it will affect the mailing lists: - The "From" field ist changed to "xxx via maintainers" - The subject line will be not anymore modified - The footes has been removed - Each mail going through a mailing list is now DKIM signed If you have been filtering your mail through the subject field, please adapt your filters now. Ihsan -- ihsan at dogan.ch http://blog.dogan.ch/ From maintainers at lists.opencsw.org Mon Oct 7 18:35:56 2013 From: maintainers at lists.opencsw.org (Peter FELECAN via maintainers) Date: Mon, 07 Oct 2013 18:35:56 +0200 Subject: [csw-maintainers] Buildfarm setup - documentation In-Reply-To: <5252CFCD.7060209@opencsw.org> (Juraj Lutter's message of "Mon, 07 Oct 2013 17:14:21 +0200") References: <20131005093723.GA10364@cotton.home.blizinski.pl> <20131005103729.GA12364@cotton.home.blizinski.pl> <20131006134136.GA29695@cotton.home.blizinski.pl> <20131006151110.GA18212@cotton.home.blizinski.pl> <5252CFCD.7060209@opencsw.org> Message-ID: Juraj Lutter writes: >> More than 2 hours and nothing really happens... > In mysql do: > > show full processlist Unfortunately I cannot connect to MySQL: $ mysql -u root -p and it waits forever and cannot be killed. BTW, the pkgdb process cannot be killed neither. -- Peter From maintainers at lists.opencsw.org Mon Oct 7 18:40:26 2013 From: maintainers at lists.opencsw.org (=?UTF-8?Q?Maciej_=28Matchek=29_Blizi=C5=84ski?= via maintainers) Date: Mon, 7 Oct 2013 17:40:26 +0100 Subject: HEADS-UP: DKIM & DMARC compliant mailing lists In-Reply-To: <5252E206.7050000@opencsw.org> References: <5252E206.7050000@opencsw.org> Message-ID: 2013/10/7 ?hsan Do?an via maintainers : > In order to be DMARC and DKIM compliant, I've changed the Mailman > configuration and it will affect the mailing lists: > > - The "From" field ist changed to "xxx via maintainers" > - The subject line will be not anymore modified > - The footes has been removed Good riddance! I never liked these footnotes. > - Each mail going through a mailing list is now DKIM signed Very cool, thanks! Maciej From maintainers at lists.opencsw.org Mon Oct 7 18:47:41 2013 From: maintainers at lists.opencsw.org (Peter FELECAN via maintainers) Date: Mon, 07 Oct 2013 18:47:41 +0200 Subject: [csw-maintainers] Buildfarm setup - documentation In-Reply-To: (Peter FELECAN via maintainers's message of "Mon, 07 Oct 2013 18:35:56 +0200") References: <20131005093723.GA10364@cotton.home.blizinski.pl> <20131005103729.GA12364@cotton.home.blizinski.pl> <20131006134136.GA29695@cotton.home.blizinski.pl> <20131006151110.GA18212@cotton.home.blizinski.pl> <5252CFCD.7060209@opencsw.org> Message-ID: Peter FELECAN via maintainers writes: > Juraj Lutter writes: > >>> More than 2 hours and nothing really happens... >> In mysql do: >> >> show full processlist > > Unfortunately I cannot connect to MySQL: > > $ mysql -u root -p > > and it waits forever and cannot be killed. BTW, the pkgdb process cannot > be killed neither. I succeeded to connect. Here is the result: mysql> show full processlist; +----+------+-----------+------+---------+------+-------+-----------------------+ | Id | User | Host | db | Command | Time | State | Info | +----+------+-----------+------+---------+------+-------+-----------------------+ | 6 | root | localhost | NULL | Query | 0 | NULL | show full processlist | +----+------+-----------+------+---------+------+-------+-----------------------+ 1 row in set (0.00 sec) -- Peter From maintainers at lists.opencsw.org Mon Oct 7 18:45:10 2013 From: maintainers at lists.opencsw.org (=?UTF-8?Q?Maciej_=28Matchek=29_Blizi=C5=84ski?= via maintainers) Date: Mon, 7 Oct 2013 17:45:10 +0100 Subject: [csw-maintainers] Buildfarm setup - documentation In-Reply-To: References: <20131005093723.GA10364@cotton.home.blizinski.pl> <20131005103729.GA12364@cotton.home.blizinski.pl> <20131006134136.GA29695@cotton.home.blizinski.pl> <20131006151110.GA18212@cotton.home.blizinski.pl> <5252CFCD.7060209@opencsw.org> Message-ID: [bcc:maintainers] Let's not spam the list with debugging back-and-forthness. 2013/10/7 Peter FELECAN via maintainers : > Unfortunately I cannot connect to MySQL: > > $ mysql -u root -p > > and it waits forever and cannot be killed. BTW, the pkgdb process cannot > be killed neither. What syscalls are these processes stuck at? Maciej From maintainers at lists.opencsw.org Mon Oct 7 19:18:58 2013 From: maintainers at lists.opencsw.org (=?UTF-8?B?xLBoc2FuwqBEb8SfYW4=?= via maintainers) Date: Mon, 07 Oct 2013 19:18:58 +0200 Subject: HEADS-UP: DKIM & DMARC compliant mailing lists In-Reply-To: References: <5252E206.7050000@opencsw.org> Message-ID: <5252ED02.2030705@opencsw.org> Am 07.10.2013 18:40, schrieb Maciej (Matchek) Blizi?ski: >> In order to be DMARC and DKIM compliant, I've changed the Mailman >> configuration and it will affect the mailing lists: >> >> - The "From" field ist changed to "xxx via maintainers" >> - The subject line will be not anymore modified >> - The footes has been removed > > Good riddance! I never liked these footnotes. > >> - Each mail going through a mailing list is now DKIM signed Well, something is still not right. Mails are not getting signed. Hmm... Ihsan -- ihsan at dogan.ch http://blog.dogan.ch/ From ihsan at opencsw.org Mon Oct 7 19:26:08 2013 From: ihsan at opencsw.org (=?UTF-8?B?xLBoc2FuwqBEb8SfYW4=?=) Date: Mon, 07 Oct 2013 19:26:08 +0200 Subject: HEADS-UP: DKIM & DMARC compliant mailing lists In-Reply-To: <5252E206.7050000@opencsw.org> References: <5252E206.7050000@opencsw.org> Message-ID: <5252EEB0.1080402@opencsw.org> Hi, Am 07.10.2013 18:32, schrieb ?hsan Do?an via maintainers: > - The "From" field ist changed to "xxx via maintainers" I've turned that one off for the moment. It's not working as I've expected. > - Each mail going through a mailing list is now DKIM signed Unfortunately it's not the case and I can't find the reason why. Ihsan -- ihsan at dogan.ch http://blog.dogan.ch/ From ihsan at opencsw.org Mon Oct 7 19:28:29 2013 From: ihsan at opencsw.org (=?UTF-8?B?xLBoc2FuwqBEb8SfYW4=?=) Date: Mon, 07 Oct 2013 19:28:29 +0200 Subject: HEADS-UP: DKIM & DMARC compliant mailing lists In-Reply-To: <5252EEB0.1080402@opencsw.org> References: <5252E206.7050000@opencsw.org> <5252EEB0.1080402@opencsw.org> Message-ID: <5252EF3D.2080303@opencsw.org> Am 07.10.2013 19:26, schrieb ?hsan Do?an: >> - The "From" field ist changed to "xxx via maintainers" > > I've turned that one off for the moment. It's not working as I've expected. > >> - Each mail going through a mailing list is now DKIM signed > > Unfortunately it's not the case and I can't find the reason why. Ok, now I know why. Lets see, how I can fix the Mailman configuration... Ihsan -- ihsan at dogan.ch http://blog.dogan.ch/ From laurent at opencsw.org Mon Oct 7 21:18:05 2013 From: laurent at opencsw.org (Laurent Blume) Date: Mon, 07 Oct 2013 21:18:05 +0200 Subject: [csw-maintainers] Problems with GCC Java compiler In-Reply-To: References: Message-ID: <525308ED.5040306@opencsw.org> On 07/10/2013 15:01, Dagobert Michelsen wrote: > Hi folks, > > I am again fiddling with gcc flavors and noticed a problem with gcj (not that it ever > worked on our release): > > 1. libiconv is needed, but no longer linked in > > Although I didn't tinker with this the issue may be resolved easily. > http://sourceforge.net/apps/trac/gar/changeset?new=22091%40csw%2Fmgar%2Fpkg%2Fgcc4%2Ftrunk%2FMakefile&old=20525%40csw%2Fmgar%2Fpkg%2Fgcc4%2Ftrunk%2FMakefile > >> dam at unstable10s [unstable10s]:/home/dam/mgar/pkg/pdftk/trunk/work/solaris10-sparc/build-isa-sparcv8plus/pdftk-1.45-dist/java > /opt/csw/bin/gcj-4.8 -Wall -Wextra -fsource=1.3 -O2 --encoding=UTF-8 --classpath="/usr/share/java/libgcj-4.8.jar:/home/dam/mgar/pkg/pdftk/trunk/work/solaris10-sparc/build-isa-sparcv8plus/pdftk-1.45-dist/java:." -C com/lowagie/text/ElementTags.java >> ld.so.1: gij-4.8: fatal: relocation error: file /opt/csw/lib/sparcv8/libgcj.so.14: symbol libiconv_open: referenced symbol not found >> Killed >> zsh: 12672 exit 1 /opt/csw/bin/gcj-4.8 -Wall -Wextra -fsource=1.3 -O2 --encoding=UTF-8 -C > > 2. Some obscure compilation error, I will take any advice here: > >> dam at unstable10s [unstable10s]:/home/dam/mgar/pkg/pdftk/trunk/work/solaris10-sparc/build-isa-sparcv8plus/pdftk-1.45-dist/java > LD_PRELOAD=/opt/csw/lib/libiconv.so /opt/csw/bin/gcj-4.8 -Wall -Wextra -fsource=1.3 -O2 --encoding=UTF-8 --classpath="/usr/share/java/libgcj-4.8.jar:/home/dam/mgar/pkg/pdftk/trunk/work/solaris10-sparc/build-isa-sparcv8plus/pdftk-1.45-dist/java:." -C com/lowagie/text/ElementTags.java >> Exception in thread "main" java.lang.NoClassDefFoundError: org.eclipse.jdt.internal.compiler.batch.GCCMain >> at gnu.java.lang.MainThread.run(libgcj.so.14.0.0) >> Caused by: java.lang.ClassNotFoundException: org.eclipse.jdt.internal.compiler.batch.GCCMain not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:/opt/csw/share/java/ecj.jar], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}} >> at java.net.URLClassLoader.findClass(libgcj.so.14.0.0) >> at java.lang.ClassLoader.loadClass(libgcj.so.14.0.0) >> at java.lang.ClassLoader.loadClass(libgcj.so.14.0.0) >> at gnu.java.lang.MainThread.run(libgcj.so.14.0.0) >> zsh: 12684 exit 1 LD_PRELOAD=/opt/csw/lib/libiconv.so /opt/csw/bin/gcj-4.8 -Wall -Wextra -O2 > Sorry, I find this weird just as well. I only want to pile a little more on your plate by pointing out there are a couple of old packages in the catalog that seem wrong: gcc4javart CSWgcc4javart 4.3.3,REV=2009.05.07 51.5 MB gcc4objcrt CSWgcc4objcrt 4.3.3,REV=2009.05.07 522.8 KB Laurent From laurent at opencsw.org Tue Oct 8 09:49:56 2013 From: laurent at opencsw.org (Laurent Blume) Date: Tue, 08 Oct 2013 09:49:56 +0200 Subject: HEADS-UP: DKIM & DMARC compliant mailing lists In-Reply-To: <5252ED02.2030705@opencsw.org> References: <5252E206.7050000@opencsw.org> <5252ED02.2030705@opencsw.org> Message-ID: <5253B924.2020203@opencsw.org> Hello Ihsan, Is it possible to have the subject line tag back? It's not for filter: my eyes do need it to sort the different emails at a glance in that mailbox. It's not one I use for personal email, so I really appreciated the possibility to notice emails sent to me directly. Thanks in advance, Laurent On 07/10/13 19:18, ?hsan Do?an via maintainers wrote: > Am 07.10.2013 18:40, schrieb Maciej (Matchek) Blizi?ski: > >>> In order to be DMARC and DKIM compliant, I've changed the Mailman >>> configuration and it will affect the mailing lists: >>> >>> - The "From" field ist changed to "xxx via maintainers" >>> - The subject line will be not anymore modified >>> - The footes has been removed >> >> Good riddance! I never liked these footnotes. >> >>> - Each mail going through a mailing list is now DKIM signed > > Well, something is still not right. Mails are not getting signed. > Hmm... > > > > Ihsan > From dam at opencsw.org Tue Oct 8 11:58:10 2013 From: dam at opencsw.org (Dagobert Michelsen) Date: Tue, 8 Oct 2013 11:58:10 +0200 Subject: [csw-maintainers] Problems with GCC Java compiler In-Reply-To: <525308ED.5040306@opencsw.org> References: <525308ED.5040306@opencsw.org> Message-ID: <85B87FFE-CB9B-4920-9720-8696F46F7F4D@opencsw.org> Hi, Am 07.10.2013 um 21:18 schrieb Laurent Blume : > Sorry, I find this weird just as well. > > I only want to pile a little more on your plate by pointing out there > are a couple of old packages in the catalog that seem wrong: > > gcc4javart CSWgcc4javart 4.3.3,REV=2009.05.07 51.5 MB > gcc4objcrt CSWgcc4objcrt 4.3.3,REV=2009.05.07 522.8 KB I removed these two for unstable9* ff. with safe_remove_package.py. Best regards -- Dago -- "You don't become great by trying to be great, you become great by wanting to do something, and then doing it so hard that you become great in the process." - xkcd #896 -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2351 bytes Desc: not available URL: From pfelecan at opencsw.org Tue Oct 8 13:53:02 2013 From: pfelecan at opencsw.org (Peter FELECAN) Date: Tue, 08 Oct 2013 13:53:02 +0200 Subject: [csw-maintainers] Buildfarm setup - documentation In-Reply-To: <524EF087.8020504@opencsw.org> (Laurent Blume's message of "Fri, 04 Oct 2013 18:44:55 +0200") References: <524EF087.8020504@opencsw.org> Message-ID: Laurent Blume writes: > As for the docs, everything MySQL provides is included, so feel free to > open a bug upstream if that's a problem with you. Personnally, I use > Google to search their website. Really? As Docs/mysql.info. But maybe you are not familiar with this format. Anyhow, I amended this. -- Peter From laurent at opencsw.org Tue Oct 8 14:40:36 2013 From: laurent at opencsw.org (Laurent Blume) Date: Tue, 08 Oct 2013 14:40:36 +0200 Subject: [csw-maintainers] Buildfarm setup - documentation In-Reply-To: References: <524EF087.8020504@opencsw.org> Message-ID: <5253FD44.6090006@opencsw.org> On 08/10/13 13:53, Peter FELECAN wrote: > Laurent Blume writes: > >> As for the docs, everything MySQL provides is included, so feel free to >> open a bug upstream if that's a problem with you. Personnally, I use >> Google to search their website. > > Really? As Docs/mysql.info. But maybe you are not familiar with this > format. Anyhow, I amended this. I previously showed you the courtesy of not modifying the packages you are maintaining without asking you first. I would appreciate that in the future, you show me the same courtesy and do not modify the recipes I am actively maintaining without consulting with me first. I do not want to deal with unwelcome changes when I have uncommiited ones on my side, as is the case now. If you want a change, please send a patch in the future. I will revert what you did, because as it happens, it conflicts with what *I* am working on. Thank you very much for your understanding. Laurent From pfelecan at opencsw.org Tue Oct 8 15:08:18 2013 From: pfelecan at opencsw.org (Peter FELECAN) Date: Tue, 08 Oct 2013 15:08:18 +0200 Subject: [csw-maintainers] Buildfarm setup - documentation In-Reply-To: <5253FD44.6090006@opencsw.org> (Laurent Blume's message of "Tue, 08 Oct 2013 14:40:36 +0200") References: <524EF087.8020504@opencsw.org> <5253FD44.6090006@opencsw.org> Message-ID: Laurent Blume writes: > I will revert what you did, because as it happens, it conflicts with > what *I* am working on. How can this conflict with whatever you do? Maybe you're adding the documentation in the recipe on which you are working on. Anyhow, here is the patch, so you can have the courtesy to include it in the next release: --- csw/mgar/pkg/mysql5/branches/mysql-5.5.x/Makefile 2013-10-08 11:25:53 UTC (rev 22166) +++ csw/mgar/pkg/mysql5/branches/mysql-5.5.x/Makefile 2013-10-08 11:53:16 UTC (rev 22167) @@ -168,6 +168,12 @@ CHECKPKG_OVERRIDES_CSW$(NAME) += no-direct-binding|/opt/csw/libexec/sparcv9/mysqld|is|not|directly|bound|to|soname|libmtmalloc.so.1 CHECKPKG_OVERRIDES_CSW$(NAME) += no-direct-binding|/opt/csw/libexec/amd64/mysqld|is|not|directly|bound|to|soname|libmtmalloc.so.1 +PACKAGES += CSW$(NAME)-doc +CATALOGNAME_CSW$(NAME)-doc = $(NAME)_doc +SPKG_DESC_CSW$(NAME)-doc += $(DESCRIPTION), documentation +PKGFILES_CSW$(NAME)-doc += /opt/csw/share/info/mysql.info +ARCHALL_CSW$(NAME)-doc = 1 + # An example: # s9_preload.so.1|is|needed|by|/opt/csw/bin/innochecksum|but|never|used #CHECKPKG_OVERRIDES_CSW$(NAME) += soname-unused @@ -347,6 +353,8 @@ ln -s libmysqlclient.so.18 libmysqlclient_r.so.18) (cd $(DESTDIR)$(libdir); rm libmysqlclient_r.so.18.0.0; \ ln -s libmysqlclient.so.18.0.0 libmysqlclient_r.so.18.0.0) + ginstall -m 755 -d $(DESTDIR)$(infodir) + ginstall -m 644 $(WORKSRC)/Docs/mysql.info $(DESTDIR)/$(infodir) @$(MAKECOOKIE) post-merge: -- Peter From laurent at opencsw.org Tue Oct 8 15:22:27 2013 From: laurent at opencsw.org (Laurent Blume) Date: Tue, 08 Oct 2013 15:22:27 +0200 Subject: [csw-maintainers] Buildfarm setup - documentation In-Reply-To: References: <524EF087.8020504@opencsw.org> <5253FD44.6090006@opencsw.org> Message-ID: <52540713.4000004@opencsw.org> On 08/10/13 15:08, Peter FELECAN wrote: > Laurent Blume writes: > >> I will revert what you did, because as it happens, it conflicts with >> what *I* am working on. > > How can this conflict with whatever you do? Maybe you're adding the > documentation in the recipe on which you are working on. Anyhow, here is > the patch, so you can have the courtesy to include it in the next > release: I certainly will consider if there is a need. Since you left out all the dependencies that would be needed, I need to think about that too. In the meantime, since the file is already provided by CSWmysql5, I think you can already use it by typing ?info mysql?. Laurent From maciej at opencsw.org Wed Oct 9 09:25:00 2013 From: maciej at opencsw.org (=?UTF-8?Q?Maciej_=28Matchek=29_Blizi=C5=84ski?=) Date: Wed, 9 Oct 2013 08:25:00 +0100 Subject: "Last packaging activity" broken on the website Message-ID: The "Last packaging activity" on every maintainer's site displays incorrect information. Is anyone able to fix it, or if not fix, then at least disable? Maciej -------------- next part -------------- An HTML attachment was scrubbed... URL: From slowfranklin at opencsw.org Fri Oct 11 09:35:01 2013 From: slowfranklin at opencsw.org (slowfranklin) Date: Fri, 11 Oct 2013 09:35:01 +0200 Subject: Broken Netatalk package in testing catalog Message-ID: <76A11CCF-435D-4AD4-9752-2F6D1E74D193@opencsw.org> Hi! I just received a complaint that the Netatalk package in testing is broken. Seems for some reason a broken package that was in unstable a few months ago somehow made its way into testing. The broken package in testing doesn't work and worse, it can't be uninstalled, uninstallation fails with this error: http://marc.info/?l=opencsw-users&m=137085663706734 The broken package version at that time was fixed and updated within 48 hours (afair). Is there any way I (we) can promote the current version from unstable to testing? Cheers! -slow From slowfranklin at opencsw.org Fri Oct 11 13:01:22 2013 From: slowfranklin at opencsw.org (slowfranklin) Date: Fri, 11 Oct 2013 13:01:22 +0200 Subject: Broken Netatalk package in testing catalog In-Reply-To: <76A11CCF-435D-4AD4-9752-2F6D1E74D193@opencsw.org> References: <76A11CCF-435D-4AD4-9752-2F6D1E74D193@opencsw.org> Message-ID: Hi Maciej Am 11.10.2013 um 09:35 schrieb slowfranklin : > Hi! > > I just received a complaint that the Netatalk package in testing is broken. Seems for some reason a broken package that was in unstable a few months ago somehow made its way into testing. > > The broken package in testing doesn't work and worse, it can't be uninstalled, uninstallation fails with this error: > > http://marc.info/?l=opencsw-users&m=137085663706734 > > The broken package version at that time was fixed and updated within 48 hours (afair). > > Is there any way I (we) can promote the current version from unstable to testing? as discussed on irc, woody tried to promote the package but the script seems to be broken. Can you check this? Thanks! -slow From jh at opencsw.org Fri Oct 11 13:54:27 2013 From: jh at opencsw.org (Jan Holzhueter) Date: Fri, 11 Oct 2013 13:54:27 +0200 Subject: Broken Netatalk package in testing catalog In-Reply-To: References: <76A11CCF-435D-4AD4-9752-2F6D1E74D193@opencsw.org> Message-ID: <5257E6F3.3090507@opencsw.org> Hi, Am 11.10.13 13:01, schrieb slowfranklin: > Hi Maciej > > Am 11.10.2013 um 09:35 schrieb slowfranklin : > >> Hi! >> >> I just received a complaint that the Netatalk package in testing is broken. Seems for some reason a broken package that was in unstable a few months ago somehow made its way into testing. >> >> The broken package in testing doesn't work and worse, it can't be uninstalled, uninstallation fails with this error: >> >> http://marc.info/?l=opencsw-users&m=137085663706734 >> >> The broken package version at that time was fixed and updated within 48 hours (afair). >> >> Is there any way I (we) can promote the current version from unstable to testing? > > as discussed on irc, woody tried to promote the package but the script seems to be broken. Can you check this? Thanks! was a hickup it now worked. 3.0.5 is now in testing and should be available with next cataloge update run. Greetings Jan From maciej at opencsw.org Fri Oct 11 17:06:11 2013 From: maciej at opencsw.org (=?UTF-8?Q?Maciej_=28Matchek=29_Blizi=C5=84ski?=) Date: Fri, 11 Oct 2013 16:06:11 +0100 Subject: [csw-maintainers] Non-Maintainer Uploads (NMUs) In-Reply-To: References: Message-ID: I didn't have the time to write a short email, so I wrote a long one instead. :) 2013/9/16 Maciej (Matchek) Blizi?ski : > Going back to the original subject, we know of the following facts / > relations of people to a given package: > > - people who made edits to the build recipe (can be taken from the > repository, it's not available for all packages) > - person who built the package / ran mgar (this information is > embedded in the package) > - person who inserted the package into a catalog (could be a different > person in each catalog) > > The above are the things we know. None of these things is the list of > the Maintainers Of The Package. I'd like to compare it with what Peter wrote earlier: http://lists.opencsw.org/pipermail/maintainers/2013-August/018444.html > 1. the user who modified the recipe > 2. the user who built the package > 3. the user who uploaded the package > 4. the user who owns the package, from Mantis stand point Here are the considerations: ad 1. we kind of have that information, but the users here are from a different user name space, e.g. I'm "maciej" on the buildfarm, but "wahwah" on SourceForge. We'd need a mapping to meaningfully match the two user names. ad 2. this information is stored in package's pkginfo file ad 3. there is no single upload operation we can refer to. The following operations exist: (1) a POST request which sends the .pkg.gz file to the web zone, causing the file to be saved in the allpkgs directory, (2) a PUT request to the releases_web.py app which creates a row in one of the tables. The row binds together the specific package file, and a specific catalog. This row later results in the presence of that package in the specific catalog on the mirror. Maintainers can insert packages into any catalogs: unstable as well as kiel and/or dublin. In most cases the inserts into the testing (currently: kiel) catalog are done by a different person than the maintainer. ad 4. this field is sourced directly from the user who built the package, but it doesn't have to be that way in principle Given how things currently work, I don't see an existing data that we can use for a more meaningful True Maintainer. Here's an idea: we could create an optional field in the recipe, which would be an explicit list of maintainers of that package. If it's not present, things work as previously. If it is there, it pins down the current maintainer, and the package does go to a new owner. But we would require a certain etiquette to use it. For example, I would put myself down as the Python package maintainer. There would be other packages that happened to rebuild, but I don't care as much as I do about the main Python package. If somebody else was rebuilding one of packages I also happened to rebuild earlier, I would not like them to put my name down as the maintainer. In other words: you would be supposed to only add your own name to that list. Would it make things better? I'm not sure. If I understand correctly, Peter's intention was to kind of hide the fact that you've rebuilt a package; so you rebuild the package, but you don't change the maintainer name associated with the package. But the problem is that the currently associated name is already as bogus as your name. Let me illustrate: Joe rebuilds the CSWfoo package from version 1.1 to version 1.2, but he doesn't want to take the ownership of that package. The current state is this: CSWfoo 1.1, maintainer: Jane But is Jane the true maintainer? No! She only did a rebuild of CSWfoo from 1.0 to 1.1, and the package was previously rebuilt by Bob. But was Bob the true maintainer? No, he only did a rebuild from 0.9 to 1.0. It can be turtles all the way. In other words, the package maintainer written on a package is not as meaningful as people often take it to be. Let's start by admitting it, then see if we can improve on that. I believe that True Package Ownership can be beneficial, but it should be an opt-in thing, and for all other packages we should continue the "who last touched it" tracking. Maciej From maciej at opencsw.org Fri Oct 11 17:13:22 2013 From: maciej at opencsw.org (=?UTF-8?Q?Maciej_=28Matchek=29_Blizi=C5=84ski?=) Date: Fri, 11 Oct 2013 16:13:22 +0100 Subject: [csw-maintainers] Non-Maintainer Uploads (NMUs) In-Reply-To: References: Message-ID: 2013/10/11 Maciej (Matchek) Blizi?ski : > Here's an idea: we > could create an optional field in the recipe, which would be an > explicit list of maintainers of that package. If it's not present, > things work as previously. If it is there, it pins down the current > maintainer, and the package does go to a new owner. Errata, a "not" is missing, I meant "the package does not go to a new owner." From pfelecan at opencsw.org Fri Oct 11 17:38:08 2013 From: pfelecan at opencsw.org (Peter FELECAN) Date: Fri, 11 Oct 2013 17:38:08 +0200 Subject: [csw-maintainers] Non-Maintainer Uploads (NMUs) In-Reply-To: ("Maciej (Matchek) =?utf-8?Q?Blizi=C5=84ski=22's?= message of "Fri, 11 Oct 2013 16:13:22 +0100") References: Message-ID: "Maciej (Matchek) Blizi?ski" writes: > 2013/10/11 Maciej (Matchek) Blizi?ski : >> Here's an idea: we >> could create an optional field in the recipe, which would be an >> explicit list of maintainers of that package. If it's not present, >> things work as previously. If it is there, it pins down the current >> maintainer, and the package does go to a new owner. > > Errata, a "not" is missing, I meant "the package does not go to a new owner." I agree with this kludge only if its presence in the recipe is mandatory. -- Peter From maciej at opencsw.org Fri Oct 11 17:48:35 2013 From: maciej at opencsw.org (=?UTF-8?Q?Maciej_=28Matchek=29_Blizi=C5=84ski?=) Date: Fri, 11 Oct 2013 16:48:35 +0100 Subject: [csw-maintainers] Non-Maintainer Uploads (NMUs) In-Reply-To: References: Message-ID: 2013/10/11 Peter FELECAN : > I agree with this kludge only if its presence in the recipe is mandatory. Hm. We could make it mandatory, but then the default value should be "nobody" or something of the same meaning. The reason is that only a subset of packages have people who care about them. If we copy the current state from the package catalog, we'll effectively freeze the current package-maintainer relationship mapping. We will also not know whether there is anyone that cares about certain package. Therefore, there will be no gain. Maciej From pfelecan at opencsw.org Fri Oct 11 19:31:01 2013 From: pfelecan at opencsw.org (Peter FELECAN) Date: Fri, 11 Oct 2013 19:31:01 +0200 Subject: [csw-maintainers] Non-Maintainer Uploads (NMUs) In-Reply-To: ("Maciej (Matchek) =?utf-8?Q?Blizi=C5=84ski=22's?= message of "Fri, 11 Oct 2013 16:48:35 +0100") References: Message-ID: "Maciej (Matchek) Blizi?ski" writes: > 2013/10/11 Peter FELECAN : >> I agree with this kludge only if its presence in the recipe is mandatory. > > Hm. We could make it mandatory, but then the default value should be > "nobody" or something of the same meaning. The reason is that only a > subset of packages have people who care about them. If we copy the > current state from the package catalog, we'll effectively freeze the > current package-maintainer relationship mapping. We will also not know > whether there is anyone that cares about certain package. Therefore, > there will be no gain. Really I do not understand. As shown in my previous messages, we know where to take the information, where to give it a good usage. Conceptually it's not difficult. Unfortunately I do not have the resources to implement this. >From my point of view, I consider this discussion closed as I don't like to run in circle chasing my tail. -- Peter From maciej at opencsw.org Fri Oct 11 19:58:17 2013 From: maciej at opencsw.org (=?UTF-8?Q?Maciej_=28Matchek=29_Blizi=C5=84ski?=) Date: Fri, 11 Oct 2013 18:58:17 +0100 Subject: Broken Netatalk package in testing catalog In-Reply-To: <5257E6F3.3090507@opencsw.org> References: <76A11CCF-435D-4AD4-9752-2F6D1E74D193@opencsw.org> <5257E6F3.3090507@opencsw.org> Message-ID: We all (including me) missed one thing: you can upload directly to kiel with csw-upload-pkg by using a command line option. -------------- next part -------------- An HTML attachment was scrubbed... URL: From slowfranklin at opencsw.org Fri Oct 11 21:49:44 2013 From: slowfranklin at opencsw.org (slowfranklin) Date: Fri, 11 Oct 2013 21:49:44 +0200 Subject: Broken Netatalk package in testing catalog In-Reply-To: References: <76A11CCF-435D-4AD4-9752-2F6D1E74D193@opencsw.org> <5257E6F3.3090507@opencsw.org> Message-ID: <6E8829D1-FB61-4357-BD5F-FAB83BDEB861@opencsw.org> Hi Maciej Am 11.10.2013 um 19:58 schrieb Maciej (Matchek) Blizi?ski : > We all (including me) missed one thing: you can upload directly to kiel with csw-upload-pkg by using a command line option. interesting. Do you know whether that checks whether package deps are met? Suppose I want to uload package X which depends on package Y at version Z, but the catalog only has Z-1. Cheers! -slow From bwalton at opencsw.org Fri Oct 11 22:33:26 2013 From: bwalton at opencsw.org (Ben Walton) Date: Fri, 11 Oct 2013 21:33:26 +0100 Subject: Board election? Message-ID: Hi All, The board elections were intended to be for a 1 year period. We're running up against that timeline now. I think we should run an election shortly to determine the new board. Objections? If you're not an OpenCSW member but would like to vote, all you need to do is become a member (eg: send an email!). I'd encourage all active maintainers to become members if they're not already. Thanks -Ben From maciej at opencsw.org Fri Oct 11 22:43:31 2013 From: maciej at opencsw.org (=?UTF-8?Q?Maciej_=28Matchek=29_Blizi=C5=84ski?=) Date: Fri, 11 Oct 2013 21:43:31 +0100 Subject: Broken Netatalk package in testing catalog In-Reply-To: <6E8829D1-FB61-4357-BD5F-FAB83BDEB861@opencsw.org> References: <76A11CCF-435D-4AD4-9752-2F6D1E74D193@opencsw.org> <5257E6F3.3090507@opencsw.org> <6E8829D1-FB61-4357-BD5F-FAB83BDEB861@opencsw.org> Message-ID: 2013/10/11 slowfranklin : > Do you know whether that checks whether package deps are met? Suppose I want to uload package X which depends on package Y at version Z, but the catalog only has Z-1. It could fail. There is no version checking or support in the Solaris package manager. If there's a package that really needs the Z-1 version, it'll fail. But so would the manual integration. Maciej From maciej at opencsw.org Sun Oct 13 01:05:50 2013 From: maciej at opencsw.org (=?UTF-8?Q?Maciej_=28Matchek=29_Blizi=C5=84ski?=) Date: Sun, 13 Oct 2013 00:05:50 +0100 Subject: Broken Netatalk package in testing catalog In-Reply-To: References: <76A11CCF-435D-4AD4-9752-2F6D1E74D193@opencsw.org> <5257E6F3.3090507@opencsw.org> <6E8829D1-FB61-4357-BD5F-FAB83BDEB861@opencsw.org> Message-ID: 2013/10/11 Maciej (Matchek) Blizi?ski : > 2013/10/11 slowfranklin : >> Do you know whether that checks whether package deps are met? Suppose I want to uload package X which depends on package Y at version Z, but the catalog only has Z-1. > > It could fail. There is no version checking or support in the Solaris > package manager. If there's a package that really needs the Z-1 > version, it'll fail. But so would the manual integration. I don't think I've made myself clear with the paragraph above. Here's try number two: Uploading another catalog is the safest way to do it. The integration script is dumb and it's very easy to shoot yourself in the foot while using it. The generated shell script is calling low-level catalog operations and it performs no checks. csw-upload-pkg on the other hand, does perform checks and makes it much less likely to introduce a problem into a catalog. By "it could fail" I mean that it is not impossible that a csw-upload-pkg operation has undesired results, but it's much less likely to happen, compared to using the integration script. Maciej From laurent at opencsw.org Sun Oct 13 11:29:34 2013 From: laurent at opencsw.org (Laurent Blume) Date: Sun, 13 Oct 2013 11:29:34 +0200 Subject: [csw-maintainers] HEADS-UP: DKIM & DMARC compliant mailing lists In-Reply-To: <5253B924.2020203@opencsw.org> References: <5252E206.7050000@opencsw.org> <5252ED02.2030705@opencsw.org> <5253B924.2020203@opencsw.org> Message-ID: <525A67FE.5000800@opencsw.org> Hello, This one might have gone unnoticed :-) Is there a reason why we can't have the subject tags back? I do miss them, the lack of them is making my opencsw.org box confusing. Thanks in advance, Laurent On 08/10/2013 09:49, Laurent Blume wrote: > Hello Ihsan, > > Is it possible to have the subject line tag back? > It's not for filter: my eyes do need it to sort the different emails at > a glance in that mailbox. It's not one I use for personal email, so I > really appreciated the possibility to notice emails sent to me directly. > > Thanks in advance, > > Laurent > > On 07/10/13 19:18, ?hsan Do?an via maintainers wrote: >> Am 07.10.2013 18:40, schrieb Maciej (Matchek) Blizi?ski: >> >>>> In order to be DMARC and DKIM compliant, I've changed the Mailman >>>> configuration and it will affect the mailing lists: >>>> >>>> - The "From" field ist changed to "xxx via maintainers" >>>> - The subject line will be not anymore modified >>>> - The footes has been removed >>> >>> Good riddance! I never liked these footnotes. >>> >>>> - Each mail going through a mailing list is now DKIM signed >> >> Well, something is still not right. Mails are not getting signed. >> Hmm... >> >> >> >> Ihsan >> > From pfelecan at opencsw.org Sun Oct 13 13:12:13 2013 From: pfelecan at opencsw.org (Peter FELECAN) Date: Sun, 13 Oct 2013 13:12:13 +0200 Subject: [csw-maintainers] HEADS-UP: DKIM & DMARC compliant mailing lists In-Reply-To: <525A67FE.5000800@opencsw.org> (Laurent Blume's message of "Sun, 13 Oct 2013 11:29:34 +0200") References: <5252E206.7050000@opencsw.org> <5252ED02.2030705@opencsw.org> <5253B924.2020203@opencsw.org> <525A67FE.5000800@opencsw.org> Message-ID: Laurent Blume writes: > Is there a reason why we can't have the subject tags back? I do miss > them, the lack of them is making my opencsw.org box confusing. FWIW, you are probably alone wanting that back. FYI, there is the List-Id tag which can be used to filter and classify messages. -- Peter From laurent at opencsw.org Sun Oct 13 14:41:35 2013 From: laurent at opencsw.org (Laurent Blume) Date: Sun, 13 Oct 2013 14:41:35 +0200 Subject: [csw-maintainers] HEADS-UP: DKIM & DMARC compliant mailing lists In-Reply-To: References: <5252E206.7050000@opencsw.org> <5252ED02.2030705@opencsw.org> <5253B924.2020203@opencsw.org> <525A67FE.5000800@opencsw.org> Message-ID: <525A94FF.8040700@opencsw.org> On 13/10/2013 13:12, Peter FELECAN wrote: > Laurent Blume writes: > >> Is there a reason why we can't have the subject tags back? I do miss >> them, the lack of them is making my opencsw.org box confusing. > > FWIW, you are probably alone wanting that back. FYI, there is the > List-Id tag which can be used to filter and classify messages. FWIW, I know I am not alone, since there is at least one other person that asked about it on IRC. FYI, if you bothered to read my messages, I was talking about my own eyes. I'm not using those tags for automatic filters. I am using them so I can recognize messages easily without having to waste more time creating filters. I already have dozens of filters. I am up to my nose in filters, procmail filters, firefox filters, outlook/exchange filters. I do not want to create more filters just because... just because what? I do not even know what nail-looking problems this hammer-sized change was supposed to fix. It would be easier for me to accept changing old habits if I were explained why it's not an arbitrary. I'll just unsubscribe. Laurent From maciej at opencsw.org Sun Oct 13 15:44:45 2013 From: maciej at opencsw.org (=?UTF-8?Q?Maciej_=28Matchek=29_Blizi=C5=84ski?=) Date: Sun, 13 Oct 2013 14:44:45 +0100 Subject: [csw-maintainers] HEADS-UP: DKIM & DMARC compliant mailing lists In-Reply-To: <525A94FF.8040700@opencsw.org> References: <5252E206.7050000@opencsw.org> <5252ED02.2030705@opencsw.org> <5253B924.2020203@opencsw.org> <525A67FE.5000800@opencsw.org> <525A94FF.8040700@opencsw.org> Message-ID: http://tools.ietf.org/html/rfc6377#section-3.3 It seems to be a fundamental problem with DKIM. -------------- next part -------------- An HTML attachment was scrubbed... URL: From pfelecan at opencsw.org Mon Oct 14 14:57:40 2013 From: pfelecan at opencsw.org (Peter FELECAN) Date: Mon, 14 Oct 2013 14:57:40 +0200 Subject: [csw-maintainers] Buildfarm setup - documentation In-Reply-To: <20131006151110.GA18212@cotton.home.blizinski.pl> ("Maciej =?utf-8?Q?Blizi=C5=84ski=22's?= message of "Sun, 6 Oct 2013 16:11:10 +0100") References: <20131005093723.GA10364@cotton.home.blizinski.pl> <20131005103729.GA12364@cotton.home.blizinski.pl> <20131006134136.GA29695@cotton.home.blizinski.pl> <20131006151110.GA18212@cotton.home.blizinski.pl> Message-ID: I finished testing the package checking in a build-farm setup documentation context. It works. Here are the results using both MySQL and SQLite backend on a Xenon X3220 @ 2.40GH 8Gb with ZFS RAIDZ1 storage (note that this is bare metal, i.e. no virtualization involved): |-------------------------+----------+----------| | phase | MySQL | SQLite | |-------------------------+----------+----------| | initdb | 00:00:30 | 00:00:03 | | system-metadata-to-disk | 00:13:50 | 00:14:14 | | import-system-metadata | 00:41:19 | 05:03:13 | | sync-catalogs-from-tree | 17:54:13 | 47:10:00 | |-------------------------+----------+----------| | TOTAL preparation | 18:49:52 | 52:27:30 | |-------------------------+----------+----------| | resync (23 packages) | 00:05:25 | 00:26:10 | |-------------------------+----------+----------| | checking | 00:03:38 | 00:04:36 | |-------------------------+----------+----------| I think that we should complete the documentation at http://wiki.opencsw.org/checkpkg#toc20 with the missing parts (e.g. PYTHONHOME for pkgcheck, &c) -- Peter From dam at opencsw.org Mon Oct 14 17:49:42 2013 From: dam at opencsw.org (Dagobert Michelsen) Date: Mon, 14 Oct 2013 17:49:42 +0200 Subject: Problem with dual-build Python module Message-ID: <5C72A91B-A8B7-47D0-A8F9-90B87B70751F@opencsw.org> Hi, I am currently trying to update the Python module zope.interface and get the following compile error: > Installed /home/dam/mgar/pkg/lang-python/zope-interface/trunk/work/solaris10-sparc/build-isa-sparcv8plus-python_version-2_7/zope.interface-4.0.5/zope.event-4.0.2-py2.6.egg > running egg_info > writing requirements to src/zope.interface.egg-info/requires.txt > writing src/zope.interface.egg-info/PKG-INFO > writing namespace_packages to src/zope.interface.egg-info/namespace_packages.txt > writing top-level names to src/zope.interface.egg-info/top_level.txt > writing dependency_links to src/zope.interface.egg-info/dependency_links.txt > reading manifest file 'src/zope.interface.egg-info/SOURCES.txt' > reading manifest template 'MANIFEST.in' > warning: no previously-included files matching '*.dll' found anywhere in distribution > warning: no previously-included files matching '*.pyc' found anywhere in distribution > warning: no previously-included files matching '*.pyo' found anywhere in distribution > warning: no previously-included files matching '*.so' found anywhere in distribution > writing manifest file 'src/zope.interface.egg-info/SOURCES.txt' > running build_ext > building 'zope.interface._zope_interface_coptimizations' extension > creating build/temp.solaris-2.10-sun4v-2.6 > creating build/temp.solaris-2.10-sun4v-2.6/src > creating build/temp.solaris-2.10-sun4v-2.6/src/zope > creating build/temp.solaris-2.10-sun4v-2.6/src/zope/interface > /opt/csw/bin/gcc-4.8 -DNDEBUG -O -O2 -pipe -mcpu=v9 -I/opt/csw/include -xcode=pic32 -I/opt/csw/include/python2.6 -c src/zope/interface/_zope_interface_coptimizations.c -o build/temp.solaris-2.10-sun4v-2.6/src/zope/interface/_zope_interface_coptimizations.o > gcc-4.8: error: language code=pic32 not recognized > gcc-4.8: error: language code=pic32 not recognized > ******************************************************************************** > WARNING: > > An optional code optimization (C extension) could not be compiled. > > Optimizations for this package will not be available! > () > command '/opt/csw/bin/gcc-4.8' failed with exit status 1 > ******************************************************************************** > error: can't copy 'build/lib.solaris-2.10-sun4v-2.6/zope/interface/_zope_interface_coptimizations.so': doesn't exist or not a regular file > /home/dam/mgar/pkg/.buildsys/v2/gar//gar.lib.mk:996: recipe for target 'test-work/solaris10-sparc/build-isa-sparcv8plus-python_version-2_7/zope.interface-4.0.5/setup.py' failed The issue is a bit convoluted as this should be the Python 2.7 build (modulation is isa-sparcv8plus-python_version-2_7, but the include is for Python 2.6. Also the code=pic32 is for Python 2.6 with Sun Studio and not Python 2.7 which uses gcc. This all occurs during "setup.py check", so most probably the python environment is not passed during this phase. Maybe some Python expect (Maciej?) could have a look if this could be solved generally? For now I have disabled the test as it works for 2.6 when I manually try it. Everything is committed, you can try be commenting out SKIPTEST ?= 1 in pkg/lang-python/zope-interface/trunk/Makefile. Apart from that I just pushed zope-interface 4.0.5 and it seems to work. Best regards -- Dago -- "You don't become great by trying to be great, you become great by wanting to do something, and then doing it so hard that you become great in the process." - xkcd #896 -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2351 bytes Desc: not available URL: From maciej at opencsw.org Mon Oct 14 22:11:28 2013 From: maciej at opencsw.org (=?UTF-8?Q?Maciej_=28Matchek=29_Blizi=C5=84ski?=) Date: Mon, 14 Oct 2013 21:11:28 +0100 Subject: Problem with dual-build Python module In-Reply-To: <5C72A91B-A8B7-47D0-A8F9-90B87B70751F@opencsw.org> References: <5C72A91B-A8B7-47D0-A8F9-90B87B70751F@opencsw.org> Message-ID: 2013/10/14 Dagobert Michelsen : > The issue is a bit convoluted as this should be the Python 2.7 build (modulation is > isa-sparcv8plus-python_version-2_7, but the include is for Python 2.6. We have a 2.7-specific dev package. http://www.opencsw.org/packages/CSWpython27-dev/ Is it installed? From dam at opencsw.org Mon Oct 14 22:21:55 2013 From: dam at opencsw.org (Dagobert Michelsen) Date: Mon, 14 Oct 2013 22:21:55 +0200 Subject: Problem with dual-build Python module In-Reply-To: References: <5C72A91B-A8B7-47D0-A8F9-90B87B70751F@opencsw.org> Message-ID: <4081A111-9962-4A82-9384-8E400D946A17@opencsw.org> Hi Maciej, Am 14.10.2013 um 22:11 schrieb Maciej (Matchek) Blizi?ski : > 2013/10/14 Dagobert Michelsen : >> The issue is a bit convoluted as this should be the Python 2.7 build (modulation is >> isa-sparcv8plus-python_version-2_7, but the include is for Python 2.6. > > We have a 2.7-specific dev package. > > http://www.opencsw.org/packages/CSWpython27-dev/ > > Is it installed? Yes, it is installed on unstable10s where I tried building zope.interface. Best regards -- Dago -- "You don't become great by trying to be great, you become great by wanting to do something, and then doing it so hard that you become great in the process." - xkcd #896 -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2351 bytes Desc: not available URL: From ihsan at opencsw.org Tue Oct 15 20:28:13 2013 From: ihsan at opencsw.org (=?UTF-8?B?xLBoc2FuwqBEb8SfYW4=?=) Date: Tue, 15 Oct 2013 20:28:13 +0200 Subject: [csw-maintainers] HEADS-UP: DKIM & DMARC compliant mailing lists In-Reply-To: References: <5252E206.7050000@opencsw.org> <5252ED02.2030705@opencsw.org> <5253B924.2020203@opencsw.org> <525A67FE.5000800@opencsw.org> <525A94FF.8040700@opencsw.org> Message-ID: <525D893D.9020405@opencsw.org> Hi, Am 13.10.2013 15:44, schrieb Maciej (Matchek) Blizi?ski: > http://tools.ietf.org/html/rfc6377#section-3.3 > It seems to be a fundamental problem with DKIM. Unfortunately I can't turn it back on. As Maciej mentioned, modifing the header and the body of the messages breaks DKIM and this leads to that spam filter might classify legitimate mail as spam. What you can do is, to filter the mail with Procmail. On mail.opencsw.org edit .procmailrc in your home directory and add this rule, before the last rule: :0H * ^List-Post: | $DELIVER -m INBOX.opencsw.maintainers This will put all the mails to the maintainers list into the INBOX/opencsw/maintainers folder. Ihsan -- ihsan at dogan.ch http://blog.dogan.ch/ From jgoerzen at opencsw.org Thu Oct 17 19:29:04 2013 From: jgoerzen at opencsw.org (Jake Goerzen) Date: Thu, 17 Oct 2013 10:29:04 -0700 Subject: ifaddrs.h on Solaris 10 Message-ID: <52601E60.4060001@opencsw.org> Hello maintainers, Some Linux software projects are implementing getifaddrs() and freeifaddrs() defined in ifaddrs.h included with Solaris 11, but how do we build on Solaris 10 which doesn't have ifaddrs.h? I'm curious to hear what other maintainers are doing about this. Regards, /Jake From wilbury at opencsw.org Thu Oct 17 19:32:33 2013 From: wilbury at opencsw.org (Juraj Lutter) Date: Thu, 17 Oct 2013 19:32:33 +0200 Subject: ifaddrs.h on Solaris 10 In-Reply-To: <52601E60.4060001@opencsw.org> References: <52601E60.4060001@opencsw.org> Message-ID: <52601F31.3080300@opencsw.org> On 10/17/13 19:29, Jake Goerzen wrote: > Hello maintainers, > > Some Linux software projects are implementing getifaddrs() and > freeifaddrs() defined in ifaddrs.h included with Solaris 11, but how do > we build on Solaris 10 which doesn't have ifaddrs.h? I'm curious to > hear what other maintainers are doing about this. >From time to time I look into Solaris 11 sources and try to port the offending function to Solaris 10. -- Juraj Lutter From slowfranklin at opencsw.org Thu Oct 17 19:46:37 2013 From: slowfranklin at opencsw.org (slowfranklin) Date: Thu, 17 Oct 2013 19:46:37 +0200 Subject: ifaddrs.h on Solaris 10 In-Reply-To: <52601E60.4060001@opencsw.org> References: <52601E60.4060001@opencsw.org> Message-ID: <0C732522-13C6-4F1B-97F7-E9514CAD4C4D@opencsw.org> Hi Am 17.10.2013 um 19:29 schrieb Jake Goerzen : > Hello maintainers, > > Some Linux software projects are implementing getifaddrs() and freeifaddrs() defined in ifaddrs.h included with Solaris 11, but how do we build on Solaris 10 which doesn't have ifaddrs.h? I'm curious to hear what other maintainers are doing about this. Add a replacement using if_nameindex()? -slow From Joerg.Schilling at fokus.fraunhofer.de Fri Oct 18 11:50:46 2013 From: Joerg.Schilling at fokus.fraunhofer.de (Joerg Schilling) Date: Fri, 18 Oct 2013 11:50:46 +0200 Subject: ifaddrs.h on Solaris 10 In-Reply-To: <52601E60.4060001@opencsw.org> References: <52601E60.4060001@opencsw.org> Message-ID: <52610476.R6zZiqibbzGglgJy%Joerg.Schilling@fokus.fraunhofer.de> Jake Goerzen wrote: > Hello maintainers, > > Some Linux software projects are implementing getifaddrs() and > freeifaddrs() defined in ifaddrs.h included with Solaris 11, but how do > we build on Solaris 10 which doesn't have ifaddrs.h? I'm curious to > hear what other maintainers are doing about this. getifaddrs() is not in the standard and it has been added very recently (a short time before Oracle stopped working on OpenSolaris). It is obvious that programs that expect getifaddrs(), cannot be called "portable". Did you contact the maintainers? J?rg -- EMail:joerg at schily.isdn.cs.tu-berlin.de (home) J?rg Schilling D-13353 Berlin js at cs.tu-berlin.de (uni) joerg.schilling at fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily From jgoerzen at opencsw.org Fri Oct 18 23:40:39 2013 From: jgoerzen at opencsw.org (Jake Goerzen) Date: Fri, 18 Oct 2013 14:40:39 -0700 Subject: ifaddrs.h on Solaris 10 In-Reply-To: <52610476.R6zZiqibbzGglgJy%Joerg.Schilling@fokus.fraunhofer.de> References: <52601E60.4060001@opencsw.org> <52610476.R6zZiqibbzGglgJy%Joerg.Schilling@fokus.fraunhofer.de> Message-ID: <5261AAD7.1060308@opencsw.org> On 10/18/13 02:50, Joerg Schilling wrote: > Jake Goerzen wrote: > >> Hello maintainers, >> >> Some Linux software projects are implementing getifaddrs() and >> freeifaddrs() defined in ifaddrs.h included with Solaris 11, but how do >> we build on Solaris 10 which doesn't have ifaddrs.h? I'm curious to >> hear what other maintainers are doing about this. > getifaddrs() is not in the standard and it has been added very recently (a > short time before Oracle stopped working on OpenSolaris). > > It is obvious that programs that expect getifaddrs(), cannot be called "portable". > Did you contact the maintainers? > > J?rg > Hi J?rg, yea unfortunately, a lot of programmers are not concerned with portability or even Solaris as a compile target anymore. The project in question is dnsmasq. I'm working on porting it to compile on Solaris 10. I haven't contacted the maintainer yet but when I get it done I will send them a patch. In the mean time could someone give an URL to where I could find source code to getifaddrs.c? googling around I found this post http://markmail.org/message/t74kvl63savhzrzp but I would prefer to find it in the illumos/openindiana source. Thanks, /Jake From pfelecan at opencsw.org Sat Oct 19 10:23:16 2013 From: pfelecan at opencsw.org (Peter FELECAN) Date: Sat, 19 Oct 2013 10:23:16 +0200 Subject: ifaddrs.h on Solaris 10 In-Reply-To: <5261AAD7.1060308@opencsw.org> (Jake Goerzen's message of "Fri, 18 Oct 2013 14:40:39 -0700") References: <52601E60.4060001@opencsw.org> <52610476.R6zZiqibbzGglgJy%Joerg.Schilling@fokus.fraunhofer.de> <5261AAD7.1060308@opencsw.org> Message-ID: Jake Goerzen writes: > In the mean time could someone give > an URL to where I could find source code to getifaddrs.c? googling > around I found this post http://markmail.org/message/t74kvl63savhzrzp > but I would prefer to find it in the illumos/openindiana source. hg clone ssh://anonhg at hg.illumos.org/illumos-gate hg clone ssh://anonhg at hg.illumos.org/illumos-userland for general reference and go to illumos-gate/usr/src/lib/libsocket/inet/getifaddrs.c -- Peter From Joerg.Schilling at fokus.fraunhofer.de Sat Oct 19 11:52:59 2013 From: Joerg.Schilling at fokus.fraunhofer.de (Joerg Schilling) Date: Sat, 19 Oct 2013 11:52:59 +0200 Subject: ifaddrs.h on Solaris 10 In-Reply-To: <5261AAD7.1060308@opencsw.org> References: <52601E60.4060001@opencsw.org> <52610476.R6zZiqibbzGglgJy%Joerg.Schilling@fokus.fraunhofer.de> <5261AAD7.1060308@opencsw.org> Message-ID: <5262567b.IH3aYXbjAE3fa2u6%Joerg.Schilling@fokus.fraunhofer.de> Jake Goerzen wrote: > > Hi J?rg, yea unfortunately, a lot of programmers are not concerned with > portability or even Solaris as a compile target anymore. The project in > question is dnsmasq. I'm working on porting it to compile on Solaris > 10. I haven't contacted the maintainer yet but when I get it done I will > send them a patch. In the mean time could someone give an URL to where > I could find source code to getifaddrs.c? googling around I found this > post http://markmail.org/message/t74kvl63savhzrzp but I would prefer to > find it in the illumos/openindiana source. I don't care about illumos - it is dominated by a hostile person that prevents collaboration. http://hg.berlios.de/repos/schillix-on/file/b0e06ee7a1aa/usr/src/lib/libsocket/inet/getifaddrs.c J?rg -- EMail:joerg at schily.isdn.cs.tu-berlin.de (home) J?rg Schilling D-13353 Berlin js at cs.tu-berlin.de (uni) joerg.schilling at fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily From maciej at opencsw.org Sun Oct 20 17:22:08 2013 From: maciej at opencsw.org (=?UTF-8?Q?Maciej_=28Matchek=29_Blizi=C5=84ski?=) Date: Sun, 20 Oct 2013 16:22:08 +0100 Subject: Buildfarm code rewrite - status update Message-ID: If you don't care about buildfarm code, you can stop reading now. Since it's been slowly going on for 10 months, I'll give you a quick update of what's going on with the rewrite. Problems: Buildfarm tools can't do what they should, e.g. display package metadata via www; impossible to set up a buildfarm using the code from Subversion Cause: Too much data in a single JSON blob; the installation procedure not tested Objective: Rewrite buildfarm code to split the JSON blob into smaller blobs; test the deployment procedure Glossary: * "the old code": What is currently in Subversion. The buildfarm runs it at the moment. http://gar.svn.sourceforge.net/svnroot/gar/csw/mgar * "the new code": The code being written, available on github: https://github.com/opencsw/gar/tree/blob-split As of October 2013, the new code is working enough to set up a local build host and check packages. It's reflected in the buildfarm setup instructions[1]. I haven't tested the rest of the package life cycle with uploading and catalog generation. I'll need to do that before I release the new code and make the buildfarm run it. I'm currently in a little bit of yak shaving: The RESTful web apps are an increasingly important piece of the infrastructure, so they need to be tested. During testing, we need to set up and tear down a test database for each test, so we're sure that tests don't influence each other. The problem is that our ORM, SQLObject, is always returning a connection to the same in-memory SQLite database. So I'm currently trying to figure out[2] why isn't SQLObject freeing the memory when closing an in-memory SQLite database. Maciej [1] http://www.opencsw.org/manual/for-maintainers/buildfarm-setup.html [2] https://sourceforge.net/mailarchive/forum.php?thread_name=20131019161004.GA2227%40iskra.aviel.ru&forum_name=sqlobject-discuss From dam at opencsw.org Sun Oct 20 17:57:46 2013 From: dam at opencsw.org (Dagobert Michelsen) Date: Sun, 20 Oct 2013 17:57:46 +0200 Subject: PostgreSQL and ip4r datatype Message-ID: <3E470931-5732-47AB-BDF4-18A90E1D3DF6@opencsw.org> Hi Rafi, I am currently fiddling with mod_asn which requires the ip4r datatype available in postgres. Could you please add that to the package? Sources are available at http://ip4r.projects.pgfoundry.org/ Best regards -- Dago From raos at opencsw.org Mon Oct 21 07:56:47 2013 From: raos at opencsw.org (Rafael Ostertag) Date: Mon, 21 Oct 2013 07:56:47 +0200 Subject: PostgreSQL and ip4r datatype In-Reply-To: <3E470931-5732-47AB-BDF4-18A90E1D3DF6@opencsw.org> References: <3E470931-5732-47AB-BDF4-18A90E1D3DF6@opencsw.org> Message-ID: <20131021055647.GA5914@bender.opencsw.org> Hi Dago On Sun, Oct 20, 2013 at 05:57:46PM +0200, Dagobert Michelsen wrote: > Hi Rafi, > > I am currently fiddling with mod_asn which requires the ip4r datatype available in postgres. > Could you please add that to the package? Sources are available at > http://ip4r.projects.pgfoundry.org/ Can do. Is there a particular Postgres version you need that extension for? I project it to be done by the end of the week, latest. Is that ok with you? cheers rafi From dam at opencsw.org Mon Oct 21 10:45:37 2013 From: dam at opencsw.org (Dagobert Michelsen) Date: Mon, 21 Oct 2013 10:45:37 +0200 Subject: PostgreSQL and ip4r datatype In-Reply-To: <20131021055647.GA5914@bender.opencsw.org> References: <3E470931-5732-47AB-BDF4-18A90E1D3DF6@opencsw.org> <20131021055647.GA5914@bender.opencsw.org> Message-ID: Hi Rafi, Am 21.10.2013 um 07:56 schrieb Rafael Ostertag : > On Sun, Oct 20, 2013 at 05:57:46PM +0200, Dagobert Michelsen wrote: >> I am currently fiddling with mod_asn which requires the ip4r datatype available in postgres. >> Could you please add that to the package? Sources are available at >> http://ip4r.projects.pgfoundry.org/ > > Can do. Is there a particular Postgres version you need that extension for? In the examples they use 8.3 and 8.4, but I guess any version will do. > I project it to be done by the end of the week, latest. Is that ok with you? Sure, there are still additional things for me to take care of :-) Bets regards -- Dago -- "You don't become great by trying to be great, you become great by wanting to do something, and then doing it so hard that you become great in the process." - xkcd #896 -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2351 bytes Desc: not available URL: From dam at opencsw.org Tue Oct 22 15:21:20 2013 From: dam at opencsw.org (Dagobert Michelsen) Date: Tue, 22 Oct 2013 15:21:20 +0200 Subject: Check for obsolete packages Message-ID: Hi folks, the check for obsolete packages and stub removal is now integrated into the buildfarm: http://buildfarm.opencsw.org/obsolete-pkgs/ The scripts are run every day at 4:20 am and generated with the following options: http://sourceforge.net/p/opencsw/code/HEAD/tree//buildfarm/bin/find-obsolete-pkgs At the moment the output is pretty short, I suggest there are some minor options missing, maybe Carsten has a suggestion on options? Best regards -- Dago -- "You don't become great by trying to be great, you become great by wanting to do something, and then doing it so hard that you become great in the process." - xkcd #896 -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2351 bytes Desc: not available URL: From pfelecan at opencsw.org Tue Oct 22 15:49:21 2013 From: pfelecan at opencsw.org (Peter FELECAN) Date: Tue, 22 Oct 2013 15:49:21 +0200 Subject: Check for obsolete packages In-Reply-To: (Dagobert Michelsen's message of "Tue, 22 Oct 2013 15:21:20 +0200") References: Message-ID: Dagobert Michelsen writes: > Hi folks, > > the check for obsolete packages and stub removal is now integrated into the buildfarm: > http://buildfarm.opencsw.org/obsolete-pkgs/ > > The scripts are run every day at 4:20 am and generated with the following options: > http://sourceforge.net/p/opencsw/code/HEAD/tree//buildfarm/bin/find-obsolete-pkgs > > At the moment the output is pretty short, I suggest there are some minor options > missing, maybe Carsten has a suggestion on options? Not really short. IMHO all this needs a little bit more explanation for those not involved in the project. Have I missed something? -- Peter From dam at opencsw.org Tue Oct 22 15:54:24 2013 From: dam at opencsw.org (Dagobert Michelsen) Date: Tue, 22 Oct 2013 15:54:24 +0200 Subject: Check for obsolete packages In-Reply-To: References: Message-ID: <9F4CF69E-263B-44E8-936E-6E6A0ABC1AE2@opencsw.org> Hi Peter, Am 22.10.2013 um 15:49 schrieb Peter FELECAN : > Dagobert Michelsen writes: >> the check for obsolete packages and stub removal is now integrated into the buildfarm: >> http://buildfarm.opencsw.org/obsolete-pkgs/ >> >> The scripts are run every day at 4:20 am and generated with the following options: >> http://sourceforge.net/p/opencsw/code/HEAD/tree//buildfarm/bin/find-obsolete-pkgs >> >> At the moment the output is pretty short, I suggest there are some minor options >> missing, maybe Carsten has a suggestion on options? > > Not really short. IMHO all this needs a little bit more explanation for > those not involved in the project. Have I missed something? This is the experimental implementation of "Package rename tracking" as described here: http://wiki.opencsw.org/projects-available#toc8 Basically it is to find out which packages can safely be dropped. We need to see how we can integrate this in our workflow. Best regards -- Dago -- "You don't become great by trying to be great, you become great by wanting to do something, and then doing it so hard that you become great in the process." - xkcd #896 -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2351 bytes Desc: not available URL: From pfelecan at opencsw.org Tue Oct 22 16:15:07 2013 From: pfelecan at opencsw.org (Peter FELECAN) Date: Tue, 22 Oct 2013 16:15:07 +0200 Subject: Check for obsolete packages In-Reply-To: <9F4CF69E-263B-44E8-936E-6E6A0ABC1AE2@opencsw.org> (Dagobert Michelsen's message of "Tue, 22 Oct 2013 15:54:24 +0200") References: <9F4CF69E-263B-44E8-936E-6E6A0ABC1AE2@opencsw.org> Message-ID: Dagobert Michelsen writes: > Hi Peter, > > Am 22.10.2013 um 15:49 schrieb Peter FELECAN : >> Dagobert Michelsen writes: >>> the check for obsolete packages and stub removal is now integrated into the buildfarm: >>> http://buildfarm.opencsw.org/obsolete-pkgs/ >>> >>> The scripts are run every day at 4:20 am and generated with the following options: >>> http://sourceforge.net/p/opencsw/code/HEAD/tree//buildfarm/bin/find-obsolete-pkgs >>> >>> At the moment the output is pretty short, I suggest there are some minor options >>> missing, maybe Carsten has a suggestion on options? >> >> Not really short. IMHO all this needs a little bit more explanation for >> those not involved in the project. Have I missed something? > > This is the experimental implementation of "Package rename tracking" > as described here: > http://wiki.opencsw.org/projects-available#toc8 > > Basically it is to find out which packages can safely be dropped. > > We need to see how we can integrate this in our workflow. After you choose a work-flow, please document it, preferably in the OpenCSW Manual and let people know that it's documented. -- Peter From jh at opencsw.org Wed Oct 23 19:29:48 2013 From: jh at opencsw.org (=?ISO-8859-15?Q?Jan_Holzh=FCter?=) Date: Wed, 23 Oct 2013 19:29:48 +0200 Subject: Signing failed. Message-ID: <5268078C.50505@opencsw.org> Hi, would someone be so kind and enable the signing again :) Greetings Jan From maciej at opencsw.org Wed Oct 23 20:46:58 2013 From: maciej at opencsw.org (=?UTF-8?Q?Maciej_=28Matchek=29_Blizi=C5=84ski?=) Date: Wed, 23 Oct 2013 19:46:58 +0100 Subject: Signing failed. In-Reply-To: <5268078C.50505@opencsw.org> References: <5268078C.50505@opencsw.org> Message-ID: 2013/10/23 Jan Holzh?ter > would someone be so kind and enable the signing again :) I used to receive emails about this. Now I don't. Were they switched off? Also, I enter the passphrase not frequently enough these days. I felt I'm starting to forget it. Maciej From dam at opencsw.org Thu Oct 24 17:43:39 2013 From: dam at opencsw.org (Dagobert Michelsen) Date: Thu, 24 Oct 2013 17:43:39 +0200 Subject: Signing failed. In-Reply-To: References: <5268078C.50505@opencsw.org> Message-ID: Hi Maciej, Am 23.10.2013 um 20:46 schrieb Maciej (Matchek) Blizi?ski : > 2013/10/23 Jan Holzh?ter >> would someone be so kind and enable the signing again :) > > I used to receive emails about this. Now I don't. Were they switched off? When updating "web" to unstable exim also got updated. Obviously CSWexim misses a MIGRATECONF from /opt/csw/etc/exim to /etc/opt/csw/exim making the config file a default one disallowing relaying completely. This has been fixed now. > Also, I enter the passphrase not frequently enough these days. I felt > I'm starting to forget it. What do you think about distributing the passphrase further? In general I think the project has overcome the overly pessimistic view. Maybe Jan? Or someone else? Best regards -- Dago -- "You don't become great by trying to be great, you become great by wanting to do something, and then doing it so hard that you become great in the process." - xkcd #896 -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2351 bytes Desc: not available URL: From raos at opencsw.org Sat Oct 26 20:41:35 2013 From: raos at opencsw.org (Rafael Ostertag) Date: Sat, 26 Oct 2013 20:41:35 +0200 Subject: PostgreSQL and ip4r datatype In-Reply-To: References: <3E470931-5732-47AB-BDF4-18A90E1D3DF6@opencsw.org> <20131021055647.GA5914@bender.opencsw.org> Message-ID: <20131026184135.GB5914@bender.opencsw.org> Hi Dago On Mon, Oct 21, 2013 at 10:45:37AM +0200, Dagobert Michelsen wrote: > Hi Rafi, > > Am 21.10.2013 um 07:56 schrieb Rafael Ostertag : > > On Sun, Oct 20, 2013 at 05:57:46PM +0200, Dagobert Michelsen wrote: > >> I am currently fiddling with mod_asn which requires the ip4r datatype available in postgres. > >> Could you please add that to the package? Sources are available at > >> http://ip4r.projects.pgfoundry.org/ > > I just put packages for all postgres version in experimental/pg-ip4r. Pick the one matching your postgres version. Once I got the go from you, I'll push them into the catalog. cheers rafi From maciej at opencsw.org Mon Oct 28 10:37:09 2013 From: maciej at opencsw.org (=?UTF-8?Q?Maciej_=28Matchek=29_Blizi=C5=84ski?=) Date: Mon, 28 Oct 2013 09:37:09 +0000 Subject: Using conditional GET or wget timestamping for the catalog files Message-ID: Hey Peter (B) and maintainers, I spoke to Dago a few days ago, and we had a chat about a large portion of traffic from our main mirror being just the catalog files, that is, the files named 'catalog' that are downloaded and re-downloaded a countless number of times. The mirror can withstand it, but it's a constant stream of a few megabytes per second, day and night. Perhaps this can be helped by using the conditional GET with the possible HTTP 304 Not Modified response, or timestamping. wget has an option to timestamp files, and it can issue just a HEAD request to skip downloading the whole file. Here's some information I found: http://www.gnu.org/software/wget/manual/wget.html#Time_002dStamping Have we considered this in the past? I don't recall it. Maybe we should take a look, it could be simple to implement, and we would save some bandwidth on our main mirror and on other mirrors worldwide. Maciej -------------- next part -------------- An HTML attachment was scrubbed... URL: From maciej at opencsw.org Mon Oct 28 10:39:14 2013 From: maciej at opencsw.org (=?UTF-8?Q?Maciej_=28Matchek=29_Blizi=C5=84ski?=) Date: Mon, 28 Oct 2013 09:39:14 +0000 Subject: Check for obsolete packages In-Reply-To: References: <9F4CF69E-263B-44E8-936E-6E6A0ABC1AE2@opencsw.org> Message-ID: Em 22/10/2013 15:16, "Peter FELECAN" escreveu: > > This is the experimental implementation of "Package rename tracking" > > as described here: > > http://wiki.opencsw.org/projects-available#toc8 > > > > Basically it is to find out which packages can safely be dropped. > > > > We need to see how we can integrate this in our workflow. > > After you choose a work-flow, please document it, preferably in the > OpenCSW Manual and let people know that it's documented. One thing definitely worth documenting, is the procedure of package rename. For example, how you need two catalog releases to complete the rename: in the first one you create the _stub package, and in the second catalog you drop the stub and use the autoclean function in pkgutil. For now, we'll try to get a nicely readable, aggregated report of what can be done in each catalog. Then we'll group it by maintainer, and we'll be able to either make it a report available on the build farm, or we'll turn it in to a nag email. I don't think there will be any workflow change in terms of how packages are built and uploaded. One thing we could automate, is the dropping of old _stub packages. Why make a human do it, if an algorithm can. One concern would be that if we allow a script to modify the catalog, we better make sure that the script working correctly. Maciej -------------- next part -------------- An HTML attachment was scrubbed... URL: From dam at opencsw.org Mon Oct 28 11:05:15 2013 From: dam at opencsw.org (Dagobert Michelsen) Date: Mon, 28 Oct 2013 11:05:15 +0100 Subject: Using conditional GET or wget timestamping for the catalog files In-Reply-To: References: Message-ID: Hi folks, Am 28.10.2013 um 10:37 schrieb Maciej (Matchek) Blizi?ski : > Hey Peter (B) and maintainers, > > I spoke to Dago a few days ago, and we had a chat about a large portion of traffic from our main mirror being just the catalog files, that is, the files named 'catalog' that are downloaded and re-downloaded a countless number of times. The mirror can withstand it, but it's a constant stream of a few megabytes per second, day and night. Some numbers: we have constantly 3-4 MB per second. This is not a problem ATM as we have a direct gigabit uplink to the internet, but summing this up it is roughly 10 TB. Just as a comparison: Amazon would charge $0,120 per GB resulting in 1200$ !! So I would like to take the initiative and see that we save bandwidth now that we still have the cheap mirror. > Perhaps this can be helped by using the conditional GET with the possible HTTP 304 Not Modified response, or timestamping. wget has an option to timestamp files, and it can issue just a HEAD request to skip downloading the whole file. Here's some information I found: > > http://www.gnu.org/software/wget/manual/wget.html#Time_002dStamping > > Have we considered this in the past? I don't recall it. Maybe we should take a look, it could be simple to implement, and we would save some bandwidth on our main mirror and on other mirrors worldwide. Just adding --timestamping would already be a great benefit. Peter, what do you think? Best regards -- Dago -- "You don't become great by trying to be great, you become great by wanting to do something, and then doing it so hard that you become great in the process." - xkcd #896 -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2351 bytes Desc: not available URL: From bonivart at opencsw.org Mon Oct 28 13:34:31 2013 From: bonivart at opencsw.org (Peter Bonivart) Date: Mon, 28 Oct 2013 13:34:31 +0100 Subject: Using conditional GET or wget timestamping for the catalog files In-Reply-To: References: Message-ID: On Mon, Oct 28, 2013 at 11:05 AM, Dagobert Michelsen wrote: > > Hi folks, > > Am 28.10.2013 um 10:37 schrieb Maciej (Matchek) Blizi?ski : > > Hey Peter (B) and maintainers, > > > > I spoke to Dago a few days ago, and we had a chat about a large portion of traffic from our main mirror being just the catalog files, that is, the files named 'catalog' that are downloaded and re-downloaded a countless number of times. The mirror can withstand it, but it's a constant stream of a few megabytes per second, day and night. > > Some numbers: we have constantly 3-4 MB per second. This is not a problem ATM as we > have a direct gigabit uplink to the internet, but summing this up it is roughly > 10 TB. Just as a comparison: Amazon would charge $0,120 per GB resulting in 1200$ !! > So I would like to take the initiative and see that we save bandwidth now that we still > have the cheap mirror. > > > Perhaps this can be helped by using the conditional GET with the possible HTTP 304 Not Modified response, or timestamping. wget has an option to timestamp files, and it can issue just a HEAD request to skip downloading the whole file. Here's some information I found: > > > > http://www.gnu.org/software/wget/manual/wget.html#Time_002dStamping > > > > Have we considered this in the past? I don't recall it. Maybe we should take a look, it could be simple to implement, and we would save some bandwidth on our main mirror and on other mirrors worldwide. > > Just adding --timestamping would already be a great benefit. > > Peter, what do you think? I could do some tests I guess. What I did was to make the default for expired catalogs 14 days but I think most people add -U to their command line all the time. Is timestamping available in our old static wget binaries (those I distribute with pkgutil as a last resort)? /peter From dam at opencsw.org Mon Oct 28 13:40:04 2013 From: dam at opencsw.org (Dagobert Michelsen) Date: Mon, 28 Oct 2013 13:40:04 +0100 Subject: Using conditional GET or wget timestamping for the catalog files In-Reply-To: References: Message-ID: <29E0263C-CB1C-477C-8D2B-4B2C8E4CFAD2@opencsw.org> Hi Peter, Am 28.10.2013 um 13:34 schrieb Peter Bonivart : > On Mon, Oct 28, 2013 at 11:05 AM, Dagobert Michelsen wrote: >> Am 28.10.2013 um 10:37 schrieb Maciej (Matchek) Blizi?ski : >>> Hey Peter (B) and maintainers, >>> >>> I spoke to Dago a few days ago, and we had a chat about a large portion of traffic from our main mirror being just the catalog files, that is, the files named 'catalog' that are downloaded and re-downloaded a countless number of times. The mirror can withstand it, but it's a constant stream of a few megabytes per second, day and night. >> >> Some numbers: we have constantly 3-4 MB per second. This is not a problem ATM as we >> have a direct gigabit uplink to the internet, but summing this up it is roughly >> 10 TB. Just as a comparison: Amazon would charge $0,120 per GB resulting in 1200$ !! >> So I would like to take the initiative and see that we save bandwidth now that we still >> have the cheap mirror. >> >>> Perhaps this can be helped by using the conditional GET with the possible HTTP 304 Not Modified response, or timestamping. wget has an option to timestamp files, and it can issue just a HEAD request to skip downloading the whole file. Here's some information I found: >>> >>> http://www.gnu.org/software/wget/manual/wget.html#Time_002dStamping >>> >>> Have we considered this in the past? I don't recall it. Maybe we should take a look, it could be simple to implement, and we would save some bandwidth on our main mirror and on other mirrors worldwide. >> >> Just adding --timestamping would already be a great benefit. >> >> Peter, what do you think? > > I could do some tests I guess. What I did was to make the default for > expired catalogs 14 days but I think most people add -U to their > command line all the time. I think the main problem is with our puppet provider, maybe it should be changed there. When I talked to some downstream user they used 10 minute updates with -U for each client, 10 servers with 20 zones each = 200 downloads every 10 minutes = every 3 seconds one download for just one "customer"! > Is timestamping available in our old static wget binaries (those I > distribute with pkgutil as a last resort)? Probably, timestamping is a pretty basic feature based on HTTP header. Best regards -- Dago -- "You don't become great by trying to be great, you become great by wanting to do something, and then doing it so hard that you become great in the process." - xkcd #896 -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2351 bytes Desc: not available URL: From bonivart at opencsw.org Mon Oct 28 16:21:07 2013 From: bonivart at opencsw.org (Peter Bonivart) Date: Mon, 28 Oct 2013 16:21:07 +0100 Subject: Using conditional GET or wget timestamping for the catalog files In-Reply-To: <29E0263C-CB1C-477C-8D2B-4B2C8E4CFAD2@opencsw.org> References: <29E0263C-CB1C-477C-8D2B-4B2C8E4CFAD2@opencsw.org> Message-ID: On Mon, Oct 28, 2013 at 1:40 PM, Dagobert Michelsen wrote: > Probably, timestamping is a pretty basic feature based on HTTP header. >From the man page of wget: For this reason, -N (for timestamp-checking) is not supported in combination with -O: since file is always newly created, it will always have a very new timestamp. A warning will be issued if this combination is used. Option -O is used all over unfortunately. From maciej at opencsw.org Mon Oct 28 18:30:33 2013 From: maciej at opencsw.org (=?UTF-8?Q?Maciej_=28Matchek=29_Blizi=C5=84ski?=) Date: Mon, 28 Oct 2013 17:30:33 +0000 Subject: Using conditional GET or wget timestamping for the catalog files In-Reply-To: References: <29E0263C-CB1C-477C-8D2B-4B2C8E4CFAD2@opencsw.org> Message-ID: 2013/10/28 Peter Bonivart : > Option -O is used all over unfortunately. Is it more "-O happens to be used" or "-O must be used by design"? Maciej From bonivart at opencsw.org Mon Oct 28 19:45:36 2013 From: bonivart at opencsw.org (Peter Bonivart) Date: Mon, 28 Oct 2013 19:45:36 +0100 Subject: Using conditional GET or wget timestamping for the catalog files In-Reply-To: References: <29E0263C-CB1C-477C-8D2B-4B2C8E4CFAD2@opencsw.org> Message-ID: On Mon, Oct 28, 2013 at 6:30 PM, Maciej (Matchek) Blizi?ski wrote: > > 2013/10/28 Peter Bonivart : > > Option -O is used all over unfortunately. > > Is it more "-O happens to be used" or "-O must be used by design"? >From taking a quick look at the code section where catalogs are fetched it seems to be a case of "download to catalog.tmp, check if ok, if so rename to catalog, otherwise we still have the old catalog". I guess one could do it the other way around, rename current catalog first, download without -O, check and rename back if not successful. It's also used to download to another location than current work dir, so -O sets an absolute path like "/var/opt/csw/pkgutil/catalog....". That could be worked around by changing current work dir. From dam at opencsw.org Mon Oct 28 20:13:59 2013 From: dam at opencsw.org (Dagobert Michelsen) Date: Mon, 28 Oct 2013 20:13:59 +0100 Subject: Using conditional GET or wget timestamping for the catalog files In-Reply-To: References: <29E0263C-CB1C-477C-8D2B-4B2C8E4CFAD2@opencsw.org> Message-ID: <0149E16A-7134-433C-83E7-DB84D6E9C3A9@opencsw.org> Hi Peter, Am 28.10.2013 um 19:45 schrieb Peter Bonivart : > On Mon, Oct 28, 2013 at 6:30 PM, Maciej (Matchek) Blizi?ski > wrote: >> >> 2013/10/28 Peter Bonivart : >>> Option -O is used all over unfortunately. >> >> Is it more "-O happens to be used" or "-O must be used by design"? > > From taking a quick look at the code section where catalogs are > fetched it seems to be a case of "download to catalog.tmp, check if > ok, if so rename to catalog, otherwise we still have the old catalog". > > I guess one could do it the other way around, rename current catalog > first, download without -O, check and rename back if not successful. > > It's also used to download to another location than current work dir, > so -O sets an absolute path like "/var/opt/csw/pkgutil/catalog....". > That could be worked around by changing current work dir. Yes, but the dates must be preserved during copying. Maybe --force should ignore the timestamping on -U ? Best regards -- Dago -- "You don't become great by trying to be great, you become great by wanting to do something, and then doing it so hard that you become great in the process." - xkcd #896 -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2351 bytes Desc: not available URL: From dam at opencsw.org Thu Oct 31 16:39:23 2013 From: dam at opencsw.org (Dagobert Michelsen) Date: Thu, 31 Oct 2013 16:39:23 +0100 Subject: Downtime in the farm tomorrow Message-ID: <96D043F0-D9ED-4D79-9791-7244C2D29732@opencsw.org> Hi folks, I plan to patch the buildfarm machine tomorrow evening. In the past we had crashes during "zfs send" as there were some large objects in zfs not freed properly, this is fixed now in 150400-04. The bug has prevented me from taking backups lately which is pretty bad and I really look forward to have this fixed. Sorry for the inconvenience -- Dago -- "You don't become great by trying to be great, you become great by wanting to do something, and then doing it so hard that you become great in the process." - xkcd #896 -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2351 bytes Desc: not available URL: