vsimon / webrtcbuilds

Getting started with WebRTC natively is no easy picnic. The goal of webrtcbuilds is to provide a single standalone WebRTC static library and package.
BSD 3-Clause "New" or "Revised" License
202 stars 164 forks source link

Script fails trying to install ancient "apache2.2-bin" package (apache2-bin is new name) #97

Open afcady opened 4 years ago

afcady commented 4 years ago

The package, apache2.2-bin, is not avaliable in Debian stable (buster) or Debian oldstable (stretch). It is only available in oldoldstable (jessie) or in older unsupported historical archives.

Even in jessie, the package does not do anything. It just has a dependency on apache2-bin. It's a transitional package for upgrading to jessie from even older versions. Unfortunately, it pins the version, so that it wants to install the ancient apache2-bin from jessie, which conflicts with installing an up-to-date apache.

The dependency should simply be changed to apache2-bin. Nothing will break unless someone tries to build it on a Debian-based system even older than jessie.

This is from the log of the build. I included a lot of context; the error is at the bottom.

Checking WebRTC dependencies
Hit:1 http://security.debian.org stretch/updates InRelease
Hit:2 http://security.debian.org buster/updates InRelease
Hit:5 http://ppa.launchpad.net/webupd8team/java/ubuntu xenial InRelease
Ign:3 http://cdn-fastly.deb.debian.org/debian oldoldstable InRelease
Ign:4 http://cdn-fastly.deb.debian.org/debian stretch InRelease
Hit:6 http://cdn-fastly.deb.debian.org/debian stretch-backports InRelease
Hit:7 http://cdn-fastly.deb.debian.org/debian buster InRelease
Hit:8 http://cdn-fastly.deb.debian.org/debian buster-backports InRelease
Hit:9 http://cdn-fastly.deb.debian.org/debian oldoldstable Release
Hit:10 http://cdn-fastly.deb.debian.org/debian stretch Release
Hit:11 https://download.jitsi.org stable/ InRelease
Reading package lists... Done
Building apt package list.
Skipping debugging symbols.
Skipping 32-bit libraries.
Skipping ARM cross toolchain.
Skipping NaCl, NaCl toolchain, NaCl ports dependencies.
Finding missing packages...
Packages required:  apache2.2-bin binutils binutils-aarch64-linux-gnu binutils-arm-linux-gnueabihf binutils-mips64el-linux-gnuab
i64 binutils-mipsel-linux-gnu bison bzip2 cdbs curl dbus-x11 devscripts dpkg-dev elfutils fakeroot flex git-core gperf lib32gcc1
 lib32stdc++6 libapache2-mod-php7.0 libappindicator3-1 libappindicator3-dev libasound2 libasound2-dev libatk1.0-0 libatspi2.0-0
libatspi2.0-dev libav-tools libbluetooth-dev libbrlapi0.6 libbrlapi-dev libbz2-1.0 libbz2-dev libc6 libc6-dev libc6-i386 libcair
o2 libcairo2-dev libcap2 libcap-dev libcups2 libcups2-dev libcurl4-gnutls-dev libdrm-dev libelf-dev libexpat1 libffi6 libffi-dev
 libfontconfig1 libfreetype6 libgbm-dev libglib2.0-0 libglib2.0-dev libglu1-mesa-dev libgnome-keyring0 libgnome-keyring-dev libg
tk-3-0 libgtk-3-dev libjpeg-dev libkrb5-dev libnspr4 libnspr4-dev libnss3 libnss3-dev libpam0g libpam0g-dev libpango1.0-0 libpci
3 libpci-dev libpcre3 libpixman-1-0 libpng16-16 libpulse0 libpulse-dev libsctp-dev libspeechd2 libspeechd-dev libsqlite3-0 libsq
lite3-dev libssl-dev libstdc++6 libudev1 libudev-dev libuuid1 libwayland-egl1-mesa libwww-perl libx11-6 libx11-xcb1 libxau6 libx
cb1 libxcomposite1 libxcursor1 libxdamage1 libxdmcp6 libxext6 libxfixes3 libxi6 libxinerama1 libxkbcommon-dev libxrandr2 libxren
der1 libxslt1-dev libxss-dev libxt-dev libxtst6 libxtst-dev locales openbox p7zip patch perl php7.0-cgi pkg-config python python
-cherrypy3 python-crypto python-dev python-numpy python-opencv python-openssl python-psutil python-yaml realpath rpm ruby subver
sion uuid-dev wdiff x11-utils xcompmgr xz-utils zip zlib1g

E: Unable to correct problems, you have held broken packages.
The following command failed:  apt-get --just-print install apache2.2-bin binutils binutils-aarch64-linux-gnu binutils-arm-linux
-gnueabihf binutils-mips64el-linux-gnuabi64 binutils-mipsel-linux-gnu bison bzip2 cdbs curl dbus-x11 devscripts dpkg-dev elfutil
s fakeroot flex git-core gperf lib32gcc1 lib32stdc++6 libapache2-mod-php7.0 libappindicator3-1 libappindicator3-dev libasound2 l
ibasound2-dev libatk1.0-0 libatspi2.0-0 libatspi2.0-dev libav-tools libbluetooth-dev libbrlapi0.6 libbrlapi-dev libbz2-1.0 libbz
2-dev libc6 libc6-dev libc6-i386 libcairo2 libcairo2-dev libcap2 libcap-dev libcups2 libcups2-dev libcurl4-gnutls-dev libdrm-dev
 libelf-dev libexpat1 libffi6 libffi-dev libfontconfig1 libfreetype6 libgbm-dev libglib2.0-0 libglib2.0-dev libglu1-mesa-dev lib
gnome-keyring0 libgnome-keyring-dev libgtk-3-0 libgtk-3-dev libjpeg-dev libkrb5-dev libnspr4 libnspr4-dev libnss3 libnss3-dev li
bpam0g libpam0g-dev libpango1.0-0 libpci3 libpci-dev libpcre3 libpixman-1-0 libpng16-16 libpulse0 libpulse-dev libsctp-dev libsp
eechd2 libspeechd-dev libsqlite3-0 libsqlite3-dev libssl-dev libstdc++6 libudev1 libudev-dev libuuid1 libwayland-egl1-mesa libww
w-perl libx11-6 libx11-xcb1 libxau6 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxdmcp6 libxext6 libxfixes3 libxi6 libxiner
ama1 libxkbcommon-dev libxrandr2 libxrender1 libxslt1-dev libxss-dev libxt-dev libxtst6 libxtst-dev locales openbox p7zip patch
perl php7.0-cgi pkg-config python python-cherrypy3 python-crypto python-dev python-numpy python-opencv python-openssl python-psu
til python-yaml realpath rpm ruby subversion uuid-dev wdiff x11-utils xcompmgr xz-utils zip zlib1g

It produced the following output:
Reading package lists...
Building dependency tree...
Reading state information...
libxau6 is already the newest version (1:1.0.8-1).
libxss-dev is already the newest version (1:1.2.2-1).
libasound2 is already the newest version (1.1.3-5).
libasound2-dev is already the newest version (1.1.3-5).
libatspi2.0-0 is already the newest version (2.22.0-6+deb9u1).
libatspi2.0-dev is already the newest version (2.22.0-6+deb9u1).
libatk1.0-0 is already the newest version (2.22.0-1).
binutils is already the newest version (2.28-5).
binutils set to manually installed.
libbrlapi0.6 is already the newest version (5.4-7+deb9u1).
libbrlapi0.6 set to manually installed.
bzip2 is already the newest version (1.0.6-8.1).
libbz2-1.0 is already the newest version (1.0.6-8.1).
libbz2-dev is already the newest version (1.0.6-8.1).
libcairo2 is already the newest version (1.14.8-1).
libcairo2-dev is already the newest version (1.14.8-1).
cdbs is already the newest version (0.4.150).
python-cherrypy3 is already the newest version (3.5.0-2).
python-cherrypy3 set to manually installed.
libcups2 is already the newest version (2.2.1-8+deb9u4).
curl is already the newest version (7.52.1-5+deb9u9).
dbus-x11 is already the newest version (1.10.28-0+deb9u1).
devscripts is already the newest version (2.17.6+deb9u2).
dpkg-dev is already the newest version (1.18.25).
fakeroot is already the newest version (1.21-3.1).
libfontconfig1 is already the newest version (2.11.0-6.7+b1).
libfreetype6 is already the newest version (2.6.3-3.2).
libfreetype6 set to manually installed.
lib32gcc1 is already the newest version (1:6.3.0-18+deb9u1).
lib32gcc1 set to manually installed.
lib32stdc++6 is already the newest version (6.3.0-18+deb9u1).
lib32stdc++6 set to manually installed.
libstdc++6 is already the newest version (6.3.0-18+deb9u1).
libglib2.0-0 is already the newest version (2.50.3-2+deb9u1).
libglib2.0-dev is already the newest version (2.50.3-2+deb9u1).
gperf is already the newest version (3.0.4-2+b1).
libgtk-3-0 is already the newest version (3.22.11-1).
libgtk-3-dev is already the newest version (3.22.11-1).
libkrb5-dev is already the newest version (1.15-1+deb9u1).
libappindicator3-1 is already the newest version (0.4.92-4).
libappindicator3-1 set to manually installed.
libcap-dev is already the newest version (1:2.25-1).
libcap2 is already the newest version (1:2.25-1).
libdrm-dev is already the newest version (2.4.74-1).
libffi-dev is already the newest version (3.2.1-6).
libffi-dev set to manually installed.
libffi6 is already the newest version (3.2.1-6).
libglu1-mesa-dev is already the newest version (9.0.0-2.1).
libjpeg-dev is already the newest version (1:1.5.1-2).
libpng16-16 is already the newest version (1.6.28-1+deb9u1).
libpng16-16 set to manually installed.
libwww-perl is already the newest version (6.15-1).
libx11-6 is already the newest version (2:1.6.4-3+deb9u1).
libx11-xcb1 is already the newest version (2:1.6.4-3+deb9u1).
libxcb1 is already the newest version (1.12-1).
libxcomposite1 is already the newest version (1:0.4.4-2).
libxcursor1 is already the newest version (1:1.1.14-1+deb9u2).
libxdamage1 is already the newest version (1:1.1.4-2+b3).
libxdmcp6 is already the newest version (1:1.1.2-3).
libxext6 is already the newest version (2:1.3.3-1+b2).
libxfixes3 is already the newest version (1:5.0.3-1).
libxi6 is already the newest version (2:1.7.9-1).
libxinerama1 is already the newest version (2:1.1.3-1+b3).
libxkbcommon-dev is already the newest version (0.7.1-2~deb9u1).
libxrandr2 is already the newest version (2:1.5.1-1).
libxrender1 is already the newest version (1:0.9.10-1).
libxt-dev is already the newest version (1:1.1.5-1).
libxtst-dev is already the newest version (2:1.2.3-1).
libxtst6 is already the newest version (2:1.2.3-1).
libwayland-egl1-mesa is already the newest version (13.0.6-1+b2).
libnspr4 is already the newest version (2:4.12-6).
libnspr4 set to manually installed.
libnss3 is already the newest version (2:3.26.2-1.1+deb9u1).
libnss3 set to manually installed.
python-opencv is already the newest version (2.4.9.1+dfsg1-2).
p7zip is already the newest version (16.02+dfsg-3+deb9u1).
p7zip set to manually installed.
libpam0g is already the newest version (1.1.8-3.6).
libpam0g-dev is already the newest version (1.1.8-3.6).
libpango1.0-0 is already the newest version (1.40.5-1).
libpango1.0-0 set to manually installed.
patch is already the newest version (2.7.5-1+deb9u2).
libpci3 is already the newest version (1:3.5.2-1).
libpci3 set to manually installed.
libpcre3 is already the newest version (2:8.39-3).
perl is already the newest version (5.24.1-3+deb9u5).
perl set to manually installed.
libpixman-1-0 is already the newest version (0.34.0-1).
pkg-config is already the newest version (0.29-4+b1).
libpulse-dev is already the newest version (10.0-1+deb9u1).
libpulse0 is already the newest version (10.0-1+deb9u1).
python-openssl is already the newest version (16.2.0-1).
python-openssl set to manually installed.
python-crypto is already the newest version (2.6.1-7).
python-crypto set to manually installed.
python is already the newest version (2.7.13-2).
python set to manually installed.
python-dev is already the newest version (2.7.13-2).
python-dev set to manually installed.
python-numpy is already the newest version (1:1.12.1-3).
python-yaml is already the newest version (3.12-1).
python-yaml set to manually installed.
libspeechd2 is already the newest version (0.8.6-4+deb9u1).
libspeechd2 set to manually installed.
libsqlite3-0 is already the newest version (3.16.2-5+deb9u1).
libsqlite3-0 set to manually installed.
libsqlite3-dev is already the newest version (3.16.2-5+deb9u1).
libudev-dev is already the newest version (232-25+deb9u12).
libudev1 is already the newest version (232-25+deb9u12).
libuuid1 is already the newest version (2.29.2-1+deb9u1).
uuid-dev is already the newest version (2.29.2-1+deb9u1).
uuid-dev set to manually installed.
wdiff is already the newest version (1.2.2-2).
x11-utils is already the newest version (7.7+3+b1).
xz-utils is already the newest version (5.2.2-1.2+b1).
zip is already the newest version (3.0-11+b1).
zlib1g is already the newest version (1:1.2.8.dfsg-5).
libexpat1 is already the newest version (2.2.0-2+deb9u3).
libc6 is already the newest version (2.28-10).
libc6-dev is already the newest version (2.28-10).
libc6-i386 is already the newest version (2.28-10).
libc6-i386 set to manually installed.
locales is already the newest version (2.28-10).
libssl-dev is already the newest version (1.1.1d-0+deb10u2).
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:
 apache2.2-bin : Depends: apache2-bin (= 2.4.10-10+deb8u12) but 2.4.25-3+deb9u9 is to be installed

You will have to install the above packages yourself.