[Pkg-crosswire-devel] trying to get started ....

Ben Armstrong synrg at sanctuary.nslug.ns.ca
Sat Mar 29 11:37:29 GMT 2014


On 29/03/14 07:09 AM, Barry Drake wrote:
> https://www.debian.org/doc/manuals/maint-guide/index.en.html  and
> installed all the recommended packages.  I've tried to make a package,
> but it fails with the same error, which is:
> dh build
>    dh_testdir
>    debian/rules override_dh_auto_build
> make[1]: Entering directory `/home/barry/prog/sword-1.7.2'
> dh_auto_build -Scmake --parallel
> dh_auto_build: error: unable to chdir to obj-i686-linux-gnu
> make[1]: *** [override_dh_auto_build] Error 2
> make[1]: Leaving directory `/home/barry/prog/sword-1.7.2'
> make: *** [build] Error 2
> dpkg-buildpackage: error: debian/rules build gave error exit status 2
> I get the same error whatever I try.  The above is from
> 'dpkg-buildpackage'.  I have tried creating a obj-i686-linux-gnu
> directory in the sword directory, but it gets removed immediately prior
> to the error message.
> What am I missing?

Without examining your packaging attempt, I can't say for sure where you
went wrong, but it looks like your build dir is set to
obj-$(DEB_BUILD_GNU_TYPE) yet makes no provision for making sure that
dir exists. Try building the version that's in Debian. It builds just
fine and makes the correct directory (obj-x86_64-linux-gnu on my system,
which is 64 bit).

If your intention is to learn packaging for Debian and contribute, see
https://nm.debian.org/ which will point you at where to get more help,
including the debian-mentors list.


More information about the Pkg-crosswire-devel mailing list