Package: chromium
Version: 71.0.3578.80-1
Severity: serious
Justification: fails to build from source (but built successfully in the past)

Trying to build Chromium off the source package, but it fails with Chromium's
builds system unable to find third_party/{libvpx,opus,freetype} and so on.

Here is what I do:

sudo docker run --rm -it -v /tmp/chromium-pkgs:/build debian:sid /bin/bash
echo "
deb http://deb.debian.org/debian sid main contrib
deb-src http://deb.debian.org/debian/ sid main contrib
" > /etc/apt/sources.list
apt-get update
apt-get dist-upgrade -y
apt-get install -y fakeroot devscripts build-essential
apt-get build-dep -y chromium
cd /build
apt-get source -y chromium
cd chromium-*
debuild

The error:

# debuild
dpkg-buildpackage -us -uc -ui
dpkg-buildpackage: info: source package chromium
dpkg-buildpackage: info: source version 71.0.3578.80-1
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Michael Gilbert
<mgilb...@debian.org>
dpkg-source --before-build .
dpkg-buildpackage: info: host architecture amd64
debian/rules clean
dh clean
  debian/rules override_dh_auto_clean
make[1]: Entering directory '/build/chromium-71.0.3578.80'
rm -rf out
find . -name \*.pyc -execdir rm -f {} \;
dh_auto_clean
make[1]: Leaving directory '/build/chromium-71.0.3578.80'
  dh_clean
        rm -f debian/debhelper-build-stamp
        rm -rf debian/.debhelper/
/build/chromium-71.0.3578.80/debian/clean: 1:
/build/chromium-71.0.3578.80/debian/clean: debian/files: not found
/build/chromium-71.0.3578.80/debian/clean: 2:
/build/chromium-71.0.3578.80/debian/clean: debian/scripts/mk-origtargz: not
found
/build/chromium-71.0.3578.80/debian/clean: 4:
/build/chromium-71.0.3578.80/debian/clean: Makefile: not found
/build/chromium-71.0.3578.80/debian/clean: 5:
/build/chromium-71.0.3578.80/debian/clean: third_party/flot/*.js: not found
/build/chromium-71.0.3578.80/debian/clean: 7:
/build/chromium-71.0.3578.80/debian/clean: base/third_party/libevent/BUILD.gn:
not found
/build/chromium-71.0.3578.80/debian/clean: 8:
/build/chromium-71.0.3578.80/debian/clean:
build/secondary/third_party/libjpeg_turbo/BUILD.gn: not found
/build/chromium-71.0.3578.80/debian/clean: 10:
/build/chromium-71.0.3578.80/debian/clean: third_party/re2/BUILD.gn: not found
/build/chromium-71.0.3578.80/debian/clean: 11:
/build/chromium-71.0.3578.80/debian/clean: third_party/icu/BUILD.gn: not found
/build/chromium-71.0.3578.80/debian/clean: 12:
/build/chromium-71.0.3578.80/debian/clean: third_party/flac/BUILD.gn: not found
third_party/zlib/BUILD.gn: 5: third_party/zlib/BUILD.gn: Syntax error: "{"
unexpected (expecting "then")
/build/chromium-71.0.3578.80/debian/clean: 14:
/build/chromium-71.0.3578.80/debian/clean: third_party/opus/BUILD.gn: not found
/build/chromium-71.0.3578.80/debian/clean: 15:
/build/chromium-71.0.3578.80/debian/clean: third_party/snappy/BUILD.gn: not
found
third_party/ffmpeg/BUILD.gn: 5: third_party/ffmpeg/BUILD.gn: Syntax error: word
unexpected (expecting ")")
third_party/libxml/BUILD.gn: 7: third_party/libxml/BUILD.gn: Syntax error: "{"
unexpected (expecting "then")
/build/chromium-71.0.3578.80/debian/clean: 18:
/build/chromium-71.0.3578.80/debian/clean: third_party/libdrm/BUILD.gn: not
found
/build/chromium-71.0.3578.80/debian/clean: 19:
/build/chromium-71.0.3578.80/debian/clean: third_party/libpng/BUILD.gn: not
found
/build/chromium-71.0.3578.80/debian/clean: 20:
/build/chromium-71.0.3578.80/debian/clean: third_party/libvpx/BUILD.gn: not
found
/build/chromium-71.0.3578.80/debian/clean: 21:
/build/chromium-71.0.3578.80/debian/clean: third_party/libwebp/BUILD.gn: not
found
/build/chromium-71.0.3578.80/debian/clean: 22:
/build/chromium-71.0.3578.80/debian/clean: third_party/libjpeg/BUILD.gn: not
found
/build/chromium-71.0.3578.80/debian/clean: 23:
/build/chromium-71.0.3578.80/debian/clean: third_party/libxslt/BUILD.gn: not
found
/build/chromium-71.0.3578.80/debian/clean: 24:
/build/chromium-71.0.3578.80/debian/clean: third_party/freetype/BUILD.gn: not
found
/build/chromium-71.0.3578.80/debian/clean: 25:
/build/chromium-71.0.3578.80/debian/clean: third_party/fontconfig/BUILD.gn: not
found
third_party/yasm/yasm_assemble.gni: 44: third_party/yasm/yasm_assemble.gni:
Syntax error: "{" unexpected (expecting "then")
/build/chromium-71.0.3578.80/debian/clean: 31:
/build/chromium-71.0.3578.80/debian/clean: third_party/yasm/run_yasm.py: not
found
/build/chromium-71.0.3578.80/debian/clean: 33:
/build/chromium-71.0.3578.80/debian/clean:
tools/gn/base/numerics/safe_math_arm_impl.h: not found
/build/chromium-71.0.3578.80/debian/clean: 34:
/build/chromium-71.0.3578.80/debian/clean:
tools/gn/base/numerics/safe_conversions_arm_impl.h: not found
/build/chromium-71.0.3578.80/debian/clean: 36:
/build/chromium-71.0.3578.80/debian/clean:
third_party/catapult/third_party/polymer/components: not found
dh_clean: debian/clean is marked executable but does not appear to an
executable config.
dh_clean:
dh_clean: If debian/clean is intended to be an executable config file, please
ensure it can
dh_clean: be run as a stand-alone script/program (e.g. "./debian/clean")
dh_clean: Otherwise, please remove the executable bit from the file (e.g. chmod
-x "debian/clean")
dh_clean:
dh_clean: Please see "Executable debhelper config files" in debhelper(7) for
more information.
dh_clean:
dh_clean: debian/clean (executable config) returned exit code 127
make: *** [debian/rules:127: clean] Error 22
dpkg-buildpackage: error: debian/rules clean subprocess returned exit status 2
debuild: fatal error at line 1182:
dpkg-buildpackage -us -uc -ui failed



-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.18.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE= 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Reply via email to