ungoogled-software / ungoogled-chromium-debian

Debian, Ubuntu, and others packaging for ungoogled-chromium
386 stars 49 forks source link

error: fakeroot debian/rules binary subprocess returned exit status 2 #260

Closed Kwaskoff closed 3 years ago

Kwaskoff commented 3 years ago

after this command dpkg-buildpackage -b -uc my computer was rebooted and now it doesn't want building ending looks like

File "/home/mid/github/ungoogled-chromium-debian/debian/submodules/ungoogled-chromium/utils/patches.py", line 132, in apply_patches
    subprocess.run(cmd, check=True)
  File "/usr/lib/python3.9/subprocess.py", line 528, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/usr/bin/patch', '-p1', '--ignore-whitespace', '-i', '/home/mid/github/ungoogled-chromium-debian/debian/submodules/ungoogled-chromium/patches/core/inox-patchset/0001-fix-building-without-safebrowsing.patch', '-d', '/home/mid/github/ungoogled-chromium-debian', '--no-backup-if-mismatch', '--forward']' returned non-zero exit status 1.
make[1]: *** [debian/rules:137: override_dh_auto_configure] Error 1
make[1]: Leaving directory '/home/mid/github/ungoogled-chromium-debian'
make: *** [debian/rules:108: binary] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned exit status 2

help please

ghost commented 3 years ago

Probably because the old patches are still applied. Restart from a fresh build environment.

Kwaskoff commented 3 years ago

Probably because the old patches are still applied. Restart from a fresh build environment.

yep, I did like you told. It works