Bijra School getting prep!

Yup ! Bijra High School is gearing up for the installation of LTSP machines that were tested at WBUT(West Bengal University of Technology)

Here are some pics.


At last

At last after discussion with straw developers in #straw at , i am able to fix the problem .

I added a line so that which take care of installation dir. does not points to buildroot as it was doing before.

Found ‘/ c27950’ in installed files; aborting
error: Bad exit status from /var/tmp/rpm-tmp.19618 (%install)

This is because was pointing to
libdir = os.path.normpath('/var/tmp/straw-0.27-4-c27950/usr/lib/python2.5/site-packages/straw')
The line i added is

sed -i -e s@${RPM_BUILD_ROOT}@@ ${RPM_BUILD_ROOT}%{python_sitelib}/%{name}/

Now the points to
libdir = os.path.normpath('/usr/lib/python2.5/site-packages/straw')

Instead of previous var/tmp/straw-0.27-4-........................... as mentioned above.

Spec file along with SRPM and RPM are available here

My First Package and /me

I mentioned earlier that i am trying to package straw for fedora. Now straw is a python based News aggregator(GNOME based). Now when i am invoking normal

$rpmbuild -ba straw.spec

A build successful output is given. The same happens with

$ koji build --scratch dist-fc7 /usr/src/redhat/SRPMS/straw-0.27-4.src.rpm

However if ‘dist’ in above is changed to f8 then an error is generated.

Now on closer analysis to the build output of the above methods ,it is clear that build in fc7 is somehow skipping the check buildroot part.

f8 checks and aborts by generating an error.

see build outputs here and here of f8 and fc7 in koji respectively.

Help welcomed .

On the other news :

WBUT (West Bengal University of Technology ) is coming up with something new and needy.

Here is a copy of what they really want to do :-

After successful install-fests and establishing a public mirror
consisting of different Distros [Its up, details are coming once we
harden the box],
the WBUT-LUG is going to undertake another ambitious project which is
much like the Freedom Toaster project.

First we are going to place the machine at WBUT so that people can
come and burn
the distros they want. We also look forward to spread that to
different colleges.

Hereby we are calling for participation in the freedom toaster alike project.
People in and around kolkata is preferred , so that they
can come down personally, but they need not be WBUT students.

Please note its not going to be a replica of the freedom toaster
project. We shall write our own softwares and change the specs
according to our needs.[so that participants can spend a few sleepless
nights :). ]

We are also going to make our own kiosk, so we also need people who
can do mechanical

Hope to hear from you soon.

For details feel free to contact SusmitShannigrahi or Indranil DasGupta.

Koji build status for straw 0.27 -1.

After number of failure koji build straw succesfully . Just modified the spec file in the %build section.The output is as follows :-

[subhodip@localhost SPECS]$ koji build –scratch dist-f8 /usr/src/redhat/SRPMS/straw-0.27-1.src.rpm
Uploading srpm: /usr/src/redhat/SRPMS/straw-0.27-1.src.rpm
[====================================] 100% 00:00:56 313.46 Kb 5.56 Kb/sec
Created task: 151310
Task info:
Watching tasks (this may be safely interrupted)…
151310 build (dist-f8, straw-0.27-1.src.rpm): open (
151311 buildArch (straw-0.27-1.src.rpm, noarch): open (
151311 buildArch (straw-0.27-1.src.rpm, noarch): open ( -> closed
0 free 1 open 1 done 0 failed
151310 build (dist-f8, straw-0.27-1.src.rpm): open ( -> closed
0 free 0 open 2 done 0 failed

151310 build (dist-f8, straw-0.27-1.src.rpm) completed successfully

See here for koji build log of straw 0.27 -1.

Straw 0.27-1 packaging for fedora.

Straw has been orphaned in fedora packaging . So did a rpm packaging of straw 0.27-1 , Please check here for files.

The “rpmlint -i filename” didn’t gave any error on noarch.rpm and a warning regarding indentation on src.rpm.

Hope it will be correct. Feedback welcomed.

Bugzilla bug number #276961

An amazing experience !!

Today i had a chance to visit DCMP ( Disaster Control Management Program) arranged by BharatGas ( a division of Bharat Petroleum).In this program students were also invited and unfortunately except BCET students no other college showed up. I went with inspector of factories Mr. Soumya Chatterjee, as a result of which i got an entry to the VIP chamber. As we were talking with the territory manager Mr. S. Bhattacharya .One by one Fire officer of Durgapur jurisdiction along with his officer showed up.
The fire department queried about some general fire safety requirements like proper water supply etc.Next came Deputy Director of Exploxives ,Durgapur Jurisdiction ( i don’t know the exact area) Mr A.Singh. And members from nearby H.P.C.L and at last came S.D.O.(Sub Divisional Officer)

The drill was based on incident that nearby one of the bullet(places where L.P.G gases are stored) a R.o.B. had a leakage . Maintainer rushed their but from his hand the metal tool felled and that caused a spark which in turn caused a fire.

As the drill started we had sprinklers fired to cool the bullets and employees rushed in from every corner of plant but in a synchronized and planned way. Nearby Fire department rushed in.Everybody was spontaneous and fire was under control within 12 Min.

Few of the things that i noted are as follows which i also told them when asked for feedback.

1) B.P.C.L authority had cycle rickshaw and cycles for carrying equipments and first aid to the incident site. Authorities told that this is to prevent accidental sparks that may be caused by and engine…true… But if this is so then how come they let a diesel driven fire truck to be within 50 meters of fire spot………true enough.
2) Hose pipe of B.P.C.L is strong enough to estinguish a high rise building with 10th floor on fire ,while that the hose West Bengal Fire Department barely reached two storey …how the use this kind of equipment… While they both used same water source ( Two tanks capable of fighting fire for 4 hrs with 25000KL of water each)
3) Though most employees were spontaneous in reaction , only a few took the drill as a drill )

But the drill was very exciting as it was completely new for me….

Anyways ,after the drill a local news media did a discusion about pros and cons of fire safety keeping in mind todays drill.I took a snap of it. see snap here

Discusion going on

from left to right  territory manager Bharatgas(Mr S. Bhattacharya), Fire officer ( Mr. U.P . Bannerjee, local news reporter , Dy.Dir. of Expolsives(Mr.A.Singh) and Inspector of Factories (Mr.S.Chatterjee)

And returned home with a lot of experiences……

Python-bsddb3-4.5.0 release 1 rpm package for Fedora

At last i am successful in creating my first fedora package. Being a newbie my plan is to included Joomla RC1.5 but being completely new i decided to do some small packages first.

Debarshi Ray helped me with two small packages Straw and Sirius of which i choose Straw 0.27 . But while packaging it i found it required python-bsddb3 . But Python-bsddb3 or bsddb3 isnt available as RPM package. So it took bsddb3-4.5.0 from here
And packaged it.

Actually python-bsddb3 or bsddb3 seem not be currently in fedora package list.So I did a package out of.

(Ek dil Dui Sikar)

Please see here for the rpm package and spec file

Now my plans to package straw 0.27 which is currently giving an error in %files section that straw.lang file not found.