[Gta04-owner] [Tinkerphones] +++ next breakthrough for qtmoko2 +++
Jonas Smedegaard
jonas at jones.dk
Mon Mar 26 13:17:28 CEST 2018
Quoting H. Nikolaus Schaller (2018-03-26 12:43:56)
> Hi,
> nobody with an idea or knowledge?
>
> BR,
> Nikolaus
>
> > Am 18.03.2018 um 15:37 schrieb H. Nikolaus Schaller <hns at goldelico.com>:
> >
> > Another topic:
> >
> > I am trying to build it on/for wheezy, but ./mkqtspec.sh fails with:
> >
> > dpkg-architecture: error: DEB_TARGET_ARCH is not a supported variable name
> >
> > Jessie reports:
> >
> > root at letux:# dpkg-architecture
> > DEB_BUILD_ARCH=armhf
> > DEB_BUILD_ARCH_BITS=32
> > DEB_BUILD_ARCH_CPU=arm
> > DEB_BUILD_ARCH_ENDIAN=little
> > DEB_BUILD_ARCH_OS=linux
> > DEB_BUILD_GNU_CPU=arm
> > DEB_BUILD_GNU_SYSTEM=linux-gnueabihf
> > DEB_BUILD_GNU_TYPE=arm-linux-gnueabihf
> > DEB_BUILD_MULTIARCH=arm-linux-gnueabihf
> > DEB_HOST_ARCH=armhf
> > DEB_HOST_ARCH_BITS=32
> > DEB_HOST_ARCH_CPU=arm
> > DEB_HOST_ARCH_ENDIAN=little
> > DEB_HOST_ARCH_OS=linux
> > DEB_HOST_GNU_CPU=arm
> > DEB_HOST_GNU_SYSTEM=linux-gnueabihf
> > DEB_HOST_GNU_TYPE=arm-linux-gnueabihf
> > DEB_HOST_MULTIARCH=arm-linux-gnueabihf
> > DEB_TARGET_ARCH=armhf
> > DEB_TARGET_ARCH_BITS=32
> > DEB_TARGET_ARCH_CPU=arm
> > DEB_TARGET_ARCH_ENDIAN=little
> > DEB_TARGET_ARCH_OS=linux
> > DEB_TARGET_GNU_CPU=arm
> > DEB_TARGET_GNU_SYSTEM=linux-gnueabihf
> > DEB_TARGET_GNU_TYPE=arm-linux-gnueabihf
> > DEB_TARGET_MULTIARCH=arm-linux-gnueabihf
> > root at letux:#
> >
> > Wheezy reports:
> >
> > root at letux:/# dpkg-architecture
> > DEB_BUILD_ARCH=armhf
> > DEB_BUILD_ARCH_BITS=32
> > DEB_BUILD_ARCH_CPU=arm
> > DEB_BUILD_ARCH_ENDIAN=little
> > DEB_BUILD_ARCH_OS=linux
> > DEB_BUILD_GNU_CPU=arm
> > DEB_BUILD_GNU_SYSTEM=linux-gnueabihf
> > DEB_BUILD_GNU_TYPE=arm-linux-gnueabihf
> > DEB_BUILD_MULTIARCH=arm-linux-gnueabihf
> > DEB_HOST_ARCH=armhf
> > DEB_HOST_ARCH_BITS=32
> > DEB_HOST_ARCH_CPU=arm
> > DEB_HOST_ARCH_ENDIAN=little
> > DEB_HOST_ARCH_OS=linux
> > DEB_HOST_GNU_CPU=arm
> > DEB_HOST_GNU_SYSTEM=linux-gnueabihf
> > DEB_HOST_GNU_TYPE=arm-linux-gnueabihf
> > DEB_HOST_MULTIARCH=arm-linux-gnueabihf
> > root at letux:/#
> >
> > So can we safely replace DEB_TARGET_ARCH by DEB_BUILD_ARCH
> > in DEB_TARGET_ARCH=$(dpkg-architecture -qDEB_TARGET_ARCH) ?
"man dpkg-architecture" says:
> DEB_BUILD_ARCH
> The Debian architecture of the build machine.
and
> DEB_TARGET_ARCH
> The Debian architecture of the target machine (since dpkg 1.17.14).
dpkg version in wheezy is too old:
https://packages.debian.org/source/oldoldstable/dpkg
If build machine is same architecture as target machine, then you can
reuse, else not.
- Jonas
--
* Jonas Smedegaard - idealist & Internet-arkitekt
* Tlf.: +45 40843136 Website: http://dr.jones.dk/
[x] quote me freely [ ] ask before reusing [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: signature
URL: <http://lists.goldelico.com/pipermail/gta04-owner/attachments/20180326/2fb20784/attachment.asc>
More information about the Gta04-owner
mailing list