upen | 25 Jun 21:09 2015
Picon

Sparc/Solaris10 and python 2.7

Hello,
I am trying to run python2.7 at /opt/csw/bin/python2.7 and running into library version issue for libc.so as below.


ld.so.1: python2.7: fatal: libc.so.1: version `SUNW_1.22.5' not found (required by file /opt/csw/bin/python2.7)
ld.so.1: python2.7: fatal: libc.so.1: open failed: No such file or directory


bash-3.2# ldd /opt/csw/bin/python2.7
        libpython2.7.so.1.0 =>   /opt/csw/lib/libpython2.7.so.1.0
        libsocket.so.1 =>        /lib/libsocket.so.1
        libnsl.so.1 =>   /lib/libnsl.so.1
        librt.so.1 =>    /lib/librt.so.1
        libdl.so.1 =>    /lib/libdl.so.1
        libm.so.2 =>     /lib/libm.so.2
        libc.so.1 =>     /lib/libc.so.1
        libc.so.1 (SUNW_1.22.5) =>       (version not found)
        libgcc_s.so.1 =>         /opt/csw/lib/libgcc_s.so.1
        libc.so.1 (SUNW_1.22.5) =>       (version not found)
        libmp.so.2 =>    /lib/libmp.so.2
        libmd.so.1 =>    /lib/libmd.so.1
        libscf.so.1 =>   /lib/libscf.so.1
        libaio.so.1 =>   /lib/libaio.so.1
        libc.so.1 (SUNW_1.22.5) =>       (version not found)
        libdoor.so.1 =>  /lib/libdoor.so.1
        libuutil.so.1 =>         /lib/libuutil.so.1
        libgen.so.1 =>   /lib/libgen.so.1
        /platform/SUNW,Sun-Fire-V240/lib/libc_psr.so.1
        /platform/SUNW,Sun-Fire-V240/lib/libmd_psr.so.1
bash-3.2# pvc /lib/libc.so.1
bash: pvc: command not found
bash-3.2# pvs /lib/libc.so.1
        libc.so.1;
        SUNW_1.23;
        SUNW_1.22.4;
        SUNW_1.22.3;
        SUNW_1.22.2;
        SUNW_1.22.1;
        SUNW_1.22;
        SUNW_1.21.3;
        SUNW_1.21.2;
        SUNW_1.21.1;
        SUNW_1.21;
        SUNW_1.20.4;
        SUNW_1.20.1;
        SUNW_1.20;
        SUNW_1.19;
        SUNW_1.18.1;
        SUNW_1.18;
        SUNW_1.17;
        SUNW_1.16;
        SUNW_1.15;
        SUNW_1.14;
        SUNW_1.13;
        SUNW_1.12;
        SUNW_1.11;
        SUNW_1.10;
        SUNW_1.9;
        SUNW_1.8;
        SUNW_1.7;
        SUNW_1.6;
        SUNW_1.5;
        SUNW_1.4;
        SUNW_1.3;
        SUNW_1.2;
        SUNW_1.1;
        SUNW_0.9;
        SUNW_0.8;
        SUNW_0.7;
        SISCD_2.3;
        SYSVABI_1.3;
        SUNWprivate_1.1;


pkginfo SUNWcslr
system      SUNWcslr Core Solaris Libraries (Root)
bash-3.2# pkginfo -l SUNWcslr
   PKGINST:  SUNWcslr
      NAME:  Core Solaris Libraries (Root)
  CATEGORY:  system
      ARCH:  sparc
   VERSION:  11.10.0,REV=2005.01.21.15.53
   BASEDIR:  /
    VENDOR:  Sun Microsystems, Inc.
      DESC:  core software for a specific instruction-set architecture
    PSTAMP:  on10-patch20091102142416
  INSTDATE:  Dec 09 2009 15:56
   HOTLINE:  Please contact your local service provider
    STATUS:  completely installed
     FILES:      244 installed pathnames
                   2 shared pathnames
                   5 directories
                 132 executables
               34014 blocks used (approx)


What do you recommend to fix the lic.so issue? Anyone knows or can help me find out what immediate patch can fix this issue on solaris side?


Thanks!!
Upen
Freddy DISSAUX | 12 Jun 08:55 2015
Picon

Update recipe - libasr

Hello,

Update libasr to 1.0.2

http://buildfarm.opencsw.org/~bsdsx/libasr/libasr_1.0.2.patch

Regards,
Index: Makefile
===================================================================
--- Makefile	(revision 25062)
+++ Makefile	(working copy)
 <at>  <at>  -2,7 +2,7  <at>  <at> 
 # TODO (release-critical prefixed with !, non release-critical with *)
 #
 NAME = libasr
-VERSION = 201505061057
+VERSION = 1.0.2
 GARTYPE = v2

 DESCRIPTION = A free, simple and portable asynchronous resolver library
Index: checksums
===================================================================
--- checksums	(revision 25062)
+++ checksums	(working copy)
 <at>  <at>  -1 +1  <at>  <at> 
-2a4b768b54892465570ef7488e56b737  libasr-201505061057.tar.gz
+2a2832e8c25683bd17f4ce8b37ba940a  libasr-1.0.2.tar.gz
Toni Schmidbauer | 9 Jun 22:30 2015

[HEADSUP] updated facter to 2.4.4

hi *,

i've just uploaded facter 2.4.4 to unstable. so please test and let me
know if anything breaks.

thanks
toni

Uyi Idemudia | 8 Jun 20:54 2015

Re: 64 bit apache v2 package for ubbusiness

Carten,

Good evening. Although your change did help us advance, we've run into a 
curiousity. We've been troubleshooting and have found the included 
executables to all be the 32-bit versions. The binaries referenced in the 
start up script, are not part of the package (e.g., 
/opt/csw/sbin64/apachectl). We confirmed with the package listing on 
OpenCSW at:

https://www.opencsw.org/search/apache24/

Your assistance in troubleshooting here would be greatly appreciated. 
Thank you,

Uyi

------------
Uyi Idemudia
Senior Unix Analyst
CIT Enterprise Infrastructure Support
University at Buffalo
uoi@...

On Mon, 8 Jun 2015, Carsten Grzemba wrote:

> Date: Mon, 08 Jun 2015 17:07:36 +0200
> From: Carsten Grzemba <grzemba@...>
> Reply-To: cgrzemba@...
> To: Uyi Idemudia <uoi@...>
> Subject: Re: 64 bit apache v2 package for ubbusiness
> 
> I have updated the package on buildfarm at Jun 2nd. There the property is moved to group 'general'.
> That should work better.
>
> Try a:
> pkgutil -t http://buildfarm.opencsw.org/opencsw/experimental/apache24 -i
> again.
>
> Carsten
>  
> Am 05.06.15 schrieb Uyi Idemudia  <uoi@...>:
>> Carsten,
>>
>> Good afternoon. What is the "type" of the smf "config" property group? We're bumping up against errors
trying to start up apache in 64 bit mode:
>>
>> 	svcprop: Couldn't find property group `config' for instance `svc:/network/cswapache24:default'
>>
>> We currently have it set as type, "application":
>>
>> svc:/network/cswapache24> select cswapache24:default
>> svc:/network/cswapache24:default> listprop
>> general framework
>> general/package astring CSWapache24
>> general/enabled boolean true
>> restarter_actions framework NONPERSISTENT
>> restarter_actions/refresh integer
>> restarter_actions/maint_off integer
>> restarter framework NONPERSISTENT
>> restarter/logfile astring /var/svc/log/network-cswapache24:default.log
>> restarter/start_pid count 20743
>> restarter/start_method_timestamp time 1433528054.109227000
>> restarter/start_method_waitstatus integer 256
>> restarter/contract count
>> restarter/auxiliary_state astring fault_threshold_reached
>> restarter/next_state astring none
>> restarter/state astring maintenance
>> restarter/state_timestamp time 1433528054.117455000
>> config application
>> config/enable_64bit boolean true
>>
>> Thank you,
>>
>> Uyi
>>
>> -------- Forwarded Message --------
>> Subject: Re: [csw-users] 64 bit apache v2 package
>> Date: Thu, 28 May 2015 08:17:25 +0200
>> From: Carsten Grzemba <grzemba@...>
>> Reply-To: cgrzemba@..., Questions and discussions
>> <users@...>
>> To: Questions and discussions <users@...>
>>
>>
>>
>> I have uploded a 64bit apache24 version and you can give it a try:
>>
>> pkgutil -t http://buildfarm.opencsw.org/opencsw/experimental/apache24 -i
>> apache24
>>
>> The 64bit version will selected:
>>
>> /usr/sbin/svccfg -s cswapache24 'setprop config/enable_64bit = :boolean
>> true'
>>
>> reports are wellcome.
>>
>> Am 12.05.15 schrieb *Lenny Miceli * <miceli@...>:
>>> Does anyone know if this was ever done? I don't find it in the
>>> package list.
>>>
>>> Thanks,
>>> Lenny
>>>
>>> On 08/02/2012 10:37 AM, Lenny Miceli wrote:
>>>> For my case I need it for Coldfusion v9. As of that version it only
>>>> comes in a 64 bit version on Solaris. So I need a 64 bit apache to
>>>> place in front of it.
>>>>
>>>> Lenny
>>>>
>>>> On 08/02/2012 09:56 AM, Peter Bonivart wrote:
>>>>> On Wed, Aug 1, 2012 at 9:12 PM, Lenny Miceli <miceli@...> wrote:
>>>>>> Hi Everyone,
>>>>>>
>>>>>> Is a 64 bit apache v2 package being considered? We used to install
>>>>>> 64 bit
>>>>>> apache v2.2.15 using Blastwave from the harvard mirror.
>>>>>>
>>>>>> I don't see a 64 bit apache package in OpenCSW. It would be a nice
>>>>>> addition
>>>>>> to add a 64 bit apache package since Solaris 10 doesn't come with a
>>>>>> 64-bit
>>>>>> version.
>>>>>
>>>>> What's the benefit of a web server being 64-bit if you don't mind me
>>>>> asking?
>>>>>
>>>>> /peter
>>>>> _______________________________________________
>>>>> users mailing list
>>>>> users@...
>>>>> https://lists.opencsw.org/mailman/listinfo/users
>>>>>
>>>>
>>>> _______________________________________________
>>>> users mailing list
>>>> users@...
>>>> https://lists.opencsw.org/mailman/listinfo/users
Uyi Idemudia | 5 Jun 20:47 2015

64 bit apache v2 package for ubbusiness

Carsten,

Good afternoon. What is the "type" of the smf "config" property group? 
We're bumping up against errors trying to start up apache in 64 bit mode:

 	svcprop: Couldn't find property group `config' for instance `svc:/network/cswapache24:default'

We currently have it set as type, "application":

svc:/network/cswapache24> select cswapache24:default
svc:/network/cswapache24:default> listprop
general                            framework
general/package                    astring  CSWapache24
general/enabled                    boolean  true
restarter_actions                  framework    NONPERSISTENT
restarter_actions/refresh          integer
restarter_actions/maint_off        integer
restarter                          framework    NONPERSISTENT
restarter/logfile                  astring 
/var/svc/log/network-cswapache24:default.log
restarter/start_pid                count    20743
restarter/start_method_timestamp   time     1433528054.109227000
restarter/start_method_waitstatus  integer  256
restarter/contract                 count
restarter/auxiliary_state          astring  fault_threshold_reached
restarter/next_state               astring  none
restarter/state                    astring  maintenance
restarter/state_timestamp          time     1433528054.117455000
config                             application
config/enable_64bit                boolean  true

Thank you,

Uyi

-------- Forwarded Message --------
Subject: 	Re: [csw-users] 64 bit apache v2 package
Date: 	Thu, 28 May 2015 08:17:25 +0200
From: 	Carsten Grzemba <grzemba@...>
Reply-To: 	cgrzemba@..., Questions and discussions
<users@...>
To: 	Questions and discussions <users@...>

I have uploded a 64bit apache24 version and you can give it a try:

pkgutil -t http://buildfarm.opencsw.org/opencsw/experimental/apache24 -i
apache24

The 64bit version will selected:

/usr/sbin/svccfg -s cswapache24 'setprop config/enable_64bit = :boolean
true'

reports are wellcome.

Am 12.05.15 schrieb *Lenny Miceli * <miceli@...>:
> Does anyone know if this was ever done?  I don't find it in the
> package list.
> 
> Thanks,
>   Lenny
> 
> On 08/02/2012 10:37 AM, Lenny Miceli wrote:
> >For my case I need it for Coldfusion v9.  As of that version it only
> >comes in a 64 bit version on Solaris.  So I need a 64 bit apache to
> >place in front of it.
> >
> >Lenny
> >
> >On 08/02/2012 09:56 AM, Peter Bonivart wrote:
> >>On Wed, Aug 1, 2012 at 9:12 PM, Lenny Miceli <miceli@...> wrote:
> >>>Hi Everyone,
> >>>
> >>>Is a 64 bit apache v2 package being considered?  We used to install
> >>>64 bit
> >>>apache v2.2.15 using Blastwave from the harvard mirror.
> >>>
> >>>I don't see a 64 bit apache package in OpenCSW.  It would be a nice
> >>>addition
> >>>to add a 64 bit apache package since Solaris 10 doesn't come with a
> >>>64-bit
> >>>version.
> >>
> >>What's the benefit of a web server being 64-bit if you don't mind me
> >>asking?
> >>
> >>/peter
> >>_______________________________________________
> >>users mailing list
> >>users@...
> >>https://lists.opencsw.org/mailman/listinfo/users
> >>
> >
> >_______________________________________________
> >users mailing list
> >users@...
> >https://lists.opencsw.org/mailman/listinfo/users
> >

Dagobert Michelsen | 31 May 17:49 2015

Re: OpenCSW question about package CSWjoe

Hi Alex,

Am 31.05.2015 um 15:57 schrieb Alex Petrov:
> Thanks!
> 
> one minor thing:
> 
> They have added new things (:shell and :vtshell sections) to joerc config file so
> I ended up removing /etc/opt/csw/joe/joerc to stop the editor from complaining.
> 
> ( /etc/opt/csw/joe/joerc doesn't have those sections and on each startup joe was
> opening second window warning that those sections arre missing )

Well, you obviously customized your joerc earlier and CSWjoe keeps the configuration
files in /etc/opt/csw/joe on updates if you modified them, so you are responsible
on your own for updating your config files :-)
You could also have copied the shipped default config file joerc.CSW to joerc.

Best regards

  -- Dago
Freddy DISSAUX | 31 May 11:35 2015
Picon

fossil 1.33 update

Helo,

Patch for fossil 1.33.

Regards,
Index: Makefile
===================================================================
--- Makefile	(revision 25037)
+++ Makefile	(working copy)
 <at>  <at>  -3,7 +3,7  <at>  <at> 
 # Recipe sent in by Freddy DISSAUX freddy.dsx free.fr

 NAME = fossil
-VERSION = 1.32
+VERSION = 1.33
 GARTYPE = v2

 DESCRIPTION = DSCM with built-in wiki, http interface and server, tickets database
 <at>  <at>  -22,6 +22,7  <at>  <at> 

 GARCOMPILER = GNU

+WORKSRC = $(WORKDIR)/$(NAME)-src-$(VERSION)
 CONFIGURE_ARGS = $(DIRPATHS)
 CONFIGURE_ARGS += --with-openssl=$(includedir)

Index: checksums
===================================================================
--- checksums	(revision 25037)
+++ checksums	(working copy)
 <at>  <at>  -1 +1  <at>  <at> 
-ddf352925a795e574925505b9344a58e  fossil-src-1.32.tar.gz
+53f8145084a2065d6cb734980c172c7e  fossil-src-1.33.tar.gz
Dagobert Michelsen | 30 May 21:15 2015

Re: OpenCSW question about package CSWjoe

Hi Alex, 

Am 29.05.2015 um 22:30 schrieb alex.petrov@...:
> CSWjoe package is falling behind :)
> 
> This is just fyi. I know that you guys are doing what you can...
> 
> Current version is more than adequate.
> 
> Thanks for you work.

Sure, it was a quick version bump and 4.0 was pushed to unstable.

Best regards

  -- Dago

Carsten Grzemba | 28 May 08:17 2015
Picon

Re: 64 bit apache v2 package

I have uploded a 64bit apache24 version and you can give it a try:

pkgutil -t http://buildfarm.opencsw.org/opencsw/experimental/apache24 -i apache24

The 64bit version will selected:

/usr/sbin/svccfg -s cswapache24 'setprop config/enable_64bit = :boolean true'

reports are wellcome.

Am 12.05.15 schrieb Lenny Miceli <miceli <at> buffalo.edu>:

Does anyone know if this was ever done?  I don't find it in the package list.

Thanks,
  Lenny

On 08/02/2012 10:37 AM, Lenny Miceli wrote:
>For my case I need it for Coldfusion v9.  As of that version it only
>comes in a 64 bit version on Solaris.  So I need a 64 bit apache to
>place in front of it.
>
>Lenny
>
>On 08/02/2012 09:56 AM, Peter Bonivart wrote:
>>On Wed, Aug 1, 2012 at 9:12 PM, Lenny Miceli <miceli <at> buffalo.edu> wrote:
>>>Hi Everyone,
>>>
>>>Is a 64 bit apache v2 package being considered?  We used to install
>>>64 bit
>>>apache v2.2.15 using Blastwave from the harvard mirror.
>>>
>>>I don't see a 64 bit apache package in OpenCSW.  It would be a nice
>>>addition
>>>to add a 64 bit apache package since Solaris 10 doesn't come with a
>>>64-bit
>>>version.
>>
>>What's the benefit of a web server being 64-bit if you don't mind me
>>asking?
>>
>>/peter
>>_______________________________________________
>>users mailing list
>>users <at> lists.opencsw.org
>>https://lists.opencsw.org/mailman/listinfo/users
>>
>
>_______________________________________________
>users mailing list
>users <at> lists.opencsw.org
>https://lists.opencsw.org/mailman/listinfo/users
>
Alan M. Feldstein | 22 May 21:47 2015

Minimum libc version is 1.22.5

# /opt/csw/bin/vim
ld.so.1: vim: fatal: libc.so.1: version `SUNW_1.22.5' not found 
(required by file /space/opt/csw/bin/vim)
ld.so.1: vim: fatal: libc.so.1: open failed: No such file or directory
Killed
#

But pvs showed that I have version 1.23:

fonzie% pvs -no /usr/lib/libc.so
/usr/lib/libc.so -	SUNW_1.23;
/usr/lib/libc.so -	SUNWprivate_1.1;
fonzie%

Why doesn't that satisfy the minimum version requirement?

--

-- 
*Alan Feldstein*
Architectural Verification Engineer, Cosmic Horizon
<http://www.alanfeldstein.com/>
alan@... <mailto:alan@...>
*http://www.linkedin.com/in/feldstein*
	
work: +1 585 415 6682
See who we know in common <http://www.linkedin.com/e/wwk/1301367/> 	Want
a signature like this? <http://www.linkedin.com/e/sig/1301367/>

Dagobert Michelsen | 18 May 18:28 2015

Re: New recipe - libasr

Hi Freddy,

Am 13.05.2015 um 19:35 schrieb Freddy DISSAUX:
>> Thanks for your contribution! However, the file libsocket_priv.h seems to be lacking.
>> Can you please provide it?
> 
> Yes, and sorry for the inconvenience.
> 
> $ md5 openbsd-compat.tgz 
> MD5 (openbsd-compat.tgz) = c3149be3b4818cbb7adb6af9e6859127
> $ tar tzf openbsd-compat.tgz
> libasr/trunk/files/openbsd-compat
> libasr/trunk/files/openbsd-compat/ifaddrs.h
> libasr/trunk/files/openbsd-compat/getifaddrs.c
> libasr/trunk/files/openbsd-compat/libsocket_priv.h
> 
> Hope adding a directory in files is not a bad way.

I just added the tarball and made some slight adjustments to the recipe:
  https://buildfarm.opencsw.org/source/xref/opencsw/csw/mgar/pkg/libasr/trunk/Makefile
This includes renaming the library package to the canonical name CSWlibasr0
and adding 64 bit.

Would it be possible to submit the changes upstream to build from an unpatched version next time?

The slightly renamed packages
  CSWlibasr0
  CSWlibasr-dev
have been pushed to unstable for Solaris 10 and 11.

Thanks again for your contribution!

Best regards

  -- Dago

Gmane