From Sendil_Natarajan at amat.com Fri Jun 9 09:29:08 2017 From: Sendil_Natarajan at amat.com (Sendil_Natarajan at amat.com) Date: Fri, 9 Jun 2017 07:29:08 +0000 Subject: Need Python2.7 and above for Solaris 10 Message-ID: Hi All, I want to install Phython2.7 or above in Solaris 10 machine. Can you please let me know where I can find it with steps to install it. Thanks, Sendil ________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: From dam at opencsw.org Fri Jun 9 09:40:58 2017 From: dam at opencsw.org (Dagobert Michelsen) Date: Fri, 9 Jun 2017 09:40:58 +0200 Subject: Need Python2.7 and above for Solaris 10 In-Reply-To: References: Message-ID: Hi Sendil, Am 09.06.2017 um 09:29 schrieb Sendil Kuamr via users : > I want to install Phython2.7 or above in Solaris 10 machine. Can you please let me know where I can find it with steps to install it. Just look at the Python 2.7 page in the upper box: https://www.opencsw.org/packages/CSWpython27/ We also have a manual: https://www.opencsw.org/manual/for-administrators/getting-started.html Best regards ? Dago -- "You don't become great by trying to be great, you become great by wanting to do something, and then doing it so hard that you become great in the process." - xkcd #896 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 841 bytes Desc: Message signed with OpenPGP URL: From dam at opencsw.org Fri Jun 9 10:50:44 2017 From: dam at opencsw.org (Dagobert Michelsen) Date: Fri, 9 Jun 2017 10:50:44 +0200 Subject: Git at OpenCSW In-Reply-To: References: Message-ID: <74F35C7C-0C19-4221-96EC-B7C8DB242DD5@opencsw.org> Hi Lusby, (cc?ing users@) Am 08.06.2017 um 22:42 schrieb Michael P Lusby : > I?ve setup the mgar/gar build system and was able to run ?mgar build? in the git/trunk directory. > > I?m encountering an error. The log file below appears to indicate that it is checking for gcc and the result is /opt/solarisstudio12.3/bin/cc. > Solaris studio is not installed on my box. > GCC is installed to /opt/csw/bin/gcc > > Is Solaris Studio 12.3 required? The recipe is made to use it. The GAR build system has tight integration of compiler flags: https://buildfarm.opencsw.org/source/xref/opencsw/csw/mgar/gar/v2/gar.conf.mk#96 https://buildfarm.opencsw.org/source/xref/opencsw/csw/mgar/gar/v2/gar.conf.mk#240 You can try with GARCOMPILER = GNU but probably need other adjustments also. You can find here in a couple of minutes some experimental packages I made for 2.13.1: http://buildfarm.opencsw.org/experimental.html#git Best regards ? Dago -- "You don't become great by trying to be great, you become great by wanting to do something, and then doing it so hard that you become great in the process." - xkcd #896 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 841 bytes Desc: Message signed with OpenPGP URL: From Sendil_Natarajan at amat.com Fri Jun 9 11:52:28 2017 From: Sendil_Natarajan at amat.com (Sendil_Natarajan at amat.com) Date: Fri, 9 Jun 2017 09:52:28 +0000 Subject: Need Python2.7 and above for Solaris 10 In-Reply-To: References: Message-ID: Hi Dago, Thanks. I have also installed psutils from the below location. But, still my python script gives the below error. Please let me know what I'm missing. https://www.opencsw.org/package/psutils/ import psutil ImportError: No module named psutil Thanks, Sendil -----Original Message----- From: Dagobert Michelsen [mailto:dam at opencsw.org] Sent: Friday, June 09, 2017 1:11 PM To: Questions and discussions Cc: Sendil Natarajan Subject: Re: Need Python2.7 and above for Solaris 10 Hi Sendil, Am 09.06.2017 um 09:29 schrieb Sendil Kuamr via users : > I want to install Phython2.7 or above in Solaris 10 machine. Can you please let me know where I can find it with steps to install it. Just look at the Python 2.7 page in the upper box: https://www.opencsw.org/packages/CSWpython27/ We also have a manual: https://www.opencsw.org/manual/for-administrators/getting-started.html 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 dam at opencsw.org Fri Jun 9 12:57:22 2017 From: dam at opencsw.org (Dagobert Michelsen) Date: Fri, 9 Jun 2017 12:57:22 +0200 Subject: Need Python2.7 and above for Solaris 10 In-Reply-To: References: Message-ID: Hi Sendil, Am 09.06.2017 um 11:52 schrieb : > I have also installed psutils from the below location. But, still my python script gives the below error. Please let me know what I'm missing. > https://www.opencsw.org/package/psutils/ > > import psutil > ImportError: No module named psutil psutils is a completely different package, it does not contain a python module. What are you looking for, I can?t find anything with that name: https://pypi.python.org/pypi?%3Aaction=search&term=psutils&submit=search Best regards ? Dago > > Thanks, > Sendil > -----Original Message----- > From: Dagobert Michelsen [mailto:dam at opencsw.org] > Sent: Friday, June 09, 2017 1:11 PM > To: Questions and discussions > Cc: Sendil Natarajan > Subject: Re: Need Python2.7 and above for Solaris 10 > > Hi Sendil, > > Am 09.06.2017 um 09:29 schrieb Sendil Kuamr via users : >> I want to install Phython2.7 or above in Solaris 10 machine. Can you please let me know where I can find it with steps to install it. > > Just look at the Python 2.7 page in the upper box: > https://www.opencsw.org/packages/CSWpython27/ > > We also have a manual: > https://www.opencsw.org/manual/for-administrators/getting-started.html > > > 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 > > > ________________________________ > -- "You don't become great by trying to be great, you become great by wanting to do something, and then doing it so hard that you become great in the process." - xkcd #896 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 841 bytes Desc: Message signed with OpenPGP URL: From dam at opencsw.org Mon Jun 12 09:13:01 2017 From: dam at opencsw.org (Dagobert Michelsen) Date: Mon, 12 Jun 2017 09:13:01 +0200 Subject: Need Python2.7 and above for Solaris 10 In-Reply-To: References: Message-ID: <6AA1A4F9-BA3C-472C-AE8F-3F5F8918C390@opencsw.org> Hi Sendil, Am 09.06.2017 um 12:57 schrieb Dagobert Michelsen via users : > Am 09.06.2017 um 11:52 schrieb : >> I have also installed psutils from the below location. But, still my python script gives the below error. Please let me know what I'm missing. >> https://www.opencsw.org/package/psutils/ >> >> import psutil >> ImportError: No module named psutil > > psutils is a completely different package, it does not contain a python module. > What are you looking for, I can?t find anything with that name: > https://pypi.python.org/pypi?%3Aaction=search&term=psutils&submit=search I think I know now what you meant: https://www.opencsw.org/packages/py_psutil/ Best regards ? Dago > > > Best regards > > ? Dago > >> >> Thanks, >> Sendil >> -----Original Message----- >> From: Dagobert Michelsen [mailto:dam at opencsw.org] >> Sent: Friday, June 09, 2017 1:11 PM >> To: Questions and discussions >> Cc: Sendil Natarajan >> Subject: Re: Need Python2.7 and above for Solaris 10 >> >> Hi Sendil, >> >> Am 09.06.2017 um 09:29 schrieb Sendil Kuamr via users : >>> I want to install Phython2.7 or above in Solaris 10 machine. Can you please let me know where I can find it with steps to install it. >> >> Just look at the Python 2.7 page in the upper box: >> https://www.opencsw.org/packages/CSWpython27/ >> >> We also have a manual: >> https://www.opencsw.org/manual/for-administrators/getting-started.html >> >> >> 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 >> >> >> ________________________________ >> > > -- > "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 -- "You don't become great by trying to be great, you become great by wanting to do something, and then doing it so hard that you become great in the process." - xkcd #896 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 841 bytes Desc: Message signed with OpenPGP URL: From Keith.Fishwick at hullcc.gov.uk Fri Jun 23 11:22:30 2017 From: Keith.Fishwick at hullcc.gov.uk (Fishwick Keith) Date: Fri, 23 Jun 2017 09:22:30 +0000 Subject: CUPS printer 'busy' Message-ID: <6AD7D1C3121C6142BD40A21D99597FE6B6EEA269@HCC-EXMBX02.hullcc.gov.uk> Hi, Hoping this might be straightforward to fix ... Issue I'm using CUPS on Solaris 10 branded zone. I've sent a print request to a CUPS printer. The request 'hangs' on the Solaris server # lpstat -o 38214L 38214L-80 root 1024 22 June 2017 17:06:53 BST When I look in CUPS admin the printer state is ... Processing since date-time "The printer is busy" Clearly the printer is telling me to 'wait a while cos I'm preoccupied with something' But I can't find any evidence to say the printer is actually busy. CUPS Printer setup Name: 38214L Driver: Local Raw Printer Connection: http:///38214L is Windows 2012 R2 server and has printer 38214L installed as a local printer appears in /etc/hosts on the Solaris 10 server where CUPS is installed, and is pingable from here Recent changes Originally in the above setup was another Solaris 10 server. Printing worked fine. Recently I changed the . It is now a Windows 2012 R2 server. It is only since this change that the 'printer busy' state has occurred. Any ideas on how to fix would be greatly appreciated. Cheers Keith Keith Fishwick Finance, Infrastructure and Transformation Directorate Integrated Business Centre ICT Hull City Council Maritime Buildings Alfred Gelder Street, HULL, HU1 2AA Tel: +44 1482 614519 Email: mailto:keith.fishwick at hullcc.gov.uk ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ This transmission is intended for the named addressee(s) only. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All transmissions may be subjected to recording and/or monitoring in accordance with relevant legislation. This footnote also confirms that this email message has been swept for the presence of computer viruses. Website: www.hullcc.gov.uk Tel: 01482 300 300 Text Phone: 01482 300 349 -------------- next part -------------- An HTML attachment was scrubbed... URL: From lists at nerdbynature.de Fri Jun 23 22:15:32 2017 From: lists at nerdbynature.de (Christian Kujau) Date: Fri, 23 Jun 2017 13:15:32 -0700 (PDT) Subject: CUPS printer 'busy' In-Reply-To: <6AD7D1C3121C6142BD40A21D99597FE6B6EEA269@HCC-EXMBX02.hullcc.gov.uk> References: <6AD7D1C3121C6142BD40A21D99597FE6B6EEA269@HCC-EXMBX02.hullcc.gov.uk> Message-ID: On Fri, 23 Jun 2017, Fishwick Keith via users wrote: > I'm using CUPS on Solaris 10 branded zone. > I've sent a print request to a CUPS printer. > The request 'hangs' on the Solaris server What does that have to do with OpenCSW, a software packaging framework for Solaris? I'd recommed asking on a Solaris mailing list instead, or even the Oracle Solaris forum. C. -- BOFH excuse #428: Firmware update in the coffee machine From Antoine.ALLARD at murex.com Fri Jun 30 15:41:31 2017 From: Antoine.ALLARD at murex.com (ALLARD Antoine) Date: Fri, 30 Jun 2017 13:41:31 +0000 Subject: pkgutil failing to install specific version of a package dependency Message-ID: Hello, I am having an issue with pkgutil when trying to install a package with a specific version of a dependency. Basically my use case is very simple: - I have created two revisions of a package bar: bar-0.1,REV=2017.06.21-SunOS5.10-i386-XYZ.pkg.gz bar-0.1,REV=2017.06.25-SunOS5.10-i386-XYZ.pkg.gz - I have created a package foo where I specified in the depend file a dependency to bar-0.1,REV=2017.06.21: P bar-0.1,REV=2017.06.21 bar - my bar package - I try to install foo and I expect to have it install specifically the version 0.1,REV=2017.06.21 of the bar package It fails and I end up with a very weird output in pkgutil: $ pkgutil -i -y -D foo Install 1 NEW packages: DEBUG:Parsing catalog ... looking for: bar-0.1,REV=2017.06.21-0.1,REV=2017.06.21 (mode 3) DEBUG: pkg: bar-0.1,REV=2017.06.21-0.1,REV=2017.06.21 DEBUG: vers: 0.1,REV=2017.06.21 DEBUG: tryname: bar-0.1,REV=2017.06.21 DEBUG:Return value: not in catalog Can't use an undefined value as an ARRAY reference at /opt/csw/bin/pkgutil line 687. The issue seems to be that somehow pkgutil ends up looking for my package with two times the version in its name. I tried to debug to find out why but I could not pinpoint the origin of the problem. As a workaround, I patched pkgutil to add the following lines in the parse_catalog function to suppress this redundant version token: # Do we have an embedded version? my @p = split /-/, $pkg ; my $vers = pop @p; if(scalar @p > 1) { print STDERR "DEBUG: too many version tokens found\n" if $debug; @p = $p[0]; } my $tryname = join( '-', @p ); My question is, did I made a mistake in the bar dependency definition in the foo package depend file? The depend documentation says that the version should be specified on a new line starting with some whitespace but it did not work in my case (it ended taking the latest revision). What is the correct way to specify the revision of a package dependency? Best regards, Antoine ******************************* This e-mail contains information for the intended recipient only. It may contain proprietary material or confidential information. If you are not the intended recipient you are not authorised to distribute, copy or use this e-mail or any attachment to it. Murex cannot guarantee that it is virus free and accepts no responsibility for any loss or damage arising from its use. If you have received this e-mail in error please notify immediately the sender and delete the original email received, any attachments and all copies from your system. -------------- next part -------------- An HTML attachment was scrubbed... URL: From maciej at opencsw.org Fri Jun 30 17:28:51 2017 From: maciej at opencsw.org (Maciej =?utf-8?Q?Blizi=C5=84ski?=) Date: Fri, 30 Jun 2017 16:28:51 +0100 Subject: pkgutil failing to install specific version of a package dependency In-Reply-To: References: Message-ID: <20170630152851.GA27656@blizinski-linux.roam.corp.google.com> Hi Anotine, On Fri, Jun 30, 2017 at 01:41:31PM +0000, ALLARD Antoine via users wrote: > The depend documentation says that the version should be specified on a new line starting with some whitespace but it did not work in my case (it ended taking the latest revision). > What is the correct way to specify the revision of a package dependency? The ability to depend on a specific version of a package is news to me. All of the OpenCSW packages are built with the assumption that this is not possible. I tried to determine when was this introduced. I found the previous version of this document for Solaris 8 and 9: Solaris 8 http://docs.oracle.com/cd/E19455-01/806-0633/6j9vn6q35/index.html Solaris 9 http://docs.oracle.com/cd/E19683-01/816-0219/6m6njqb78/index.html Both documents refer to the same file format, which includes the package version. Perhaps it's just the OpenCSW tooling that doesn't allow for that? In any case, it's likely that pkgutil wasn't designed or tested for this feature. I don't know how much effort would it take to make it work. Maybe Peter Bonivart can write more about this? Maciej