[Pkg-glusterfs-devel] debuild failed

Matthias Albert matthias at linux4experts.de
Mon Jan 28 08:09:39 UTC 2008


Hi LI,

I can't confirm this :-). If you want to build glusterfs debian package 
from the latest TLA version, please try the following.

---snip---
tla get -A gluster at sv.gnu.org glusterfs--mainline--2.5 glusterfs
cd glusterfs
svn co svn://svn.debian.org/pkg-glusterfs/trunk/glusterfs/debian
vim debian/changelog (add a new comment)
dpkg-buildpackage -rfakeroot -us -uc
---snap---

As you can see, if you do a "ls -la in the debian directory -> the link 
to glusterfs-server.init will be resolved.

Best regards,

   Matthias


LI Daobing schrieb:
> The link in debian/glusterfs-server.init is weird, it cause debuild
> failed[1], I think you can copy this file in debian/rules instead of
> create a symlink.
>
> Any hint on how to build from the
> svn://svn.debian.org/pkg-glusterfs/trunk/glusterfs? thanks.
>
> thanks.
>
> [1]
> $ debuild
>  fakeroot debian/rules clean
> test -x debian/rules
> dh_testroot
> for i in ./config.guess ./config.sub  ; do \
>                 if test -e $i.cdbs-orig ; then \
>                         mv $i.cdbs-orig $i ; \
>                 fi ; \
>         done
> dh_clean
> /usr/bin/make -C . -k distclean
> make[1]: Entering directory
> `/home/lidb/workspace/pkg-glusterfs/trunk/build-area/glusterfs-1.3.7'
> make[1]: *** No rule to make target `distclean'.
> make[1]: Leaving directory
> `/home/lidb/workspace/pkg-glusterfs/trunk/build-area/glusterfs-1.3.7'
> make: [makefile-clean] Error 2 (ignored)
> rm -f debian/stamp-makefile-build
> rm -f debian/stamp-autotools-files
> rm -rf glusterfsd.1 glusterfs.1
>  dpkg-source -b glusterfs-1.3.7
> dpkg-source: building glusterfs using existing glusterfs_1.3.7.orig.tar.gz
> dpkg-source: building glusterfs in glusterfs_1.3.7-1.diff.gz
> dpkg-source: cannot represent change to debian/glusterfs-server.init:
> dpkg-source:  new version is symlink
> dpkg-source:  old version is nonexistent
> dpkg-source: unrepresentable changes to source
> dpkg-source: building glusterfs in glusterfs_1.3.7-1.dsc
> debuild: fatal error at line 1237:
> dpkg-source -b glusterfs-1.3.7 failed
>
>   




More information about the Pkg-glusterfs-devel mailing list