Re: Error building RPMS from latest tla

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ok

Today ill check on 32 bits and mail you the results

next ill pick a 64bit machine ..


Regards, Angel

El Miércoles, 16 de Enero de 2008 Matt Paine escribió:
> 
> Thankyou.
> 
> 
> Are you using or have access to a 64bit machine. I cleaned up the spec 
> files to use a dynamic lib directory rather than the hardcoded switches.
> 
> I also added the "--without client" option to build rpms without 
> requiring the fuse-devel rpm (of course it doesn't build the client rpm :)
> 
> 
> Could you get the tla (copy it to another directory so it doens't screw 
> up your current tla working copy) and copy this file over the current 
> glusterfs.spec.in file, and then do as per normal and let me know the 
> results....
> 
> http://www.mattsoftware.com/temp/glusterfs/glusterfs.spec.in
> 
> 
> you can still use --without ibverbs, but also the --without client 
> should work
> 
> Also if you have access to a 64bit machine, could you let me know if the 
> libraries get put into the correct place (/usr/lib64)
> 
> 
> Thankyou again
> 
> Matt.
> 
> 
> > Hi Matt
> > 
> > I got tla636 up and running. Just following the indications avati told me and
> > the page you send me http://www.gluster.org/docs/index.php/GlusterFS_Building_RPMs.
> > 
> > full ./configure before make.dist just got things fine but i had to get libibverbs source from the 
> > net, created a libibverbs.rpm and install it ( libibverbs-devel-1.0.4-1 and libibverbs-1.0.4-1) to 
> > acomplish dist tarball process. rpmbuild --without ibverbs was pain free
> > 
> > rpms installed just fine on Os10.3 and also 10.1 without any complaint.So just were issues from 
> > a newbie on the Rpm proccess. Now i think im confident that I can repeat the process for every 
> > next releases.
> > 
> > Now ive made a client only setup for testing new tla features that i didnt know (switch scheduler, 
> > login etc..) encfs over gluster to replace my encfs over nfs 
> > ¡¡This magic piece of code can do anything you want!!
> > 
> > GlusterFS is far the most avanced atop fuse development and the most promising but still is hard to understand.
> > 
> > From the rpm point of view.
> > 
> > I can test anything you send me, 
> > - i think interesting server-only-rpms without ibverbs because tcp setup are by far the most deployed and easy to test.
> > - fine tuning avoiding ib-verbs is good also as i see you are now incluing 32 vs 64 compilations..
> > 
> > and any other features.
> > 
> > My setup for Opensuse actually includes /etc/sysconfig/glusterfs but my vars setup perhaps is not on Suse way yet.
> > 
> > Have you considered expanding the "--with ibverbs" code to cover conditional server rpm creation?
> > 
> > so tell me what you need me to do and ill try to test it to help you fine-tune the specs :-)
> > 
> > 
> > Regards
> > 
> > 
> > El Miércoles, 16 de Enero de 2008 Matt Paine escribió:
> > 
> >>Hi Angel....
> >>
> >>Sorry for posting off-list, but there are a few things I would like from 
> >>you before I make any huge changes to the spec file. Its great you were 
> >>able to get the RPM's working, but now you have successfuly done it I 
> >>want to clarify if my list will correctly fix any issues you had :)
> >>
> >>
> >>* What version are you working on (TLA patch number?)?
> >>
> >>* Exactly what issues do you have and how you got around them?
> >>
> >>
> >>
> >>At the moment I *think* I need to fix up the following things.
> >>
> >>* create option to only build server
> >>* remove fuse-devel dependancy for server only build
> >>* try to find ib-verbs left over for a non-ibverbs build
> >>* modify all lib directory entries to %__libdir
> >>
> >>
> >>
> >>Any further information will be great, I'll get onto this tonight and 
> >>let you know how I go.
> >>
> >>Also, would you mind testing out the new spec file once I get it working?
> >>
> >>
> >>Thankyou.
> >>
> >>
> >>Matt.
> >>
> >>
> >>
> >>
> >>
> >>
> >>>Hi
> >>>
> >>>I tried to recreate RPMS as you told me (Avati & Matt) ¡¡Thanks for your help!!
> >>>
> >>>Still im getting minor errors..as building RPM without ibverbs still 
> >>>requires  transport/ib-verbs/Makefile.in somewhere along the make.
> >>>
> >>>Anyone has experienced same problems?
> >>>
> >>>About the conditional client compilation patch patch, Matt:
> >>>
> >>>amenophis:~/Datos/src # rpmbuild -ta glusterfs-1.3.7.tar.gz --without ibverbs
> >>>error: Failed build dependencies:
> >>>        fuse-devel is needed by glusterfs-1.3.7-1
> >>>
> >>>This machine in not using fuse at all and i only wat it to server some directories so my patch tried to overcome this failure
> >>>avoinding the client part  "--without fuseclient" i hope you'll find a better and generalised way to select what packages to build.
> >>>
> >>>
> >>>Build process transcript-------------------------------------------------------------
> >>>
> >>>
> >>>
> >>>>$ tla get -A gluster@xxxxxxxxxx glusterfs--mainline--2.5 glusterfs-dir
> >>>>$ cd glusterfs-dir
> >>>
> >>>
> >>>   $ edit configure.ac, change [1.3.8] to [1.3.8tla636]
> >>>
> >>>
> >>>
> >>>>$ ./autogen.sh
> >>>>$ ./configure --disable-ibverbs
> >>>>$ make dist
> >>>><.. new tarball glusterfs-1.3.8tla629.tar.gz created ..>
> >>>>$ rpmbuild -ta glusterfs-1.3.8tla629.tar.gz --without ibverbs
> >>>
> >>>Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.7409
> >>>+ umask 022
> >>>+ cd /usr/src/packages/BUILD
> >>>+ cd /usr/src/packages/BUILD
> >>>+ rm -rf glusterfs-1.3.8tla636
> >>>+ /usr/bin/gzip -dc /home/sinosuke/Tmp/kk/glusterfs-1.3.8tla636.tar.gz
> >>>...
> >>>...
> >>>...
> >>>config.status: creating transport/ib-sdp/client/src/Makefile
> >>>config.status: error: cannot find input file: transport/ib-verbs/Makefile.in
> >>>error: Bad exit status from /var/tmp/rpm-tmp.7409 (%build)
> >>>
> >>>
> >>>RPM build errors:
> >>>    Bad exit status from /var/tmp/rpm-tmp.7409 (%build)
> >>>
> >>>-----------------------------------------------------------------------------------------------------
> >>>
> >>>
> >>>
> >>>
> >>>Regards, Angel
> >>>
> >>
> >>
> >>
> > 
> > 
> > 
> 
> 
> 



-- 
------------------------------------------------
Clist UAH
------------------------------------------------




[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux