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

xz-utils: Fix hurd-amd64 build



Package: xz-utils
Version: 5.4.1-0.2
Severity: important
Tags: patch

Hello,

debian/rules is passing --enable-assembler=x86_64 to configure, but that
case was removed, see ChangeLog:

commit ac10b1b3622e70881595586edfb8a3ebdcd76bb6
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   2022-11-14 17:58:07 +0200

    Build: Omit x86_64 from --enable-assembler.
    
    It didn't do anything. There are only 32-bit x86 assembly files
    and it feels likely that new files won't be added as intrinsics
    in C are more portable across toolchains and OSes.

The attached patch fixes that by dropping that option, since it's not
useful for amd64 ports anyway.

Samuel

-- System Information:
Debian Release: 12.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'stable-security'), (500, 'stable-debug'), (500, 'proposed-updates-debug'), (500, 'proposed-updates'), (500, 'oldstable-proposed-updates'), (500, 'oldoldstable'), (500, 'buildd-unstable'), (500, 'unstable'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental-debug'), (1, 'buildd-experimental'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, arm64

Kernel: Linux 6.2.0 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages xz-utils depends on:
ii  libc6     2.36-9
ii  liblzma5  5.4.1-0.2

xz-utils recommends no packages.

xz-utils suggests no packages.

-- no debconf information

-- 
Samuel
---
Pour une évaluation indépendante, transparente et rigoureuse !
Je soutiens la Commission d'Évaluation de l'Inria.
--- debian/rules.original	2023-05-05 20:24:10.897225010 +0200
+++ debian/rules	2023-05-05 20:24:12.997235137 +0200
@@ -91,10 +91,6 @@
         opt_optimize += --enable-assembler=x86
         opt_optimize_small += --enable-assembler=x86
     endif
-    ifeq (amd64,$(cputype))
-        opt_optimize += --enable-assembler=x86_64
-        opt_optimize_small += --enable-assembler=x86_64
-    endif
 endif
 
 ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS)))

Reply to: