Brian J. Murrell wrote, On 2009. 10. 30. 23:07:
> 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 
> <[email protected]>  $$(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:
>   

It's working for mee too, but without liblustre.

linux-patch-lustre_1.8.1.52-1_all.deb                        
lustre-dev_1.8.1.52-1_amd64.deb   lustre-tests_1.8.1.52-1_amd64.deb
lustre-client-modules-2.6.28-16-server_1.8.1.52-1_amd64.deb  
lustre-source_1.8.1.52-1_all.deb  lustre-utils_1.8.1.52-1_amd64.deb

BTW I think it should not depend on linux-headers-generic, but 
linux-headers, should?

>> /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.
>   


Thanks so much.

I don't know, why I didn't find it in bugzilla.

Thanks again,

tamas
_______________________________________________
Lustre-discuss mailing list
[email protected]
http://lists.lustre.org/mailman/listinfo/lustre-discuss

Reply via email to