python issue when running ./build/install-build-deps.sh

25 views
Skip to first unread message

Alex Newcomer

unread,
Apr 12, 2021, 5:20:39 PM4/12/21
to chromeos-chatty-eng, chromium-os-dev
Hello,

I have been using the simple-chrome workflow (go/simplechrome) for a while for chromeos development.

I recently was bisecting for the cause of a bug over a very large range, and now I am having issues with python.

I tried rebuilding chromium from scratch, and this still didn't fix it.

After downloading the source code, and getting to "install dependencies" step:

When I run ./build/install-build-deps.sh

I get:
newcomer@newcomer2:~/chromium/src$ ./build/install-build-deps.sh
Running as non-root user.
You might have to enter your password one or more times for 'sudo'.

Hit:1 https://rapture-prod.corp.google.com goobuntu-w...@newcomer2.mtv.corp.google.com InRelease
Hit:2 https://rapture-prod.corp.google.com goobuntu-puppet-addons InRelease
Hit:3 https://rapture-prod.corp.google.com sublime-text-stable InRelease
Hit:4 https://rapture-prod.corp.google.com glinux-rodete-base-20210408.02.03 InRelease
Hit:5 https://rapture-prod.corp.google.com glinux-rodete-base-priority-20210408.02.03 InRelease
Get:6 https://rapture-prod.corp.google.com glinux-rodete-cana...@newcomer2.mtv.corp.google.com InRelease [15.7 kB]
Get:7 https://rapture-prod.corp.google.com glinux-rodete-extra-20210408.02.03 InRelease [7,294 B]
Hit:8 https://rapture-prod.corp.google.com glinux-rodete-extra-priority-20210408.02.03 InRelease
Hit:9 https://rapture-prod.corp.google.com usblock-stable InRelease
Get:10 https://rapture-prod.corp.google.com glinux-rodete-extra-20210408.02.03/main amd64 Packages [283 kB]
Get:11 https://rapture-prod.corp.google.com glinux-rodete-extra-20210408.02.03/main i386 Packages [5,505 B]
Fetched 311 kB in 3s (112 kB/s)
Reading package lists... Done
Building apt package list.
Skipping debugging symbols.
Including 32-bit libraries.
Including ARM cross toolchain.
Including NaCl, NaCl toolchain, NaCl ports dependencies.
Finding missing packages...
Packages required:  libasound2:i386 libcap2:i386 libelf-dev:i386 libfontconfig1:i386 libglib2.0-0:i386 libgpm2:i386 libncurses5:i386 libnss3:i386 libpango-1.0-0:i386 libpci3:i386 libssl1.1:i386 libssl-dev:i386 libtinfo-dev:i386 libudev1:i386 libuuid1:i386 libx11-xcb1:i386 libxcomposite1:i386 libxcursor1:i386 libxdamage1:i386 libxi6:i386 libxrandr2:i386 libxss1:i386 libxtst6:i386 linux-libc-dev:i386 ant apache2-bin autoconf binutils binutils-aarch64-linux-gnu binutils-arm-linux-gnueabihf binutils-mips64el-linux-gnuabi64 binutils-mipsel-linux-gnu bison bzip2 cdbs cmake curl dbus-x11 devscripts dpkg-dev elfutils fakeroot flex g++-10-multilib g++-arm-linux-gnueabihf gawk git-core g++-mingw-w64-i686 gperf intltool lib32gcc-s1 lib32ncurses5-dev lib32stdc++6 lib32z1-dev libapache2-mod-php7.4 libappindicator3-1 libappindicator3-dev libasound2 libasound2-dev libatk1.0-0 libatspi2.0-0 libatspi2.0-dev libbluetooth-dev libbrlapi0.8 libbrlapi-dev libbz2-1.0 libbz2-dev libc6 libc6-dev libc6-dev-armhf-cross libc6-i386 libcairo2 libcairo2-dev libcap2 libcap-dev libcups2 libcups2-dev libcurl4-gnutls-dev libdrm2 libdrm-dev libelf-dev libevdev2 libevdev-dev libexpat1 libffi7 libffi-dev libfontconfig1 libfreetype6 libgbm1 libgbm-dev libglib2.0-0 libglib2.0-dev libglu1-mesa-dev libgnome-keyring0 libgnome-keyring-dev libgtk-3-0 libgtk-3-dev libinput10 libinput-dev libjpeg-dev libkrb5-dev libnspr4 libnspr4-dev libnss3 libnss3-dev libpam0g libpam0g-dev libpango-1.0-0 libpci3 libpci-dev libpcre3 libpixman-1-0 libpng16-16 libpulse0 libpulse-dev libsctp-dev libspeechd2 libspeechd-dev libsqlite3-0 libsqlite3-dev libssl-dev libstdc++6 libtinfo5 libtinfo-dev libtool libudev1 libudev-dev libuuid1 libva-dev libvulkan1 libvulkan-dev libwayland-egl1-mesa libwww-perl libx11-6 libx11-xcb1 libxau6 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxdmcp6 libxext6 libxfixes3 libxi6 libxinerama1 libxkbcommon-dev libxrandr2 libxrender1 libxshmfence-dev libxslt1-dev libxss-dev libxt-dev libxtst6 libxtst-dev linux-libc-dev-armhf-cross locales mesa-common-dev openbox p7zip patch perl php7.4-cgi pkg-config python python-crypto python-dev python-openssl python-setuptools realpath rpm ruby subversion texinfo uuid-dev wdiff x11-utils xcompmgr xsltproc xutils-dev xvfb xz-utils zip zlib1g

E: Unable to correct problems, you have held broken packages.
The following command failed:  apt-get --just-print install libasound2:i386 libcap2:i386 libelf-dev:i386 libfontconfig1:i386 libglib2.0-0:i386 libgpm2:i386 libncurses5:i386 libnss3:i386 libpango-1.0-0:i386 libpci3:i386 libssl1.1:i386 libssl-dev:i386 libtinfo-dev:i386 libudev1:i386 libuuid1:i386 libx11-xcb1:i386 libxcomposite1:i386 libxcursor1:i386 libxdamage1:i386 libxi6:i386 libxrandr2:i386 libxss1:i386 libxtst6:i386 linux-libc-dev:i386 ant apache2-bin autoconf binutils binutils-aarch64-linux-gnu binutils-arm-linux-gnueabihf binutils-mips64el-linux-gnuabi64 binutils-mipsel-linux-gnu bison bzip2 cdbs cmake curl dbus-x11 devscripts dpkg-dev elfutils fakeroot flex g++-10-multilib g++-arm-linux-gnueabihf gawk git-core g++-mingw-w64-i686 gperf intltool lib32gcc-s1 lib32ncurses5-dev lib32stdc++6 lib32z1-dev libapache2-mod-php7.4 libappindicator3-1 libappindicator3-dev libasound2 libasound2-dev libatk1.0-0 libatspi2.0-0 libatspi2.0-dev libbluetooth-dev libbrlapi0.8 libbrlapi-dev libbz2-1.0 libbz2-dev libc6 libc6-dev libc6-dev-armhf-cross libc6-i386 libcairo2 libcairo2-dev libcap2 libcap-dev libcups2 libcups2-dev libcurl4-gnutls-dev libdrm2 libdrm-dev libelf-dev libevdev2 libevdev-dev libexpat1 libffi7 libffi-dev libfontconfig1 libfreetype6 libgbm1 libgbm-dev libglib2.0-0 libglib2.0-dev libglu1-mesa-dev libgnome-keyring0 libgnome-keyring-dev libgtk-3-0 libgtk-3-dev libinput10 libinput-dev libjpeg-dev libkrb5-dev libnspr4 libnspr4-dev libnss3 libnss3-dev libpam0g libpam0g-dev libpango-1.0-0 libpci3 libpci-dev libpcre3 libpixman-1-0 libpng16-16 libpulse0 libpulse-dev libsctp-dev libspeechd2 libspeechd-dev libsqlite3-0 libsqlite3-dev libssl-dev libstdc++6 libtinfo5 libtinfo-dev libtool libudev1 libudev-dev libuuid1 libva-dev libvulkan1 libvulkan-dev libwayland-egl1-mesa libwww-perl libx11-6 libx11-xcb1 libxau6 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxdmcp6 libxext6 libxfixes3 libxi6 libxinerama1 libxkbcommon-dev libxrandr2 libxrender1 libxshmfence-dev libxslt1-dev libxss-dev libxt-dev libxtst6 libxtst-dev linux-libc-dev-armhf-cross locales mesa-common-dev openbox p7zip patch perl php7.4-cgi pkg-config python python-crypto python-dev python-openssl python-setuptools realpath rpm ruby subversion texinfo uuid-dev wdiff x11-utils xcompmgr xsltproc xutils-dev xvfb xz-utils zip zlib1g

It produced the following output:
NOTE: This is only a simulation!
      apt-get needs root privileges for real execution.
      Keep also in mind that locking is deactivated,
      so don't depend on the relevance to the real current situation!
Reading package lists...
Building dependency tree...
Reading state information...
ant is already the newest version (1.10.9-3).
apache2-bin is already the newest version (2.4.46-4).
apache2-bin set to manually installed.
autoconf is already the newest version (2.69-14).
binutils is already the newest version (2.35.2-2).
binutils set to manually installed.
binutils-aarch64-linux-gnu is already the newest version (2.35.2-2).
binutils-arm-linux-gnueabihf is already the newest version (2.35.2-2).
binutils-mips64el-linux-gnuabi64 is already the newest version (2.35.1-6cross1).
binutils-mipsel-linux-gnu is already the newest version (2.35.1-6cross1).
bison is already the newest version (2:3.7.5+dfsg-1).
bzip2 is already the newest version (1.0.8-4).
bzip2 set to manually installed.
cdbs is already the newest version (0.4.163).
cmake is already the newest version (3.18.4-2).
curl is already the newest version (7.74.0-1.1+build1).
dbus-x11 is already the newest version (1.12.20-2).
dbus-x11 set to manually installed.
devscripts is already the newest version (2.21.1).
dpkg-dev is already the newest version (1.20.7.1+gl0).
elfutils is already the newest version (0.183-1).
fakeroot is already the newest version (1.25.3-1.1).
fakeroot set to manually installed.
flex is already the newest version (2.6.4-8).
g++-10-multilib is already the newest version (10.2.1-6+build2).
g++-10-multilib set to manually installed.
g++-mingw-w64-i686 is already the newest version (10.2.1-6+build1+24.1+build1).
gawk is already the newest version (1:5.1.0-1).
git-core is already the newest version (1:2.14.2-1).
gperf is already the newest version (3.1-1).
intltool is already the newest version (0.51.0-6).
lib32gcc-s1 is already the newest version (10.2.1-6+build2).
lib32ncurses-dev is already the newest version (6.2+20201114-2).
lib32stdc++6 is already the newest version (10.2.1-6+build2).
lib32z1-dev is already the newest version (1:1.2.11.dfsg-2).
libappindicator3-1 is already the newest version (0.4.92-8).
libappindicator3-1 set to manually installed.
libappindicator3-dev is already the newest version (0.4.92-8).
libasound2 is already the newest version (1.2.4-1.1).
libasound2 set to manually installed.
libasound2-dev is already the newest version (1.2.4-1.1).
libatk1.0-0 is already the newest version (2.36.0-2).
libatk1.0-0 set to manually installed.
libatspi2.0-0 is already the newest version (2.38.0-2).
libatspi2.0-0 set to manually installed.
libatspi2.0-dev is already the newest version (2.38.0-2).
libbluetooth-dev is already the newest version (5.55-3).
libbrlapi-dev is already the newest version (6.3+dfsg-1).
libbrlapi0.8 is already the newest version (6.3+dfsg-1).
libbrlapi0.8 set to manually installed.
libbz2-1.0 is already the newest version (1.0.8-4).
libbz2-dev is already the newest version (1.0.8-4).
libc6 is already the newest version (2.31-11).
libc6-dev is already the newest version (2.31-11).
libc6-dev set to manually installed.
libc6-dev-armhf-cross is already the newest version (2.31-9+build1cross4).
libc6-i386 is already the newest version (2.31-11).
libcairo2 is already the newest version (1.16.0-5).
libcairo2 set to manually installed.
libcairo2-dev is already the newest version (1.16.0-5).
libcap-dev is already the newest version (1:2.44-1).
libcap2 is already the newest version (1:2.44-1).
libcups2 is already the newest version (2.3.3op2-3+build1).
libcups2 set to manually installed.
libcups2-dev is already the newest version (2.3.3op2-3+build1).
libcurl4-gnutls-dev is already the newest version (7.74.0-1.1+build1).
libdrm-dev is already the newest version (2.4.104-1).
libdrm2 is already the newest version (2.4.104-1).
libdrm2 set to manually installed.
libelf-dev is already the newest version (0.183-1).
libevdev2 is already the newest version (1.11.0+dfsg-1+build1).
libevdev2 set to manually installed.
libexpat1 is already the newest version (2.2.10-2).
libexpat1 set to manually installed.
libffi-dev is already the newest version (3.3-5).
libffi7 is already the newest version (3.3-5).
libffi7 set to manually installed.
libfontconfig1 is already the newest version (2.13.1-4.2).
libfontconfig1 set to manually installed.
libfreetype6 is already the newest version (2.10.4+dfsg-1).
libfreetype6 set to manually installed.
libgbm-dev is already the newest version (20.3.4-1).
libgbm1 is already the newest version (20.3.4-1).
libgbm1 set to manually installed.
libglib2.0-0 is already the newest version (2.66.8-1).
libglib2.0-0 set to manually installed.
libglib2.0-dev is already the newest version (2.66.8-1).
libglu1-mesa-dev is already the newest version (9.0.1-1).
libgnome-keyring-dev is already the newest version (3.12.0-1+b2).
libgnome-keyring0 is already the newest version (3.12.0-1+b2).
libgnome-keyring0 set to manually installed.
libgtk-3-0 is already the newest version (3.24.24-3).
libgtk-3-0 set to manually installed.
libgtk-3-dev is already the newest version (3.24.24-3).
libinput10 is already the newest version (1.16.4-3).
libinput10 set to manually installed.
libjpeg-dev is already the newest version (1:2.0.6-4).
libkrb5-dev is already the newest version (1.18.3-4).
libnspr4 is already the newest version (2:4.29-1).
libnspr4 set to manually installed.
libnspr4-dev is already the newest version (2:4.29-1).
libnss3 is already the newest version (2:3.61-1).
libnss3 set to manually installed.
libnss3-dev is already the newest version (2:3.61-1).
libpam0g is already the newest version (1.4.0-7).
libpam0g-dev is already the newest version (1.4.0-7).
libpango-1.0-0 is already the newest version (1.46.2-3).
libpango-1.0-0 set to manually installed.
libpci-dev is already the newest version (1:3.7.0-5).
libpci3 is already the newest version (1:3.7.0-5).
libpci3 set to manually installed.
libpcre3 is already the newest version (2:8.39-13).
libpixman-1-0 is already the newest version (0.40.0-1).
libpixman-1-0 set to manually installed.
libpng16-16 is already the newest version (1.6.37-3).
libpng16-16 set to manually installed.
libpulse-dev is already the newest version (14.2-2).
libpulse0 is already the newest version (14.2-2).
libpulse0 set to manually installed.
libsctp-dev is already the newest version (1.0.18+dfsg-1+build1).
libspeechd-dev is already the newest version (0.10.2-2).
libspeechd2 is already the newest version (0.10.2-2).
libspeechd2 set to manually installed.
libsqlite3-0 is already the newest version (3.34.1-3).
libsqlite3-0 set to manually installed.
libsqlite3-dev is already the newest version (3.34.1-3).
libssl-dev is already the newest version (1.1.1k-1).
libstdc++6 is already the newest version (10.2.1-6+build2).
libtinfo-dev is already the newest version (6.2+20201114-2).
libtinfo-dev set to manually installed.
libtinfo5 is already the newest version (6.2+20201114-2).
libtool is already the newest version (2.4.6-15).
libudev-dev is already the newest version (247.3-3+gl1).
libudev1 is already the newest version (247.3-3+gl1).
libuuid1 is already the newest version (2.36.1-7).
libvulkan1 is already the newest version (1.2.162.0-1).
libvulkan1 set to manually installed.
libwayland-egl1-mesa is already the newest version (20.3.4-1).
libwayland-egl1-mesa set to manually installed.
libwww-perl is already the newest version (6.52-1).
libwww-perl set to manually installed.
libx11-6 is already the newest version (2:1.7.0-2).
libx11-6 set to manually installed.
libx11-xcb1 is already the newest version (2:1.7.0-2).
libx11-xcb1 set to manually installed.
libxau6 is already the newest version (1:1.0.9-1).
libxau6 set to manually installed.
libxcb1 is already the newest version (1.14-3).
libxcb1 set to manually installed.
libxcomposite1 is already the newest version (1:0.4.5-1).
libxcomposite1 set to manually installed.
libxcursor1 is already the newest version (1:1.2.0-2+build1).
libxcursor1 set to manually installed.
libxdamage1 is already the newest version (1:1.1.5-2).
libxdamage1 set to manually installed.
libxdmcp6 is already the newest version (1:1.1.2-3+build1).
libxdmcp6 set to manually installed.
libxext6 is already the newest version (2:1.3.3-1.1).
libxext6 set to manually installed.
libxfixes3 is already the newest version (1:5.0.3-2).
libxfixes3 set to manually installed.
libxi6 is already the newest version (2:1.7.10-1).
libxi6 set to manually installed.
libxinerama1 is already the newest version (2:1.1.4-2+build1).
libxinerama1 set to manually installed.
libxkbcommon-dev is already the newest version (1.0.3-2).
libxrandr2 is already the newest version (2:1.5.1-1+build1).
libxrandr2 set to manually installed.
libxrender1 is already the newest version (1:0.9.10-1+build1).
libxrender1 set to manually installed.
libxshmfence-dev is already the newest version (1.3-1).
libxslt1-dev is already the newest version (1.1.34-4+build1).
libxss-dev is already the newest version (1:1.2.3-1+build1).
libxt-dev is already the newest version (1:1.2.0-1).
libxt-dev set to manually installed.
libxtst-dev is already the newest version (2:1.2.3-1+build1).
libxtst6 is already the newest version (2:1.2.3-1+build1).
libxtst6 set to manually installed.
linux-libc-dev-armhf-cross is already the newest version (5.10.19-1rodete1cross4).
locales is already the newest version (2.31-11).
mesa-common-dev is already the newest version (20.3.4-1).
openbox is already the newest version (3.6.1-9).
p7zip is already the newest version (16.02+dfsg-8).
p7zip set to manually installed.
patch is already the newest version (2.7.6-7).
patch set to manually installed.
perl is already the newest version (5.32.1-3).
perl set to manually installed.
pkg-config is already the newest version (0.29.2-1).
realpath is already the newest version (8.26-3).
realpath set to manually installed.
rpm is already the newest version (4.16.1.2+dfsg1-0.4).
ruby is already the newest version (1:2.7+2).
ruby set to manually installed.
subversion is already the newest version (1.14.1-3).
texinfo is already the newest version (6.7.0.dfsg.2-6).
uuid-dev is already the newest version (2.36.1-7).
wdiff is already the newest version (1.2.2-2+build1).
x11-utils is already the newest version (7.7+5).
x11-utils set to manually installed.
xcompmgr is already the newest version (1.1.8-1+build1).
xsltproc is already the newest version (1.1.34-4+build1).
xutils-dev is already the newest version (1:7.7+5+build2).
xvfb is already the newest version (2:1.20.10-3).
xz-utils is already the newest version (5.2.5-2).
zip is already the newest version (3.0-12).
zip set to manually installed.
zlib1g is already the newest version (1:1.2.11.dfsg-2).
libasound2:i386 is already the newest version (1.2.4-1.1).
libcap2:i386 is already the newest version (1:2.44-1).
libelf-dev:i386 is already the newest version (0.183-1).
libfontconfig1:i386 is already the newest version (2.13.1-4.2).
libglib2.0-0:i386 is already the newest version (2.66.8-1).
libgpm2:i386 is already the newest version (1.20.7-8).
libncurses5:i386 is already the newest version (6.2+20201114-2).
libnss3:i386 is already the newest version (2:3.61-1).
libpango-1.0-0:i386 is already the newest version (1.46.2-3).
libpci3:i386 is already the newest version (1:3.7.0-5).
libssl-dev:i386 is already the newest version (1.1.1k-1).
libssl1.1:i386 is already the newest version (1.1.1k-1).
libtinfo-dev:i386 is already the newest version (6.2+20201114-2).
libtinfo-dev:i386 set to manually installed.
libudev1:i386 is already the newest version (247.3-3+gl1).
libuuid1:i386 is already the newest version (2.36.1-7).
libx11-xcb1:i386 is already the newest version (2:1.7.0-2).
libxcomposite1:i386 is already the newest version (1:0.4.5-1).
libxcursor1:i386 is already the newest version (1:1.2.0-2+build1).
libxdamage1:i386 is already the newest version (1:1.1.5-2).
libxi6:i386 is already the newest version (2:1.7.10-1).
libxrandr2:i386 is already the newest version (2:1.5.1-1+build1).
libxss1:i386 is already the newest version (1:1.2.3-1+build1).
libxtst6:i386 is already the newest version (2:1.2.3-1+build1).
linux-libc-dev:i386 is already the newest version (5.10.19-1rodete1).
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 python : PreDepends: python-minimal (= 2.7.17-2) but it is not installable
          Depends: libpython-stdlib (= 2.7.17-2) but it is not going to be installed
          Depends: python2 (= 2.7.17-2) but 2.7.18-2 is to be installed
 python-is-python2 : Breaks: python

You will have to install the above packages yourself.

Has anyone seen this? Techstop could not help.

Alex

Mike Frysinger

unread,
Apr 12, 2021, 5:25:45 PM4/12/21
to Alex Newcomer, chromeos-chatty-eng, chromium-os-dev
it looks like you're asking about the browser, not the OS.  you want chromi...@chromium.org instead.

also, please don't cc internal & external groups simultaneously.  it makes it hard for people to respond as not everyone is subscribed to both using a single account.
-mike

--
You received this message because you are subscribed to the Google Groups "chromeos-chatty-eng" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromeos-chatty...@google.com.
To view this discussion on the web visit https://groups.google.com/a/google.com/d/msgid/chromeos-chatty-eng/CAMtpDEr1RFhm%2BoZ_q4TCzLp6_URBcf4VhV6%3D6-fGB67obSyVjQ%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages