Source: golang-github-go-debos-fakemachine
Version: 0.0~git20180126.e307c2f-1
Severity: grave
Tags: patch
Justification: renders package unusable

fakemachine currently assumes that the linker is
/lib64/ld-linux-x86-64.so.2, the standard C library is
/lib/x86_64-linux-gnu/libc.so.6, and qemu-system-x86_64 is an
appropriate way to run a virtual machine. None of these are true on
non-amd64 architectures.

Ideally fakemachine should be taught to cope with other architectures
(I've opened a wishlist bug and marked it as forwarded to
<https://github.com/go-debos/fakemachine/issues/18>).

Until that happens, it should only be built on architectures where it
can work (see attached). This will require uploading a version marked
to be built on amd64 only, then asking the ftp team to remove the old
binaries on other architectures.

Thanks,
    smcv
>From 03287930ceae69dff620c11ece2151f46331cd88 Mon Sep 17 00:00:00 2001
From: Simon McVittie <s...@collabora.com>
Date: Mon, 14 May 2018 18:24:09 +0100
Subject: [PATCH 2/3] Only build on amd64

fakemachine currently assumes that the linker is
/lib64/ld-linux-x86-64.so.2, the standard C library is
/lib/x86_64-linux-gnu/libc.so.6, and qemu-system-x86_64 is an
appropriate way to run a virtual machine. None of these are true on
other architectures.

Signed-off-by: Simon McVittie <s...@collabora.com>
---
 debian/control | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index 9d746bf..53c7ded 100644
--- a/debian/control
+++ b/debian/control
@@ -21,7 +21,7 @@ XS-Go-Import-Path: github.com/go-debos/fakemachine
 Testsuite: autopkgtest-pkg-go
 
 Package: fakemachine
-Architecture: any
+Architecture: amd64
 Built-Using: ${misc:Built-Using}
 Depends: ${shlibs:Depends},
          ${misc:Depends}
@@ -29,7 +29,7 @@ Description: create and spawn virtual machines for building images with debos.
  Create and spawn virtual machines for building images with debos tool.
 
 Package: golang-github-go-debos-fakemachine-dev
-Architecture: any
+Architecture: amd64
 Built-Using: ${misc:Built-Using}
 Depends: ${shlibs:Depends},
          ${misc:Depends}
-- 
2.17.0

Reply via email to