[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

porting applications



I've packaged lkcdtuils and it is in the archive. It has not been
ported by upstream to m68k, but I just got an important bug
(Bug#291273) filed against the package because of FTBS on m68k. Should
this not be a wishlist bug for the upstream to port to m68k? Or should
I be changing my architecture to be only those specific ones that it
is known to compile for (I guess no, because the Developers Reference
says you practically never want to do this).

Upstream's ./configure has these options:

 --target-arch=TARGET_ARCH
                    supported dump architectures
                    one or more (comma separated) of "alpha",
                    "arm", "i386", "ia64", "s390", "s390x", "xscale", "ppc64"
                    "all" or "everything"
                    ("all" stands for all targets except "alpha",
                     "everything" stands for all above targets)

This means to me that it only works on arm, i386, ia64, s390, s390x,
xscale and ppc64.

My debian/control has Architecture: any and my rules file has:
DEB_BUILD_GNU_CPU  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_CPU)

CFLAGS="$(CFLAGS)" ./configure --target-arch=$(DEB_BUILD_GNU_CPU)
--arch=$(DEB_BUILD_GNU_CPU) --cflags="-I/usr/include/libdwarf" --pr
efix=`pwd`/debian/tmp

Thanks for any pointers to the right way to deal with this.

Micah



Reply to: