"make deb" generates an error on Debian : "./copy-firmware.sh: 116: cannot create : Directory nonexistent"
Hello,
I encounter this error when trying to build a deb package of the linux- firmware repo :
jc@dingdong:~/kernel/linux-firmware$ make deb ./build_packages.py --deb ./copy-firmware.sh: 116: cannot create : Directory nonexistent dpkg-source --before-build . debian/rules clean debian/rules binary dpkg-genbuildinfo --build=binary -O../linux-firmware- upstream_20241210-34-gc0f414a6_amd64.buildinfo dpkg-genchanges --build=binary -O../linux-firmware-upstream_20241210- 34-gc0f414a6_amd64.changes dpkg-source --after-build . Built package: dist/linux-firmware-upstream_20241210-34- gc0f414a6_all.deb
I bisected it to the commit :
[2b781910a7d0a7fd67e3d4f40fd8178004c588bc] Add support to install files/symlinks in parallel.
Tell me if I can help.
Cheers,
jC
Quoted 6 lines · Jean-Christophe Guillain
Hello,
I encounter this error when trying to build a deb package of the linux-
firmware repo :
Quoted 15 lines
jc@dingdong:~/kernel/linux-firmware$ make deb ./build_packages.py --deb ./copy-firmware.sh: 116: cannot create : Directory nonexistent dpkg-source --before-build . debian/rules clean debian/rules binary dpkg-genbuildinfo --build=binary -O../linux-firmware- upstream_20241210-34-gc0f414a6_amd64.buildinfo dpkg-genchanges --build=binary -O../linux-firmware- upstream_20241210- 34-gc0f414a6_amd64.changes dpkg-source --after-build . Built package: dist/linux-firmware-upstream_20241210-34- gc0f414a6_all.deb
I think that $parallel_args_file on line 116 is just never defined in my case...
Quoted 10 lines
I bisected it to the commit :
[2b781910a7d0a7fd67e3d4f40fd8178004c588bc] Add support to install files/symlinks in parallel.Tell me if I can help.
Cheers,
jC
Hi Jean-Christophe,
Quoted 23 lines · Jean-Christophe Guillain
Quoted 6 lines · Jean-Christophe Guillain
Hello,
I encounter this error when trying to build a deb package of the linux-
firmware repo :Quoted 15 lines
jc@dingdong:~/kernel/linux-firmware$ make deb ./build_packages.py --deb ./copy-firmware.sh: 116: cannot create : Directory nonexistent dpkg-source --before-build . debian/rules clean debian/rules binary dpkg-genbuildinfo --build=binary -O../linux-firmware- upstream_20241210-34-gc0f414a6_amd64.buildinfo dpkg-genchanges --build=binary -O../linux-firmware- upstream_20241210- 34-gc0f414a6_amd64.changes dpkg-source --after-build . Built package: dist/linux-firmware-upstream_20241210-34- gc0f414a6_all.deb
Quoted 6 lines
I think that $parallel_args_file on line 116 is just never defined in my case...
Quoted 3 lines
I bisected it to the commit :
[2b781910a7d0a7fd67e3d4f40fd8178004c588bc] Add support to install files/symlinks in parallel.
Indeed, I could reproduce with the 'deb' target. I had missed that issue with the other targets as they invoke the copy-firmware. script always with the -j argument (-j1 when not using parallel compression), which was hiding this issue.
I've now sent a MR to fix that [0]; thank you for reporting it!
[0] https://gitlab.com/kernel-firmware/linux-firmware/-/merge_requests/436
Signature · 2 lines
Thanks, Maxim
Hi Maxim,
I just tested your patch. It fixes the error message for me.
Thank you very much,
Jean-Christophe Guillain
Quoted 46 lines · Maxim Cournoyer
Hi Jean-Christophe,
Quoted 23 lines · Jean-Christophe Guillain
Quoted 6 lines · Jean-Christophe Guillain
Hello,
I encounter this error when trying to build a deb package of the linux-
firmware repo :Quoted 15 lines
jc@dingdong:~/kernel/linux-firmware$ make deb ./build_packages.py --deb ./copy-firmware.sh: 116: cannot create : Directory nonexistent dpkg-source --before-build . debian/rules clean debian/rules binary dpkg-genbuildinfo --build=binary -O../linux-firmware- upstream_20241210-34-gc0f414a6_amd64.buildinfo dpkg-genchanges --build=binary -O../linux-firmware- upstream_20241210- 34-gc0f414a6_amd64.changes dpkg-source --after-build . Built package: dist/linux-firmware-upstream_20241210-34- gc0f414a6_all.debQuoted 7 lines
I think that $parallel_args_file on line 116 is just never defined in
my case...Quoted 3 lines
I bisected it to the commit :
[2b781910a7d0a7fd67e3d4f40fd8178004c588bc] Add support to install files/symlinks in parallel.Indeed, I could reproduce with the 'deb' target. I had missed that issue with the other targets as they invoke the copy-firmware. script always with the -j argument (-j1 when not using parallel compression),
which was hiding this issue.I've now sent a MR to fix that [0]; thank you for reporting it!
[0]
https://gitlab.com/kernel-firmware/linux-firmware/-/merge_requests/436