[Lustre-discuss] 1.8.2 "make debs" for 2.6.22.19

Hendelman, Rob Rob.Hendelman at magnetar.com
Thu Apr 1 12:08:30 PDT 2010


I am getting a few errors when I try to "make debs".  

Kernel: stock 2.6.22.19
Distro: Ubuntu 9.04 jaunty with associated packages

I can run the following and it works:

./configure --with-linux=/usr/src/linux (symlink to /usr/src/linux-2.6.22.19)
make

So far so good.

Make debs errors out at: 

	fi
grep: debian/patches/*: No such file or directory
cp /usr/share/misc/config.sub config.sub
cp /usr/share/misc/config.sub libsysio/config.sub
cp /usr/share/misc/config.sub ldiskfs/config.sub
cp /usr/share/misc/config.guess config.guess
cp /usr/share/misc/config.guess libsysio/config.guess
cp /usr/share/misc/config.guess ldiskfs/config.guess
sh ./autogen.sh
sh: Can't open ./autogen.sh
make[1]: *** [autogen-stamp] Error 2
make[1]: Leaving directory `/usr/src/lustre-1.8.2'
dpkg-buildpackage: failure: debian/rules build gave error exit status 2
make: *** [debs] Error 2

Doing a little googling, I found the following:
http://www.mail-archive.com/lustre-discuss@clusterfs.com/msg00656.html

I then proceeded to install gnome-common and copy /usr/bin/gnome-autogen.sh to my build directory as autogen.sh

Restarting the process (since "make debs" removes a lot of files) gets me to:

=====================================
ls -d debian/lustre-client-modules-* | grep -v _KVERS_ | xargs rm -f || true
ls: cannot access debian/lustre-client-modules-*: No such file or directory
# only remove this if the clean was not called from kdist_clean
if [ "$MA_SOURCE_PKG" = "" ]; then \
		rm -rf  debian/m-a_root; \
	fi
dh_clean
# make sure we have at least a basic control in place (see build-stamp)
rm -f debian/control
cp debian/control.main debian/control
make[1]: Leaving directory `/usr/src/lustre-1.8.2'
 dpkg-source -b lustre-1.8.2
dpkg-source: info: using source format `1.0'
dpkg-source: info: building lustre in lustre_1.8.2-1.tar.gz
dpkg-source: info: building lustre in lustre_1.8.2-1.dsc
 debian/rules build
make[1]: Entering directory `/usr/src/lustre-1.8.2'
dpatch apply-all
touch patch-stamp
# see if any patches requires us to run autogen
if ! grep "^--- .*\/autoconf" debian/patches/* || \
	   [ ! -f autogen.sh ]; then \
		exit 0; \
	fi
grep: debian/patches/*: No such file or directory
cp /usr/share/misc/config.sub config.sub
cp /usr/share/misc/config.sub libsysio/config.sub
cp /usr/share/misc/config.sub ldiskfs/config.sub
cp /usr/share/misc/config.guess config.guess
cp /usr/share/misc/config.guess libsysio/config.guess
cp /usr/share/misc/config.guess ldiskfs/config.guess
sh ./autogen.sh
checking for autoconf >= 2.53...
  testing autoconf2.50... not found.
  testing autoconf... found 2.63
checking for automake >= 1.9...
  testing automake-1.10... found 1.10.2
Checking for forbidden M4 macros...
**Warning**: I am going to run `configure' with no arguments.
If you wish to pass any to it, please specify them on the
`./autogen.sh' command line.

Processing ./configure.ac
Running aclocal-1.10...
Running autoconf...
Running automake-1.10...
automake-1.10: no `Makefile.am' found for any configure output
make[1]: *** [autogen-stamp] Error 1
make[1]: Leaving directory `/usr/src/lustre-1.8.2'
dpkg-buildpackage: failure: debian/rules build gave error exit status 2
make: *** [debs] Error 2
=====================================


I see plenty of Makefile.am files in /usr/src/lustre/<somesubdir> but I'm not sure exactly where it is looking for this file & failing to find it.

Any suggestions?  I'm no automake/autoconf expert by any stretch of the imagination....

Thanks,

Robert

The information contained in this message and its attachments 
is intended only for the private and confidential use of the 
intended recipient(s).  If you are not the intended recipient 
(or have received this e-mail in error) please notify the 
sender immediately and destroy this e-mail. Any unauthorized 
copying, disclosure or distribution of the material in this e-
mail is strictly prohibited.



More information about the lustre-discuss mailing list