[Lustre-discuss] intrepid kernel on jaunty
Brian J. Murrell
Brian.Murrell at Sun.COM
Fri Oct 30 15:07:35 PDT 2009
On Fri, 2009-10-30 at 16:02 +0100, Papp Tamás wrote:
>
> *Jaunty + b1_8* -> failure
Just now, I checked out a b1_8, added the following target to
build/autoMakefile.am.toplevel:
debs:
lversion=$$(sed -ne 's/^#define VERSION "\(.*\)"$$/\1/p' config.h); \
cversion=$$(sed -ne '1s/^lustre (\(.*\)-[0-9][0-9]*).*$$/\1/p' debian/changelog); \
if [ "$$lversion" != "$$cversion" ]; then \
echo -e "1i\nlustre ($$lversion-1) unstable; urgency=low\n\n * Automated changelog entry update\n\n -- Brian J. Murrell <brian at interlinx.bc.ca> $$(date -R)\n\n.\nwq" | ed debian/changelog; \
fi
dpkg-buildpackage || { \
[ $${PIPESTATUS[0]} != 1 ] && exit $${PIPESTATUS[0]}; \
true; \
}
export KPKG_DEST_DIR="$$(pwd)/.."; \
version=$$(sed -ne '1s/^lustre (\(.*\)).*$$/\1/p' debian/changelog); \
rm -rf modules-deb; \
mkdir modules-deb; \
cd modules-deb; \
dpkg -x ../../lustre-source_$${version}_all.deb $$(pwd); \
mkdir usr_src/; \
tar -C usr_src/ -xjvf usr/src/lustre.tar.bz2; \
chmod 755 usr_src/modules/lustre/debian/rules; \
m-a build $${KVERS:+-l $$KVERS} -i -u $$(pwd) lustre
(which I'm going to put into bug 19721 now that I've tested it out)
(and of course had the below mentioned patch applied)
and simply did "make debs" and I got as a result:
-rw-r--r-- 1 brian brian 744580 2009-10-30 17:18 liblustre_1.8.1.52-1_i386.deb
-rw-r--r-- 1 brian brian 501264 2009-10-30 17:17 linux-patch-lustre_1.8.1.52-1_all.deb
-rw-r--r-- 1 brian brian 821 2009-10-30 17:16 lustre_1.8.1.52-1.dsc
-rw-r--r-- 1 brian brian 3037 2009-10-30 17:18 lustre_1.8.1.52-1_i386.changes
-rw-r--r-- 1 brian brian 14277672 2009-10-30 17:16 lustre_1.8.1.52-1.tar.gz
-rw-r--r-- 1 brian brian 16493170 2009-10-30 17:24 lustre-client-modules-2.6.28-11-generic_1.8.1.52-1_i386.deb
-rw-r--r-- 1 brian brian 5111928 2009-10-30 17:18 lustre-dev_1.8.1.52-1_i386.deb
-rw-r--r-- 1 brian brian 11845920 2009-10-30 17:18 lustre-source_1.8.1.52-1_all.deb
-rw-r--r-- 1 brian brian 1097240 2009-10-30 17:18 lustre-tests_1.8.1.52-1_i386.deb
-rw-r--r-- 1 brian brian 693990 2009-10-30 17:18 lustre-utils_1.8.1.52-1_i386.deb
> /usr/src/lustre-b1_8/lustre/lustre/llite/rw26.c:422: error: unknown
> field âprepare_writeâ specified in initializer
> cc1: warnings being treated as errors
> /usr/src/lustre-b1_8/lustre/lustre/llite/rw26.c:422: error:
> initialization from incompatible pointer type
> /usr/src/lustre-b1_8/lustre/lustre/llite/rw26.c:423: error: unknown
> field âcommit_writeâ specified in initializer
> /usr/src/lustre-b1_8/lustre/lustre/llite/rw26.c:423: error:
> initialization from incompatible pointer type
Yeah. You need the patch in attachment 26155 in bug 20451. I am still
waiting for an inspection to get it landed.
b.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20091030/61dc9074/attachment.pgp>
More information about the lustre-discuss
mailing list