Build failure (dpkg-buildpackage died)

Asked by Sundar Nagarajan

I get the following error:

dpkg-buildpackage
-----------------

Command: dpkg-buildpackage -us -uc -mLaunchpad Build Daemon <email address hidden> -b -rfakeroot
dpkg-buildpackage: info: source package linux-upstream
dpkg-buildpackage: info: source version 6.4.1ubuntu6
dpkg-buildpackage: info: source distribution jammy
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture amd64
dpkg-checkbuilddeps: error: Unmet build dependencies: bc debhelper kmod cpio
dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting
dpkg-buildpackage: warning: (Use -d flag to override.)

Why are these unmet dependencies:
bc debhelper kmod cpio

They are standard packages in the Ubuntu repo.

Question information

Language:
English Edit question
Status:
Solved
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Solved by:
Guruprasad
Solved:
Last query:
Last reply:
Revision history for this message
Colin Watson (cjwatson) said :
#1

Please provide a link to the full build log - the interesting bit of it isn't in what you quoted.

Revision history for this message
Sundar Nagarajan (sundar-nagarajan) said :
#2

Hi COlin,

Thanks for your response.
The buildlog link is below.

https://launchpad.net/~sundar-nagarajan/+archive/ubuntu/cherrytux-test/+build/26379261/+files/buildlog_ubuntu-jammy-amd64.linux-upstream_6.4.1ubuntu6_BUILDING.txt.gz

After asking the question, my brain fog cleared and I realized that those
packages were not part of my source package Build-Depends clause - some
programmatic bug made them disappear.

Once I added them to the Build-Depends, the build worked fine.

Thanks again

On Sun, Jul 2, 2023 at 3:15 PM Colin Watson <
<email address hidden>> wrote:

> Your question #707180 on Launchpad itself changed:
> https://answers.launchpad.net/launchpad/+question/707180
>
> Status: Open => Needs information
>
> Colin Watson requested more information:
> Please provide a link to the full build log - the interesting bit of it
> isn't in what you quoted.
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/launchpad/+question/707180
>
> You received this question notification because you asked the question.
>

Revision history for this message
Best Guruprasad (lgp171188) said :
#3

Hi Sundar,

Please mark this question as solved, if your problem is resolved.

Revision history for this message
Sundar Nagarajan (sundar-nagarajan) said :
#4

Thanks Guruprasad, that solved my question.