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

Bug#1006211: x265: Does not build on kfreebsd



Source: x265
Version: 3.5-2
Severity: important
Tags: patch ftbfs
Justification: fails to build from source (but built successfully in the past)

Hello,

x265 currently does not build on kfreebsd because git is FTBFS

The attached patch removes the git BD allowing the package to build on
kfreebsd as well.

There is a slight difference in the resulting binaries (in the
.gnu_debuglink section), but it looks like it's more a reproductibility
issue
(https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/x265.html)

Kind regards,
Laurent Bigonville


-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.16.0-1-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8), LANGUAGE=fr_BE:fr
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: SELinux: enabled - Mode: Permissive - Policy name: refpolicy
diff -Nru x265-3.5/debian/control x265-3.5/debian/control
--- x265-3.5/debian/control	2021-08-22 23:51:00.000000000 +0200
+++ x265-3.5/debian/control	2021-09-24 00:47:21.000000000 +0200
@@ -6,7 +6,6 @@
 Build-Depends:
  debhelper-compat (= 13),
  cmake,
- git,
  libnuma-dev [amd64 arm64 i386 mips mips64 mips64el mipsel powerpc ppc64el],
  nasm (>= 2.13) [amd64 kfreebsd-amd64]
 Build-Depends-Indep:
diff -Nru x265-3.5/debian/rules x265-3.5/debian/rules
--- x265-3.5/debian/rules	2021-08-23 19:42:49.000000000 +0200
+++ x265-3.5/debian/rules	2021-09-24 00:47:21.000000000 +0200
@@ -12,7 +12,7 @@
 # LFS support
 export DEB_CPPFLAGS_MAINT_APPEND=$(shell getconf LFS_CFLAGS)
 
-FLAGS  = -DENABLE_PIC=ON
+FLAGS  = -DENABLE_PIC=ON -DGIT_EXECUTABLE=/bin/true
 # no shared libs are built if HDR10+ is enabled
 # FLAGS += -DENABLE_HDR10_PLUS=ON
 FLAGS_OTHERBIT  = -DENABLE_CLI=OFF

Reply to: