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

Bug#1001965: Fails to build from source due to outdated symbols file



Source: libdrm
Version: 2.4.109-1
Severity: serious
Tags: patch

Hi,
2.4.109-1 fails to build like:

dpkg-gensymbols: warning: debian/libdrm-amdgpu1/DEBIAN/symbols doesn't match completely debian/libdrm-amdgpu1.symbols
--- debian/libdrm-amdgpu1.symbols (libdrm-amdgpu1_2.4.109-1_amd64)
+++ dpkg-gensymbolsRbfBrW	2021-12-18 17:31:37.021023907 +0000
@@ -53,6 +53,7 @@
  amdgpu_cs_wait_fences@Base 2.4.81
  amdgpu_cs_wait_semaphore@Base 2.4.67
  amdgpu_device_deinitialize@Base 2.4.63
+ amdgpu_device_get_fd@Base 2.4.109-1
  amdgpu_device_initialize@Base 2.4.63
  amdgpu_find_bo_by_cpu_mapping@Base 2.4.94
  amdgpu_get_marketing_name@Base 2.4.73
dh_makeshlibs: error: failing due to earlier errors
make[1]: *** [debian/rules:121: override_dh_makeshlibs] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:141: binary-arch] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary-arch subprocess returned exit status 2

Full log: https://buildd.debian.org/status/fetch.php?pkg=libdrm&arch=amd64&ver=2.4.109-1&stamp=1639848700&raw=0

Attached patch fixes that for me and I'm happy to NMU if that looks
correct. The symbol got added in
f70e8ae83590d2a1fb1972dc7e875dd6a9355b77 upstream and looks like a valid new
public symbol.

Cheers,
 -- Guido
 

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

Kernel: Linux 5.15.0-2-amd64 (SMP w/4 CPU threads)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
>From 0ecc96a5514e030a91be47d62febf7e656170fff Mon Sep 17 00:00:00 2001
Message-Id: <0ecc96a5514e030a91be47d62febf7e656170fff.1639931516.git.agx@sigxcpu.org>
From: =?UTF-8?q?Guido=20G=C3=BCnther?= <agx@sigxcpu.org>
Date: Sun, 19 Dec 2021 17:22:10 +0100
Subject: [PATCH] Update symbols file

---
 debian/libdrm-amdgpu1.symbols | 1 +
 1 file changed, 1 insertion(+)

diff --git a/debian/libdrm-amdgpu1.symbols b/debian/libdrm-amdgpu1.symbols
index 6ce3d569..d04300e8 100644
--- a/debian/libdrm-amdgpu1.symbols
+++ b/debian/libdrm-amdgpu1.symbols
@@ -53,6 +53,7 @@ libdrm_amdgpu.so.1 libdrm-amdgpu1 #MINVER#
  amdgpu_cs_wait_fences@Base 2.4.81
  amdgpu_cs_wait_semaphore@Base 2.4.67
  amdgpu_device_deinitialize@Base 2.4.63
+ amdgpu_device_get_fd@Base 2.4.109
  amdgpu_device_initialize@Base 2.4.63
  amdgpu_find_bo_by_cpu_mapping@Base 2.4.94
  amdgpu_get_marketing_name@Base 2.4.73
-- 
2.33.0


Reply to: