build Debian package "chromium 108" on Debian Buster
1
vote
0
answers
476
views
I am trying to build
chromium 108
for Debian Buster. The package only exists for Debian Bullseye, so on my Debian Buster build machine, I need to change the /etc/apt/sources.list
to bullesyse and download sources:
apt-get source chromium
After that I change sources.list
back to buster.
I cd to the directory and try dpkg-buildpackage
:
cd chromium-108.0.5359.94
dpkg-buildpackage --build=binary --no-sign
Few build dependencies where missing, but I could install them from Buster repository.
Only 2 packages do not exist in buster:
generate-ninja
libpipewire-0.3-dev
I was able to install generate-ninja
from Bullseye
without problems, and grepping the tree for pipewire
shows in ./debian/changelog
* Enable pipewire support in webrtc (closes: #954824).
which looks like some non-essential feature, so I will try to remove pipewire
from build dependencies:
remove line 66 from debian/control
:
-libpipewire-0.3-dev,
and remove line 91 from debian/rules
-rtc_use_pipewire=true \
Now I can start the build process again and it runs for a while:
dpkg-buildpackage --build=binary --no-sign
until I get following error:
5546/54816] ACTION //third_party/blink/renderer/bindings:generate_bindings_all(//build/toolchain/linux/unbundle:default)
ninja: build stopped: subcommand failed.
make: *** [debian/rules:125: override_dh_auto_build-arch] Error 1
make: Leaving directory '/mnt/src/chromium-108.0.5359.94'
make: *** [debian/rules:112: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
Full output here: https://ctxt.io/2/AACQ8LyZEw
How can I fix this error?
Asked by Martin Vegter
(598 rep)
Jan 15, 2023, 10:55 AM
Last activity: Jan 15, 2023, 11:03 AM
Last activity: Jan 15, 2023, 11:03 AM