From jeff at cjsa.com Wed Apr 4 22:23:23 2012 From: jeff at cjsa.com (Jeffery Small) Date: Wed, 4 Apr 2012 20:23:23 GMT Subject: [csw-users] Samba and Windows 7 Message-ID: Continuing my hate-hate relationship with Windows, I have a new laptop with a dual-boot of linux and Windows 7 Home Premium, and I'm trying to get Windows 7 talking to samba version 3.0.23 on my Sun Sparc machine. I have a couple of Windows XP machines that currently communicate just fine with samba. Things I have done so far: * Added LmCompatibilityLevel == 1 to the Win7 Registry * Tried adding the following to smb.conf: client lanman auth = no client NTLMv2 = yes client plaintext = no lanman auth = no ntlm auth = yes None of this has had any effect. When I try to access the samba server with: \\ it reports: "The specified server cannot perform the required operation" However, this works just fine from the XP machines. I spent a full day just getting Win7 to (sort of) network with Win XP, and now I've spent another day working on this samba problem with no results! Does anyone have any experience with this and can offer a suggestion as to what needs to be done here? I see that a new 3.6.1 version of samba has been added to current. Is there any reason to think that this would solve the problem? I hesitate to upgrade because samba requires a bunch of library upgrades, which will likely affect other programs that rely upon them and I don't need a new set of problems since I kinda like the hair I have left! :-) Thanks. -- Jeff Small From bwalton at opencsw.org Wed Apr 4 22:26:47 2012 From: bwalton at opencsw.org (Ben Walton) Date: Wed, 04 Apr 2012 16:26:47 -0400 Subject: [csw-users] Samba and Windows 7 In-Reply-To: References: Message-ID: <1333571149-sup-1283@pinkfloyd.chass.utoronto.ca> Excerpts from jeff's message of Wed Apr 04 16:23:23 -0400 2012: Hi Jeff, > I see that a new 3.6.1 version of samba has been added to current. > Is there any reason to think that this would solve the problem? I Yes. You need 3.5 or higher to make win7 play anywhere near reasonable with samba. I can dig up the details, but basically it's "upgrade or go home." Thanks -Ben -- Ben Walton Systems Programmer - CHASS University of Toronto C:416.407.5610 | W:416.978.4302 From jeff at cjsa.com Thu Apr 5 07:21:12 2012 From: jeff at cjsa.com (Jeffery Small) Date: Wed, 4 Apr 2012 22:21:12 -0700 (PDT) Subject: [csw-users] Samba and Windows 7 References: <1333571149-sup-1283@pinkfloyd.chass.utoronto.ca> Message-ID: <201204050521.q355LCNZ005742@cjsa2.com> In local.csw.users you write: >Excerpts from jeff's message of Wed Apr 04 16:23:23 -0400 2012: >Hi Jeff, >> I see that a new 3.6.1 version of samba has been added to current. >> Is there any reason to think that this would solve the problem? I >Yes. You need 3.5 or higher to make win7 play anywhere near >reasonable with samba. >I can dig up the details, but basically it's "upgrade or go home." Ben: Thanks for the info. At least I can stop banging my head against the current immovable wall. I'll bite that bullet and upgrade now. Regards, -- Jeff C. Jeffery Small CJSA LLC 206-232-3338 jeff at cjsa.com 7000 E Mercer Way, Mercer Island, WA 98040 From lists at nerdbynature.de Sun Apr 8 22:11:11 2012 From: lists at nerdbynature.de (lists at nerdbynature.de) Date: Sun, 8 Apr 2012 13:11:11 -0700 (PDT) Subject: [csw-users] Catalog is not signed Message-ID: Hi, I haven't upgraded OpenCSW in a while (last upgrade in March went OK) and now I see this: ---------------------------- $ pkgutil -D -U DEBUG:pkgutil version: 2.6.4 DEBUG:perl version: 5.008004 DEBUG:root_path: DEBUG:Checking binary: /opt/csw/bin/wget ... OK DEBUG:wget: /opt/csw/bin/wget DEBUG:Checking binary: /bin/gzip ... OK DEBUG:gzip: /bin/gzip DEBUG:workdir: /var/opt/csw/pkgutil DEBUG:pkgdir: /var/opt/csw/pkgutil/packages DEBUG: no state file found DEBUG:arch: sparc DEBUG:os rel: 5.10 DEBUG:primary mirror: http://mirrors.ibiblio.org/pub/mirrors/opencsw/unstable/sparc/5.10 DEBUG:Catalog http://mirrors.ibiblio.org/pub/mirrors/opencsw/unstable/sparc/5.10 age in days: 0.00400462962962963 => Fetching new catalog and descriptions (http://mirrors.ibiblio.org/pub/mirrors/opencsw/unstable/sparc/5.10) if available ... DEBUG:GPG catalog: 0 Catalog /var/opt/csw/pkgutil/catalog.mirrors.ibiblio.org_pub_mirrors_opencsw_unstable_sparc_5.10 is not signed! Check your mirror settings or disable use_gpg in pkgutil.conf. ---------------------------- The only pkgutil.conf is in /opt/csw/etc and contains: ---------------------------- $ grep ^[a-z] /opt/csw/etc/pkgutil.conf mirror=http://mirrors.ibiblio.org/pub/mirrors/opencsw/unstable show_current=false use_gpg=true use_md5=true wgetopts=--user-agent=pkgutil --verbose ---------------------------- Running through truss(1) gives https://pzt.me/8pp1 - but I fail to see how pkgutils tries to check any GPG files. Any pointers where else to look? Thanks, Christian. -- BOFH excuse #15: temporary routing anomaly From bwalton at opencsw.org Mon Apr 9 04:03:53 2012 From: bwalton at opencsw.org (Ben Walton) Date: Sun, 08 Apr 2012 22:03:53 -0400 Subject: [csw-users] Catalog is not signed In-Reply-To: References: Message-ID: <1333936927-sup-1439@pinkfloyd.chass.utoronto.ca> Excerpts from lists's message of Sun Apr 08 16:11:11 -0400 2012: Hi Christian, > /var/opt/csw/pkgutil/catalog.mirrors.ibiblio.org_pub_mirrors_opencsw_unstable_sparc_5.10 > is not signed! Check your mirror settings or disable use_gpg in > pkgutil.conf. The passphrase in our gpg-agent expired. We'll have this fixed up shortly. Sorry for the hassle. Thanks -Ben -- Ben Walton Systems Programmer - CHASS University of Toronto C:416.407.5610 | W:416.978.4302 From lists at nerdbynature.de Tue Apr 10 03:19:16 2012 From: lists at nerdbynature.de (Christian Kujau) Date: Mon, 9 Apr 2012 18:19:16 -0700 (PDT) Subject: [csw-users] Catalog is not signed In-Reply-To: <1333936927-sup-1439@pinkfloyd.chass.utoronto.ca> References: <1333936927-sup-1439@pinkfloyd.chass.utoronto.ca> Message-ID: On Sun, 8 Apr 2012 at 22:03, Ben Walton wrote: > > /var/opt/csw/pkgutil/catalog.mirrors.ibiblio.org_pub_mirrors_opencsw_unstable_sparc_5.10 > > is not signed! Check your mirror settings or disable use_gpg in > > pkgutil.conf. > > The passphrase in our gpg-agent expired. We'll have this fixed up > shortly. Sorry for the hassle. Hm, I would've expected an error from gnupg then, but OK, I'll wait until this has been resolved. Thanks, Christian. -- BOFH excuse #317: Internet exceeded Luser level, please wait until a luser logs off before attempting to log back on. From bonivart at opencsw.org Tue Apr 10 09:59:59 2012 From: bonivart at opencsw.org (Peter Bonivart) Date: Tue, 10 Apr 2012 09:59:59 +0200 Subject: [csw-users] Catalog is not signed In-Reply-To: References: <1333936927-sup-1439@pinkfloyd.chass.utoronto.ca> Message-ID: On Tue, Apr 10, 2012 at 3:19 AM, Christian Kujau wrote: > Hm, I would've expected an error from gnupg then, but OK, I'll wait until > this has been resolved. pkgutil itself detects if the catalog is not signed and stops right there if you have enabled use_gpg. /peter From maciej at opencsw.org Thu Apr 12 22:40:32 2012 From: maciej at opencsw.org (=?UTF-8?Q?Maciej_=28Matchek=29_Blizi=C5=84ski?=) Date: Thu, 12 Apr 2012 21:40:32 +0100 Subject: [csw-users] Wintercamp 2011 is this weekend Message-ID: Hello everyone, The Wintercamp 2011 is coming up. It's not winter and it's not 2011, but this is how we need to name our meetings to keep backward compatibility. Solaris sysadmins know what we're talking about. To those who don't know what OpenCSW camps are - they are project summits held twice a year. We've had a number of these: http://wiki.opencsw.org/camps This time around, we're meeting in Bratislava. One of the topics discussed will be the IPS package catalog strategy. The meetings will be held from 10:00 CEST until 19:00 CEST with a lunch break. We'll set up a G+ hangout and a ustream live feed. We'll post links when the feeds are set up. We'll be also watching the #opencsw?channel on Freenode for any questions or comments. Maciej From maciej at opencsw.org Fri Apr 13 15:42:25 2012 From: maciej at opencsw.org (=?UTF-8?Q?Maciej_=28Matchek=29_Blizi=C5=84ski?=) Date: Fri, 13 Apr 2012 14:42:25 +0100 Subject: [csw-users] whole catalog atom feeds In-Reply-To: <3985B3C9-010F-4F41-88ED-402E0AF4A19B@opencsw.org> References: <1332716390-sup-2086@pinkfloyd.chass.utoronto.ca> <3985B3C9-010F-4F41-88ED-402E0AF4A19B@opencsw.org> Message-ID: No dia 26 de Mar de 2012 20:53, "Dagobert Michelsen" escreveu: > > Hi Ben, > > Am 26.03.2012 um 01:17 schrieb Ben Walton: > > I just made a switch to the atom feeds for OpenCSW. Instead of > > individual catalog/arch/release atom feeds, there are now whole > > catalog feeds that incorporate the changes across everything we call > > 'unstable' or 'dublin.' > > > > You can subscribe to the feeds from the links here: > > http://www.opencsw.org/feeds. > > There are currently two feeds announced in the metadata at > http://www.opencsw.org/feeds/ > which are > > > > I suggest adding the other feeds also. What's the current status? Have they been added? -------------- next part -------------- An HTML attachment was scrubbed... URL: From maciej at opencsw.org Sat Apr 14 10:44:34 2012 From: maciej at opencsw.org (=?UTF-8?Q?Maciej_=28Matchek=29_Blizi=C5=84ski?=) Date: Sat, 14 Apr 2012 09:44:34 +0100 Subject: [csw-users] Wintercamp 2011 is this weekend In-Reply-To: References: Message-ID: The first day is starting. We've initiated a hangout on G+ (look for the +OpenCSW page; it's a multi-way video conference). The meeting minutes viewable are at: https://docs.google.com/document/d/1C1uTlJj2-0H3kNZzEQUUjZL298WOxz6kQTr72zIiEe8/edit We're also monitoring the #opencsw IRC channel. If you have any questions, join in and ask. Take the advantage of project members being in one place! Maciej From maciej at opencsw.org Sat Apr 14 10:49:23 2012 From: maciej at opencsw.org (=?UTF-8?Q?Maciej_=28Matchek=29_Blizi=C5=84ski?=) Date: Sat, 14 Apr 2012 09:49:23 +0100 Subject: [csw-users] Catalog is not signed In-Reply-To: References: <1333936927-sup-1439@pinkfloyd.chass.utoronto.ca> Message-ID: No dia 10 de Abril de 2012 02:19, Christian Kujau escreveu: > Hm, I would've expected an error from gnupg then, but OK, I'll wait until > this has been resolved. This has been resolved, at 2012-04-10 if I'm not mistaken. We'll make sure that if the key unlock happens to time out in the future, unsigned catalogs will not be pushed. Maciej From lists at nerdbynature.de Sat Apr 14 22:35:36 2012 From: lists at nerdbynature.de (Christian Kujau) Date: Sat, 14 Apr 2012 13:35:36 -0700 (PDT) Subject: [csw-users] Catalog is not signed In-Reply-To: References: <1333936927-sup-1439@pinkfloyd.chass.utoronto.ca> Message-ID: On Sat, 14 Apr 2012 at 09:49, Maciej (Matchek) Blizi?ski wrote: > This has been resolved, at 2012-04-10 if I'm not mistaken. We'll make > sure that if the key unlock happens to time out in the future, > unsigned catalogs will not be pushed. Cool, now the catalogs are fetched again. I wonder why nobody else complained about this, could not find anything out there... Thanks! Christian. $ pkgutil -yU -u => Fetching new catalog and descriptions (http://mirrors.ibiblio.org/pub/mirrors/opencsw/unstable/sparc/5.10) if available ... Checking integrity of /var/opt/csw/pkgutil/catalog.mirrors.ibiblio.org_pub_mirrors_opencsw_unstable_sparc_5.10 with gpg. gpg: Signature made Fri Apr 13 21:34:53 2012 PDT using DSA key ID 9306CC77 gpg: Good signature from "OpenCSW catalog signing " ==> 3731 packages loaded from /var/opt/csw/pkgutil/catalog.mirrors.ibiblio.org_pub_mirrors_opencsw_unstable_sparc_5.10 [...] -- BOFH excuse #200: The monitor needs another box of pixels. From upendra.gandhi at gmail.com Sat Apr 14 22:43:03 2012 From: upendra.gandhi at gmail.com (upen) Date: Sat, 14 Apr 2012 15:43:03 -0500 Subject: [csw-users] Catalog is not signed In-Reply-To: References: <1333936927-sup-1439@pinkfloyd.chass.utoronto.ca> Message-ID: On Sat, Apr 14, 2012 at 3:35 PM, Christian Kujau wrote: > On Sat, 14 Apr 2012 at 09:49, Maciej (Matchek) Blizi?ski wrote: >> This has been resolved, at 2012-04-10 if I'm not mistaken. We'll make >> sure that if the key unlock happens to time out in the future, >> unsigned catalogs will not be pushed. > > Cool, now the catalogs are fetched again. I wonder why nobody else > complained about this, could not find anything out there... I had this problem on two of my solaris systems. I was just lazy to write here. I just commented out the gpg line.. Thanks for bringing it up. > > Thanks! > Christian. > > $ pkgutil -yU -u > => Fetching new catalog and descriptions > (http://mirrors.ibiblio.org/pub/mirrors/opencsw/unstable/sparc/5.10) if available ... > Checking integrity of /var/opt/csw/pkgutil/catalog.mirrors.ibiblio.org_pub_mirrors_opencsw_unstable_sparc_5.10 with gpg. > gpg: Signature made Fri Apr 13 21:34:53 2012 PDT using DSA key ID 9306CC77 > gpg: Good signature from "OpenCSW catalog signing " > ==> 3731 packages loaded from /var/opt/csw/pkgutil/catalog.mirrors.ibiblio.org_pub_mirrors_opencsw_unstable_sparc_5.10 > [...] > > -- > BOFH excuse #200: > > The monitor needs another box of pixels. > _______________________________________________ > users mailing list > users at lists.opencsw.org > https://lists.opencsw.org/mailman/listinfo/users -- upen, emerge -uD life (Upgrade Life with dependencies) From maciej at opencsw.org Mon Apr 16 19:35:43 2012 From: maciej at opencsw.org (=?UTF-8?Q?Maciej_=28Matchek=29_Blizi=C5=84ski?=) Date: Mon, 16 Apr 2012 18:35:43 +0100 Subject: [csw-users] Firefox on Solaris 9 Message-ID: Hello everyone, Does anyone still use Firefox from OpenCSW on Solaris 9? We are currently removing unused / not useful packages from the catalog and if no one uses it, we'll drop it.* We expect that most Solaris desktop users would have already migrated to Solaris 10, 11 or OpenSolaris, and it's rather unlikely that someone depends on Firefox on Solaris 9. We wanted to check that with you though. If you want Firefox for Solaris 9 to stay, speak up! Maciej * It has already been dropped from the unstable catalog, but we can restore. From upendra.gandhi at gmail.com Mon Apr 16 21:43:05 2012 From: upendra.gandhi at gmail.com (upen) Date: Mon, 16 Apr 2012 14:43:05 -0500 Subject: [csw-users] Firefox on Solaris 9 In-Reply-To: References: Message-ID: Hi, We have a user who runs his sun blade 2000 workstation(sparc) and uses opencsw to get updated packages for Solaris 9 installed on it. pkginfo -l CSWfirefox PKGINST: CSWfirefox NAME: firefox - Firefox Community Edition web browser CATEGORY: application ARCH: sparc VERSION: 3.0.14,REV=2009.09.12 VENDOR: http://releases.mozilla.org/pub/mozilla.org/firefox/releases/3.0.14/source/ packaged for CSW by William Bonnet PSTAMP: wbonnet at build8s-20090912223314 INSTDATE: Dec 02 2010 18:16 HOTLINE: http://www.opencsw.org/bugtrack/ EMAIL: wbonnet at opencsw.org STATUS: completely installed FILES: 4061 installed pathnames 4 shared pathnames 45 directories 99 executables 213787 blocks used (approx) It'll be great if this version gets an update. If not, request is to maintain it in the repo. User will not migrate to Solaris 10. Thanks for the heads up! Upen 2012/4/16 Maciej (Matchek) Blizi?ski : > Hello everyone, > > Does anyone still use Firefox from OpenCSW on Solaris 9? We are > currently removing unused / not useful packages from the catalog and > if no one uses it, we'll drop it.* We expect that most Solaris desktop > users would have already migrated to Solaris 10, 11 or OpenSolaris, > and it's rather unlikely that someone depends on Firefox on Solaris 9. > We wanted to check that with you though. If you want Firefox for > Solaris 9 to stay, speak up! > > Maciej > > * It has already been dropped from the unstable catalog, but we can restore. > _______________________________________________ > users mailing list > users at lists.opencsw.org > https://lists.opencsw.org/mailman/listinfo/users -- upen, emerge -uD life (Upgrade Life with dependencies) From maciej at opencsw.org Tue Apr 17 05:08:42 2012 From: maciej at opencsw.org (=?UTF-8?Q?Maciej_=28Matchek=29_Blizi=C5=84ski?=) Date: Tue, 17 Apr 2012 04:08:42 +0100 Subject: [csw-users] Firefox on Solaris 9 In-Reply-To: References: Message-ID: No dia 16 de Abr de 2012 20:43, "upen" escreveu: > We have a user who runs his sun blade 2000 workstation(sparc) and uses > opencsw to get updated packages for Solaris ?9 installed on it. > > pkginfo -l CSWfirefox (...) > > It'll be great if this version gets an update. If not, request is to > maintain it in the repo. User will not migrate to Solaris 10. Hi Upen, Thanks for the response. Let's think about the options. We don't have any plans (read: workforce and motivation) to jump through the rather demanding hoops to keep Firefox up to date on Solaris 9. We can keep the old version in the catalog if people find it useful, but there's no point in waiting for updates, they won't come. There are security concerns that an old version is vulnerable to a variety of attacks - sorry, but we can't do anything about it. If the user is motivated to have an up to date Firefox on Solaris 9, the only way is to step up and take it on. We'll be happy to accept patches, and to provide all the tools and buildfarm access. For now, I'll add the Firefox package back to the unstable repository. Maciej From maciej at opencsw.org Tue Apr 17 12:58:13 2012 From: maciej at opencsw.org (=?UTF-8?Q?Maciej_=28Matchek=29_Blizi=C5=84ski?=) Date: Tue, 17 Apr 2012 12:58:13 +0200 Subject: [csw-users] Firefox on Solaris 9 In-Reply-To: References: Message-ID: No dia 17 de Abril de 2012 05:08, Maciej (Matchek) Blizi?ski escreveu: > For now, I'll add the Firefox package back to the unstable repository. This is now done. I added Firefox back to the Solaris 9 unstable catalog. I did the same thing with thunderbird and seamonkey, as they fit the same category. Maciej From upendra.gandhi at gmail.com Tue Apr 17 15:20:09 2012 From: upendra.gandhi at gmail.com (upen) Date: Tue, 17 Apr 2012 08:20:09 -0500 Subject: [csw-users] Firefox on Solaris 9 In-Reply-To: References: Message-ID: 2012/4/17 Maciej (Matchek) Blizi?ski : > No dia 17 de Abril de 2012 05:08, Maciej (Matchek) Blizi?ski > escreveu: >> For now, I'll add the Firefox package back to the unstable repository. > > This is now done. I added Firefox back to the Solaris 9 unstable > catalog. I did the same thing with thunderbird and seamonkey, as they > fit the same category. > > Maciej Thank you Maciej. -- upen, emerge -uD life (Upgrade Life with dependencies) From cristian_gamboa at hotmail.com Sun Apr 22 00:54:12 2012 From: cristian_gamboa at hotmail.com (Cristian Gamboa) Date: Sat, 21 Apr 2012 17:54:12 -0500 Subject: [csw-users] netcat. Message-ID: I am very new in the Solaris environment. We need the netcat program but the only I can download is a tarball that can not be build because of a cpp error. There is something like a rpm package we can install on our systems ? where is located ? the links to download are broken Cristianps sorry for my bad English -------------- next part -------------- An HTML attachment was scrubbed... URL: From maciej at opencsw.org Sun Apr 22 01:01:41 2012 From: maciej at opencsw.org (=?UTF-8?Q?Maciej_=28Matchek=29_Blizi=C5=84ski?=) Date: Sun, 22 Apr 2012 01:01:41 +0200 Subject: [csw-users] netcat. In-Reply-To: References: Message-ID: No dia 22 de Abr de 2012 00:54, "Cristian Gamboa" < cristian_gamboa at hotmail.com> escreveu: > > I am very new in the Solaris environment. We need the netcat program but the only I can download is a tarball that can not be build because of a cpp error. > > There is something like a rpm package we can install on our systems ? where is located ? the links to download are broken Hi Cristian, Can you write more - where did you look and where are the broken download links? Maciej -------------- next part -------------- An HTML attachment was scrubbed... URL: From dam at opencsw.org Sun Apr 22 16:26:27 2012 From: dam at opencsw.org (Dagobert Michelsen) Date: Sun, 22 Apr 2012 16:26:27 +0200 Subject: [csw-users] netcat. In-Reply-To: References: Message-ID: <6921D19A-A8D7-48E5-AFF1-3F0CBC3D57D2@opencsw.org> Hi Carsten, Am 22.04.2012 um 00:54 schrieb Cristian Gamboa: > I am very new in the Solaris environment. We need the netcat program but the only I can download is a tarball that can not be build because of a cpp error. > > There is something like a rpm package we can install on our systems ? where is located ? the links to download are broken Sure. I just repaired the link: http://www.opencsw.org/manual/for-administrators/getting-started.html After setting up your machine with pkgutil just do pkgutil -i netcat and it will appear at /opt/csw/bin. Maciej: the broken link is probably due to Peters chat on IRC. Best regards -- Dago From sbn at tbricks.com Tue Apr 24 11:35:01 2012 From: sbn at tbricks.com (Dmitri Shubin) Date: Tue, 24 Apr 2012 13:35:01 +0400 Subject: [csw-users] Problems with GCC 4.6.3 Message-ID: <4F9673C5.9070405@tbricks.com> Hello! I installed the latest GCC 4.6.3 from unstable, but I was unable to compile anything with it due to the following error: $ cat a.c int main() { return 0; } $ /opt/csw/gcc4/bin/gcc a.c ld.so.1: gas: fatal: libiconv.so.2: open failed: No such file or directory gcc: internal compiler error: Killed (program as) Please submit a full bug report, with preprocessed source if appropriate. See for instructions. $ /opt/csw/bin/gas ld.so.1: gas: fatal: libiconv.so.2: open failed: No such file or directory Killed So the problem is in 'gas' in fact. $ LD_DEBUG=all /opt/csw/bin/gas ... 15372: file=/opt/csw/lib/pentium_pro/libintl.so.8; analyzing [ RTLD_LAZY RTLD_GLOBAL RTLD_WORLD RTLD_NODELETE ] 15372: 15372: file=libiconv.so.2; needed by /opt/csw/lib/pentium_pro/libintl.so.8 15372: 15372: find object=libiconv.so.2; searching 15372: search path=/opt/csw/lib/pentium_pro (RUNPATH/RPATH from file /opt/csw/lib/pentium_pro/libintl.so.8) 15372: trying path=/opt/csw/lib/pentium_pro/libiconv.so.2 15372: search path=/lib (default) 15372: search path=/usr/lib (default) 15372: trying path=/lib/libiconv.so.2 15372: trying path=/usr/lib/libiconv.so.2 ld.so.1: gas: fatal: libiconv.so.2: open failed: No such file or directory 15372: 15372: 15372: ld.so.1: gas: fatal: libiconv.so.2: open failed: No such file or directory 15372: 15372: Killed Setting LD_LIBRARY_PATH=/opt/csw/lib helps, but I don't think it's good solution. Any ideas? Thanks! From dam at opencsw.org Tue Apr 24 11:38:10 2012 From: dam at opencsw.org (Dagobert Michelsen) Date: Tue, 24 Apr 2012 11:38:10 +0200 Subject: [csw-users] Problems with GCC 4.6.3 In-Reply-To: <4F9673C5.9070405@tbricks.com> References: <4F9673C5.9070405@tbricks.com> Message-ID: <538D0FAC-F2A0-47CA-9A1E-727CEAAF0023@opencsw.org> Hi Dmitri, Am 24.04.2012 um 11:35 schrieb Dmitri Shubin: > I installed the latest GCC 4.6.3 from unstable, but I was unable to compile anything with it due to the following error: > > $ cat a.c > int main() > { > return 0; > } > $ /opt/csw/gcc4/bin/gcc a.c > ld.so.1: gas: fatal: libiconv.so.2: open failed: No such file or directory > gcc: internal compiler error: Killed (program as) > Please submit a full bug report, > with preprocessed source if appropriate. > See for instructions. > $ /opt/csw/bin/gas > ld.so.1: gas: fatal: libiconv.so.2: open failed: No such file or directory > Killed > > So the problem is in 'gas' in fact. > > $ LD_DEBUG=all /opt/csw/bin/gas > ... > 15372: file=/opt/csw/lib/pentium_pro/libintl.so.8; analyzing [ RTLD_LAZY RTLD_GLOBAL RTLD_WORLD RTLD_NODELETE ] > 15372: > 15372: file=libiconv.so.2; needed by /opt/csw/lib/pentium_pro/libintl.so.8 > 15372: > 15372: find object=libiconv.so.2; searching > 15372: search path=/opt/csw/lib/pentium_pro (RUNPATH/RPATH from file /opt/csw/lib/pentium_pro/libintl.so.8) > 15372: trying path=/opt/csw/lib/pentium_pro/libiconv.so.2 > 15372: search path=/lib (default) > 15372: search path=/usr/lib (default) > 15372: trying path=/lib/libiconv.so.2 > 15372: trying path=/usr/lib/libiconv.so.2 > ld.so.1: gas: fatal: libiconv.so.2: open failed: No such file or directory > 15372: > 15372: > 15372: ld.so.1: gas: fatal: libiconv.so.2: open failed: No such file or directory > > 15372: > 15372: > Killed > > Setting LD_LIBRARY_PATH=/opt/csw/lib helps, but I don't think it's good solution. > > Any ideas? How did you install gcc? Did you use pkgutil following all dependencies? From http://buildfarm.opencsw.org/cgi-bin/depgraph?pkg=CSWgcc4core&collapse_bundles=gcc CSWlibintl8 automatically pulls in CSWlibiconv2 as indirect dependency. 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 From sbn at tbricks.com Tue Apr 24 13:39:05 2012 From: sbn at tbricks.com (Dmitri Shubin) Date: Tue, 24 Apr 2012 15:39:05 +0400 Subject: [csw-users] Problems with GCC 4.6.3 In-Reply-To: <538D0FAC-F2A0-47CA-9A1E-727CEAAF0023@opencsw.org> References: <4F9673C5.9070405@tbricks.com> <538D0FAC-F2A0-47CA-9A1E-727CEAAF0023@opencsw.org> Message-ID: <4F9690D9.2060408@tbricks.com> On 24.04.2012 13:38, Dagobert Michelsen wrote: > How did you install gcc? Did you use pkgutil following all > dependencies? From > http://buildfarm.opencsw.org/cgi-bin/depgraph?pkg=CSWgcc4core&collapse_bundles=gcc > CSWlibintl8 automatically pulls in CSWlibiconv2 as indirect dependency. That was my fault actually. I have older GCC 4.5.1 from Blastwave and after switching to OpenCSW simply removed it and installed the new one. And looks like there left some old files for libiconv/libintl that gas erroneously picks. After I removed all CSW packages and re-installed GCC from scratch the problem goes away. Thanks! From dam at opencsw.org Tue Apr 24 14:14:19 2012 From: dam at opencsw.org (Dagobert Michelsen) Date: Tue, 24 Apr 2012 14:14:19 +0200 Subject: [csw-users] Problems with GCC 4.6.3 In-Reply-To: <4F9690D9.2060408@tbricks.com> References: <4F9673C5.9070405@tbricks.com> <538D0FAC-F2A0-47CA-9A1E-727CEAAF0023@opencsw.org> <4F9690D9.2060408@tbricks.com> Message-ID: <95C32B44-1A7E-43FC-A51F-62AF28075802@opencsw.org> Hi Dmitri, Am 24.04.2012 um 13:39 schrieb Dmitri Shubin: > On 24.04.2012 13:38, Dagobert Michelsen wrote: >> How did you install gcc? Did you use pkgutil following all dependencies? From http://buildfarm.opencsw.org/cgi-bin/depgraph?pkg=CSWgcc4core&collapse_bundles=gcc CSWlibintl8 automatically pulls in CSWlibiconv2 as indirect dependency. > > That was my fault actually. > I have older GCC 4.5.1 from Blastwave and after switching to OpenCSW simply removed it and installed the new one. > And looks like there left some old files for libiconv/libintl that gas erroneously picks. > > After I removed all CSW packages and re-installed GCC from scratch the problem goes away. You may also want to look here for a guide on how it could also have been done ;-) http://www.opencsw.org/use-it/migrating-from-blastwave-to-opencsw/ 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 From sbn at tbricks.com Tue Apr 24 18:05:19 2012 From: sbn at tbricks.com (Dmitri Shubin) Date: Tue, 24 Apr 2012 20:05:19 +0400 Subject: [csw-users] Unable to compile spawn.h using G++ 4.6.3 Message-ID: <4F96CF3F.3070009@tbricks.com> Hello! I got another problem with GCC 4.6.3 -- I cannot compile files that includes /usr/include/spawn.h in C++ mode: $ cat a.cpp #include $ /opt/csw/gcc4/bin/g++ -c a.cpp In file included from a.cpp:1:0: /usr/include/spawn.h:42:14: error: expected ',' or '...' before 'argv' /usr/include/spawn.h:50:14: error: expected ',' or '...' before 'argv' $ cat -n /usr/include/spawn.h ... 35 #if defined(__STDC__) 36 37 extern int posix_spawn( 38 pid_t *_RESTRICT_KYWD pid, 39 const char *_RESTRICT_KYWD path, 40 const posix_spawn_file_actions_t *file_actions, 41 const posix_spawnattr_t *_RESTRICT_KYWD attrp, 42 char *const argv[_RESTRICT_KYWD], 43 char *const envp[_RESTRICT_KYWD]); 44 45 extern int posix_spawnp( 46 pid_t *_RESTRICT_KYWD pid, 47 const char *_RESTRICT_KYWD file, 48 const posix_spawn_file_actions_t *file_actions, 49 const posix_spawnattr_t *_RESTRICT_KYWD attrp, 50 char *const argv[_RESTRICT_KYWD], 51 char *const envp[_RESTRICT_KYWD]); ... When preprocessed this file: $ /opt/csw/gcc4/bin/g++ -E a.cpp ... extern int posix_spawn( pid_t *__restrict pid, const char *__restrict path, const posix_spawn_file_actions_t *file_actions, const posix_spawnattr_t *__restrict attrp, char *const argv[__restrict], // <----------- SBN: line 42 of /usr/include/spawn.h char *const envp[__restrict]); So looks like GCC don't understand __restrice keyword in array-brackets. $ uname -a SunOS rock1 5.10 Generic_147441-15 i86pc i386 i86pc $ cat /etc/release Oracle Solaris 10 8/11 s10x_u10wos_17b X86 Copyright (c) 1983, 2011, Oracle and/or its affiliates. All rights reserved. Assembled 23 August 2011 GCC 4.5.1 from Blastwave successfully compiled this file. The difference is that _RESTRICT_KYWD expanded in it to empty string. AFAIU this is due to GCC 4.6.3 defines __STDC_VERSION__ macro to 199901L in C++ mode $ /opt/csw/gcc4/bin/gcc -x c++ -dM -E - References: <4F96CF3F.3070009@tbricks.com> Message-ID: No dia 24 de Abril de 2012 18:05, Dmitri Shubin escreveu: > Any suggestions? I don't have any quick ideas, but you could ask this question on the gcc-help[1] mailing list. Maciej [1] http://gcc.gnu.org/ml/gcc-help/ From sbn at tbricks.com Wed Apr 25 16:23:38 2012 From: sbn at tbricks.com (Dmitri Shubin) Date: Wed, 25 Apr 2012 18:23:38 +0400 Subject: [csw-users] Unable to compile spawn.h using G++ 4.6.3 In-Reply-To: References: <4F96CF3F.3070009@tbricks.com> Message-ID: <4F9808EA.7090405@tbricks.com> Well, looks like they handle this problem in GCC 4.7.0 It has the following in gcc-4.7.0/fixincludes/inclhack.def: /* * Solaris 10+ uses char *const argv[_RESTRICT_KYWD] in the * posix_spawn declarations, which doesn't work with C++. */ fix = { hackname = solaris_posix_spawn_restrict; files = spawn.h; mach = '*-*-solaris2*'; c_fix = format; c_fix_arg = "%1*_RESTRICT_KYWD %2%3"; select = "(.*[ \t]+)([a-z]+)\\[_RESTRICT_KYWD\\](.*)"; test_text = "char *const argv[_RESTRICT_KYWD],\n" "char *const envp[_RESTRICT_KYWD]);"; }; Probably it could be "backported" to 4.6.3 if there is something that prevents 4.7.0 from being imported. From maciej at opencsw.org Wed Apr 25 17:44:53 2012 From: maciej at opencsw.org (=?UTF-8?Q?Maciej_=28Matchek=29_Blizi=C5=84ski?=) Date: Wed, 25 Apr 2012 17:44:53 +0200 Subject: [csw-users] Unable to compile spawn.h using G++ 4.6.3 In-Reply-To: <4F9808EA.7090405@tbricks.com> References: <4F96CF3F.3070009@tbricks.com> <4F9808EA.7090405@tbricks.com> Message-ID: No dia 25 de Abril de 2012 16:23, Dmitri Shubin escreveu: > Probably it could be "backported" to 4.6.3 if there is something that > prevents 4.7.0 from being imported. You can get gcc-4.7 from the experimental catalog: http://buildfarm.opencsw.org/experimental.html#gcc-4.7 Please let me know if it actually solves the problem. Maciej From sbn at tbricks.com Fri Apr 27 10:16:10 2012 From: sbn at tbricks.com (Dmitri Shubin) Date: Fri, 27 Apr 2012 12:16:10 +0400 Subject: [csw-users] Unable to compile spawn.h using G++ 4.6.3 In-Reply-To: References: <4F96CF3F.3070009@tbricks.com> <4F9808EA.7090405@tbricks.com> Message-ID: <4F9A55CA.9060807@tbricks.com> On 25.04.2012 19:44, Maciej (Matchek) Blizi?ski wrote: >> Probably it could be "backported" to 4.6.3 if there is something that >> prevents 4.7.0 from being imported. > You can get gcc-4.7 from the experimental catalog: > http://buildfarm.opencsw.org/experimental.html#gcc-4.7 > > Please let me know if it actually solves the problem. Yes, it indeed solved the problem. Thank you! BTW, here is the bug in GCC tracker http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49347 From dennis.jenkins.75 at gmail.com Fri Apr 27 17:42:49 2012 From: dennis.jenkins.75 at gmail.com (dennis jenkins) Date: Fri, 27 Apr 2012 10:42:49 -0500 Subject: [csw-users] CSWsyslogng version mismatch Message-ID: Hello. My system is Solaris 11 (11/11) [1]. I wish to install CSWsyslog_ng. "pkgutil" shows that it would install version 3.0.5,REV=2010.02.27 (over 2 years old) [2], but the OpenCSW online package index shows that it should install 3.2.5,REV=2012.03.19 (yeah!) [3] I've tried both "testing" and "unstable". I've refreshed my catalog several times. What am I missing? How do I get OpenCSW to give me the more recent syslog_ng? Thank you for your time. [1] (root at sol-11: <~>) # uname -a SunOS sol-11-ai-mad-1 5.11 11.0 i86pc i386 i86pc (root at sol-11: <~>) # cat /etc/release Oracle Solaris 11 11/11 X86 Copyright (c) 1983, 2011, Oracle and/or its affiliates. All rights reserved. Assembled 18 October 2011 [2] (root at sol-11: <~>) # /opt/csw/bin/pkgutil -a | grep CSWsyslogng syslog_ng CSWsyslogng 3.0.5,REV=2010.02.27 135.5 KB (root at sol-11: <~>) # /opt/csw/bin/pkgutil --catinfo URL http://mirror.opencsw.org/opencsw/unstable/i386/5.11 Release - Creation time 2012-04-27T13:33:47Z Number of pkgs 3453 File /var/opt/csw/pkgutil/catalog.mirror.opencsw.org_opencsw_unstable_i386_5.11 [3] http://www.opencsw.org/packages/syslog_ng/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From bwalton at opencsw.org Fri Apr 27 19:03:09 2012 From: bwalton at opencsw.org (Ben Walton) Date: Fri, 27 Apr 2012 13:03:09 -0400 Subject: [csw-users] CSWsyslogng version mismatch In-Reply-To: References: Message-ID: <1335546144-sup-5828@pinkfloyd.chass.utoronto.ca> Excerpts from dennis jenkins's message of Fri Apr 27 11:42:49 -0400 2012: Hi Dennis, > I've tried both "testing" and "unstable". I've refreshed my > catalog several times. What am I missing? How do I get OpenCSW to > give me the more recent syslog_ng? You're not missing anything. There is some glitch that didn't see this package added to the 5.11 catalogs. We'll look into it and get it resolved asap. Thanks -Ben -- Ben Walton Systems Programmer - CHASS University of Toronto C:416.407.5610 | W:416.978.4302 From dennis.jenkins.75 at gmail.com Fri Apr 27 19:21:44 2012 From: dennis.jenkins.75 at gmail.com (dennis jenkins) Date: Fri, 27 Apr 2012 12:21:44 -0500 Subject: [csw-users] CSWsyslogng version mismatch In-Reply-To: <1335546144-sup-5828@pinkfloyd.chass.utoronto.ca> References: <1335546144-sup-5828@pinkfloyd.chass.utoronto.ca> Message-ID: On Fri, Apr 27, 2012 at 12:03 PM, Ben Walton wrote: > Excerpts from dennis jenkins's message of Fri Apr 27 11:42:49 -0400 2012: > > Hi Dennis, > > > I've tried both "testing" and "unstable". I've refreshed my > > catalog several times. What am I missing? How do I get OpenCSW to > > give me the more recent syslog_ng? > > You're not missing anything. There is some glitch that didn't see > this package added to the 5.11 catalogs. We'll look into it and get > it resolved asap. > > Thanks > -Ben > Thank you very much Ben! -------------- next part -------------- An HTML attachment was scrubbed... URL: From maciej at opencsw.org Sat Apr 28 00:26:18 2012 From: maciej at opencsw.org (=?UTF-8?Q?Maciej_=28Matchek=29_Blizi=C5=84ski?=) Date: Sat, 28 Apr 2012 00:26:18 +0200 Subject: [csw-users] CSWsyslogng version mismatch In-Reply-To: References: <1335546144-sup-5828@pinkfloyd.chass.utoronto.ca> Message-ID: No dia 27 de Abril de 2012 19:21, dennis jenkins < dennis.jenkins.75 at gmail.com> escreveu: > You're not missing anything. There is some glitch that didn't see >> this package added to the 5.11 catalogs. We'll look into it and get >> it resolved asap. > > Thanks for the report. Done. I've put the new syslog packages into the 5.11 catalogs. -------------- next part -------------- An HTML attachment was scrubbed... URL: