Bug 1719228 - Remove unused docker images and Debian packages. r=firefox-build-system-reviewers,andi

Differential Revision: https://phabricator.services.mozilla.com/D119138
This commit is contained in:
Mike Hommey 2021-07-06 21:47:11 +00:00
Родитель 6def90d273
Коммит 93e5ce3fe2
4 изменённых файлов: 0 добавлений и 359 удалений

Просмотреть файл

@ -1,37 +0,0 @@
diff -Nru gdb-7.12/debian/changelog gdb-7.12/debian/changelog
--- gdb-7.12/debian/changelog 2017-01-19 19:28:25.000000000 +0900
+++ gdb-7.12/debian/changelog 2018-02-07 15:36:15.000000000 +0900
@@ -1,3 +1,11 @@
+gdb (7.12-6.deb8moz1) jessie; urgency=medium
+
+ * Mozilla backport for jessie.
+ * debian/rules: Don't pass --dbgsym-migration to dh_strip, it's not
+ supported on jessie's debhelper.
+
+ -- Mike Hommey <glandium@mozilla.com> Tue, 16 Jul 2019 18:28:20 +0900
+
gdb (7.12-6) unstable; urgency=medium
* debian/patches: import 7.12 branch fixes
diff -Nru gdb-7.12/debian/rules gdb-7.12/debian/rules
--- gdb-7.12/debian/rules 2016-12-15 09:31:54.000000000 +0900
+++ gdb-7.12/debian/rules 2018-02-07 15:36:15.000000000 +0900
@@ -4,7 +4,6 @@
DEB_BUILDDIR := $(ALL_BUILDDIR)/objdir
DEB_DH_INSTALL_SOURCEDIR := $(shell pwd)/debian/tmp
-DEB_DH_STRIP_ARGS_gdb = --dbgsym-migration='gdb-dbg (<< 7.12-1~)'
# Override CDBS's default CFLAGS, which also includes -Wall; gdb
# does not handle -Wunused well with -Werror, but defaults to
@@ -89,10 +88,6 @@
arch_config_args := --with-libunwind-ia64
endif
-ifneq (,$(filter $(DEB_HOST_ARCH),amd64 armel armhf i386 kfreebsd-amd64 kfreebsd-i386 mips mipsel powerpc s390x))
- arch_config_args += --with-babeltrace
-endif
-
ifdef GDB_TARGET
run_tests := no

Просмотреть файл

@ -1,165 +0,0 @@
diff -Nru python3.6-3.6.3/debian/apt_preferences python3.6-3.6.3/debian/apt_preferences
--- python3.6-3.6.3/debian/apt_preferences 1970-01-01 09:00:00.000000000 +0900
+++ python3.6-3.6.3/debian/apt_preferences 2020-05-07 11:20:37.000000000 +0900
@@ -0,0 +1,7 @@
+Package: python3-pkg-resources
+Pin: release n=jessie-backports
+Pin-Priority: 900
+
+Package: python3-setuptools
+Pin: release n=jessie-backports
+Pin-Priority: 900
diff -Nru python3.6-3.6.3/debian/changelog python3.6-3.6.3/debian/changelog
--- python3.6-3.6.3/debian/changelog 2017-12-05 19:22:15.000000000 +0900
+++ python3.6-3.6.3/debian/changelog 2020-05-07 11:20:37.000000000 +0900
@@ -1,3 +1,19 @@
+python3.6 (3.6.3-2.deb8moz1) jessie; urgency=medium
+
+ * Mozilla backport for jessie.
+ * debian/control.in: Remove libmpdec-dev dependency; Jessie has a
+ broken version.
+ * debian/rules:
+ - Remove --with-system-libmpdec because jessie doesn't have it.
+ - Disable PGO builds because they segfault.
+ * debian/rules, debian/apt_preferences: Prefer python3-pkg-resources and
+ python3-setuptools being installed from jessie-backports when this package
+ is installed.
+ * debian/control.in, debian/rules: Don't generate the -doc package, sphinx
+ is too old in jessie.
+
+ -- Mike Hommey <glandium@mozilla.com> Tue, 7 May 2020 11:20:37 +0900
+
python3.6 (3.6.3-2) unstable; urgency=medium
* Update to 20171205 from the 3.6 branch.
diff -Nru python3.6-3.6.3/debian/control.in python3.6-3.6.3/debian/control.in
--- python3.6-3.6.3/debian/control.in 2017-12-05 19:22:15.000000000 +0900
+++ python3.6-3.6.3/debian/control.in 2020-05-07 11:20:37.000000000 +0900
@@ -9,7 +9,7 @@
zlib1g-dev, libbz2-dev, liblzma-dev,
libgdbm-dev, libdb-dev,
tk-dev, blt-dev (>= 2.4z), libssl-dev,
- libexpat1-dev, libmpdec-dev (>= 2.4),
+ libexpat1-dev,
libbluetooth-dev [!hurd-i386 !kfreebsd-i386 !kfreebsd-amd64],
locales [!armel !avr32 !hppa !ia64 !mipsel],
libsqlite3-dev, libffi-dev (>= 3.0.5) [!or1k !avr32],
@@ -27,7 +27,7 @@
Multi-Arch: allowed
Priority: @PRIO@
Depends: @PVER@-minimal (= ${binary:Version}), lib@PVER@-stdlib (= ${binary:Version}), mime-support, ${shlibs:Depends}, ${misc:Depends}
-Suggests: @PVER@-venv, @PVER@-doc, binutils
+Suggests: @PVER@-venv, binutils
Description: Interactive high-level object-oriented language (version @VER@)
Python is a high-level, interactive, object-oriented language. Its @VER@ version
includes an extensive class library with lots of goodies for
@@ -53,7 +53,7 @@
Priority: @PRIO@
Pre-Depends: ${misc:Pre-Depends}
Depends: lib@PVER@-minimal (= ${binary:Version}), mime-support, ${shlibs:Depends}, ${misc:Depends}
-Breaks: libmpdec2 (<< 2.4.2), PYFPE_BREAKS
+Breaks: PYFPE_BREAKS
Replaces: lib@PVER@-testsuite (<< 3.6.2-2)
Description: Interactive high-level object-oriented language (standard library, version @VER@)
Python is a high-level, interactive, object-oriented language. Its @VER@ version
@@ -164,28 +164,6 @@
IDLE is an Integrated Development Environment for Python (v@VER@).
IDLE is written using Tkinter and therefore quite platform-independent.
-Package: @PVER@-doc
-Section: doc
-Architecture: all
-Multi-Arch: foreign
-Depends: libjs-jquery, libjs-underscore, ${misc:Depends}
-Suggests: @PVER@
-Description: Documentation for the high-level object-oriented language Python (v@VER@)
- These is the official set of documentation for the interactive high-level
- object-oriented language Python (v@VER@). All documents are provided
- in HTML format. The package consists of ten documents:
- .
- * What's New in Python@VER@
- * Tutorial
- * Python Library Reference
- * Macintosh Module Reference
- * Python Language Reference
- * Extending and Embedding Python
- * Python/C API Reference
- * Installing Python Modules
- * Documenting Python
- * Distributing Python Modules
-
Package: @PVER@-dbg
Section: debug
Architecture: any
diff -Nru python3.6-3.6.3/debian/rules python3.6-3.6.3/debian/rules
--- python3.6-3.6.3/debian/rules 2017-12-05 19:22:15.000000000 +0900
+++ python3.6-3.6.3/debian/rules 2020-05-07 11:20:37.000000000 +0900
@@ -180,14 +180,6 @@
DEBUG_CFLAGS += -fexceptions
endif
-ifeq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE))
- ifeq ($(DEB_HOST_ARCH_OS),linux)
- ifneq (,$(findstring $(DEB_HOST_ARCH), amd64 armel armhf i386 powerpc ppc64 ppc64el s390x))
- with_pgo := yes
- endif
- endif
-endif
-
ifneq (,$(findstring $(DEB_HOST_ARCH), amd64 armel armhf i386 powerpc ppc64 ppc64el s390x))
with_lto := yes
endif
@@ -347,8 +339,7 @@
--with-dbmliborder=bdb:gdbm \
--with-computed-gotos \
--without-ensurepip \
- --with-system-expat \
- --with-system-libmpdec \
+ --with-system-expat
ifneq (,$(filter $(DEB_HOST_ARCH), avr32 or1k))
common_configure_args += --without-ffi
@@ -684,7 +675,6 @@
stamps/stamp-doc-html:
dh_testdir
- $(MAKE) -C Doc html
@mkdir -p stamps
touch stamps/stamp-doc-html
@@ -1310,6 +1300,8 @@
install -D -m 644 $$i debian/$$b/usr/share/lintian/overrides/$$b; \
done
+ install -D -m 644 debian/apt_preferences $(d_min)/etc/apt/preferences.d/python3.6.pref
+
touch stamps/stamp-install
# Build architecture-independent files here.
@@ -1317,26 +1309,6 @@
dh_testdir -i
dh_testroot -i
- : # $(p_doc) package
- dh_installdirs -p$(p_doc) \
- usr/share/doc/$(p_base) \
- usr/share/doc/$(p_doc)
- dh_installdocs -p$(p_doc)
- cp -a Doc/build/html $(d_doc)/usr/share/doc/$(p_base)/
- rm -f $(d_doc)/usr/share/doc/$(p_base)/html/_static/jquery.js
- dh_link -p$(p_doc) \
- /usr/share/doc/$(p_base)/html /usr/share/doc/$(p_doc)/html \
- /usr/share/javascript/jquery/jquery.js /usr/share/doc/$(p_base)/html/_static/jquery.js \
- /usr/share/javascript/underscore/underscore.js /usr/share/doc/$(p_base)/html/_static/underscore.js
-
- : # devhelp docs
- cd $(buildd_static) && ./python ../debian/pyhtml2devhelp.py \
- ../$(d_doc)/usr/share/doc/$(p_base)/html index.html $(VER) \
- > ../$(d_doc)/usr/share/doc/$(p_base)/html/$(PVER).devhelp
- gzip -9nv $(d_doc)/usr/share/doc/$(p_base)/html/$(PVER).devhelp
- dh_link -p$(p_doc) \
- /usr/share/doc/$(p_base)/html /usr/share/devhelp/books/$(PVER)
-
for i in $(p_ltst); do \
rm -rf debian/$$i/usr/share/doc/$$i; \
ln -s $(p_base) debian/$$i/usr/share/doc/$$i; \

Просмотреть файл

@ -51,24 +51,6 @@ jobs:
symbol: I(deb8-32-pkg)
definition: debian-packages
parent: debian8-i386-raw
debian8-base:
symbol: I(deb8-base)
definition: debian-base
parent: debian8-raw
packages:
- deb8-gdb
- deb8-git
- deb8-mercurial
- deb8-python3.6
- deb8-python3-defaults
- deb8-python-cffi
- deb8-python-psutil
- deb8-python-zstandard
- deb8-xz-utils
deb8-toolchain-build:
symbol: I(toolchain)
parent: debian8-base
definition: toolchain-build
deb10-toolchain-build:
symbol: I(deb10-toolchain)
parent: debian10-base

Просмотреть файл

@ -24,42 +24,6 @@ job-defaults:
snapshot: 20210208T213147Z
jobs:
deb8-python3.6:
description: "Python 3.6 backport for Debian jessie"
treeherder:
symbol: Deb8(python3.6)
run:
using: debian-package
dsc:
url: http://snapshot.debian.org/archive/debian/20171205T222638Z/pool/main/p/python3.6/python3.6_3.6.3-2.dsc
sha256: d791dd2671127394ce5383e345b2fed9ab2481be65b6c420fa53b2ee18c240ca
patch: python3.6-jessie.diff
pre-build-command: debian/rules control-file
deb8-python3-defaults:
description: "python3-defaults backport for Debian jessie"
treeherder:
symbol: Deb8(python3-defaults)
run:
using: debian-package
dsc:
# The last version that doesn't also require python 3.7 or a separate python3-distutils package.
url: http://snapshot.debian.org/archive/debian/20171026T221955Z/pool/main/p/python3-defaults/python3-defaults_3.6.3-2.dsc
sha256: df91831a9a307f5e7f3fabdda52f21eeffd2f683cbeca5a581c37c1c0912549d
packages:
- deb8-python3.6
pre-build-command: debian/rules control-file
deb8-python-setuptools:
description: "python-setuptools backport for Debian jessie"
treeherder:
symbol: Deb8(python-setuptools)
run:
using: debian-package
dsc:
url: http://snapshot.debian.org/archive/debian/20170413T152542Z/pool/main/p/python-setuptools/python-setuptools_33.1.1-1%7Ebpo8%2B1.dsc
sha256: e5a152e45151ee2d19959d8266e9bff09f5164ee04a0613aeb8f1d7a304fa073
deb10-cmake:
description: "Cmake backport for Debian buster"
treeherder:
@ -72,21 +36,6 @@ jobs:
sha256: ecfa7cbc93dc6a9749022ccd9538843f4a0e2e77a14bb2f87e325aaf3c36b519
pre-build-command: apt-get install debhelper/buster-backports
deb8-mercurial:
description: "Modern Mercurial for Debian jessie"
treeherder:
symbol: Deb8(hg)
run:
using: debian-package
tarball:
url: https://www.mercurial-scm.org/release/mercurial-4.8.1.tar.gz
sha256: 48a45f5cde9104fbc2daf310d710d4ebf286d879b89fa327d24b005434b0fa21
pre-build-command: >-
cp -r contrib/packaging/debian debian &&
sed -i -e "s/__VERSION__/$(awk -F\" '$2 {print $2}' mercurial/__version__.py)-1.deb8moz1/" \
-e "s/__DATE__/$(date --rfc-2822)/" \
-e "s/__CODENAME__/jessie/" debian/changelog
deb10-mercurial:
description: "Modern Mercurial for Debian buster"
treeherder:
@ -103,16 +52,6 @@ jobs:
-e "s/__DATE__/$(date --rfc-2822)/" \
-e "s/__CODENAME__/stretch/" debian/changelog
deb8-git:
description: "Modern git for Debian jessie"
treeherder:
symbol: Deb8(git)
run:
using: debian-package
dsc:
url: http://snapshot.debian.org/archive/debian/20160317T100542Z/pool/main/g/git/git_2.8.0%7Erc3-1.dsc
sha256: 6e81a318fb4eb5cca0333b7b6ff0c70dd0097e9fe711b159d5eac4b9f47c6c27
deb10-valgrind:
description: "Valgrind for Debian buster"
treeherder:
@ -125,84 +64,6 @@ jobs:
sha256: bd9b1bf5454da3d93d2dfab8de44df0c3aebe0371022c4f00aef6850aa0b4e07
patch: valgrind-buster.diff
deb8-dh-python:
description: "dh-python for Debian jessie"
treeherder:
symbol: Deb8(dh-python)
run:
using: debian-package
dsc:
url: http://snapshot.debian.org/archive/debian/20170125T211752Z/pool/main/d/dh-python/dh-python_2.20170125.dsc
sha256: ef4f2951cea36ae4aac29126a1017505f98b595432fb5bdac0f21b4b4d72c1b4
packages:
- deb8-python3.6
- deb8-python3-defaults
deb8-xz-utils:
description: "xz-utils for Debian jessie"
treeherder:
symbol: Deb8(xz)
run:
using: debian-package
dsc:
url: http://snapshot.debian.org/archive/debian/20161010T223637Z/pool/main/x/xz-utils/xz-utils_5.2.2-1.2.dsc
sha256: 13c8d8d0c243af78dc89b6e2cd670c8d8a2522379e1fcd196957c95d988d5961
deb8-gdb:
description: "gdb for Debian jessie"
treeherder:
symbol: Deb8(gdb)
run:
using: debian-package
dsc:
url: http://snapshot.debian.org/archive/debian/20170119T152956Z/pool/main/g/gdb/gdb_7.12-6.dsc
sha256: 9727dcb3d6b655e4f2a92110f5db076a490aa50b739804be239905ecff3aacc8
patch: gdb-jessie.diff
deb8-python-cffi:
description: "python-cffi rebuild for python 3.6 in Debian jessie"
treeherder:
symbol: Deb8(python-cffi)
run:
using: debian-package
dsc:
url: http://snapshot.debian.org/archive/debian/20140724T163954Z/pool/main/p/python-cffi/python-cffi_0.8.6-1.dsc
sha256: 26fc10c5f58dd0d9aa2ea3ec079a33a2591bac53493ec032b3f1bca68aa1f343
packages:
- deb8-dh-python
- deb8-python3.6
- deb8-python3-defaults
deb8-python-psutil:
description: "python-psutil rebuild for python 3.6 in Debian jessie"
treeherder:
symbol: Deb8(python-psutil)
run:
using: debian-package
dsc:
url: http://snapshot.debian.org/archive/debian/20150815T034233Z/pool/main/p/python-psutil/python-psutil_2.2.1-3.dsc
sha256: b47d1fc92094dfd5525cff7d0af5855f7c5335ade9de4c0e738ed490aa5bee7c
packages:
- deb8-dh-python
- deb8-python3.6
- deb8-python3-defaults
deb8-python-zstandard:
description: "python-zstandard for Debian jessie"
treeherder:
symbol: Deb8(python-zstandard)
run:
using: debian-package
tarball:
url: https://github.com/indygreg/python-zstandard/releases/download/0.15.2/zstandard-0.15.2.tar.gz
sha256: 52de08355fd5cfb3ef4533891092bb96229d43c2069703d4aff04fdbedf9c92f
name: python-zstandard
pre-build-command: debchange -v 0.15.2-1.deb8moz --distribution jessie-backports "Mozilla backport for jessie"
packages:
- deb8-dh-python
- deb8-python3.6
- deb8-python3-defaults
deb10-python-zstandard:
description: "python-zstandard for Debian buster"
treeherder: