From mstudd at recognia.com Fri Aug 1 16:30:35 2014 From: mstudd at recognia.com (Malcolm Studd) Date: Fri, 1 Aug 2014 12:30:35 -0400 Subject: [scl.org] perl dependency generation on CentOS 7 Message-ID: <53DBC0AB.5030105@recognia.com> Hi, I'm having trouble building a perl 5.18/5.20 SCL on CentOS 7. I already built a perl 5.18 SCL on CentOS 6 based on the perl516 SCL, and it worked no problem. Moving to CentOS 7, though, all the requires/provides are "perl" instead of "perl518-perl" I followed SCL documentation[1] for creating sofware collections and adjusted some things in the perl518.spec to more closely match. There is a /etc/rpm/macros.perl518-config with %scl perl518 %__perl %_scl_root/usr/bin/perl %__perl_provides /usr/lib/rpm/perl.perl518-prov %__perl_requires /usr/lib/rpm/perl.perl518-req in it. While %__perl_provides seems to be set when building perl.spec, it doesn't seem to be used, though it looks like the example in the docs[2]. Setting %_use_internal_dependency_generator 0 or 1 seems to have no effect. I added some manual filtering like shown for pkgconfig: %__filter_from_req | /usr/bin/sed -e 's|^perl$|perl518-perl|g' %__filter_from_req | /usr/bin/sed -e 's|^perl |perl518-perl |g' %__filter_from_req | /usr/bin/sed -e 's| perl(| perl518-perl(|g' %__filter_from_req | /usr/bin/sed -e 's|^perl(|perl518-perl(|g' %__filter_from_prov | /usr/bin/sed -e 's| perl | perl518-perl |g' %__filter_from_prov | /usr/bin/sed -e 's| perl(| perl518-perl(|g' %__filter_from_prov | /usr/bin/sed -e 's|^perl(|perl518-perl(|g' This gets most dependencies, except for: perl >= 0:5.000 ... perl >= 1:5.010_000 perl >= 1:5.010001 perl518-perl >= 0:5.006 perl518-perl >= 0:5.009001 Anyone have any idea what's going wrong? Spec files attached for any clues in there. Malcolm [1] https://access.redhat.com/documentation/en-US/Red_Hat_Developer_Toolset/2/html/Software_Collections_Guide/chap-Packaging_Software_Collections.html#Creating_Your_Own_Software_Collections [2] https://access.redhat.com/documentation/en-US/Red_Hat_Developer_Toolset/2/html/Software_Collections_Guide/chap-Advanced_Topics.html www.recognia.com Recognia ? World Leaders in Technical Analysis [VIDEO] [Facebook][Twitter][LinkedIn][YouTube] ________________________________ This message may contain confidential and proprietary information of Recognia Inc. and is intended only for the designated recipient(s). If you are not the intended recipient of this message you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited. To stop receiving communication from Recognia simply click on the email address below: unsubscribe at recognia.com -------------- next part -------------- A non-text attachment was scrubbed... Name: perl518.spec Type: text/x-rpm-spec Size: 5187 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: perl.spec Type: text/x-rpm-spec Size: 145983 bytes Desc: not available URL: From orion at cora.nwra.com Fri Aug 1 19:41:13 2014 From: orion at cora.nwra.com (Orion Poplawski) Date: Fri, 01 Aug 2014 13:41:13 -0600 Subject: [scl.org] perl dependency generation on CentOS 7 In-Reply-To: <53DBC0AB.5030105@recognia.com> References: <53DBC0AB.5030105@recognia.com> Message-ID: <53DBED59.6000003@cora.nwra.com> On 08/01/2014 10:30 AM, Malcolm Studd wrote: > Hi, > > I'm having trouble building a perl 5.18/5.20 SCL on CentOS 7. I already > built a perl 5.18 SCL on CentOS 6 based on the perl516 SCL, and it > worked no problem. Moving to CentOS 7, though, all the requires/provides > are "perl" instead of "perl518-perl" > > I followed SCL documentation[1] for creating sofware collections and > adjusted some things in the perl518.spec to more closely match. There is > a /etc/rpm/macros.perl518-config with > %scl perl518 > %__perl %_scl_root/usr/bin/perl > %__perl_provides /usr/lib/rpm/perl.perl518-prov > %__perl_requires /usr/lib/rpm/perl.perl518-req > in it. By chance do you have %__perl_provides being defined in multiple rpm macro files (i.e. multiple perl*-devel packages installed)? -- Orion Poplawski Technical Manager 303-415-9701 x222 NWRA, Boulder/CoRA Office FAX: 303-415-9702 3380 Mitchell Lane orion at nwra.com Boulder, CO 80301 http://www.nwra.com From mstudd at recognia.com Fri Aug 1 20:03:38 2014 From: mstudd at recognia.com (Malcolm Studd) Date: Fri, 1 Aug 2014 16:03:38 -0400 Subject: [scl.org] perl dependency generation on CentOS 7 In-Reply-To: <53DBED59.6000003@cora.nwra.com> References: <53DBC0AB.5030105@recognia.com> <53DBED59.6000003@cora.nwra.com> Message-ID: <53DBF29A.2040400@recognia.com> On 08/01/2014 03:41 PM, Orion Poplawski wrote: > On 08/01/2014 10:30 AM, Malcolm Studd wrote: >> I followed SCL documentation[1] for creating sofware collections and >> adjusted some things in the perl518.spec to more closely match. There is >> a /etc/rpm/macros.perl518-config with >> %scl perl518 >> %__perl %_scl_root/usr/bin/perl >> %__perl_provides /usr/lib/rpm/perl.perl518-prov >> %__perl_requires /usr/lib/rpm/perl.perl518-req >> in it. > > By chance do you have %__perl_provides being defined in multiple rpm > macro files (i.e. multiple perl*-devel packages installed)? > > I see two files in /etc/rpm: /etc/rpm/macros.perl:%global __perl_provides /usr/lib/rpm/perl.prov /etc/rpm/macros.perl518-config:%__perl_provides /usr/lib/rpm/perl.perl518-prov No files in /usr/lib/rpm. The macros.perl file comes from perl-macros-5.16.3-283.el7.x86_64. If I `echo %__perl_provides` in the %setup section, it prints /usr/lib/rpm/perl.perl518-prov, so it looks like the right setup is being picked up. I've uninstall perl-macros and started the build to see if that helps at all. Thank you. Malcolm www.recognia.com Recognia ? World Leaders in Technical Analysis [VIDEO] [Facebook][Twitter][LinkedIn][YouTube] ________________________________ This message may contain confidential and proprietary information of Recognia Inc. and is intended only for the designated recipient(s). If you are not the intended recipient of this message you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited. To stop receiving communication from Recognia simply click on the email address below: unsubscribe at recognia.com From jplesnik at redhat.com Mon Aug 4 07:35:23 2014 From: jplesnik at redhat.com (Jitka Plesnikova) Date: Mon, 04 Aug 2014 09:35:23 +0200 Subject: [scl.org] perl dependency generation on CentOS 7 In-Reply-To: <53DBF29A.2040400@recognia.com> References: <53DBC0AB.5030105@recognia.com> <53DBED59.6000003@cora.nwra.com> <53DBF29A.2040400@recognia.com> Message-ID: <53DF37BB.80601@redhat.com> On 08/01/2014 10:03 PM, Malcolm Studd wrote: > On 08/01/2014 03:41 PM, Orion Poplawski wrote: >> On 08/01/2014 10:30 AM, Malcolm Studd wrote: >>> I followed SCL documentation[1] for creating sofware collections and >>> adjusted some things in the perl518.spec to more closely match. >>> There is >>> a /etc/rpm/macros.perl518-config with >>> %scl perl518 >>> %__perl %_scl_root/usr/bin/perl >>> %__perl_provides /usr/lib/rpm/perl.perl518-prov >>> %__perl_requires /usr/lib/rpm/perl.perl518-req >>> in it. >> >> By chance do you have %__perl_provides being defined in multiple rpm >> macro files (i.e. multiple perl*-devel packages installed)? >> >> > > I see two files in /etc/rpm: > /etc/rpm/macros.perl:%global __perl_provides /usr/lib/rpm/perl.prov > /etc/rpm/macros.perl518-config:%__perl_provides > /usr/lib/rpm/perl.perl518-prov > > No files in /usr/lib/rpm. > > The macros.perl file comes from perl-macros-5.16.3-283.el7.x86_64. If I > `echo %__perl_provides` in the %setup section, it prints > /usr/lib/rpm/perl.perl518-prov, so it looks like the right setup is > being picked up. > > I've uninstall perl-macros and started the build to see if that helps at > all. > > Thank you. > > Malcolm > www.recognia.com > Hi, the macros for perl should be a different at CentOS 7. Something like this %scl_package_override() %{expand: \ %global __perl %_scl_root/usr/bin/perl \ %global __perl_requires /usr/lib/rpm/perl.req.stack \ %global __perl_provides /usr/lib/rpm/perl.prov.stack \ %global __perllib_requires /usr/lib/rpm/perl.req.stack \ %global __perllib_provides /usr/lib/rpm/perl.prov.stack \ } It overrides definition specified at /usr/lib/rpm/fileattrs/perl*attr (for more info http://www.rpm.org/wiki/PackagerDocs/DependencyGenerator) Regards, Jitka From redhat at veggiechinese.net Mon Aug 4 17:11:54 2014 From: redhat at veggiechinese.net (Will Yardley) Date: Mon, 4 Aug 2014 10:11:54 -0700 Subject: [scl.org] MySQL for ror40 / ruby200 In-Reply-To: <20140714234629.GB96702@aura.veggiechinese.net> References: <20140714234629.GB96702@aura.veggiechinese.net> Message-ID: <20140804171154.GA36407@aura.veggiechinese.net> On Mon, Jul 14, 2014 at 04:46:29PM -0700, Will Yardley wrote: > Am I missing something, or are there no Ruby MySQL bindings for the EL6 > Ruby 2 / Rails 4 packages at: > https://www.softwarecollections.org/repos/rhscl/ > > I see sqlite and mongo drivers; while I get that many Ruby developers > are moving towards other options, is there a way to get the MySQL > bindings and / or can someone build them? So, there's no MySQL or PostgreSQL bindings? Will these gems compile properly if bundled into an application, since they're compiled and linked against system libraries? Seems like these would be one of the more commonly required gems. w From dd at robhost.de Tue Aug 5 07:45:03 2014 From: dd at robhost.de (Dirk Dankhoff) Date: Tue, 5 Aug 2014 09:45:03 +0200 Subject: [scl.org] php54 EL6 SCL metadata not matching packages Message-ID: Hi I've encountered an error with the repository metadata of the approved SCL "php54" starting on 21 July 2014. The error prevents installing the core package "php54" on CentOS 6.5 because a dependency (php54-php-xml) does not match the metadata supplied by the repository. relevant yum output: > php54-php-xml-5.4.16-16.el6.x86_64.rpm | 109 kB 00:00 > https://www.softwarecollections.org/repos/rhscl/php54/epel-6-x86_64/php54-php-xml-5.4.16-16.el6.x86_64.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=rhscl-php54-epel-6-x86_64 clean metadata Cleaning the metadata locally does not help. It seems that on 21 July 2014 around 03:30 AM some of the packages (e.g. php54-php-xml-5.4.16-16.el6.x86_64, php54-php-xmlrpc-5.4.16-16.el6.x86_64 and a few others) were updated but the repodata was not (it was last updated on 05-05-2014). I don't know if this is the right place to ask this but the admin at scl.org email address is not working (returns a "550 relay not permitted" by the MX at registrar-servers): Is it be possible to regenerate the repository metadata to make the SCL usable again? -- Dirk -------------- next part -------------- An HTML attachment was scrubbed... URL: From mmaslano at redhat.com Tue Aug 5 09:52:42 2014 From: mmaslano at redhat.com (Marcela Maslanova) Date: Tue, 5 Aug 2014 05:52:42 -0400 (EDT) Subject: [scl.org] MySQL for ror40 / ruby200 In-Reply-To: <20140804171154.GA36407@aura.veggiechinese.net> References: <20140714234629.GB96702@aura.veggiechinese.net> <20140804171154.GA36407@aura.veggiechinese.net> Message-ID: <1788877895.32552597.1407232362859.JavaMail.zimbra@redhat.com> ----- Original Message ----- > From: "Will Yardley" > To: sclorg at redhat.com > Sent: Monday, August 4, 2014 7:11:54 PM > Subject: Re: [scl.org] MySQL for ror40 / ruby200 > > So, there's no MySQL or PostgreSQL bindings? > > Will these gems compile properly if bundled into an application, since > they're compiled and linked against system libraries? Seems like these > would be one of the more commonly required gems. > > w > > _______________________________________________ > SCLorg mailing list > SCLorg at redhat.com > https://www.redhat.com/mailman/listinfo/sclorg > We packaged the most common use-cases. Feel free to open a bug for specific binding. https://bugzilla.redhat.com/enter_bug.cgi?product=softwarecollections.org -- Marcela From mstudd at recognia.com Tue Aug 5 14:16:21 2014 From: mstudd at recognia.com (Malcolm Studd) Date: Tue, 5 Aug 2014 10:16:21 -0400 Subject: [scl.org] perl dependency generation on CentOS 7 In-Reply-To: <53DF37BB.80601@redhat.com> References: <53DBC0AB.5030105@recognia.com> <53DBED59.6000003@cora.nwra.com> <53DBF29A.2040400@recognia.com> <53DF37BB.80601@redhat.com> Message-ID: <53E0E735.90503@recognia.com> On 08/04/2014 03:35 AM, Jitka Plesnikova wrote: > the macros for perl should be a different at CentOS 7. > > Something like this > I now have /etc/rpm/macros.perl518-config with the contents %scl perl518 %scl_package_override() %{expand: \ %global __perl %_scl_root/usr/bin/perl \ %global __perl_requires /usr/lib/rpm/perl.perl518-req \ %global __perl_provides /usr/lib/rpm/perl.perl518-prov \ %global __perllib_requires /usr/lib/rpm/perl.perl518-req \ %global __perllib_provides /usr/lib/rpm/perl.perl518-prov \ } It does not work. Most provides and requires are still just "perl". > > It overrides definition specified at /usr/lib/rpm/fileattrs/perl*attr > (for more info http://www.rpm.org/wiki/PackagerDocs/DependencyGenerator) I had seen that earlier, and just went back and read it more carefully, but I don't see how you got from that to this. Googling scl_package_override brought up some Fedora documentation[1], so I'm off to see if it has any clues. Thank you, Malcolm [1] https://docs.fedoraproject.org/en-US/Fedora_Contributor_Documentation/1/html/Software_Collections_Guide/sect-Software_Collection_Macro_Files_Support.html# www.recognia.com Recognia ? World Leaders in Technical Analysis [VIDEO] [Facebook][Twitter][LinkedIn][YouTube] ________________________________ This message may contain confidential and proprietary information of Recognia Inc. and is intended only for the designated recipient(s). If you are not the intended recipient of this message you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited. To stop receiving communication from Recognia simply click on the email address below: unsubscribe at recognia.com From mstudd at recognia.com Tue Aug 5 15:40:36 2014 From: mstudd at recognia.com (Malcolm Studd) Date: Tue, 5 Aug 2014 11:40:36 -0400 Subject: [scl.org] perl dependency generation on CentOS 7 In-Reply-To: <53E0E735.90503@recognia.com> References: <53DBC0AB.5030105@recognia.com> <53DBED59.6000003@cora.nwra.com> <53DBF29A.2040400@recognia.com> <53DF37BB.80601@redhat.com> <53E0E735.90503@recognia.com> Message-ID: <53E0FAF4.5070704@recognia.com> On 08/05/2014 10:16 AM, Malcolm Studd wrote: > Googling > scl_package_override brought up some Fedora documentation[1], so I'm off > to see if it has any clues. Now I'm really confused. Section 3.1 states For example, to rewrite automatic Python Provides and Requires, add the following lines in the macros.%{scl}-config macro file: %__python_provides /usr/lib/rpm/pythondeps-scl.sh --provides %{_scl_root} %{scl_prefix} %__python_requires /usr/lib/rpm/pythondeps-scl.sh --requires %{_scl_root} %{scl_prefix} The section is only applicable to Fedora and EL7. It's what I did originally, following this documentation. The %scl_package_override seems to be used if building other SCLs depending on it (3.2). That's good, but I'm trying to build the SCL itself, not another one depending on it, so it should make no difference to me. Something else I've forgotten to mention earlier: the rpmdeps command prints "warning: Ignoring invalid regex ^%{_scl_prefix}/.*$" each time it's run. How does the rpmdeps command know what the various settings are? I.e. how does it find the value of %_perl_requires? Malcolm www.recognia.com Recognia ? World Leaders in Technical Analysis [VIDEO] [Facebook][Twitter][LinkedIn][YouTube] ________________________________ This message may contain confidential and proprietary information of Recognia Inc. and is intended only for the designated recipient(s). If you are not the intended recipient of this message you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited. To stop receiving communication from Recognia simply click on the email address below: unsubscribe at recognia.com From mstudd at recognia.com Tue Aug 5 21:44:14 2014 From: mstudd at recognia.com (Malcolm Studd) Date: Tue, 5 Aug 2014 17:44:14 -0400 Subject: [scl.org] perl dependency generation on CentOS 7 In-Reply-To: <53E0E735.90503@recognia.com> References: <53DBC0AB.5030105@recognia.com> <53DBED59.6000003@cora.nwra.com> <53DBF29A.2040400@recognia.com> <53DF37BB.80601@redhat.com> <53E0E735.90503@recognia.com> Message-ID: <53E1502E.7060405@recognia.com> On 08/05/2014 10:16 AM, Malcolm Studd wrote: > On 08/04/2014 03:35 AM, Jitka Plesnikova wrote: >> the macros for perl should be a different at CentOS 7. >> >> Something like this >> > > I now have /etc/rpm/macros.perl518-config with the contents > %scl perl518 > %scl_package_override() %{expand: \ > %global __perl %_scl_root/usr/bin/perl \ > %global __perl_requires /usr/lib/rpm/perl.perl518-req \ > %global __perl_provides /usr/lib/rpm/perl.perl518-prov \ > %global __perllib_requires /usr/lib/rpm/perl.perl518-req \ > %global __perllib_provides /usr/lib/rpm/perl.perl518-prov \ > } > > It does not work. Most provides and requires are still just "perl". It seems there was something wrong with the CentOS install. (Maybe because it was slightly prior to the official release?) When I copy everything over to a fresh install, the provides and requires seem correct. Happily, it also seems to have fixed the test failure in perl 5.20. I now have contents of /etc/rpm/macros.perl520-config as: %scl perl520 %__perl %_scl_root/usr/bin/perl %__perl_requires /usr/lib/rpm/perl.perl520-req %__perl_provides /usr/lib/rpm/perl.perl520-prov %__perllib_requires /usr/lib/rpm/perl.perl520-req %__perllib_provides /usr/lib/rpm/perl.perl520-prov %scl_package_override() %{expand: \ %global __perl %_scl_root/usr/bin/perl \ %global __perl_requires /usr/lib/rpm/perl.perl520-req \ %global __perl_provides /usr/lib/rpm/perl.perl520-prov \ %global __perllib_requires /usr/lib/rpm/perl.perl520-req \ %global __perllib_provides /usr/lib/rpm/perl.perl520-prov \ } As I understand it, I need the first set for building things in the perl520 SCL, while the second set in the override will be used for other SCLs that use the perl520 SCL? Thank you for your help, Malcolm www.recognia.com Recognia ? World Leaders in Technical Analysis [VIDEO] [Facebook][Twitter][LinkedIn][YouTube] ________________________________ This message may contain confidential and proprietary information of Recognia Inc. and is intended only for the designated recipient(s). If you are not the intended recipient of this message you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited. To stop receiving communication from Recognia simply click on the email address below: unsubscribe at recognia.com From dimazest at gmail.com Fri Aug 15 10:19:53 2014 From: dimazest at gmail.com (Dmitrijs Milajevs) Date: Fri, 15 Aug 2014 11:19:53 +0100 Subject: [scl.org] Custom software collection building process Message-ID: Hi, I have the following problem. At a computing server at my university centos 6.5 is installed. The software I wish to run there requires recent versions of python3, numpy, scipy. Manually compiling python and pip-installing is too difficult. I would like to: 1. create a custom software collection that depends on python33 provided by centos. http://wiki.centos.org/AdditionalResources/Repositories/SCL 2. however, they don't provide numpy and scipy. So I would like to add these packages to my collection. 3. add other packages, e.g. seaborn http://web.stanford.edu/~mwaskom/software/seaborn/ Ideally, the collection should be available on softwarecollections.org, so I could give admins a couple of commands to install it. Could you explain the basic workflow. As I understand, I whould have a collecton .spec file and then .spec files for packages. To build them, should the spec files be located in ~/rpmbuild/SOURCES? Why then https://git.centos.org/summary/?r=rpms/python33-numpy.git is a dedicated repository? How can I rebuild that package? As you see, I'm very new to building and creating RPMs. Thanks in advance, Dima -------------- next part -------------- An HTML attachment was scrubbed... URL: From msuchy at redhat.com Fri Aug 15 14:14:05 2014 From: msuchy at redhat.com (=?ISO-8859-1?Q?Miroslav_Such=FD?=) Date: Fri, 15 Aug 2014 16:14:05 +0200 Subject: [scl.org] Custom software collection building process In-Reply-To: References: Message-ID: <53EE15AD.1000701@redhat.com> On 08/15/2014 12:19 PM, Dmitrijs Milajevs wrote: > > I have the following problem. At a computing server at my university centos 6.5 is installed. The software I wish to run > there requires recent versions of python3, numpy, scipy. Manually compiling python and pip-installing is too difficult. > I would like to: > > 1. create a custom software collection that depends on python33 provided by centos. > http://wiki.centos.org/AdditionalResources/Repositories/SCL > 2. however, they don't provide numpy and scipy. So I would like to add these packages to my collection. Please read: https://access.redhat.com/documentation/en-US/Red_Hat_Developer_Toolset/2/html/Software_Collections_Guide/chap-Extending_Red_Hat_Software_Collections.html > 3. add other packages, e.g. seaborn http://web.stanford.edu/~mwaskom/software/seaborn/ > You have to create those packages from scratch. > Ideally, the collection should be available on softwarecollections.org , so I could give > admins a couple of commands to install it. Once you have srpm, you have to build it in Copr and then import into softwarecollections.org. See: https://www.softwarecollections.org/en/docs/add-to-catalogue/ > Could you explain the basic workflow. As I understand, I whould have a collecton .spec file and then .spec files for > packages. To build them, should the spec files be located in ~/rpmbuild/SOURCES? Why then > https://git.centos.org/summary/?r=rpms/python33-numpy.git is a dedicated repository? How can I rebuild that package? See https://git.centos.org/summary/centpkg.git Then centpkg clone python33-numpy cd python33-numpy git checkout c7 yum install python33-build scl-utils-build centpkg local > As you see, I'm very new to building and creating RPMs. Then I would suggest you to start with simpler packages. http://www.rpm.org/max-rpm/ch-rpm-build.html This is good start point ^ -- Miroslav Suchy, RHCE, RHCDS Red Hat, Senior Software Engineer, #brno, #devexp, #fedora-buildsys From msuchy at redhat.com Fri Aug 15 14:52:05 2014 From: msuchy at redhat.com (=?ISO-8859-1?Q?Miroslav_Such=FD?=) Date: Fri, 15 Aug 2014 16:52:05 +0200 Subject: [scl.org] Custom software collection building process In-Reply-To: References: Message-ID: <53EE1E95.4000704@redhat.com> On 08/15/2014 12:19 PM, Dmitrijs Milajevs wrote: > As you see, I'm very new to building and creating RPMs. And https://fedoraproject.org/wiki/How_to_create_an_RPM_package is also good starting point. -- Miroslav Suchy, RHCE, RHCDS Red Hat, Senior Software Engineer, #brno, #devexp, #fedora-buildsys From dimazest at gmail.com Fri Aug 15 20:10:28 2014 From: dimazest at gmail.com (Dmitrijs Milajevs) Date: Fri, 15 Aug 2014 21:10:28 +0100 Subject: [scl.org] Custom software collection building process In-Reply-To: <53EE15AD.1000701@redhat.com> References: <53EE15AD.1000701@redhat.com> Message-ID: Hi, Thank you for your reply and useful links. Mine main confusion was that i can install the Python33 collection from https://www.softwarecollections.org/en/ without doing 'yum install centos-release-SCL'. Now I have numpy and scipy! In the near future I'll try to build a simple package and then numexpr (because it causes some pain in my further buildout based deployment). I took some notes, and would like to post them as I'm finished and converted more to a post. Any comments are welcome https://github.com/qmcs/qmcs.github.io/pull/35/files Is there an IRC channel where scl issues should be discussed. -- Dima On Fri, Aug 15, 2014 at 3:14 PM, Miroslav Such? wrote: > On 08/15/2014 12:19 PM, Dmitrijs Milajevs wrote: > >> >> I have the following problem. At a computing server at my university >> centos 6.5 is installed. The software I wish to run >> there requires recent versions of python3, numpy, scipy. Manually >> compiling python and pip-installing is too difficult. >> I would like to: >> >> 1. create a custom software collection that depends on python33 provided >> by centos. >> http://wiki.centos.org/AdditionalResources/Repositories/SCL >> > > 2. however, they don't provide numpy and scipy. So I would like to add > these packages to my collection. > > Please read: > https://access.redhat.com/documentation/en-US/Red_Hat_ > Developer_Toolset/2/html/Software_Collections_Guide/ > chap-Extending_Red_Hat_Software_Collections.html > > 3. add other packages, e.g. seaborn http://web.stanford.edu/~ >> mwaskom/software/seaborn/ >> >> > > You have to create those packages from scratch. > > Ideally, the collection should be available on softwarecollections.org < >> http://softwarecollections.org>, so I could give >> >> admins a couple of commands to install it. >> > > Once you have srpm, you have to build it in Copr and then import into > softwarecollections.org. See: > https://www.softwarecollections.org/en/docs/add-to-catalogue/ > > > Could you explain the basic workflow. As I understand, I whould have a >> collecton .spec file and then .spec files for >> packages. To build them, should the spec files be located in >> ~/rpmbuild/SOURCES? Why then >> https://git.centos.org/summary/?r=rpms/python33-numpy.git is a dedicated >> repository? How can I rebuild that package? >> > > See > https://git.centos.org/summary/centpkg.git > Then > centpkg clone python33-numpy > cd python33-numpy > git checkout c7 > yum install python33-build scl-utils-build > centpkg local > > > As you see, I'm very new to building and creating RPMs. >> > > Then I would suggest you to start with simpler packages. > http://www.rpm.org/max-rpm/ch-rpm-build.html > This is good start point ^ > > > -- > Miroslav Suchy, RHCE, RHCDS > Red Hat, Senior Software Engineer, #brno, #devexp, #fedora-buildsys > -------------- next part -------------- An HTML attachment was scrubbed... URL: From steven.merrill at gmail.com Tue Aug 19 20:16:34 2014 From: steven.merrill at gmail.com (Steven Merrill) Date: Tue, 19 Aug 2014 16:16:34 -0400 Subject: [scl.org] php54 EL6 SCL metadata not matching packages Message-ID: I, too, am seeing this issue, which completely prevents the php54 SCL from working on RHEL/CentOS 6. Could someone please update the repodata? -- Thanks, Steven Merrill steven.merrill at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From msuchy at redhat.com Wed Aug 20 14:20:29 2014 From: msuchy at redhat.com (=?ISO-8859-1?Q?Miroslav_Such=FD?=) Date: Wed, 20 Aug 2014 16:20:29 +0200 Subject: [scl.org] php54 EL6 SCL metadata not matching packages In-Reply-To: References: Message-ID: <53F4AEAD.9020601@redhat.com> On 08/19/2014 10:16 PM, Steven Merrill wrote: > I, too, am seeing this issue, which completely prevents the php54 SCL > from working on RHEL/CentOS 6. Could someone please update the repodata? > > - Should be fixed now. -- Miroslav Such? Red Hat Satellite Engineering From hhorak at redhat.com Thu Aug 21 14:44:04 2014 From: hhorak at redhat.com (Honza Horak) Date: Thu, 21 Aug 2014 16:44:04 +0200 Subject: [scl.org] Is there an interest for a public IRC channel? (Was: Re: Custom software collection building process) In-Reply-To: References: <53EE15AD.1000701@redhat.com> Message-ID: <53F605B4.5060709@redhat.com> On 08/15/2014 10:10 PM, Dmitrijs Milajevs wrote: > Is there an IRC channel where scl issues should be discussed. If I'm not wrong, then there is no IRC channel yet. However, let's ask publicly if there is bigger interest in an IRC channel already. So, a call for all SCL friends -- if you'd like to see a public IRC channel (on freenode) dedicated to discussing questions related to SCL technology or scl.org portal, please, race your voice here. Thanks! Honza From eli.heady at mail.wvu.edu Thu Aug 21 14:48:15 2014 From: eli.heady at mail.wvu.edu (Eli Heady) Date: Thu, 21 Aug 2014 10:48:15 -0400 Subject: [scl.org] Is there an interest for a public IRC channel? (Was: Re: Custom software collection building process) In-Reply-To: <53F605B4.5060709@redhat.com> References: <53EE15AD.1000701@redhat.com> <53F605B4.5060709@redhat.com> Message-ID: +1 (Sorry, Honza, for the private mail) On August 21, 2014 10:44:04 AM EDT, Honza Horak wrote: >On 08/15/2014 10:10 PM, Dmitrijs Milajevs wrote: >> Is there an IRC channel where scl issues should be discussed. > >If I'm not wrong, then there is no IRC channel yet. However, let's ask >publicly if there is bigger interest in an IRC channel already. > >So, a call for all SCL friends -- if you'd like to see a public IRC >channel (on freenode) dedicated to discussing questions related to SCL >technology or scl.org portal, please, race your voice here. Thanks! > >Honza > >_______________________________________________ >SCLorg mailing list >SCLorg at redhat.com >https://www.redhat.com/mailman/listinfo/sclorg -- Eli Heady elheady at mail.wvu.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: From openshift-email at redhat.com Tue Aug 26 13:44:20 2014 From: openshift-email at redhat.com (openshift-email at redhat.com) Date: Tue, 26 Aug 2014 09:44:20 -0400 Subject: [scl.org] Verify your account with OpenShift Online Message-ID: <574531575.19301.1409060660305.JavaMail.jboss@servicejava-t01-03.web.prod.ext.phx2.redhat.com> Thanks for signing up to use OpenShift Online! Please click the link below to activate your account: https://openshift.redhat.com/app/email_confirm?emailAddress=sclorg%40redhat.com&key=tNGb5T2NyNzoq5cMPzaGdYdsv2yaT7KMc9YYNiE5 The OpenShift Team https://www.openshift.com openshift at redhat.com ============================================================ OpenShift Online is Red Hat's public cloud application development and hosting platform. Learn more about developing on OpenShift Online: https://www.openshift.com/developers -------------- next part -------------- An HTML attachment was scrubbed... URL: From openshift-email at redhat.com Tue Aug 26 15:01:59 2014 From: openshift-email at redhat.com (=?utf-8?Q?The=20OpenShift=20Team?=) Date: Tue, 26 Aug 2014 15:01:59 +0000 Subject: [scl.org] =?utf-8?q?Welcome_to_OpenShift_Online?= Message-ID: <979c70339150d05eec1531104869a0e74f0.20140826150135@mail163.atl101.mcdlv.net> Welcome to OpenShift Online! View this email in your browser (http://us3.campaign-archive1.com/?u=979c70339150d05eec1531104&id=a6863f1963&e=869a0e74f0) Welcome to OpenShift Online! Now that you've successfully created an OpenShift Online account, you're ready to start developing in the cloud using your language of choice. Our Getting Started Guide (https://www.openshift.com/get-started) is a good place to start if you aren't familiar with OpenShift. If you have any questions, please visit help.openshift.com. Thanks, The OpenShift Team http://twitter.com/openshift https://plus.google.com/+OpenShift/posts http://facebook.com/openshift http://www.youtube.com/user/rhopenshift ============================================================ Red Hat 100 East Davie Street Raleigh, NC 27601 USA ** Update subscription preferences (http://openshift.us3.list-manage1.com/profile?u=979c70339150d05eec1531104&id=c528e5e48e&e=869a0e74f0) ** Unsubscribe from this list (http://openshift.us3.list-manage.com/unsubscribe?u=979c70339150d05eec1531104&id=c528e5e48e&e=869a0e74f0&c=a6863f1963) Copyright ? 2014 OpenShift by Red Hat, All rights reserved. -------------- next part -------------- An HTML attachment was scrubbed... URL: