From bwalton at opencsw.org Tue Mar 8 04:50:56 2011 From: bwalton at opencsw.org (Ben Walton) Date: Mon, 07 Mar 2011 22:50:56 -0500 Subject: [csw-users] beware the ggettext update Message-ID: <1299556195-sup-8190@pinkfloyd.chass.utoronto.ca> Hi All, The update to ggettext I released on the weekend has some issues with missing dependencies. All of the pieced (including legacy library versions) should be available, but they may not be pulled in appropriately during an upgrade. I'm working on this and should have a valid update in the next day or so. Thanks -Ben -- Ben Walton Systems Programmer - CHASS University of Toronto C:416.407.5610 | W:416.978.4302 From humann at tcs.inf.tu-dresden.de Mon Mar 14 10:42:39 2011 From: humann at tcs.inf.tu-dresden.de (Petra Humann) Date: Mon, 14 Mar 2011 10:42:39 +0100 Subject: [csw-users] nautilus and jpeg Message-ID: Hello, I' using Sun Solaris 10 x86. nautilus is crashing with: 7 {host}:~>nautilus ** GdkPixbuf:ERROR:io-jpeg.c:123:fatal_error_handler: code should not be reached ** (process:7447): WARNING **: Read error: bytes 0: Error 0 Abort Exit 134 8 {host}:~>truss nautilus | & grep jpeg xstat(2, "/opt/csw/lib/libjpeg.so.62", 0x080471D8) = 0 resolvepath("/opt/csw/lib/libjpeg.so.62", "/opt/csw/lib/libjpeg.so. 62.0.0", 1023) = 30 open("/opt/csw/lib/libjpeg.so.62", O_RDONLY) = 3 /1: stat64("/opt/csw/lib/gtk-2.0/2.10.0/loaders/libpixbufloader- jpeg.so", 0x08036F00) = 0 /1: xstat(2, "/opt/csw/lib/gtk-2.0/2.10.0/loaders/libpixbufloader- jpeg.so", 0x080367C0) = 0 /1: resolvepath("/opt/csw/lib/gtk-2.0/2.10.0/loaders/ libpixbufloader-jpeg.so", "/opt/csw/lib/gtk-2.0/2.10.0/loaders/ libpixbufloader-jpeg.so", 1023) = 59 /1: open("/opt/csw/lib/gtk-2.0/2.10.0/loaders/libpixbufloader- jpeg.so", O_RDONLY) = 21 /1: xstat(2, "/opt/csw/lib/libjpeg.so.7", 0x08036708) = 0 /1: resolvepath("/opt/csw/lib/libjpeg.so.7", "/opt/csw/lib/ libjpeg.so.7.0.0", 1023) = 29 /1: open("/opt/csw/lib/libjpeg.so.7", O_RDONLY) = 21 GdkPixbuf:ERROR:io-jpeg.c:123:fatal_error_handler: code should not be reached Whereis the error? Opening a jpeg file with eog is also crashing with the same error. Thank you. Petra Humann From james at opencsw.org Mon Mar 14 11:03:14 2011 From: james at opencsw.org (James Lee) Date: Mon, 14 Mar 2011 10:03:14 GMT Subject: [csw-users] nautilus and jpeg References: Message-ID: <20110314.10031400.1185929020@gyor.oxdrove.co.uk> On 14/03/11, 09:42:39, Petra Humann wrote regarding [csw-users] nautilus and jpeg: > nautilus is crashing with: ... > 8 {host}:~>truss nautilus | & grep jpeg > xstat(2, "/opt/csw/lib/libjpeg.so.62", 0x080471D8) = 0 ... > /1: xstat(2, "/opt/csw/lib/libjpeg.so.7", 0x08036708) = 0 ... > Whereis the error? GTK2 has been built with the new jpeg, natuilis uses the old, This is most likely is the cause. Solution: use one jpeg lib. Suggestion: get nautilus rebuilt. $ ldd /opt/csw/bin/nautilus | grep jpeg libjpeg.so.62 => /opt/csw/lib/libjpeg.so.62 $ ldd /opt/csw/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-jpeg.so | grep jpeg libjpeg.so.7 => /opt/csw/lib/libjpeg.so.7 James. From humann at tcs.inf.tu-dresden.de Tue Mar 15 10:43:16 2011 From: humann at tcs.inf.tu-dresden.de (Petra Humann) Date: Tue, 15 Mar 2011 10:43:16 +0100 Subject: [csw-users] nautilus and jpeg In-Reply-To: <20110314.10031400.1185929020@gyor.oxdrove.co.uk> References: <20110314.10031400.1185929020@gyor.oxdrove.co.uk> Message-ID: Am 14.03.2011 um 11:03 schrieb James Lee: > Solution: use one jpeg lib. > Suggestion: get nautilus rebuilt. So all applications using libjpeg.so.62 need to rebuilt. http://www.opencsw.org/packages/jpeg/: These are 133 software packages. I made a symblic link from /opt/csw/lib/libjpeg.so.62 to /opt/csw/lib/ libjpeg.so.7. Now nautilus and eog work. But if I log in in Gnome(CSW), the session crashs with "segmentation fault" yet after a few seconds or minutes. Regards. P. From james at opencsw.org Tue Mar 15 11:01:02 2011 From: james at opencsw.org (James Lee) Date: Tue, 15 Mar 2011 10:01:02 GMT Subject: [csw-users] nautilus and jpeg In-Reply-To: References: <20110314.10031400.1185929020@gyor.oxdrove.co.uk> Message-ID: <20110315.10010200.3457806607@gyor.oxdrove.co.uk> On 15/03/11, 09:43:16, Petra Humann wrote regarding Re: [csw-users] nautilus and jpeg: > > Solution: use one jpeg lib. > > Suggestion: get nautilus rebuilt. > So all applications using libjpeg.so.62 need to rebuilt. > http://www.opencsw.org/packages/jpeg/: These are 133 software packages. Only if they open/use/abuse both in the same process/thread but yes it would avoid the question. There are 2 distinct libraries and I could guess they share the same namespace or static memory. The writers can't have foreseen and planned for the need to link the two libraries at the same time. > I made a symblic link from /opt/csw/lib/libjpeg.so.62 to /opt/csw/lib/ > libjpeg.so.7. > Now nautilus and eog work. > But if I log in in Gnome(CSW), the session crashs with "segmentation > fault" yet > after a few seconds or minutes. Which isn't surprising as the API should have changed if it needed an SONAME change. James. From lsiden at westside-consulting.com Tue Mar 15 18:47:42 2011 From: lsiden at westside-consulting.com (Larry Siden) Date: Tue, 15 Mar 2011 13:47:42 -0400 Subject: [csw-users] SunFreeware vs. Blastwave Message-ID: I just installed a new Sun workstation running Solaris 5.10. Being new to Solaris, I wound up installing both pkg-get and pkgutil. I'd like to use one or the other exclusively to avoid potential conflicts, but each seems to cover different packages from the mirror sites they are defaulted with. For example, the mirror http://download.blastwave.org/csw/unstable has git 1.6.3, while the SunFreeware mirror ftp://ftp.sunfreeware.com/pub/freewarehas Git 1.7.4. The mirror http://download.blastwave.org/csw/stable doesn't even contain git! OTOH, the blastwave mirror has many PHP modules, while the SunFreeware mirror site has only different versions of php and no php-cli. Also, AFIKT only Blastwave has gpg signed packages. Why does each have such different coverage? Are they targeted at different use cases (for example webservers vs something else)? Can I mix and match packages from each without creating conflicts? Larry Siden, Westside Consulting LLC westside-consulting.com 734-926-9614 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bwalton at opencsw.org Tue Mar 15 18:58:01 2011 From: bwalton at opencsw.org (Ben Walton) Date: Tue, 15 Mar 2011 13:58:01 -0400 Subject: [csw-users] SunFreeware vs. Blastwave In-Reply-To: References: Message-ID: <1300211610-sup-2645@pinkfloyd.chass.utoronto.ca> Excerpts from Larry Siden's message of Tue Mar 15 13:47:42 -0400 2011: Hi Larry, > For example, the mirror http://download.blastwave.org/csw/unstable has git > 1.6.3, while the SunFreeware mirror You likely want to grab the pkgutil and/or pkg-get from http://opencsw.org/get-it. They will have OpenCSW mirrors set by default, not blastwave ones. You'll get git 1.7.3.2 from us. I hope to have 1.7.4.1 out the door soon but have been tied up with other things. > ftp://ftp.sunfreeware.com/pub/freewarehas Git 1.7.4. The mirror > http://download.blastwave.org/csw/stable doesn't even contain git! The pkg-get tool is designed to be compatible with the sunfreeware catalog, but that's not a design goal for pkgutil, afaik. > OTOH, the blastwave mirror has many PHP modules, while the > SunFreeware mirror site has only different versions of php and no > php-cli. OpenCSW has a good php stack too...an update is in the works for it right now. > Why does each have such different coverage? Are they targeted at > different use cases (for example webservers vs something else)? Different people with different needs, most likely. Most maintainers in OpenCSW package things they use/need themselves. That explains much of the difference. You should find that the OpenCSW (and to a good extent Blastwave) provide a more integrated set of packages than sunfreeware as the philosophies differ. (This isn't a knock on sunfreeware in any way.) > Can I mix and match packages from each without creating conflicts? You could run a daemon from one with a client from another, but you cannot share libraries between them in any sane fashion. HTH. -Ben -- Ben Walton Systems Programmer - CHASS University of Toronto C:416.407.5610 | W:416.978.4302 From bonivart at opencsw.org Tue Mar 15 19:00:56 2011 From: bonivart at opencsw.org (Peter Bonivart) Date: Tue, 15 Mar 2011 19:00:56 +0100 Subject: [csw-users] SunFreeware vs. Blastwave In-Reply-To: References: Message-ID: On Tue, Mar 15, 2011 at 6:47 PM, Larry Siden wrote: > I just installed a new Sun workstation running Solaris 5.10. ?Being new to > Solaris, I wound up installing both pkg-get and pkgutil. ?I'd like to use > one or the other exclusively to avoid potential conflicts, but each seems to > cover different packages from the mirror sites they are defaulted with. > For example, the mirror http://download.blastwave.org/csw/unstable has git > 1.6.3, while the SunFreeware mirror?ftp://ftp.sunfreeware.com/pub/freeware > has Git 1.7.4. ?The mirror http://download.blastwave.org/csw/stable doesn't > even contain git! > OTOH, the blastwave mirror has many PHP modules, while the SunFreeware > mirror site has only different versions of php and no php-cli. > Also, AFIKT only Blastwave has gpg signed packages. > > Why does each have such different coverage? ?Are they targeted at different > use cases (for example webservers vs something else)? > Can I mix and match packages from each without creating conflicts? First, note that you have written to the OpenCSW mailing list but you're asking about Sunfreeware and Blastwave. Have you looked at www.opencsw.org? I think you can use pkg-get with Sunfreeware but you can't use pkgutil since Sunfreeware publishes an old format of the catalog. You can mix packages between Sunfreeware and Blastwave/OpenCSW but NOT between Blastwave and OpenCSW since both install files in /opt/csw. You have to choose which one to go with and select mirrors from each project. I would recommend taking a look at this page to look at OpenCSW's packages: http://www.opencsw.org/get-it/packages/ You can also make a comparison between all three here: http://buildfarm.opencsw.org/competition/competition.html. I'm not 100% sure this page is open but if you can load it look also at the bottom of it for a summary. My recommendation would be use OpenCSW exclusively. Also pkgutil over pkg-get since I happen to be the author of pkgutil. :) /peter From dam at opencsw.org Tue Mar 15 19:52:06 2011 From: dam at opencsw.org (Dagobert Michelsen) Date: Tue, 15 Mar 2011 19:52:06 +0100 Subject: [csw-users] OpenCSW question about package CSWrrd In-Reply-To: <201103151844.p2FIisZi014180@www.opencsw.org> References: <201103151844.p2FIisZi014180@www.opencsw.org> Message-ID: <8E80F5AA-9C3D-49C2-86D1-0D4722C2E4D8@opencsw.org> Hi Scott, Am 15.03.2011 um 19:44 schrieb ssevertson at digitalmeasures.com: > Just curious if an upgrade to RRDTool 1.4.5 was planned for the near future. We\'re experiencing very slow performance, possibly due to RRDTool issue #210 (http://oss.oetiker.ch/rrdtool-trac/ticket/210), which may be fixed by 1.4.5. Yes, I have also prepared to split off the library according to to the latest standard. The packages for 1.4.5 should be available soon. > If not, do you have a scripted or documented build process that I could see? Sure, the build recipe for 1.4.4 is available at http://sourceforge.net/apps/trac/gar/browser/csw/mgar/pkg/rrdtool/trunk/ I am still working on 1.4.5. Best regards -- Dago From whitetr6 at gmail.com Tue Mar 15 20:05:31 2011 From: whitetr6 at gmail.com (Mark Creamer) Date: Tue, 15 Mar 2011 15:05:31 -0400 Subject: [csw-users] Configuration files .CSW extension Message-ID: Sorry for the total noob question but I haven't been able to find this piece of information in documentation pages. Some (or maybe all - I only know about the few I've installed) of the packages install config files named for example [filename].conf.CSW alongside of files without the .CSW, like [filename].conf. What is the purpose of the .CSW version of these files. I saw this first in Nagios when I installed it from OpenCSW, but when I need to change something, I don't know which of the two files to edit. Thanks very much, -- Mark -------------- next part -------------- An HTML attachment was scrubbed... URL: From bonivart at opencsw.org Tue Mar 15 20:12:24 2011 From: bonivart at opencsw.org (Peter Bonivart) Date: Tue, 15 Mar 2011 20:12:24 +0100 Subject: [csw-users] Configuration files .CSW extension In-Reply-To: References: Message-ID: On Tue, Mar 15, 2011 at 8:05 PM, Mark Creamer wrote: > Sorry for the total noob question but I haven't been able to find this piece > of information in documentation pages. Some (or maybe all - I only know > about the few I've installed) of the packages install config files named for > example [filename].conf.CSW alongside of files without the .CSW, like > [filename].conf. What is the purpose of the .CSW version of these files. I > saw this first in Nagios when I installed it from OpenCSW, but when I need > to change something, I don't know which of the two files to edit. Look at it as a template, the default file. You do your changes in foo.conf and when you upgrade the package it will compare the two and if there's differences foo.conf will be left so when the new package is installed it will not be overwritten. During a new installation of a package they will be the same, foo.conf.CSW is copied to foo.conf. In short, edit the ones without .CSW. :) I hope that explains things. /peter From whitetr6 at gmail.com Tue Mar 15 20:14:22 2011 From: whitetr6 at gmail.com (Mark Creamer) Date: Tue, 15 Mar 2011 15:14:22 -0400 Subject: [csw-users] Configuration files .CSW extension In-Reply-To: References: Message-ID: Yes thanks Peter. Much appreciated. Mark On Tue, Mar 15, 2011 at 3:12 PM, Peter Bonivart wrote: > On Tue, Mar 15, 2011 at 8:05 PM, Mark Creamer wrote: > > Sorry for the total noob question but I haven't been able to find this > piece > > of information in documentation pages. Some (or maybe all - I only know > > about the few I've installed) of the packages install config files named > for > > example [filename].conf.CSW alongside of files without the .CSW, like > > [filename].conf. What is the purpose of the .CSW version of these files. > I > > saw this first in Nagios when I installed it from OpenCSW, but when I > need > > to change something, I don't know which of the two files to edit. > > Look at it as a template, the default file. You do your changes in > foo.conf and when you upgrade the package it will compare the two and > if there's differences foo.conf will be left so when the new package > is installed it will not be overwritten. > > During a new installation of a package they will be the same, > foo.conf.CSW is copied to foo.conf. > > In short, edit the ones without .CSW. :) > > I hope that explains things. > > /peter > _______________________________________________ > users mailing list > users at lists.opencsw.org > https://lists.opencsw.org/mailman/listinfo/users > -- Mark -------------- next part -------------- An HTML attachment was scrubbed... URL: From bwalton at opencsw.org Tue Mar 15 21:09:31 2011 From: bwalton at opencsw.org (Ben Walton) Date: Tue, 15 Mar 2011 16:09:31 -0400 Subject: [csw-users] pending ruby updates Message-ID: <1300219192-sup-7850@pinkfloyd.chass.utoronto.ca> Hi All, In the next few days, I'm going to release an update to the ruby packages. There are a few user visible changes in this batch, so early feedback is welcomed. 1. Binaries are going to be suffixed 18 to denote the 1.8 ruby branch. 2. Alternatives is going to be used to determine what /opt/csw/bin/{ruby,irb,etc} refer to (the 18 version by default). 3. The cswrbconfig tool is being phased out in favour of alternatives (using the name rbconfig18). To get the gcc4 version, you'll need to add the CSWruby18-gcc4 package. 4. The old package names CSWruby, etc are turning into stub packages that depend on the newer names to provide a smooth transition. The pending updates can be retrieved from: http://buildfarm.opencsw.org/experimental.html#ruby-dublin These changes are hopefully transparent, but there is one area that may cause you grief. The old CSWlibruby1 package is going to remain on your systems in case something external is linked to it. The new package will be CSWlibruby18 and it delivers a library with a different SONAME. I don't have anything on my own systems that breaks with this change, but maybe you do? I'm interested in hearing whether or not you've built anything locally against the old library and if you think there is anything extra that I can do to make this transition easier. The rationale for the transition is two-fold. 1. We want to make it trivial to provide both ruby 1.8 and ruby 1.9 on systems as there is increasing demand. 2. We want to be able to easily package gems for both versions which means we need versioned names for package dependencies. As always, suggestions/criticisms accepted. Thanks -Ben -- Ben Walton Systems Programmer - CHASS University of Toronto C:416.407.5610 | W:416.978.4302 From upendra.gandhi at gmail.com Fri Mar 18 15:08:16 2011 From: upendra.gandhi at gmail.com (upen) Date: Fri, 18 Mar 2011 09:08:16 -0500 Subject: [csw-users] csw-gv in solaris 10 Message-ID: Hi, I can use gv fine if I don't have ~/.gv in my home directory. If I have .gv which was being used with old version of gv then /opt/csw/bin/gv fails complaining below, /opt/csw/bin/gv gv Error: incompatible resources. One of the files /opt/csw/share/gv/gv_system.ad /export/home/user/.gv belongs to an older version of gv and cannot be used. Please remove or update the outdated file. Quite probably your ~/.gv is too old. Running gv-update-userconfig should help by removing all incompatible resources. when I run gv-update-userconfig /opt/csw/bin/gv-update-userconfig bash: /opt/csw/bin/gv-update-userconfig: bad interpreter: No such file or directory and if I am in csh, then I get, /opt/csw/bin/gv-update-userconfig bash: /opt/csw/bin/gv-update-userconfig: bad interpreter: No such file or directory/opt/csw/bin/gv-update-userconfig: Command not found cat .gv GV.scale: 0 GV.scaleBase: 1 GV.fallbackOrientation: Portrait GV.orientation: Automatic GV.fallbackPageMedia: Letter GV.pageMedia: Automatic GV.swapLandscape: False GV.autoResize: True GV.antialias: False GV.watchFile: True GV.ignoreEOF: True GV.respectDSC: True GV.watchFileFrequency: 500 GV.printCommand: lpr -P$FDPRINTER old version of gv is : pkginfo -l SMCgv (/usr/local/bin/gv) PKGINST: SMCgv ARCH: sparc VERSION: 3.5.8 pkginfo -l CSWgv PKGINST: CSWgv NAME: gv - X graphic user interface for the Ghostscript interpreter CATEGORY: application ARCH: sparc VERSION: 3.7.1,REV=2011.01.01 Any help is appreciated. Thanks. From james at opencsw.org Fri Mar 18 15:14:56 2011 From: james at opencsw.org (James Lee) Date: Fri, 18 Mar 2011 14:14:56 GMT Subject: [csw-users] csw-gv in solaris 10 In-Reply-To: References: Message-ID: <20110318.14145600.2544323303@gyor.oxdrove.co.uk> On 18/03/11, 14:08:16, upen wrote regarding [csw-users] csw-gv in solaris 10: > when I run gv-update-userconfig > /opt/csw/bin/gv-update-userconfig > bash: /opt/csw/bin/gv-update-userconfig: bad interpreter: No such file > or directory Do you have CSWperl installed? $ head -1 /opt/csw/bin/gv-update-userconfig #!/opt/csw/bin/perl From dam at opencsw.org Fri Mar 18 15:16:40 2011 From: dam at opencsw.org (Dagobert Michelsen) Date: Fri, 18 Mar 2011 15:16:40 +0100 Subject: [csw-users] csw-gv in solaris 10 In-Reply-To: <20110318.14145600.2544323303@gyor.oxdrove.co.uk> References: <20110318.14145600.2544323303@gyor.oxdrove.co.uk> Message-ID: <14B59F98-9665-4DD0-8743-C958EA4048AF@opencsw.org> Hi James, Am 18.03.2011 um 15:14 schrieb James Lee: > On 18/03/11, 14:08:16, upen wrote regarding > [csw-users] csw-gv in solaris 10: > >> when I run gv-update-userconfig > >> /opt/csw/bin/gv-update-userconfig >> bash: /opt/csw/bin/gv-update-userconfig: bad interpreter: No such file >> or directory > > Do you have CSWperl installed? > > $ head -1 /opt/csw/bin/gv-update-userconfig > #!/opt/csw/bin/perl The Perl script looks pretty simple, as gv has no dependency on CSWperl (and probably should not have) it may be good to switch to /usr/bin/perl for this script. Best regards -- Dago From upendra.gandhi at gmail.com Fri Mar 18 15:22:26 2011 From: upendra.gandhi at gmail.com (upen) Date: Fri, 18 Mar 2011 09:22:26 -0500 Subject: [csw-users] csw-gv in solaris 10 In-Reply-To: <14B59F98-9665-4DD0-8743-C958EA4048AF@opencsw.org> References: <20110318.14145600.2544323303@gyor.oxdrove.co.uk> <14B59F98-9665-4DD0-8743-C958EA4048AF@opencsw.org> Message-ID: On Fri, Mar 18, 2011 at 9:16 AM, Dagobert Michelsen wrote: > Hi James, > > Am 18.03.2011 um 15:14 schrieb James Lee: >> On 18/03/11, 14:08:16, upen wrote regarding >> [csw-users] csw-gv in solaris 10: >> >>> when I run gv-update-userconfig >> >>> /opt/csw/bin/gv-update-userconfig >>> bash: /opt/csw/bin/gv-update-userconfig: bad interpreter: No such file >>> or directory >> >> Do you have CSWperl installed? James, thanks, my mistake I should have paid attention to first line, it was looking for csw perl and all time I thought I had perl installed why it didn't work. I will either install cswperl or as Dango suggests , I will use /usr/bin/perl (SUNWpl5u) >> >> $ head -1 /opt/csw/bin/gv-update-userconfig >> #!/opt/csw/bin/perl Correct! should have noticed it. > > The Perl script looks pretty simple, as gv has no dependency on CSWperl > (and probably should not have) it may be good to switch to /usr/bin/perl > for this script. Thanks Dango, I will go ahead and edit to use /usr/bin/perl From james at opencsw.org Fri Mar 18 15:29:07 2011 From: james at opencsw.org (James Lee) Date: Fri, 18 Mar 2011 14:29:07 GMT Subject: [csw-users] csw-gv in solaris 10 In-Reply-To: References: <20110318.14145600.2544323303@gyor.oxdrove.co.uk> <14B59F98-9665-4DD0-8743-C958EA4048AF@opencsw.org> Message-ID: <20110318.14290700.556390322@gyor.oxdrove.co.uk> On 18/03/11, 14:22:26, upen wrote regarding Re: [csw-users] csw-gv in solaris 10: > >>> when I run gv-update-userconfig > >> > >>> /opt/csw/bin/gv-update-userconfig > >>> bash: /opt/csw/bin/gv-update-userconfig: bad interpreter: No such file > >>> or directory > >> > >> Do you have CSWperl installed? > James, thanks, my mistake I should have paid attention to first line, > it was looking for csw perl and all time I thought I had perl > installed why it didn't work. I will either install cswperl or as > Dango suggests , I will use /usr/bin/perl (SUNWpl5u) It should use #!/usr/bin/perl or better "#!/usr/bin/env perl"; I'll change the build to override its choice. Sorry for the inconvenience. James. From phil at bolthole.com Sun Mar 20 22:30:35 2011 From: phil at bolthole.com (Philip Brown) Date: Sun, 20 Mar 2011 14:30:35 -0700 Subject: [csw-users] please vote on your preferences Message-ID: Hello valued OpenCSW users :) A question has come up regarding what the best interface for our packages would be, in the area of compiling tools, and so I'd like to ask for your input. Voting is pretty quick and painless, so please dont let that put you off; your opinion is important! The question is around the issue of development tools, that come with their own wrappers or other interfaces, to compiling and linking things. (ie: tools to compile perl modules, apache modules, python/ruby, etc...) Sometimes, it is necessary for opencsw to "pick one and stick with one (compiler)". However, in other cases, it is possible to support both gcc, and cc. So the question then becomes, "how would you prefer that we do so?" The two ways we have thought of so far, are: a) Supply two versions of the front end (or possibly, two versions of the back-end configuration file), and then allow your site admin to pick ONE of them to be globally active, via our (alternatives) mechanism. b) auto-select flags, based on whether you set your CC environment to be "gcc" or "cc". In both cases, some reasonable default will be chosen, if no explicit selection is made on your end. Please let us know which way you, our users, would generally prefer! To vote: Please go to http://www.ballotbin.com/voterReg.php?b=21033 and put in your email address It will then email you a custom link for you to vote. Dont worry, you dont have to "create an account" or anything; this is a one-time dealie. Once you get to the page, it's basically just two clicks, and you are done. Thank you for participating! From phil at bolthole.com Sun Mar 20 22:38:40 2011 From: phil at bolthole.com (Philip Brown) Date: Sun, 20 Mar 2011 14:38:40 -0700 Subject: [csw-users] SunFreeware vs. Blastwave Message-ID: FYI to Larry Siden: I'm not sure where you got the idea that blastwave supports signed packages whereas opencsw does not. (or perhaps, you were only commenting on blastwave vs sunfreeware? At any rate...) As far as I know, blastwave still uses the same signing mechanisms that I wrote, before the OpenCSW split-off. So, both blastwave and opencsw still use gpg for package integrity in the same way I think. From dclarke at blastwave.org Sun Mar 20 23:08:39 2011 From: dclarke at blastwave.org (Dennis Clarke) Date: Sun, 20 Mar 2011 18:08:39 -0400 (EDT) Subject: [csw-users] SunFreeware vs. Blastwave Message-ID: <60860.10.0.66.17.1300658919.squirrel@interact.purplecow.org> > FYI to Larry Siden: > I'm not sure where you got the idea that blastwave supports signed > packages whereas opencsw does not. > (or perhaps, you were only commenting on blastwave vs sunfreeware? At > any rate...) > As far as I know, blastwave still uses the same signing mechanisms > that I wrote, before the OpenCSW split-off. > > So, both blastwave and opencsw still use gpg for package integrity in > the same way I think. Everything written by you was thrown away the next day after you stole away in the middle of the night with *everything* you could copy, carry or steal, that includes the Blastwave GPG key. Everything was re-written from scratch after that and no one here will touch anything that bears your name. Ever. -- Dennis Clarke dclarke at opensolaris.ca <- Email related to the open source Solaris dclarke at blastwave.org <- Email related to open source for Solaris From phil at bolthole.com Mon Mar 21 06:18:02 2011 From: phil at bolthole.com (Philip Brown) Date: Sun, 20 Mar 2011 22:18:02 -0700 Subject: [csw-users] SunFreeware vs. Blastwave Message-ID: Dennis, have a care; what you wrote, is tantamount to slander. There was no "stealing" involved: nothing that actually *belonged to you*, was removed. "CSW" never "belonged" to you, and thus neither did the signing key for "CSW packaging". Speaking of legal issues, how about your breach of agreement to allow the maintainers interested in solaris 8 work, to continue using a subdomain of blastwave: specifically, "csw.opencsw.org", and you would keep your hands off? Yet you reneged when you discovered you would not be controlling the hardware any more. You then chose to destroy what did not belong to you... you attempted to wipe our mirror sites. Which you did, temporarily. Happily, we had backups. That would be another legal issue you are potentially liable for: deliberate destruction of data which does not belong to you. If you had not done those things, then there would never have been an OpenCSW split. Now, to readdress the technical question of our actual users: while the backend scripts may have changed, the basic cryptographic layers are the same, I believe. So, gpg support in pkg-get, and pkgutil, functions the same, for both blastwave catalogs, and opencsw catalogs. From phil at bolthole.com Wed Mar 23 17:01:42 2011 From: phil at bolthole.com (Philip Brown) Date: Wed, 23 Mar 2011 09:01:42 -0700 Subject: [csw-users] *automated* firefox4 installation wrapper Message-ID: FYI, for those people who are looking to use firefox 4 on solaris 10; I wrote a wrapper to automatically download and integrate the "contrib" build, with our library packages. I'm using it right now to post this email; it works quite well :) The usual "contrib" package, ships with add-on libs; updated versions of things that are newer than the usual solaris 10 versions of the libs. My script does not install those, but makes it use the csw ones instead. The script is currently living at http://buildfarm.opencsw.org/experimental/phil/firefox4_installer download it, and then either chmod 0755 firefox4_installer ./firefox4_installer or also probably ksh ./firefox4_installer would work too I tried to make it fairly bulletproof, but lemme know if you have any suggestions.. or if you just like it. Encouragement is always appreciated :) From lrhazi at gmail.com Mon Mar 28 19:00:02 2011 From: lrhazi at gmail.com (Mohamed Lrhazi) Date: Mon, 28 Mar 2011 13:00:02 -0400 Subject: [csw-users] Little bug regarding gpg public key Message-ID: I got this error and suggestion from pkg-get : ERROR: catalog failed signature check (status 2) You need to install the public key, either manually, or automatically through a keyserver. For keyserver use, try one of echo keyserver search.keyserver.net >>/.gnupg/options echo keyserver search.keyserver.net >>/.gnupg/gpg.conf For manual install of the key (recommended), try wget http://www.opencsw.org/mirrors gpg --import index.html Catalog failed signature verify. Quitting. The suggested manual procedure does not work because the gpg key in the html file has a
 at the beginning of the first line, and
at the end of the last line. Removing the tags fixes it. Thanks, Mohamed. From bonivart at opencsw.org Mon Mar 28 20:12:48 2011 From: bonivart at opencsw.org (Peter Bonivart) Date: Mon, 28 Mar 2011 20:12:48 +0200 Subject: [csw-users] Little bug regarding gpg public key In-Reply-To: References: Message-ID: On Mon, Mar 28, 2011 at 7:00 PM, Mohamed Lrhazi wrote: > The suggested manual procedure does not work because the gpg key in > the html file has a
 at the beginning of the first line, and
> 
at the end of the last line. > Removing the tags fixes it. I have fixed this, again. I swear I have fixed it at least five times and it keeps coming back! /peter From lrhazi at gmail.com Mon Mar 28 20:15:23 2011 From: lrhazi at gmail.com (Mohamed Lrhazi) Date: Mon, 28 Mar 2011 14:15:23 -0400 Subject: [csw-users] Little bug regarding gpg public key In-Reply-To: References: Message-ID: Then you fixing in it in the wrong place :) HTML out of templates? some other layer massages the HTML on delivery?... Thanks, Mohamed. On Mon, Mar 28, 2011 at 2:12 PM, Peter Bonivart wrote: > On Mon, Mar 28, 2011 at 7:00 PM, Mohamed Lrhazi wrote: >> The suggested manual procedure does not work because the gpg key in >> the html file has a
 at the beginning of the first line, and
>> 
at the end of the last line. >> Removing the tags fixes it. > > I have fixed this, again. I swear I have fixed it at least five times > and it keeps coming back! > > /peter > _______________________________________________ > users mailing list > users at lists.opencsw.org > https://lists.opencsw.org/mailman/listinfo/users > From bonivart at opencsw.org Mon Mar 28 20:20:55 2011 From: bonivart at opencsw.org (Peter Bonivart) Date: Mon, 28 Mar 2011 20:20:55 +0200 Subject: [csw-users] Little bug regarding gpg public key In-Reply-To: References: Message-ID: On Mon, Mar 28, 2011 at 8:15 PM, Mohamed Lrhazi wrote: > Then you fixing in it in the wrong place :) No, it's correct after fixing, like right now. But I'm not the only one editing that page. > HTML out of templates? some other layer massages the HTML on delivery?... Wordpress might have something to do with it. Or PEBKAC. :) /peter From lrhazi at gmail.com Mon Mar 28 21:00:42 2011 From: lrhazi at gmail.com (Mohamed Lrhazi) Date: Mon, 28 Mar 2011 15:00:42 -0400 Subject: [csw-users] Help building json ruby gem Message-ID: when I try to install json gem, I get this error: [root at albany solaris]$ gem install --no-rdoc --no-ri json Building native extensions. This could take a while... sh: make: not found ERROR: Error installing json: ERROR: Failed to build gem native extension. /opt/csw/bin/ruby extconf.rb checking for re.h... no creating Makefile make Gem files will remain installed in /opt/csw/lib/ruby/gems/1.8/gems/json-1.5.1 for inspection. Results logged to /opt/csw/lib/ruby/gems/1.8/gems/json-1.5.1/ext/json/ext/generator/gem_make.out I did install rubydev: [root at albany solaris]$ pkg-get -l|grep ruby libruby1 ruby rubydev rubygems I also installed gcc3... not sure if that was the right one to install though. Thanks a lot, Mohamed. From bwalton at opencsw.org Mon Mar 28 21:05:32 2011 From: bwalton at opencsw.org (Ben Walton) Date: Mon, 28 Mar 2011 15:05:32 -0400 Subject: [csw-users] Help building json ruby gem In-Reply-To: References: Message-ID: <1301339002-sup-1611@pinkfloyd.chass.utoronto.ca> Excerpts from Mohamed Lrhazi's message of Mon Mar 28 15:00:42 -0400 2011: Hi Mohamed, > Building native extensions. This could take a while... > sh: make: not found > ERROR: Error installing json: > ERROR: Failed to build gem native extension. This is a path issue, and maybe a bug in the package but I'll need to look tonight. Please run the command again with CSWgmake installed and PATH=/opt/csw/gnu:$PATH. > I also installed gcc3... not sure if that was the right one to > install though. You'll want gcc4. For now, you'll need to use the cswrbconfig utility to toggle which compiler is used to build gems as well. The pending release will use alternatives instead. Thanks -Ben -- Ben Walton Systems Programmer - CHASS University of Toronto C:416.407.5610 | W:416.978.4302 From lrhazi at gmail.com Mon Mar 28 21:14:22 2011 From: lrhazi at gmail.com (Mohamed Lrhazi) Date: Mon, 28 Mar 2011 15:14:22 -0400 Subject: [csw-users] Help building json ruby gem In-Reply-To: <1301339002-sup-1611@pinkfloyd.chass.utoronto.ca> References: <1301339002-sup-1611@pinkfloyd.chass.utoronto.ca> Message-ID: Thanks Ben. I get an error trying to rn that utility: [root at albany ml623]$ cswrbconfig /opt/csw/bin/cswrbconfig:6:in `readlink': No such file or directory - /opt/csw/lib/ruby/1.8/sparc-solaris2.8/rbconfig.rb (Errno::ENOENT) from /opt/csw/bin/cswrbconfig:6 also, whats gcc4 csw package name? gcc4 does not work: [root at albany ml623]$ pkg-get -i gcc4 ERROR: gcc4 unrecognized Perhaps you need to run pkg-get -U thanks, Mohamed. On Mon, Mar 28, 2011 at 3:05 PM, Ben Walton wrote: > Excerpts from Mohamed Lrhazi's message of Mon Mar 28 15:00:42 -0400 2011: > > Hi Mohamed, > >> Building native extensions. ?This could take a while... >> sh: make: not found >> ERROR: ?Error installing json: >> ? ? ? ? ERROR: Failed to build gem native extension. > > This is a path issue, and maybe a bug in the package but I'll need to > look tonight. ?Please run the command again with CSWgmake installed > and PATH=/opt/csw/gnu:$PATH. > >> I also installed gcc3... not sure if that was the right one to >> install though. > > You'll want gcc4. ?For now, you'll need to use the cswrbconfig utility > to toggle which compiler is used to build gems as well. ?The pending > release will use alternatives instead. > > Thanks > -Ben > -- > Ben Walton > Systems Programmer - CHASS > University of Toronto > C:416.407.5610 | W:416.978.4302 > > _______________________________________________ > users mailing list > users at lists.opencsw.org > https://lists.opencsw.org/mailman/listinfo/users > From bwalton at opencsw.org Mon Mar 28 21:18:28 2011 From: bwalton at opencsw.org (Ben Walton) Date: Mon, 28 Mar 2011 15:18:28 -0400 Subject: [csw-users] Help building json ruby gem In-Reply-To: References: <1301339002-sup-1611@pinkfloyd.chass.utoronto.ca> Message-ID: <1301339798-sup-9256@pinkfloyd.chass.utoronto.ca> Excerpts from Mohamed Lrhazi's message of Mon Mar 28 15:14:22 -0400 2011: > [root at albany ml623]$ cswrbconfig > /opt/csw/bin/cswrbconfig:6:in `readlink': No such file or directory - > /opt/csw/lib/ruby/1.8/sparc-solaris2.8/rbconfig.rb (Errno::ENOENT) > from /opt/csw/bin/cswrbconfig:6 You're on a fairly strange setup here. The directory with rbconfig.rb should be sparc-solaris2.9. What is the output of: pkgparam CSWruby VERSION ? > [root at albany ml623]$ pkg-get -i gcc4 > ERROR: gcc4 unrecognized > Perhaps you need to run pkg-get -U As a rule, you can get the package names from here: http://www.opencsw.org/packages/ You'll want CSWgcc4core. Thanks -Ben -- Ben Walton Systems Programmer - CHASS University of Toronto C:416.407.5610 | W:416.978.4302 From lrhazi at gmail.com Mon Mar 28 21:20:19 2011 From: lrhazi at gmail.com (Mohamed Lrhazi) Date: Mon, 28 Mar 2011 15:20:19 -0400 Subject: [csw-users] Help building json ruby gem In-Reply-To: <1301339798-sup-9256@pinkfloyd.chass.utoronto.ca> References: <1301339002-sup-1611@pinkfloyd.chass.utoronto.ca> <1301339798-sup-9256@pinkfloyd.chass.utoronto.ca> Message-ID: [root at albany ml623]$ pkgparam CSWruby VERSION 1.8.7p302,REV=2010.12.04 am going to detroy /opt/csw and start over... must installed the wrong packages at some point? On Mon, Mar 28, 2011 at 3:18 PM, Ben Walton wrote: > Excerpts from Mohamed Lrhazi's message of Mon Mar 28 15:14:22 -0400 2011: > >> [root at albany ml623]$ cswrbconfig >> /opt/csw/bin/cswrbconfig:6:in `readlink': No such file or directory - >> /opt/csw/lib/ruby/1.8/sparc-solaris2.8/rbconfig.rb (Errno::ENOENT) >> ? ? ? ? from /opt/csw/bin/cswrbconfig:6 > > You're on a fairly strange setup here. ?The directory with rbconfig.rb > should be sparc-solaris2.9. ?What is the output of: > > pkgparam CSWruby VERSION > > ? > >> [root at albany ml623]$ pkg-get -i gcc4 >> ERROR: gcc4 unrecognized >> Perhaps you need to run pkg-get -U > > As a rule, you can get the package names from here: > http://www.opencsw.org/packages/ > > You'll want CSWgcc4core. > > Thanks > -Ben > -- > Ben Walton > Systems Programmer - CHASS > University of Toronto > C:416.407.5610 | W:416.978.4302 > > _______________________________________________ > users mailing list > users at lists.opencsw.org > https://lists.opencsw.org/mailman/listinfo/users > From lrhazi at gmail.com Mon Mar 28 21:23:00 2011 From: lrhazi at gmail.com (Mohamed Lrhazi) Date: Mon, 28 Mar 2011 15:23:00 -0400 Subject: [csw-users] Help building json ruby gem In-Reply-To: <1301339798-sup-9256@pinkfloyd.chass.utoronto.ca> References: <1301339002-sup-1611@pinkfloyd.chass.utoronto.ca> <1301339798-sup-9256@pinkfloyd.chass.utoronto.ca> Message-ID: also, now that I fixed the path like you suggested, I get : [root at albany ml623]$ echo $PATH /opt/csw/gnu:/opt/csw/bin:/opt/openssh/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/ucb:/usr/local/bin:/usr/bin/X11:/etc:/opt/EMCpower/bin/64:/etc/emc/bin [root at albany ml623]$ ch)`gem ': gem install --no-rdoc --no-ri json Building native extensions. This could take a while... ERROR: Error installing json: ERROR: Failed to build gem native extension. /opt/csw/bin/ruby extconf.rb checking for re.h... no creating Makefile make /opt/SUNWspro/bin/cc -I. -I/opt/csw/lib/ruby/1.8/sparc-solaris2.9 -I/opt/csw/lib/ruby/1.8/sparc-solaris2.9 -I. -I/opt/csw/include -D_FILE_OFFSET_BITS=64 -KPIC -xO3 -m32 -xarch=v8 -xnorunpath -KPIC -O3 -c generator.c make: /opt/SUNWspro/bin/cc: Command not found make: *** [generator.o] Error 127 Gem files will remain installed in /opt/csw/lib/ruby/gems/1.8/gems/json-1.5.1 for inspection. Results logged to /opt/csw/lib/ruby/gems/1.8/gems/json-1.5.1/ext/json/ext/generator/gem_make.out I do have gmake installed: [root at albany ml623]$ pkgparam CSWgmake VERSION 3.82,REV=2010.07.28 From lrhazi at gmail.com Mon Mar 28 22:50:05 2011 From: lrhazi at gmail.com (Mohamed Lrhazi) Date: Mon, 28 Mar 2011 16:50:05 -0400 Subject: [csw-users] Help building json ruby gem In-Reply-To: References: <1301339002-sup-1611@pinkfloyd.chass.utoronto.ca> <1301339798-sup-9256@pinkfloyd.chass.utoronto.ca> Message-ID: I reinstalled all my CSW packages from scratch. I instlled gcc4 instead of three. and I get the same error apparently. Please see bellow. I notice that gcc does not get installed in the PATH, instead its in: /opt/csw/gcc4/bin, do I need that in my PATH as well? Thanks. [root at albany solaris]$ ch)`gem ': gem install --no-rdoc --no-ri json Building native extensions. This could take a while... ERROR: Error installing json: ERROR: Failed to build gem native extension. /opt/csw/bin/ruby extconf.rb checking for re.h... no creating Makefile make /opt/SUNWspro/bin/cc -I. -I/opt/csw/lib/ruby/1.8/sparc-solaris2.9 -I/opt/csw/lib/ruby/1.8/sparc-solaris2.9 -I. -I/opt/csw/include -D_FILE_OFFSET_BITS=64 -KPIC -xO3 -m32 -xarch=v8 -xnorunpath -KPIC -O3 -c generator.c make: /opt/SUNWspro/bin/cc: Command not found make: *** [generator.o] Error 127 Gem files will remain installed in /opt/csw/lib/ruby/gems/1.8/gems/json-1.5.1 for inspection. Results logged to /opt/csw/lib/ruby/gems/1.8/gems/json-1.5.1/ext/json/ext/generator/gem_make.out From bwalton at opencsw.org Tue Mar 29 02:07:51 2011 From: bwalton at opencsw.org (Ben Walton) Date: Mon, 28 Mar 2011 20:07:51 -0400 Subject: [csw-users] Help building json ruby gem In-Reply-To: References: <1301339002-sup-1611@pinkfloyd.chass.utoronto.ca> <1301339798-sup-9256@pinkfloyd.chass.utoronto.ca> Message-ID: <1301357231-sup-431@pinkfloyd.chass.utoronto.ca> Excerpts from Mohamed Lrhazi's message of Mon Mar 28 16:50:05 -0400 2011: > make > /opt/SUNWspro/bin/cc -I. -I/opt/csw/lib/ruby/1.8/sparc-solaris2.9 > -I/opt/csw/lib/ruby/1.8/sparc-solaris2.9 -I. -I/opt/csw/include > -D_FILE_OFFSET_BITS=64 -KPIC -xO3 -m32 -xarch=v8 -xnorunpath -KPIC > -O3 -c generator.c > make: /opt/SUNWspro/bin/cc: Command not found > make: *** [generator.o] Error 127 At this point, you need to toggle the rbconfig.rb to use the gcc4 version. This is done with cswrbconfig (for now). Thanks -Ben -- Ben Walton Systems Programmer - CHASS University of Toronto C:416.407.5610 | W:416.978.4302 From lrhazi at gmail.com Tue Mar 29 02:34:04 2011 From: lrhazi at gmail.com (Mohamed Lrhazi) Date: Mon, 28 Mar 2011 20:34:04 -0400 Subject: [csw-users] Help building json ruby gem In-Reply-To: <1301357231-sup-431@pinkfloyd.chass.utoronto.ca> References: <1301339002-sup-1611@pinkfloyd.chass.utoronto.ca> <1301339798-sup-9256@pinkfloyd.chass.utoronto.ca> <1301357231-sup-431@pinkfloyd.chass.utoronto.ca> Message-ID: the cswrbconfig was failing for not finding rbconfig.rb Looking at the code, I replaced 2.8 with 2.9, and now it works. thanks. the gem install build also works. #!/opt/csw/bin/ruby -w ARCH = %x{uname -p}.chomp CONFD = "/opt/csw/lib/ruby/1.8/#{ARCH}-solaris2.9" RBC = File.join(CONFD, "rbconfig.rb") CUR_RBC = File.readlink(RBC).gsub(/.*\./, '') On Mon, Mar 28, 2011 at 8:07 PM, Ben Walton wrote: > Excerpts from Mohamed Lrhazi's message of Mon Mar 28 16:50:05 -0400 2011: > >> make >> /opt/SUNWspro/bin/cc -I. -I/opt/csw/lib/ruby/1.8/sparc-solaris2.9 >> -I/opt/csw/lib/ruby/1.8/sparc-solaris2.9 -I. -I/opt/csw/include >> -D_FILE_OFFSET_BITS=64 ?-KPIC -xO3 -m32 -xarch=v8 -xnorunpath ?-KPIC >> -O3 ?-c generator.c >> make: /opt/SUNWspro/bin/cc: Command not found >> make: *** [generator.o] Error 127 > > At this point, you need to toggle the rbconfig.rb to use the gcc4 > version. ?This is done with cswrbconfig (for now). > > Thanks > -Ben > -- > Ben Walton > Systems Programmer - CHASS > University of Toronto > C:416.407.5610 | W:416.978.4302 > > _______________________________________________ > users mailing list > users at lists.opencsw.org > https://lists.opencsw.org/mailman/listinfo/users > From bwalton at opencsw.org Tue Mar 29 02:42:14 2011 From: bwalton at opencsw.org (Ben Walton) Date: Mon, 28 Mar 2011 20:42:14 -0400 Subject: [csw-users] Help building json ruby gem In-Reply-To: References: <1301339002-sup-1611@pinkfloyd.chass.utoronto.ca> <1301339798-sup-9256@pinkfloyd.chass.utoronto.ca> <1301357231-sup-431@pinkfloyd.chass.utoronto.ca> Message-ID: <1301359284-sup-1304@pinkfloyd.chass.utoronto.ca> Excerpts from Mohamed Lrhazi's message of Mon Mar 28 20:34:04 -0400 2011: > the cswrbconfig was failing for not finding rbconfig.rb Seems I forgot to update. No matter, it's being replaced with alternatives when the packages I pushed last week hit the mirrors. > Looking at the code, I replaced 2.8 with 2.9, and now it works. > thanks. the gem install build also works. Great! Thanks -Ben -- Ben Walton Systems Programmer - CHASS University of Toronto C:416.407.5610 | W:416.978.4302