DongInn,

Thanks a lot for your help :-) This is great :-)

Regarding the c3 packages, it's a mistake from me :) (maybe others are 
missing). In fact many packages did not build because of broken link in the 
.cfg files, thus I had to trick by placing files in /tmp or 
/var/lib/oscar-packager/dowloads to build the rpms, and c3 was one that 
certainly failed and I forgot it. My fault.
Now that you setup all the needed resources locations, I can update all the 
.cfg files so they point to the correct place and hopefully, the build process 
should work :-) I'll update the .cfg files today hopefully (many users requests 
that have priority #1 before working on OSCAR ;-) )

To build CentOS-5 unstable version, IMHO, it'll be a little bit more difficult. 
Main packages should build, but things like torque-4.1.4 or things requiring 
python-2.6 may fail. I have a centos-5 system and I'll try to give a try when 
centos-6 will be ok.
For the other rpms based distro, I don't know what the status was. I think that 
a good addition should be the latest Fedora and maybe SuSE. While I think 
fedora should not be that difficult to build (except that we may need to port 
initscripts to systemd (not that difficult)), I thin that we may have 
difficulties with SuSE. I have a suse system and I often need to adapt my rpms 
to build on it (mainly build-requires that are different, and system little 
differences :-(
Mandriva/Mageia whould be easy to add as well as it contains realy up to date 
packages, thus less difficult to build recent stuffs, but eventhough it's my 
laptop distro, I thinkl it should be placed as low priority for the moment.
Finaly, regarding Debian and Ubuntu, I think that they still exist on 
Geoffroy's servers, and that he still build them.

finaly, regarding your repo, I don't mind to drop mine and have your repo as 
the main one. I did build the package because I though that it was convenient. 
IMHO, your system is more clean than mine which live since I began working on 
Oscar. Thus I installed many packages and today I may inadvertently skipp some 
build requires for this reason. More over, it's a good test to see what builds 
on your clean system compared to my system that has epel and sourceforge repos 
enabled. (imho sourceforge is bad compared to epel as it provides packages that 
exists in the distro but with newer revisions, and this breakks things 
sometimes).

Note: I think that you can remove 
http://svn.oscar.openclustergroup.org/pkgs/downloads/torque-oscar-4.1.4-0.2.src.rpm
 and 
http://svn.oscar.openclustergroup.org/pkgs/downloads/netbootmgr-1.7-1.src.rpm 
http://svn.oscar.openclustergroup.org/pkgs/downloads/jobmonarch-0.3.1-1.src.rpm(I
 forgot to delete them. They are replaced by a newer versions that are already 
on your site).

So, next steps on my side:
- build c3 packages
- update .cfg files as apropriate (and commit)
- do a testbuild

Best regards.

Olivier.

--
   Olivier LAHAYE
   CEA DRT/LIST/DCSI/DIR
________________________________
De : DongInn Kim [[email protected]]
Date d'envoi : lundi 11 février 2013 18:55
À : [email protected]
Objet : Re: [Oscar-devel] CentOS-6 x86_64 rpms built.

Olivier,

I copied your rpms and meta files to my server and make it available for now.
http://svn.oscar.openclustergroup.org/repos/unstable/rhel-6-x86_64/

But I am wondering why your repository does not have c3* rpms. Is it already 
available  somewhere?
I can put mine there.
http://svn.oscar.openclustergroup.org/repos/unstable/rhel-6-x86_64_dikim/

BTW, how do we build all the other distro's repository?

Regards,

--
- DongInn

On Feb 11, 2013, at 12:21 PM, LAHAYE Olivier 
<[email protected]<mailto:[email protected]>> wrote:


DongInn,

Excellent :-)

As for the missing packages, I did built them by hand because they are refering 
to external stuffs in the .cfg file which points to a 404 reference.
Exemple, apitest points toward 
http://www.csm.ornl.gov/srt/downloads/oscar/apitest-1.0.0-12.3.src.rpm
So I copy the src.rpm in /var/lib/oscar-packager/downloads and do a make rpm to 
do the trick.
Sometimes, a .tar.gz is missing, and I can't use this tric, so I build the rpm 
by installing all the stuffs by hand in ~/rpmbuild/SOURCE and then I issue an 
rpmbuild followed by the build.cfg extra params and the spec file.
When all missing .tar.gz and .src.rpm will be accessible by an url, we sould be 
able to avoid this ugly (but fully functionnal) build.

BTW, I've updated my repository with a few rpms that I forgot to upload 
(pfilter, netbootmgr, jobmonarch)


--
   Olivier LAHAYE
   CEA DRT/LIST/DCSI/DIR
________________________________
De : DongInn Kim [[email protected]<mailto:[email protected]>]
Date d'envoi : lundi 11 février 2013 17:32
À : [email protected]<mailto:[email protected]>
Objet : Re: [Oscar-devel] CentOS-6 x86_64 rpms built.

Yes, I uploaded the oscar packages to 
http://svn.oscar.openclustergroup.org/repos/unstable/rhel-6-x86_64/ except for 
the 5 missing packages (apitest ganglia jobmonarch openmpi torque).

I will download all the missing packages from Olivier's repository for now and 
then make it available on our more like official repository.

How did you compile the above 5 packages on your machine, Olivier?

As I said before, I'm keen to have our copy of the epel requirements in our 
repos so we will avoid breakages when epel updates things.
I am fine with using the epel repository. All my production RHEL-6 server 
machines have setup the epel repository and I have never had any problems with 
this so far.

(but for the moment, it's not yet done, so aving the epel repo in this config 
is better than nothing).
I agree.

Regards,

--
- DongInn

On Feb 11, 2013, at 10:50 AM, LAHAYE Olivier 
<[email protected]<mailto:[email protected]>> wrote:


DongInn,

I've understood the packman error. In fact, the repository name is important.
It should be: distro-version-arch.
Thus, it should be named rhel-6-x86_64 As it is an unstable distro, it should 
be under the unstable directory.

Thus,  the correct tree (for development branch rpms) should be:
http://svn.oscar.openclustergroup.org/repos/unstable/rhel-6-x86_64

Then for the other distro, I suppose that it should look like this:
http://svn.oscar.openclustergroup.org/repos/oscar-6.1/rhel-5-x86_64<http://svn.oscar.openclustergroup.org/repos/unstable/rhel-6-x86_64>

I've just re-uploaded my repository which I've managed to correctly setup using 
packman:
/usr/bin/packman --prepare-repo $HOME/OSCAR/repos/unstable/rhel-6-x86_64/

It is uploaded to 
http://olivier.lahaye1.free.fr/OSCAR/repos/unstable/rhel-6-x86_64
If I've done things correctly, then it should be ok to have
oscar:http://olivier.lahaye1.free.fr/OSCAR/repos/unstable/rhel-6-x86_64 in the 
/etc/oscar/supported_distros.txt section [unstable]

I also think, for everything to work that this section should include epel 
repositories for the moment.
As I said before, I'm keen to have our copy of the epel requirements in our 
repos so we will avoid breakages when epel updates things. (but for the moment, 
it's not yet done, so aving the epel repo in this config is better than 
nothing).

Best regards.
--
   Olivier LAHAYE
   CEA DRT/LIST/DCSI/DIR
________________________________
De : DongInn Kim [[email protected]<mailto:[email protected]>]
Date d'envoi : dimanche 10 février 2013 06:12
À : [email protected]<mailto:[email protected]>
Objet : Re: [Oscar-devel] CentOS-6 x86_64 rpms built.

Great! Olivier.

We are not running any ftp server. Wouldn't it be good enough to host the files 
on a http server?
http://svn.oscar.openclustergroup.org/pkgs/CentOS6/
http://svn.oscar.openclustergroup.org/repos/

The repos/ directory is empty. Is there a simple way to populate the current 
repository there?
I tried to run "packman --prepare-repo <repo_path>" but it does not seem to 
work. Let me dig into it tomorrow.
[root@marvin oscar]# packman --prepare-repo /home/oscar/repos/

=============================================================================
== Preparing pool: /home/oscar/repos/
=============================================================================

ERROR: OSCAR does not support the OSCAR pool repos (, , )
 at /usr/bin/packman line 66
ERROR: Impossible to recognize pool /home/oscar/repos/
 at /usr/bin/packman line 66
ERROR: Impossible to detect the pool format (/home/oscar/repos/)
 at /usr/bin/packman line 66
ERROR: Impossible to prepare the repository /home/oscar/repos/ at 
/usr/bin/packman line 68.
[root@marvin oscar]#

Regards,

--
- DongInn

On Feb 8, 2013, at 1:09 PM, LAHAYE Olivier 
<[email protected]<mailto:[email protected]>> wrote:


Dear all,

I've build most of CentOS-6.3 rpms (hopefully) a few are missing like sge, 
pfilter, mpich as they are broken since at least centos-5.
All the rpms are available here: 
http://olivier.lahaye1.free.fr/OSCAR/CentOS6/Packages/
This is NOT a repo yet as I didn't had time to look at how to generate the 
index using oscar commands. (create_repo)

DongInn, did you had time to initalize a repository space on your ftp servers?
We need some room for build material equivalent to 
http://www.csm.ornl.gov/srt/downloads/oscar/ (contains tar.gz and src.rpm)
And we need space for the repository like 
oscar:http://bison.csm.ornl.gov/repos/<http://bison.csm.ornl.gov/repos/> 
(/etc/oscar/supported_distros.txt will need to be updated on redhat side for 
that)

In order to work, I think that epel at least and rpmforge (maybe) repos must be 
setup. I'm planning to identify all rpms external to the distro and add them to 
OSCAR repo in order to avoid issues in the future (missing epel repo, epel 
package upgrade that breask oscar, ...)

Now I'll also concentrate on systeimager svn as it's currently broken for rhel 
systems (kernel config enables somethings that triggers a crash when udev 
starts or something like that that I need to sort out).

Have a nice WE, see you on monday.
--
   Olivier LAHAYE
   CEA DRT/LIST/DCSI/DIR
------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb_______________________________________________
Oscar-devel mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/oscar-devel

------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb_______________________________________________
Oscar-devel mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/oscar-devel

------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb_______________________________________________
Oscar-devel mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/oscar-devel

------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
Oscar-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oscar-devel

Reply via email to