<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 03/28/2014 04:26 PM, Barry Drake
wrote:<br>
</div>
<blockquote cite="mid:5335E8F4.3080308@crosswire.org" type="cite">On
28/03/14 21:00, Israel wrote:
<br>
<blockquote type="cite">It says compat levels before 5 are
deprecated, you are using 1.
<br>
So check your compat file and change it from 1 to 9 (the current
version)
<br>
The entire file is simply one number. You might as well change
the control file standards to the current one (or you will get
lintian errors) 3.9.5 (if I remember) hopefully that helps
<br>
</blockquote>
<br>
Thanks. I've done that, and the compat warning has gone, but I
still get:
<br>
dpkg-source: info: building sword in sword_1.7.2+dfsg.dsc
<br>
debian/rules build
<br>
dh build
<br>
dh_testdir
<br>
debian/rules override_dh_auto_build
<br>
make[1]: Entering directory `/tmp/buildd/sword-1.7.2+dfsg'
<br>
dh_auto_build -Scmake --parallel
<br>
dh_auto_build: error: unable to chdir to obj-i686-linux-gnu
<br>
make[1]: *** [override_dh_auto_build] Error 2
<br>
make[1]: Leaving directory `/tmp/buildd/sword-1.7.2+dfsg'
<br>
make: *** [build] Error 2
<br>
dpkg-buildpackage: error: debian/rules build gave error exit
status 2
<br>
E: Failed autobuilding of package
<br>
<br>
I'm sure there must be a file somwhere that makes pdbuild use a
different directory, but I can't find it so far.
<br>
<br>
God bless, Barry
<br>
<br>
_______________________________________________
<br>
sword-devel mailing list: <a class="moz-txt-link-abbreviated" href="mailto:sword-devel@crosswire.org">sword-devel@crosswire.org</a>
<br>
<a class="moz-txt-link-freetext" href="http://www.crosswire.org/mailman/listinfo/sword-devel">http://www.crosswire.org/mailman/listinfo/sword-devel</a>
<br>
Instructions to unsubscribe/change your settings at above page
<br>
</blockquote>
Your rules file has some problems with it.<br>
You will need to look more into packaging, believe me it is not a
simple thing to untangle old rules files without understanding what
all the debhelper things do.<br>
<br>
a simple rules file like this might work.. though I am not making
your package, so there are many things you will have to take into
account and learn about before trying to fix everything.<br>
<br>
<br>
#!/usr/bin/make -f<br>
<br>
DH_CMAKE_BUILD_DIR=obj -${DEB_BUILD_GNU_TYPE}<br>
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture
-qDEB_HOST_MULTIARCH)<br>
<br>
%:<br>
dh $@ --buildsystem cmake<br>
<br>
override_dh_auto_configure:<br>
dh_auto_configure --
-DCMAKE_INSTALL_LIBDIR=lib/$(DEB_HOST_MULTIARCH)<br>
<br>
<br>
You will need to amend your depends to use dh9. Without looking at
your debian folder I cannot really tell you much more than that.<br>
Do you have a branch on launchpad. It would be helpful to post a
link to your source code in order for anyone else to be able to help
you.... Of course I do not know what the cmake script is either, so
my rules file may be useless to you.<br>
I<b> highly</b> suggest reading more about packaging, as it is very
complicated unless you understand what is going on.<br>
Debian has a mentoring program as well. It may be a good idea to
try to package something simple first as a test.<br>
<br>
<pre class="moz-signature" cols="72">--
Regards</pre>
</body>
</html>