debian.yml (11194B)
1 # This Source Code Form is subject to the terms of the Mozilla Public 2 # License, v. 2.0. If a copy of the MPL was not distributed with this 3 # file, You can obtain one at http://mozilla.org/MPL/2.0/. 4 --- 5 task-defaults: 6 run: 7 using: debian-package 8 dist: jessie 9 10 deb12-mercurial: 11 description: "Modern Mercurial for Debian bookworm" 12 treeherder: 13 symbol: Deb12(hg) 14 run: 15 using: debian-package 16 dist: bookworm 17 tarball: 18 url: https://www.mercurial-scm.org/release/mercurial-6.8.1.tar.gz 19 sha256: 030e8a7a6d590e4eaeb403ee25675615cd80d236f3ab8a0b56dcc84181158b05 20 pre-build-command: >- 21 cp -r contrib/packaging/debian debian && 22 sed -i -e "s/__VERSION__/$(awk -F\" '$2 {print $2}' mercurial/__version__.py)-1.deb12moz1/" \ 23 -e "s/__DATE__/$(date --rfc-2822)/" \ 24 -e "s/__CODENAME__/bookworm/" debian/changelog 25 26 deb12-valgrind: 27 description: "Valgrind for Debian bookworm" 28 treeherder: 29 symbol: Deb12(valgrind) 30 run: 31 dist: bookworm 32 dsc: 33 url: http://snapshot.debian.org/archive/debian/20230111T213757Z/pool/main/v/valgrind/valgrind_3.20.0-1.dsc 34 sha256: e32d373bf2d4f0bd0e9673c711d0e4a8eed43c22ca81714ae3e2d85b2f315493 35 patch: valgrind.diff 36 37 deb12-python-zstandard: 38 description: "python-zstandard for Debian bookworm" 39 treeherder: 40 symbol: Deb12(python-zstandard) 41 run: 42 using: debian-package 43 dist: bookworm 44 tarball: 45 url: https://files.pythonhosted.org/packages/09/1b/c20b2ef1d987627765dcd5bf1dadb8ef6564f00a87972635099bb76b7a05/zstandard-0.24.0.tar.gz 46 sha256: fe3198b81c00032326342d973e526803f183f97aa9e9a98e3f897ebafe21178f 47 pre-build-command: debchange -v 0.24.0-1.deb12moz --distribution testing "Mozilla backport for bookworm" 48 name: python-zstandard 49 50 deb8-gcc-8: 51 description: "gcc 8 for Debian jessie" 52 treeherder: 53 symbol: Deb8(gcc-8) 54 worker: 55 max-run-time: 3600 56 env: 57 DEB_BUILD_OPTIONS: nocheck 58 WITH_BOOTSTRAP: 'off' 59 WITHOUT_LANG: ada brig cilkrts fortran d go objc obj-c++ asan lsan tsan ubsan jit nvptx 60 run: 61 using: debian-package 62 dist: jessie 63 dsc: 64 url: http://snapshot.debian.org/archive/debian/20210202T150504Z/pool/main/g/gcc-8/gcc-8_8.4.0-7.dsc 65 sha256: b93f13bc67f5a8f16e837fbb543d00d3475d5c95777a1b0b5a448fa2310a98c5 66 # autoconf2.64 and quilt necessary to run the `debian/rules control` command to 67 # generate an updated debian/control. 68 # uncommenting `with_common_libs` makes the packaging create the libstdc++6 package. 69 # `libstdcxx_abi = new` overrides the default that disables the new ABI on jessie 70 # `BINUTILSBDV=2.25-3~` and `ISL_BUILD_DEP=libisl-dev,` override wrong versions 71 # in build dependencies for jessie. 72 # `OFFLOAD_BUILD_DEP=` overrides the dependency on nvptx, which is not available 73 # in jessie. 74 # `NT=` overrides the use of `:native` which is not supported by dpkg on jessie. 75 pre-build-command: >- 76 apt install autoconf2.64 quilt && 77 sed -i 's/#with_common_libs/with_common_libs/' debian/rules.defs && 78 echo libstdcxx_abi = new >> debian/rules.defs && 79 echo BINUTILSBDV=2.25-3~ >> debian/rules.conf && 80 echo ISL_BUILD_DEP=libisl-dev, >> debian/rules.conf && 81 echo OFFLOAD_BUILD_DEP= >> debian/rules.conf && 82 debian/rules control NT= 83 84 deb8-gcc-10: 85 description: "gcc 10 for Debian jessie" 86 treeherder: 87 symbol: Deb8(gcc-10) 88 worker: 89 max-run-time: 3600 90 env: 91 DEB_BUILD_OPTIONS: nocheck 92 WITH_BOOTSTRAP: 'off' 93 WITHOUT_LANG: ada brig cilkrts fortran d go objc obj-c++ asan lsan tsan ubsan jit nvptx 94 run: 95 using: debian-package 96 dist: jessie 97 dsc: 98 url: https://snapshot.debian.org/archive/debian/20240328T144713Z/pool/main/g/gcc-10/gcc-10_10.5.0-4.dsc 99 sha256: 4fd04f9b3c06959f5f9ccf8f0f17ce1ea3e78f49eab4b2fb59ec823949ffa91f 100 # autoconf and quilt necessary to run the `debian/rules control` command to 101 # generate an updated debian/control. 102 # removing the libzstd-dev build dependency that doesn't exist in jessie. 103 # uncommenting `with_common_libs` makes the packaging create the libstdc++6 package. 104 # `libstdcxx_abi = new` overrides the default that disables the new ABI on jessie 105 # `BINUTILSBDV=2.25-3~` and `ISL_BUILD_DEP=libisl-dev,` override wrong versions 106 # in build dependencies for jessie. 107 # `OFFLOAD_BUILD_DEP=` overrides the dependency on nvptx, which is not available 108 # in jessie. 109 # autoconf2.69 is available in jessie, but as autoconf, not autoconf2.69. 110 # we relax the libc6 requirements to be compatible with jessie. 111 # the removal of debhelper/generated lines from debian/rules2 works around 112 # an issue that arises from triggers not being generated for the libgcc-s1 package 113 # for some reason, and it's simpler to just not care about the triggers than 114 # figuring out why, as we only really care about the package contents, and the 115 # triggers are irrelevant. 116 # `NT=` overrides the use of `:native` which is not supported by dpkg on jessie. 117 # biarchx32archs= removes x32 build dependencies that don't exist in jessie. 118 # the lib32gcc-s1 build dependency is removed as it's missing in jessie. 119 pre-build-command: >- 120 apt install autoconf quilt && 121 sed -i 's/libzstd-dev,//' debian/control.m4 && 122 sed -i 's/#with_common_libs/with_common_libs/' debian/rules.defs && 123 echo libstdcxx_abi = new >> debian/rules.defs && 124 echo BINUTILSBDV=2.25-3~ >> debian/rules.conf && 125 echo ISL_BUILD_DEP=libisl-dev, >> debian/rules.conf && 126 echo OFFLOAD_BUILD_DEP= >> debian/rules.conf && 127 sed -i 's/autoconf_version = 2.69/autoconf_version =/' debian/rules.conf debian/rules.patch && 128 sed -i 's/libc_ver := 2.23/libc_ver := 2.19/' debian/rules.conf && 129 sed -i 's/libc_dev_ver := 2.30-1~/libc_dev_ver := 2.19/' debian/rules.conf && 130 sed -i '/debhelper\/generated/d' debian/rules2 && 131 debian/rules control NT= biarchx32archs= && 132 sed -i 's/lib32gcc-s1 \[[^,]*, //' debian/control 133 134 deb8-32-gcc-8: 135 description: "gcc 8 for Debian jessie" 136 treeherder: 137 symbol: Deb8-32(gcc-8) 138 worker: 139 max-run-time: 3600 140 env: 141 DEB_BUILD_OPTIONS: nocheck 142 WITH_BOOTSTRAP: 'off' 143 WITHOUT_LANG: ada biarch brig cilkrts fortran d go objc obj-c++ asan lsan tsan ubsan jit nvptx 144 run: 145 using: debian-package 146 dist: jessie 147 dsc: 148 url: http://snapshot.debian.org/archive/debian/20210202T150504Z/pool/main/g/gcc-8/gcc-8_8.4.0-7.dsc 149 sha256: b93f13bc67f5a8f16e837fbb543d00d3475d5c95777a1b0b5a448fa2310a98c5 150 pre-build-command: >- 151 apt install autoconf2.64 quilt && 152 sed -i 's/#with_common_libs/with_common_libs/' debian/rules.defs && 153 echo libstdcxx_abi = new >> debian/rules.defs && 154 echo GCC_MULTILIB_BUILD_DEP='$(DPKG_BUILD_DEP)' >> debian/rules.conf && 155 echo BINUTILSBDV=2.25-3~ >> debian/rules.conf && 156 echo ISL_BUILD_DEP=libisl-dev, >> debian/rules.conf && 157 echo OFFLOAD_BUILD_DEP= >> debian/rules.conf && 158 debian/rules control NT= 159 arch: i386 160 161 deb8-32-gcc-10: 162 description: "gcc 10 for Debian jessie" 163 treeherder: 164 symbol: Deb8-32(gcc-10) 165 worker: 166 max-run-time: 3600 167 env: 168 DEB_BUILD_OPTIONS: nocheck 169 WITH_BOOTSTRAP: 'off' 170 WITHOUT_LANG: ada biarch brig cilkrts fortran d go objc obj-c++ asan lsan tsan ubsan jit nvptx 171 run: 172 using: debian-package 173 dist: jessie 174 dsc: 175 url: https://snapshot.debian.org/archive/debian/20240328T144713Z/pool/main/g/gcc-10/gcc-10_10.5.0-4.dsc 176 sha256: 4fd04f9b3c06959f5f9ccf8f0f17ce1ea3e78f49eab4b2fb59ec823949ffa91f 177 pre-build-command: >- 178 apt install autoconf quilt && 179 sed -i 's/libzstd-dev,//' debian/control.m4 && 180 sed -i 's/#with_common_libs/with_common_libs/' debian/rules.defs && 181 echo libstdcxx_abi = new >> debian/rules.defs && 182 echo GCC_MULTILIB_BUILD_DEP='$(DPKG_BUILD_DEP)' >> debian/rules.conf && 183 echo BINUTILSBDV=2.25-3~ >> debian/rules.conf && 184 echo ISL_BUILD_DEP=libisl-dev, >> debian/rules.conf && 185 echo OFFLOAD_BUILD_DEP= >> debian/rules.conf && 186 sed -i 's/autoconf_version = 2.69/autoconf_version =/' debian/rules.conf debian/rules.patch && 187 sed -i 's/libc_ver := 2.23/libc_ver := 2.19/' debian/rules.conf && 188 sed -i 's/libc_dev_ver := 2.30-1~/libc_dev_ver := 2.19/' debian/rules.conf && 189 sed -i '/debhelper\/generated/d' debian/rules2 && 190 debian/rules control NT= biarchx32archs= && 191 sed -i 's/lib64gcc-s1 \[[^,]*, //' debian/control 192 arch: i386 193 194 deb10-arm64-gcc-10: 195 description: "gcc 10 for Debian buster" 196 worker-type: b-linux-aarch64 197 treeherder: 198 symbol: Deb10a64(gcc-10) 199 worker: 200 max-run-time: 3600 201 env: 202 DEB_BUILD_OPTIONS: nocheck 203 WITH_BOOTSTRAP: 'off' 204 WITHOUT_LANG: ada biarch brig cilkrts fortran d go objc obj-c++ asan lsan tsan ubsan jit nvptx 205 run: 206 using: debian-package 207 dist: buster 208 dsc: 209 url: https://snapshot.debian.org/archive/debian/20240328T144713Z/pool/main/g/gcc-10/gcc-10_10.5.0-4.dsc 210 sha256: 4fd04f9b3c06959f5f9ccf8f0f17ce1ea3e78f49eab4b2fb59ec823949ffa91f 211 pre-build-command: >- 212 apt install autoconf quilt && 213 sed -i 's/#with_common_libs/with_common_libs/' debian/rules.defs && 214 echo BINUTILSBDV=2.31 >> debian/rules.conf && 215 sed -i 's/libc_dev_ver := 2.30-1~/libc_dev_ver := 2.28/' debian/rules.conf && 216 sed -i '/debhelper\/generated/d' debian/rules2 && 217 debian/rules control NT= 218 arch: arm64 219 220 deb8-gtk3: 221 description: "X11-only gtk+3 for Debian jessie" 222 treeherder: 223 symbol: Deb8(gtk) 224 worker: 225 max-run-time: 3600 226 env: 227 DEB_BUILD_OPTIONS: nocheck 228 run: 229 dist: jessie 230 dsc: 231 url: http://snapshot.debian.org/archive/debian/20150819T212910Z/pool/main/g/gtk+3.0/gtk+3.0_3.14.5-1+deb8u1.dsc 232 sha256: b1808b03317b171c813e31185a4520df4dbde54580842a72a4c44540cd6bde17 233 pre-build-command: >- 234 sed -i /linux-any/d debian/control* debian/libgtk-3-0.symbols && 235 sed -i s/--enable-wayland-backend/--disable-wayland-backend/ debian/rules && 236 debchange -v 3.14.5-1.deb8moz --distribution jessie-backports "Mozilla rebuild without wayland support"