obmtool install failure on centOS 4.4

Mark Seagrief mark at rtsw.co.uk
Wed Jul 11 14:01:24 CEST 2007


On Wednesday 11 July 2007 11:08, Andreas Micklei wrote:

When I built 2.1 on Ubuntu (7.04) recently (also tried RHEL4 update 42 with 
same results) I had the same problem, the problem was a permissions one - 
when it was trying to build the packages it was switching to a different user 
(one of the kolab ones I think) which didn't have permissions to access/move 
the files it was trying to build.

The error that I was getting was that the rpm was missing - it was missing 
because it was never built as a result of the build failing.

I ended up editing the obmtool script and changing line 372 to read:
BUILDUSER=root

Instead of letting it figure out the user.  Now this is probably not the best 
solution, but I have not had time to go back out and figure out the proper 
solution.

I was root when I started the build and the files that were downloaded were 
all owned by root.

Not sure if that helps at all.

Cheers,

Mark


> Hi,
>
> I am still running kolab 2.0.3 on CentOS 4.4. The machine runs on x86_64,
> hence I am compiling in a VMWare instance running the i386 version of the
> same distro and copy over the resulting RPMs.
>
> I want to upgrade to 2.1, but the build fails right after the OpenPkg
> bootstrap when trying to build the first packages. Obviously there is a
> problem with file permissions.
>
> The strange thing is I tried to rebuild kolab 2.0.3 for reference and here
> everything works flawlessly.
>
> Any idea what is wrong with 2.1? Same thing happens if I try an upgrade
> instead of a fresh install.
>
> Below are the relevant sections of the kolab-build.log, cut to reasonable
> size.
>
> --------- snip ----------
> ---- boot/build wizball3.ivistar.de %kolab ----
> obmtool:NOTICE: did not find openpkg/rpm executable. Checking/fetching
> binary sh.
> obmtool:NOTICE: did not find binary sh. Checking/fetching source sh.
> OpenPKG 2.5-RELEASE Source Bootstrap Package, version 2.5.4
> Building for prefix /kolab on current platform
> ++ extracting OpenPKG source distribution
> ++ building OpenPKG binary distribution
>  [1mOpenPKG Bootstrap Procedure [m
> ++ bootstrap version: 2.5.4-2.5.4
> ++ user/group pairs: root/root kolab/kolab kolab-r/kolab-r kolab-n/kolab-n
> ++ distribution directory: /kolab/RPM/TMP/openpkg-2.5.4-2.5.4.src
> ++ platform product:    ix86-rhl4.5
> ++ platform technology: i686-linux2.6
> ++ platform support:    unknown (expect not to work)
> ++ executing(%prep): sh /kolab/RPM/TMP/openpkg.boot.prep.sh
> ++ umask 022
> ++ cd /kolab/RPM/TMP
>
> [...]
>
> install openpkg-2.5.4-2.5.4
> wiperpm gdbm-1.8.3-2.5.0
> wiperpm dbtool-1.6-2.5.0
> error: package gdbm is not installed
> error: package dbtool is not installed
> install make-3.80-2.5.0
>  ]0;wizball3 rebuild make-3.80-2.5.0 [2007-06-30 01:37:26] rebuild
> make-3.80-2.5.0
> error: cannot open /kolab/RPM/PKG/make-3.80-2.5.0.src.rpm: Permission
> denied ]0;wizball3:/tmp/obmtool.3505.tmp
> obmtool:WARNING: install failure.
> Missing /kolab/RPM/PKG/make-3.80-2.5.0.ix86-rhl4.5-kolab.rpm
> install binutils-2.16.1-2.5.1
>  ]0;wizball3 rebuild binutils-2.16.1-2.5.1 [2007-06-30 01:37:30] rebuild
> binutils-2.16.1-2.5.1
> error: cannot open /kolab/RPM/PKG/binutils-2.16.1-2.5.1.src.rpm: Permission
> denied
>  ]0;wizball3:/tmp/obmtool.3505.tmp
> obmtool:WARNING: install failure.
> Missing /kolab/RPM/PKG/binutils-2.16.1-2.5.1.ix86-rhl4.5-kolab.rpm
> install gcc-4.0.2-2.5.0
>  ]0;wizball3 rebuild gcc-4.0.2-2.5.0 [2007-06-30 01:37:34] rebuild
> gcc-4.0.2-2.5.0
> error: cannot open /kolab/RPM/PKG/gcc-4.0.2-2.5.0.src.rpm: Permission
> denied ]0;wizball3:/tmp/obmtool.3505.tmp
> obmtool:WARNING: install failure.
> Missing /kolab/RPM/PKG/gcc-4.0.2-2.5.0.ix86-rhl4.5-kolab.rpm
> install fsl-1.7.0-2.20070303
>  ]0;wizball3 rebuild fsl-1.7.0-2.20070303 [2007-06-30 01:37:38] rebuild
> fsl-1.7.0-2.20070303
> error: cannot open /kolab/RPM/PKG/fsl-1.7.0-2.20070303.src.rpm: Permission
> denied
>  ]0;wizball3:/tmp/obmtool.3505.tmp
> obmtool:WARNING: install failure.
> Missing /kolab/RPM/PKG/fsl-1.7.0-2.20070303.ix86-rhl4.5-kolab.rpm
>
> [...]
>
> install libiconv-1.10-2.5.0
>  ]0;wizball3 rebuild libiconv-1.10-2.5.0 [2007-06-30 01:40:47] rebuild
> libiconv-1.10-2.5.0
> ---------- snap ----------
>
> regards,
> Andreas Micklei




More information about the users mailing list