rayrapetyan / cdemu_debian_install

Building and installing cdemu in Debian using Docker
Creative Commons Zero v1.0 Universal
0 stars 0 forks source link

ERROR: failed to solve: process "/bin/sh -c dpkg-buildpackage -b -uc -tc" did not complete successfully: exit code: 3 #1

Open thierry-carron opened 7 months ago

thierry-carron commented 7 months ago

Install with this tutorial crashed on my assus zenbook. Any help will be appreciate.

12 [builder 6/18] RUN dpkg-buildpackage -b -uc -tc

12 0.425 dpkg-buildpackage: info: source package vhba-module

12 0.425 dpkg-buildpackage: info: source version 20240202-1

12 0.425 dpkg-buildpackage: info: source distribution debian

12 0.425 dpkg-buildpackage: info: source changed by Henrik Stokseth hstokset@users.sourceforge.net

12 0.470 dpkg-source --before-build .

12 0.470 dpkg-buildpackage: info: host architecture amd64

12 0.653 dpkg-checkbuilddeps: error: Unmet build dependencies: dh-dkms

12 0.655 dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting

12 0.655 dpkg-buildpackage: warning: (Use -d flag to override.)

12 ERROR: process "/bin/sh -c dpkg-buildpackage -b -uc -tc" did not complete successfully: exit code: 3


[builder 6/18] RUN dpkg-buildpackage -b -uc -tc: 0.425 dpkg-buildpackage: info: source package vhba-module 0.425 dpkg-buildpackage: info: source version 20240202-1 0.425 dpkg-buildpackage: info: source distribution debian 0.425 dpkg-buildpackage: info: source changed by Henrik Stokseth hstokset@users.sourceforge.net 0.470 dpkg-source --before-build . 0.470 dpkg-buildpackage: info: host architecture amd64 0.653 dpkg-checkbuilddeps: error: Unmet build dependencies: dh-dkms 0.655 dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting 0.655 dpkg-buildpackage: warning: (Use -d flag to override.)

Dockerfile:31

29 |
30 | WORKDIR /cdemu/vhba-module 31 | >>> RUN dpkg-buildpackage -b -uc -tc 32 |
33 | WORKDIR /cdemu/libmirage

ERROR: failed to solve: process "/bin/sh -c dpkg-buildpackage -b -uc -tc" did not complete successfully: exit code: 3

rayrapetyan commented 7 months ago

Hello, please provide output of:

lsb_release -cs

on your machine.

rayrapetyan commented 7 months ago

As a temp fix for bullseye - use:

git clone --branch vhba-module-20211218 https://github.com/cdemu/cdemu.git

on step 1. Updated README.

TODO: above will also work for bookworm and newer releases, but installing a dh-dkms dependency should be discovered.