Hi DongInn,

No problem, there is no service delivery timing ;-). I posted on the devel 
mailing list in the hope other skilled dev would have the info......

I've gone through the problem, but we must keep in mind that the problem may 
raise later.
The temporary source.list is still wrongly generated when working in chrooted 
environment (image) as it is generated with http://127.0.0.1/repo/tftpboot/.... 
with missing /+distrocodename+/ ... So I expect a problem later when installing 
packages in the image.......(rapt --installroot 
/var/lib/systemimager/images/oscarnode_image/ package)

As for Qt.pm, I have libqtcore4-perl and libqtgui4-perl installed on the 
system, but step 2 fails....
PerlQt-3.009 is pretty outdated, maybe a migration to libqt*4-perl is a good 
idea if effort is small (you said that the bindings exists in the 2 above 
packages).

Do you have skills to fix this?

Regards,

Olivier.


--
   Olivier LAHAYE
   CEA DRT/LIST/DCSI/DIR
________________________________
De : DongInn Kim [di...@cs.indiana.edu]
Date d'envoi : mardi 25 juin 2013 19:51
À : oscar-devel@lists.sourceforge.net
Objet : Re: [Oscar-devel] FIXED!: RE : bootstrap on ubuntu12.04

Hi Olivier,

I am sorry for not being able to respond to your questions.

It seems that you have gone through these. Yes, I tested your fix and 
everything seems to work fine now. Thanks.

Hmmm, actually I used to have the missing tk.pm issue but not qt.pm yet.

I believe that qt is used in selector. It will throw an error when running on 
the Step 1 and/or 2.  BTW, I could not find such a package providing Qt.pm yet.
It has installed libqtcore4-perl and libqtgui4-perl which have the similar perl 
binding features though.

Regards,

--
- DongInn

On Jun 25, 2013, at 11:47 AM, LAHAYE Olivier 
<olivier.lah...@cea.fr<mailto:olivier.lah...@cea.fr>> wrote:

Forgot to tell that rapt-2.8.11 and needs to be rebuilt.

--
   Olivier LAHAYE
   CEA DRT/LIST/DCSI/DIR
________________________________
De : LAHAYE Olivier
Date d'envoi : mardi 25 juin 2013 17:45
À : oscar-devel@lists.sourceforge.net<mailto:oscar-devel@lists.sourceforge.net>
Objet : [PROVENANCE INTERNET] [Oscar-devel] FIXED!: RE : bootstrap on 
ubuntu12.04


Hi,

I've finaly tracked the bug down and successfully bootstrapped oscar on 
ubuntu-12.04!

The bug was in rapt. oscar-config --bootstrap was calling rapt with 
--installroot /
Thus, rapt was thinking it was working on a cluster image while it was working 
on system root......
Thanksfully, as much as I can say, no or minor damage was made to the system as 
 it was failing in the early steps.

Now, calling with --installroot / should have the same effect as calling 
without the argument.

Note that when working with an image, the local urls are rewrittent accordingly:
file:/url => http://127.0.0.1/repo/url
At this early stage, the httpd repo is not setup, and rapt was failing. I can't 
tell if it'll work when the image will be bootstrapped.
In fact, the url rewrite was failing, forgetting the /+squeeze+/ at the end of 
the url when creating the temporary etc/apt/source.list ... This has to be 
tested later.....

Regards,

Olivier.

--
   Olivier LAHAYE
   CEA DRT/LIST/DCSI/DIR
________________________________
De : LAHAYE Olivier
Date d'envoi : mardi 25 juin 2013 13:28
À : oscar-devel@lists.sourceforge.net<mailto:oscar-devel@lists.sourceforge.net>
Objet : [PROVENANCE INTERNET] [Oscar-devel] RE : bootstrap on ubuntu12.04


DongInn,

I've traced the problem, but it is not yet fixed.

The problem is the following:
sudo perl -d /usr/bin/rapt --repo file:/tftpboot/oscar/debian-6-x86_64 --repo 
http://bison.csm.ornl.gov/repos/unstable/debian-6-x86_64/+squeeze+/ 
--repohttp://us.archive.ubuntu.com/ubuntu/+precise-updates+main+universe+multiverse
 --repohttp://us.archive.ubuntu.com/ubuntu/+precise+main+universe+multiverse 
--distro ubuntu-1204-x86_64 -y --installroot / install opkg-yume-server 
--allow-unauthenticated

will create the file /etc/apt/sources.list with the following lines:
deb http://127.0.0.1/repo/tftpboot/oscar/debian-6-x86_64  .
deb http://bison.csm.ornl.gov/repos/unstable/debian-6-x86_64/ squeeze .
deb http://us.archive.ubuntu.com/ubuntu/ precise-updates main universe 
multiverse
deb http://us.archive.ubuntu.com/ubuntu/ precise main universe multiverse

The 1st line is incorrect. the " squeeze " word is missing before the ending 
dot....thus rapt fails to execute "chroot / /usr/bin/apt-get 
--allow-unauthenticated update 1>/dev/null 2>/dev/null" at line 1359


Aside that, the verbose flag is not propagated in many places. I'll try for fix 
that the best I can.

Regards,

Olivier.


--
   Olivier LAHAYE
   CEA DRT/LIST/DCSI/DIR
________________________________
De : LAHAYE Olivier
Date d'envoi : lundi 24 juin 2013 17:30
À : oscar-devel@lists.sourceforge.net<mailto:oscar-devel@lists.sourceforge.net>
Objet : [PROVENANCE INTERNET] [Oscar-devel] RE : [PROVENANCE INTERNET] RE : 
bootstrap on ubuntu12.04


DongInn,

Please, can you:
1: check that your /etc/oscar/supported_distros.txt is the latest one. (I 
remember having corrected a typo).
2: rebuild rapt
3: rebuild packman
4: rebuild oscar
5: upgrade of those packages (or remove+install)
then retry
6: oscar-config --setup-distro ubuntu-1204-x86_64
7: oscar-config --debug --verbose --bootstrap

Aside that,
I've found an issue: yume can't be installed because it depends from 
oscar-utils, and oscar-utils is not installed. Missing dep somewhere?

It looks like the bootstrap process tries to install yume from local repo using 
dpkg -i, and fails because dpkg does'nt installs deps......wired?Regards,

Olivier.

--
   Olivier LAHAYE
   CEA DRT/LIST/DCSI/DIR
________________________________
De : LAHAYE Olivier
Date d'envoi : lundi 24 juin 2013 16:31
À : oscar-devel@lists.sourceforge.net<mailto:oscar-devel@lists.sourceforge.net>
Objet : [PROVENANCE INTERNET] [Oscar-devel] RE : bootstrap on ubuntu12.04

hi DongInn,

What is the result for:
chroot / /usr/bin/apt-get update

Packman is buggy in reporting the error, but in the 1st place, the true error 
is that apt-get update fails for some unknown reason.

I'll try to fix the error reporting, but as I told you before, I've never done 
object oriented perl programming.......So I'm not sure I can fix the bug 
easily....

Regards,

Olivier.

--
   Olivier LAHAYE
   CEA DRT/LIST/DCSI/DIR
________________________________
De : DongInn Kim [di...@cs.indiana.edu<mailto:di...@cs.indiana.edu>]
Date d'envoi : vendredi 21 juin 2013 17:26
À : Devel OSCAR
Objet : [Oscar-devel] bootstrap on ubuntu12.04

Hi,

It seems that I can not still bootstrap on ubuntu 12.04 yet.
Its bootstrap log file is attached.


It seems that PackMan.pm does not work properly yet.

Regards,

--
- DongInn

------------------------------------------------------------------------------
This SF.net<http://SF.net> email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Oscar-devel mailing list
Oscar-devel@lists.sourceforge.net<mailto:Oscar-devel@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/oscar-devel
------------------------------------------------------------------------------
This SF.net<http://SF.net> email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev_______________________________________________
Oscar-devel mailing list
Oscar-devel@lists.sourceforge.net<mailto:Oscar-devel@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/oscar-devel

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Oscar-devel mailing list
Oscar-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oscar-devel

Reply via email to