[Bug 1920825] Re: FTBFS and autopkgtest failure in Hirsute (badly generated symbols files)

Dimitri John Ledkov 1920825 at bugs.launchpad.net
Tue Mar 30 17:30:25 UTC 2021


If we only want to replace environment variables and nothing else, we
can use

#!/usr/share/dh-exec/dh-exec-subst-env

then even with DEB_BUILD_PROFILES set, the lines preserve the leading
whitespace.

It would be nice for DEB_BUILD_PROFILES to preserve leading whitespace
and/or only strip it for files where it matters and not others. I guess
.symbols is one of the few special ones where leading whitespace is
required.

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1920825

Title:
  FTBFS and autopkgtest failure in Hirsute (badly generated symbols
  files)

Status in dh-exec package in Ubuntu:
  Confirmed
Status in ldb package in Ubuntu:
  Confirmed
Status in talloc package in Ubuntu:
  Fix Committed

Bug description:
  https://autopkgtest.ubuntu.com/packages/t/talloc/hirsute/amd64

  https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-hirsute/hirsute/amd64/t/talloc/20210316_172513_0ef88@/log.gz
  ...
  dh_makeshlibs -ppython3-talloc -Xtalloc. -- -c3
  dpkg-gensymbols: error: some libraries disappeared in the symbols file: _pytalloc_get_name at PYTALLOC_UTIL_2.3.0 PYTALLOC_UTIL_2.1.10 at PYTALLOC_UTIL_2.1.10 pytalloc_Check at PYTALLOC_UTIL_2.0.6 pytalloc_BaseObject_size at PYTALLOC_UTIL_2.1.6 PYTALLOC_UTIL_2.1.5 at PYTALLOC_UTIL_2.1.5 _pytalloc_get_ptr at PYTALLOC_UTIL_2.1.6 PYTALLOC_UTIL_2.1.12 at PYTALLOC_UTIL_2.1.12 PYTALLOC_UTIL_2.3.1 at PYTALLOC_UTIL_2.3.1 PYTALLOC_UTIL_2.0.7 at PYTALLOC_UTIL_2.0.7 PYTALLOC_UTIL_2.1.11 at PYTALLOC_UTIL_2.1.11 PYTALLOC_UTIL_2.0.8 at PYTALLOC_UTIL_2.0.8 PYTALLOC_UTIL_2.1.1 at PYTALLOC_UTIL_2.1.1 PYTALLOC_UTIL_2.0.6 at PYTALLOC_UTIL_2.0.6 PYTALLOC_UTIL_2.1.4 at PYTALLOC_UTIL_2.1.4 pytalloc_GetObjectType at PYTALLOC_UTIL_2.0.6 _pytalloc_get_mem_ctx at PYTALLOC_UTIL_2.1.6 PYTALLOC_UTIL_2.1.16 at PYTALLOC_UTIL_2.1.16 PYTALLOC_UTIL_2.1.2 at PYTALLOC_UTIL_2.1.2 PYTALLOC_UTIL_2.1.13 at PYTALLOC_UTIL_2.1.13 PYTALLOC_UTIL_2.1.7 at PYTALLOC_UTIL_2.1.7 PYTALLOC_UTIL_2.2.0 at PYTALLOC_UTIL_2.2.0 pytalloc_GetBaseObjectType at PYTALLOC_UTIL_2.1.6 PYTALLOC_UTIL_2.1.9 at PYTALLOC_UTIL_2.1.9 PYTALLOC_UTIL_2.1.14 at PYTALLOC_UTIL_2.1.14 pytalloc_BaseObject_check at PYTALLOC_UTIL_2.1.6 PYTALLOC_UTIL.CPYTHON_39_X86_64_LINUX_GNU_2.3.1 at PYTALLOC_UTIL.CPYTHON_39_X86_64_LINUX_GNU_2.3.1 PYTALLOC_UTIL_2.3.0 at PYTALLOC_UTIL_2.3.0 pytalloc_GenericObject_reference_ex at PYTALLOC_UTIL_2.1.9 pytalloc_BaseObject_PyType_Ready at PYTALLOC_UTIL_2.1.6 pytalloc_reference_ex at PYTALLOC_UTIL_2.0.6 PYTALLOC_UTIL_2.1.0 at PYTALLOC_UTIL_2.1.0 PYTALLOC_UTIL_2.1.15 at PYTALLOC_UTIL_2.1.15 _pytalloc_get_type at PYTALLOC_UTIL_2.1.6 _pytalloc_check_type at PYTALLOC_UTIL_2.1.9 pytalloc_steal at PYTALLOC_UTIL_2.0.6 PYTALLOC_UTIL_2.1.6 at PYTALLOC_UTIL_2.1.6 PYTALLOC_UTIL_2.1.3 at PYTALLOC_UTIL_2.1.3 pytalloc_GenericObject_steal_ex at PYTALLOC_UTIL_2.1.9 pytalloc_steal_ex at PYTALLOC_UTIL_2.0.6 PYTALLOC_UTIL_2.1.8 at PYTALLOC_UTIL_2.1.8
  dpkg-gensymbols: error: some new symbols appeared in the symbols file: see diff output below
  dpkg-gensymbols: warning: debian/python3-talloc/DEBIAN/symbols doesn't match completely debian/python3-talloc.symbols
  --- debian/python3-talloc.symbols (python3-talloc_2.3.1-2build1_amd64)
  +++ dpkg-gensymbols3SpPRF	2021-03-16 17:25:03.424278193 +0000
  @@ -1,42 +1,41 @@
  -PYTALLOC_UTIL.CPYTHON_39_X86_64_LINUX_GNU_2.3.1 at PYTALLOC_UTIL.CPYTHON_39_X86_64_LINUX_GNU_2.3.1 2.3.1
  -* Build-Depends-Package: python3-talloc-dev
  -PYTALLOC_UTIL_2.0.6 at PYTALLOC_UTIL_2.0.6 2.3.0
  -PYTALLOC_UTIL_2.0.7 at PYTALLOC_UTIL_2.0.7 2.3.0
  -PYTALLOC_UTIL_2.0.8 at PYTALLOC_UTIL_2.0.8 2.3.0
  -PYTALLOC_UTIL_2.1.0 at PYTALLOC_UTIL_2.1.0 2.3.0
  -PYTALLOC_UTIL_2.1.10 at PYTALLOC_UTIL_2.1.10 2.3.0
  -PYTALLOC_UTIL_2.1.11 at PYTALLOC_UTIL_2.1.11 2.3.0
  -PYTALLOC_UTIL_2.1.12 at PYTALLOC_UTIL_2.1.12 2.3.0
  -PYTALLOC_UTIL_2.1.13 at PYTALLOC_UTIL_2.1.13 2.3.0
  -PYTALLOC_UTIL_2.1.14 at PYTALLOC_UTIL_2.1.14 2.3.0
  -PYTALLOC_UTIL_2.1.15 at PYTALLOC_UTIL_2.1.15 2.3.0
  -PYTALLOC_UTIL_2.1.16 at PYTALLOC_UTIL_2.1.16 2.3.0
  -PYTALLOC_UTIL_2.1.1 at PYTALLOC_UTIL_2.1.1 2.3.0
  -PYTALLOC_UTIL_2.1.2 at PYTALLOC_UTIL_2.1.2 2.3.0
  -PYTALLOC_UTIL_2.1.3 at PYTALLOC_UTIL_2.1.3 2.3.0
  -PYTALLOC_UTIL_2.1.4 at PYTALLOC_UTIL_2.1.4 2.3.0
  -PYTALLOC_UTIL_2.1.5 at PYTALLOC_UTIL_2.1.5 2.3.0
  -PYTALLOC_UTIL_2.1.6 at PYTALLOC_UTIL_2.1.6 2.3.0
  -PYTALLOC_UTIL_2.1.7 at PYTALLOC_UTIL_2.1.7 2.3.0
  -PYTALLOC_UTIL_2.1.8 at PYTALLOC_UTIL_2.1.8 2.3.0
  -PYTALLOC_UTIL_2.1.9 at PYTALLOC_UTIL_2.1.9 2.3.0
  -PYTALLOC_UTIL_2.2.0 at PYTALLOC_UTIL_2.2.0 2.3.0
  -PYTALLOC_UTIL_2.3.0 at PYTALLOC_UTIL_2.3.0 2.3.0
  -PYTALLOC_UTIL_2.3.1 at PYTALLOC_UTIL_2.3.1 2.3.1
  -_pytalloc_check_type at PYTALLOC_UTIL_2.1.9 2.1.16
  -_pytalloc_get_mem_ctx at PYTALLOC_UTIL_2.1.6 2.1.16
  -_pytalloc_get_name at PYTALLOC_UTIL_2.3.0 2.3.0
  -_pytalloc_get_ptr at PYTALLOC_UTIL_2.1.6 2.1.16
  -_pytalloc_get_type at PYTALLOC_UTIL_2.1.6 2.1.16
   libpytalloc-util.cpython-39-x86-64-linux-gnu.so.2 python3-talloc #MINVER#
  -pytalloc_BaseObject_PyType_Ready at PYTALLOC_UTIL_2.1.6 2.1.16
  -pytalloc_BaseObject_check at PYTALLOC_UTIL_2.1.6 2.1.16
  -pytalloc_BaseObject_size at PYTALLOC_UTIL_2.1.6 2.1.16
  -pytalloc_Check at PYTALLOC_UTIL_2.0.6 2.1.16
  -pytalloc_GenericObject_reference_ex at PYTALLOC_UTIL_2.1.9 2.1.16
  -pytalloc_GenericObject_steal_ex at PYTALLOC_UTIL_2.1.9 2.1.16
  -pytalloc_GetBaseObjectType at PYTALLOC_UTIL_2.1.6 2.1.16
  -pytalloc_GetObjectType at PYTALLOC_UTIL_2.0.6 2.1.16
  -pytalloc_reference_ex at PYTALLOC_UTIL_2.0.6 2.1.16
  -pytalloc_steal at PYTALLOC_UTIL_2.0.6 2.1.16
  -pytalloc_steal_ex at PYTALLOC_UTIL_2.0.6 2.1.16
  + PYTALLOC_UTIL.CPYTHON_39_X86_64_LINUX_GNU_2.3.1 at PYTALLOC_UTIL.CPYTHON_39_X86_64_LINUX_GNU_2.3.1 2.3.1-2build1
  + PYTALLOC_UTIL_2.0.6 at PYTALLOC_UTIL_2.0.6 2.3.1-2build1
  + PYTALLOC_UTIL_2.0.7 at PYTALLOC_UTIL_2.0.7 2.3.1-2build1
  + PYTALLOC_UTIL_2.0.8 at PYTALLOC_UTIL_2.0.8 2.3.1-2build1
  + PYTALLOC_UTIL_2.1.0 at PYTALLOC_UTIL_2.1.0 2.3.1-2build1
  + PYTALLOC_UTIL_2.1.10 at PYTALLOC_UTIL_2.1.10 2.3.1-2build1
  + PYTALLOC_UTIL_2.1.11 at PYTALLOC_UTIL_2.1.11 2.3.1-2build1
  + PYTALLOC_UTIL_2.1.12 at PYTALLOC_UTIL_2.1.12 2.3.1-2build1
  + PYTALLOC_UTIL_2.1.13 at PYTALLOC_UTIL_2.1.13 2.3.1-2build1
  + PYTALLOC_UTIL_2.1.14 at PYTALLOC_UTIL_2.1.14 2.3.1-2build1
  + PYTALLOC_UTIL_2.1.15 at PYTALLOC_UTIL_2.1.15 2.3.1-2build1
  + PYTALLOC_UTIL_2.1.16 at PYTALLOC_UTIL_2.1.16 2.3.1-2build1
  + PYTALLOC_UTIL_2.1.1 at PYTALLOC_UTIL_2.1.1 2.3.1-2build1
  + PYTALLOC_UTIL_2.1.2 at PYTALLOC_UTIL_2.1.2 2.3.1-2build1
  + PYTALLOC_UTIL_2.1.3 at PYTALLOC_UTIL_2.1.3 2.3.1-2build1
  + PYTALLOC_UTIL_2.1.4 at PYTALLOC_UTIL_2.1.4 2.3.1-2build1
  + PYTALLOC_UTIL_2.1.5 at PYTALLOC_UTIL_2.1.5 2.3.1-2build1
  + PYTALLOC_UTIL_2.1.6 at PYTALLOC_UTIL_2.1.6 2.3.1-2build1
  + PYTALLOC_UTIL_2.1.7 at PYTALLOC_UTIL_2.1.7 2.3.1-2build1
  + PYTALLOC_UTIL_2.1.8 at PYTALLOC_UTIL_2.1.8 2.3.1-2build1
  + PYTALLOC_UTIL_2.1.9 at PYTALLOC_UTIL_2.1.9 2.3.1-2build1
  + PYTALLOC_UTIL_2.2.0 at PYTALLOC_UTIL_2.2.0 2.3.1-2build1
  + PYTALLOC_UTIL_2.3.0 at PYTALLOC_UTIL_2.3.0 2.3.1-2build1
  + PYTALLOC_UTIL_2.3.1 at PYTALLOC_UTIL_2.3.1 2.3.1-2build1
  + _pytalloc_check_type at PYTALLOC_UTIL_2.1.9 2.3.1-2build1
  + _pytalloc_get_mem_ctx at PYTALLOC_UTIL_2.1.6 2.3.1-2build1
  + _pytalloc_get_name at PYTALLOC_UTIL_2.3.0 2.3.1-2build1
  + _pytalloc_get_ptr at PYTALLOC_UTIL_2.1.6 2.3.1-2build1
  + _pytalloc_get_type at PYTALLOC_UTIL_2.1.6 2.3.1-2build1
  + pytalloc_BaseObject_PyType_Ready at PYTALLOC_UTIL_2.1.6 2.3.1-2build1
  + pytalloc_BaseObject_check at PYTALLOC_UTIL_2.1.6 2.3.1-2build1
  + pytalloc_BaseObject_size at PYTALLOC_UTIL_2.1.6 2.3.1-2build1
  + pytalloc_Check at PYTALLOC_UTIL_2.0.6 2.3.1-2build1
  + pytalloc_GenericObject_reference_ex at PYTALLOC_UTIL_2.1.9 2.3.1-2build1
  + pytalloc_GenericObject_steal_ex at PYTALLOC_UTIL_2.1.9 2.3.1-2build1
  + pytalloc_GetBaseObjectType at PYTALLOC_UTIL_2.1.6 2.3.1-2build1
  + pytalloc_GetObjectType at PYTALLOC_UTIL_2.0.6 2.3.1-2build1
  + pytalloc_reference_ex at PYTALLOC_UTIL_2.0.6 2.3.1-2build1
  + pytalloc_steal at PYTALLOC_UTIL_2.0.6 2.3.1-2build1
  + pytalloc_steal_ex at PYTALLOC_UTIL_2.0.6 2.3.1-2build1
  dh_makeshlibs: error: failing due to earlier errors
  ...

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dh-exec/+bug/1920825/+subscriptions



More information about the Ubuntu-sponsors mailing list