Skip to contentSkip to conversation

Building Debian from source spit out some warnings...please shed some light

DISCUSSION Nicolas Schier 1 participant 2 messages Jul 3, 2025 2 messages not in the archive Kbuild

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): aF8f_3xbnXy4Vibi@debian

#1 lore raw
Quoted 8 lines · Bhaskar Chowdhury

Alright, I was doing customary kernel building via upstream source and come across these warnings .....

dpkg-genbuildinfo --build=full -O../linux-upstream_6.15.4-00002-g4844502d6635-1_amd64.buildinfo
dpkg-genchanges --build=full -O../linux-upstream_6.15.4-00002-g4844502d6635-1_amd64.changes
using Dpkg::Control::Fields::field_transfer_single() with an an implicit field argument is deprecated at /usr/bin/dpkg-genchanges line 245. using Dpkg::Control::Fields::field_transfer_single() with an an implicit field argument is deprecated at /usr/bin/dpkg-genchanges line 245.

[...]

I cannot reproduce the output you forwarded. I tried it with this:

     sudo apt install build-essential git flex bison lsb-release debhelper bc \
        cpio kmod libdw-dev libelf-dev libssl-dev python3 rsync &&
     make defconfig deb-pkg -j28 -l28

and I am getting this:

    [...]
      HOSTCC  debian/linux-headers-6.15.4/usr/src/linux-headers-6.15.4/scripts/mod/symsearch.o
      HOSTCC  debian/linux-headers-6.15.4/usr/src/linux-headers-6.15.4/scripts/basic/fixdep
      HOSTCC  debian/linux-headers-6.15.4/usr/src/linux-headers-6.15.4/scripts/selinux/mdp/mdp
      HOSTLD  debian/linux-headers-6.15.4/usr/src/linux-headers-6.15.4/scripts/mod/modpost
    dpkg-deb: building package 'linux-headers-6.15.4' in '../linux-headers-6.15.4_6.15.4-2_amd64.deb'.
     dpkg-genbuildinfo --build=full -O../linux-upstream_6.15.4-2_amd64.buildinfo
     dpkg-genchanges --build=full -O../linux-upstream_6.15.4-2_amd64.changes
    dpkg-genchanges: info: including full source code in upload
     dpkg-source --compression=gzip --after-build .
    dpkg-source: info: using options from src.bookworm/debian/source/local-options: --diff-ignore --extend-dif
    f-ignore=.*
    dpkg-buildpackage: info: full upload (original source is included)

Thus, for me, everything works as expected.

Tested with v6.13+, v6.15.4 and v6.16-rc4 on an up-to-date and minimal Debian bookworm and Debian unstable.

Which version of dpkg-dev do you have installed on your system?

Kind regards,
Nicolas

A message that is not in the archive (sent off-list or not yet received): aGZ3QH3hbpQVjUup@debian

#3 lore raw
Quoted 11 lines · Bhaskar Chowdhury
Quoted 10 lines · Nicolas Schier
Quoted 8 lines · Bhaskar Chowdhury

Alright, I was doing customary kernel building via upstream source and come across these warnings .....

dpkg-genbuildinfo --build=full -O../linux-upstream_6.15.4-00002-g4844502d6635-1_amd64.buildinfo
dpkg-genchanges --build=full -O../linux-upstream_6.15.4-00002-g4844502d6635-1_amd64.changes
using Dpkg::Control::Fields::field_transfer_single() with an an implicit field argument is deprecated at /usr/bin/dpkg-genchanges line 245. using Dpkg::Control::Fields::field_transfer_single() with an an implicit field argument is deprecated at /usr/bin/dpkg-genchanges line 245.

[...]

[...]

Quoted 4 lines
Quoted 1 line

Which version of dpkg-dev do you have installed on your system?

FYI

Quoted 11 lines

bhaskar_17:55:19_Thu Jul 03: :~>dpkg-query --status dpkg-dev
Package: dpkg-dev
Status: install ok installed
Priority: optional
Section: utils
Installed-Size: 1728
Maintainer: Dpkg Developers <[email protected]>
Architecture: all
Multi-Arch: foreign
Source: dpkg
Version: 1.21.22

hm. My bookworm chroot has dpkg-dev=1.22.5~bpo12+1, but even if I downgrade to 1.21.22 I cannot see the messages you reported.

Kind regards,
Nicolas