Debian

Available patches from Ubuntu

To see Ubuntu differences wrt. to Debian, write down a grep-dctrl query identifying the packages you're interested in:
grep-dctrl -n -sPackage Sources.Debian
(e.g. -FPackage linux-ntfs or linux-ntfs)

Modified packages are listed below:

Debian ( Changelog | PTS | Bugs ) Ubuntu ( Changelog | txt | LP | Bugs ) | Diff from Ubuntu

Source: cross-toolchain-base

cross-toolchain-base (36ubuntu1) eoan; urgency=medium * Build using glibc 2.29-0ubuntu3. -- Matthias Klose <doko@ubuntu.com> Wed, 10 Jul 2019 14:16:22 +0200

Modifications :
  1. Download patch debian/tests/control

    --- 36/debian/tests/control 2019-07-10 08:18:35.000000000 +0000 +++ 36ubuntu1/debian/tests/control 2019-07-10 12:16:22.000000000 +0000 @@ -4,8 +4,8 @@ Tests: build #Restrictions: build-needed Depends: build-essential, fakeroot, - binutils-source (>= 2.32.51-1~), - glibc-source (>= 2.28-10~), + binutils-source (>= 2.31.1-14~), + glibc-source (>= 2.29-0ubuntu3~), gcc-8-source (>= 8.3.0-19~), linux-source (>= 4.19), autoconf (>= 2.64), autoconf2.64, autogen,
  2. Download patch debian/rules

    --- 36/debian/rules 2019-07-10 08:18:35.000000000 +0000 +++ 36ubuntu1/debian/rules 2019-07-10 12:16:22.000000000 +0000 @@ -26,6 +26,7 @@ else DEB_VER_ACT := $(shell /bin/sh debian/new_cross_version.sh $(if $(filter $(DEB_NAME_ACT), cross-toolchain-base),ppc64el,ppc64)) endif CROSS_EXT := cross$(DEB_VER_ACT) +#CROSS_EXT := cross1.$(shell expr $(DEB_VER_ACT) - 1) HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH_CPU) HOST_GNU_TYPE := $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) @@ -78,11 +79,14 @@ ifeq ($(vendor),Ubuntu) else VER_LINUX := $(shell echo $(DEB_VER_LINUX) | sed 's/^\([0-9]*\.[0-9]*\).*/\1/') endif -VER_GCC_BASE := 8 +VER_GCC_BASE := 8 ifeq ($(vendor),Ubuntu) - MIN_VER_GLIBC := 2.29-0~ + MIN_VER_GLIBC := 2.29-0ubuntu3~ VER_GCC_BASE := 8 MIN_VER_GCC := 8.3.0-19~ + MIN_VER_BINUTILS := 2.32-3~ + MIN_VER_BINUTILS := 2.32.51.20190702-1~ + MIN_VER_LINUX := 5.0 endif VER_GCC := $(shell dpkg-parsechangelog -l/usr/src/gcc-${VER_GCC_BASE}/debian/changelog | egrep '^Version:' | cut -f 2 -d ' '|cut -f 1 -d '-')
  3. Download patch debian/control

Debian ( Changelog | PTS | Bugs ) Ubuntu ( Changelog | txt | LP | Bugs ) | Diff from Ubuntu

Source: cross-toolchain-base-mipsen

cross-toolchain-base-mipsen (4ubuntu1) eoan; urgency=medium * Fix building with binutils snapshot builds. -- Matthias Klose <doko@ubuntu.com> Mon, 17 Jun 2019 09:28:26 +0200

Modifications :
  1. Download patch debian/rules

    --- 4/debian/rules 2019-05-02 12:51:40.000000000 +0000 +++ 4ubuntu1/debian/rules 2019-06-17 07:28:26.000000000 +0000 @@ -36,17 +36,20 @@ stamp := stamp-dir/ ifeq ($(vendor),Debian) skip_dbg_packages = yes endif +ifeq ($(DEB_NAME_ACT),cross-toolchain-base-mipsen) + skip_dbg_packages = yes +endif ifeq ($(DEB_NAME_ACT),cross-toolchain-base) CROSS_ARCHS ?= amd64 i386 s390x ppc64el arm64 armhf armel \ $(if $(filter $(vendor), Ubuntu), powerpc, mips mipsel mips64el) -else ifeq ($(DEB_NAME_ACT),cross-toolchain-base-mipsen) +else ifeq ($(DEB_NAME_ACT),cross-toolchain-base-ports) + CROSS_ARCHS ?= alpha hppa m68k ppc64 riscv64 sh4 sparc64 x32 \ + $(if $(filter $(vendor), Ubuntu), mips mipsel mips64el, powerpc) \ + powerpcspe +else # -mipsen CROSS_ARCHS ?= mips64 mipsn32 mipsn32el \ - $(if $(filter $(vendor), Ubuntu), mips mipsel mips64el) \ mipsr6 mipsr6el mipsn32r6 mipsn32r6el mips64r6 mips64r6el -else - CROSS_ARCHS ?= $(if $(filter $(vendor), Ubuntu), , powerpc) \ - alpha hppa m68k ppc64 riscv64 sh4 sparc64 x32 powerpcspe endif CROSS_ARCH = $(subst .,,$(suffix $@)) KERNEL_ARCH = $(KERNEL_ARCH_$(CROSS_ARCH)) @@ -76,9 +79,9 @@ else endif VER_GCC_BASE := 8 ifeq ($(vendor),Ubuntu) - MIN_VER_GLIBC := 2.28-0~ + MIN_VER_GLIBC := 2.29-0~ VER_GCC_BASE := 8 - MIN_VER_GCC := 8.2.0-14~ + MIN_VER_GCC := 8.3.0-2~ endif VER_GCC := $(shell dpkg-parsechangelog -l/usr/src/gcc-${VER_GCC_BASE}/debian/changelog | egrep '^Version:' | cut -f 2 -d ' '|cut -f 1 -d '-') @@ -183,13 +186,13 @@ $(stamp)install-linux.%: $(stamp)build-l define init_binutils $(call unpack_tarball, ${BINUTILS_DIR}/binutils-${VER_BINUTILS}.tar.xz) set -e; \ - cd binutils-${PKG_VER_BINUTILS} ;\ + cd binutils-${VER_BINUTILS} ;\ cp -a ${BINUTILS_DIR}/debian/ . ;\ if [ -n "$$(grep -v '^\#' ${CURDIR}/debian/patches/binutils/series)" ]; then \ QUILT_PATCHES=${CURDIR}/debian/patches/binutils quilt --quiltrc /dev/null push -a; \ fi; \ rm -rf .pc - cd binutils-${PKG_VER_BINUTILS} ;\ + cd binutils-${VER_BINUTILS} ;\ env -i CROSS_ARCHS="$(CROSS_ARCHS)" debian/rules stamps/control endef @@ -201,7 +204,7 @@ $(stamp)init-binutils: $(stamp)build-binutils: $(stamp)init-binutils @echo START $@ set -e ;\ - cd binutils-${PKG_VER_BINUTILS} ;\ + cd binutils-${VER_BINUTILS} ;\ WITH_SYSROOT=${CURDIR}/debian/tmp.${CROSS_ARCH} \ PATCHED_SOURCES=yes \ PKG_IGNORE_CURRENTLY_BUILDING=1 \
  2. Download patch debian/control

    --- 4/debian/control 2019-05-02 12:51:40.000000000 +0000 +++ 4ubuntu1/debian/control 2019-06-17 07:28:26.000000000 +0000 @@ -9,8 +9,8 @@ Standards-Version: 4.3.0 Build-Depends: binutils-multiarch, dpkg (>= 1.16.0~ubuntu6), rdfind, symlinks, lsb-release, binutils-source (>= 2.31.1-16~), - glibc-source (>= 2.28-10~), - gcc-8-source (>= 8.3.0-7~), + glibc-source (>= 2.29-0~), + gcc-8-source (>= 8.3.0-2~), linux-source (>= 4.19), autoconf (>= 2.64), autoconf2.64, autogen, automake, bison (>= 1:2.3), chrpath, debhelper (>= 9), @@ -410,6 +410,26 @@ Description: GNU C Library: Development Contains the symlinks, headers, and object files needed to compile and link programs which use the standard C library. +Package: libc6-dev-armel-armhf-cross +Architecture: all +Depends: libc6-dev-armel-cross +Description: Dummy package to get libc6-dev:armel installed + +Package: libc6-armel-armhf-cross +Architecture: all +Depends: libc6-armel-cross +Description: Dummy package to get libc6:armel installed + +Package: libc6-dev-armhf-armel-cross +Architecture: all +Depends: libc6-dev-armhf-cross +Description: Dummy package to get libc6-dev:armhf installed + +Package: libc6-armhf-armel-cross +Architecture: all +Depends: libc6-armhf-cross +Description: Dummy package to get libc6:armhf installed + Package: libc6-mips64-mipsn32-cross Architecture: all Multi-Arch: foreign

Debian ( Changelog | PTS | Bugs ) Ubuntu ( Changelog | txt | LP | Bugs ) | Diff from Ubuntu

Source: cross-toolchain-base-ports

cross-toolchain-base-ports (30ubuntu3) eoan; urgency=medium * Build using glibc 2.29-0ubuntu3. * Fix the build for alpha. -- Matthias Klose <doko@ubuntu.com> Wed, 10 Jul 2019 14:27:07 +0200

Modifications :
  1. Download patch debian/patches/glibc/ubuntu/alpha-fix.diff

    --- 30/debian/patches/glibc/ubuntu/alpha-fix.diff 1970-01-01 00:00:00.000000000 +0000 +++ 30ubuntu3/debian/patches/glibc/ubuntu/alpha-fix.diff 2019-07-10 12:27:07.000000000 +0000 @@ -0,0 +1,73 @@ +diff -Nru glibc-2.29/debian/patches/alpha-fix.diff glibc-2.29/debian/patches/alpha-fix.diff +--- glibc-2.29/debian/patches/alpha-fix.diff 1970-01-01 00:00:00.000000000 +0000 ++++ glibc-2.29/debian/patches/alpha-fix.diff 2019-07-10 14:25:03.000000000 +0000 +@@ -0,0 +1,60 @@ ++From: Richard Henderson <richard.henderson@linaro.org> ++Date: Mon, 1 Apr 2019 08:54:00 +0000 (+0700) ++Subject: alpha: Do not redefine __NR_shmat or __NR_osf_shmat ++X-Git-Url: https://sourceware.org/git/?p=glibc.git;a=commitdiff_plain;h=d5ecee822e72a2fd156338ab2be2f2e70a1da55a ++ ++alpha: Do not redefine __NR_shmat or __NR_osf_shmat ++ ++Fixes build using v5.1-rc1 headers. ++ ++The kernel has cleaned up how these are defined. Previous behavior ++was to define __NR_osf_shmat as 209 and not define __NR_shmat. ++Current behavior is to define __NR_shmat as 209 and then define ++__NR_osf_shmat as __NR_shmat. ++ ++ * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat): ++ Do not redefine. ++ * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat): ++ Do not redefine. ++--- ++ ++2019-04-01 Richard Henderson <rth@twiddle.net> ++ ++ * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat): ++ Do not redefine. ++ * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat): ++ Do not redefine. ++ ++ ++diff --git a/sysdeps/unix/sysv/linux/alpha/kernel-features.h b/sysdeps/unix/sysv/linux/alpha/kernel-features.h ++index 0b0a94a..f3298b2 100644 ++--- a/sysdeps/unix/sysv/linux/alpha/kernel-features.h +++++ b/sysdeps/unix/sysv/linux/alpha/kernel-features.h ++@@ -26,8 +26,10 @@ ++ #undef __ASSUME_STATFS64 ++ #define __ASSUME_STATFS64 0 ++ ++-/* Alpha defines SysV ipc shmat syscall with a different name. */ ++-#define __NR_shmat __NR_osf_shmat +++/* Alpha used to define SysV ipc shmat syscall with a different name. */ +++#ifndef __NR_shmat +++# define __NR_shmat __NR_osf_shmat +++#endif ++ ++ #define __ASSUME_RECV_SYSCALL 1 ++ #define __ASSUME_SEND_SYSCALL 1 ++diff --git a/sysdeps/unix/sysv/linux/alpha/sysdep.h b/sysdeps/unix/sysv/linux/alpha/sysdep.h ++index dcf2d1e..d61d4df 100644 ++--- a/sysdeps/unix/sysv/linux/alpha/sysdep.h +++++ b/sysdeps/unix/sysv/linux/alpha/sysdep.h ++@@ -51,7 +51,9 @@ ++ * Some syscalls no Linux program should know about: ++ */ ++ #define __NR_osf_sigprocmask 48 ++-#define __NR_osf_shmat 209 +++#ifndef __NR_osf_shmat +++# define __NR_osf_shmat 209 +++#endif ++ #define __NR_osf_getsysinfo 256 ++ #define __NR_osf_setsysinfo 257 ++ +diff -Nru glibc-2.29/debian/patches/series glibc-2.29/debian/patches/series +--- glibc-2.29/debian/patches/series 2019-02-21 14:05:45.000000000 +0000 ++++ glibc-2.29/debian/patches/series 2019-07-10 14:25:03.000000000 +0000 +@@ -150,3 +150,5 @@ + ubuntu/localedata/lv_LV-currency.diff + ubuntu/localedata/sd_PK.diff + ubuntu/localedata/ug_CN@latin.diff ++ ++alpha-fix.diff
  2. Download patch debian/rules

    --- 30/debian/rules 2019-07-10 08:28:21.000000000 +0000 +++ 30ubuntu3/debian/rules 2019-07-10 12:27:07.000000000 +0000 @@ -83,6 +83,8 @@ ifeq ($(vendor),Ubuntu) MIN_VER_GLIBC := 2.29-0~ VER_GCC_BASE := 8 MIN_VER_GCC := 8.3.0-19~ + MIN_VER_BINUTILS := 2.32.51.20190702-1~ + MIN_VER_LINUX := 5.2 endif VER_GCC := $(shell dpkg-parsechangelog -l/usr/src/gcc-${VER_GCC_BASE}/debian/changelog | egrep '^Version:' | cut -f 2 -d ' '|cut -f 1 -d '-') @@ -448,12 +450,12 @@ $(stamp)init-glibc: cd glibc-${VER_GLIBC} ; \ QUILT_PATCHES=${GLIBC_PATCHES} quilt --quiltrc /dev/null push -a && \ rm -rf .pc/ -# set -ex; \ -# if dpkg --compare-versions $(DEB_VER_GLIBC) le 2.27-3; then \ -# cd glibc-${VER_GLIBC}; \ -# patch -p1 < ../debian/patches/glibc/updates.diff; \ -# debian/rules debian/control || true; \ -# fi + set -ex; \ + if dpkg --compare-versions $(DEB_VER_GLIBC) le 2.29-0ubuntu3; then \ + cd glibc-${VER_GLIBC}; \ + patch -p1 < debian/patches/alpha-fix.diff; \ + debian/rules debian/control || true; \ + fi touch $@ $(stamp)build-glibc1.%: $(stamp)init-glibc $(stamp)install-linux.% $(stamp)install-gcc1.%
  3. Download patch debian/control
  4. Download patch debian/patches/glibc/ubuntu/series

    --- 30/debian/patches/glibc/ubuntu/series 2018-05-30 11:45:30.000000000 +0000 +++ 30ubuntu3/debian/patches/glibc/ubuntu/series 2019-07-10 12:27:07.000000000 +0000 @@ -1,3 +1,5 @@ dpkg-shlibs.patch local-kill-locales.patch glibc-build-tools.diff +#riscv64.patch +alpha-fix.diff
  5. Download patch debian/patches/glibc/ubuntu/riscv64.patch

    --- 30/debian/patches/glibc/ubuntu/riscv64.patch 1970-01-01 00:00:00.000000000 +0000 +++ 30ubuntu3/debian/patches/glibc/ubuntu/riscv64.patch 2018-03-20 02:30:19.000000000 +0000 @@ -0,0 +1,58 @@ +--- a/debian/control ++++ b/debian/control +@@ -157,7 +157,7 @@ + be removed once nothing on the system depends on it. + + Package: libc6 +-Architecture: amd64 arm64 armel armhf hppa i386 m68k mips mipsel mipsn32 mipsn32el mips64 mips64el mipsr6 mipsr6el mipsn32r6 mipsn32r6el mips64r6 mips64r6el nios2 powerpc powerpcspe ppc64 ppc64el sparc sparc64 s390x sh3 sh4 x32 ++Architecture: amd64 arm64 armel armhf hppa i386 m68k mips mipsel mipsn32 mipsn32el mips64 mips64el mipsr6 mipsr6el mipsn32r6 mipsn32r6el mips64r6 mips64r6el nios2 powerpc powerpcspe ppc64 ppc64el riscv64 sparc sparc64 s390x sh3 sh4 x32 + Section: libs + Priority: optional + Multi-Arch: same +@@ -188,7 +188,7 @@ + and the standard math library, as well as many others. + + Package: libc6-dev +-Architecture: amd64 arm64 armel armhf hppa i386 m68k mips mipsel mipsn32 mipsn32el mips64 mips64el mipsr6 mipsr6el mipsn32r6 mipsn32r6el mips64r6 mips64r6el nios2 powerpc powerpcspe ppc64 ppc64el sparc sparc64 s390x sh3 sh4 x32 ++Architecture: amd64 arm64 armel armhf hppa i386 m68k mips mipsel mipsn32 mipsn32el mips64 mips64el mipsr6 mipsr6el mipsn32r6 mipsn32r6el mips64r6 mips64r6el nios2 powerpc powerpcspe ppc64 ppc64el riscv64 sparc sparc64 s390x sh3 sh4 x32 + Section: libdevel + Priority: optional + Multi-Arch: same +@@ -203,7 +203,7 @@ + and link programs which use the standard C library. + + Package: libc6-dbg +-Architecture: amd64 arm64 armel armhf hppa i386 m68k mips mipsel mipsn32 mipsn32el mips64 mips64el mipsr6 mipsr6el mipsn32r6 mipsn32r6el mips64r6 mips64r6el nios2 powerpc powerpcspe ppc64 ppc64el sparc sparc64 s390x sh3 sh4 x32 ++Architecture: amd64 arm64 armel armhf hppa i386 m68k mips mipsel mipsn32 mipsn32el mips64 mips64el mipsr6 mipsr6el mipsn32r6 mipsn32r6el mips64r6 mips64r6el nios2 powerpc powerpcspe ppc64 ppc64el riscv64 sparc sparc64 s390x sh3 sh4 x32 + Section: debug + Priority: optional + Multi-Arch: same +@@ -215,7 +215,7 @@ + library. + + Package: libc6-pic +-Architecture: amd64 arm64 armel armhf hppa i386 m68k mips mipsel mipsn32 mipsn32el mips64 mips64el mipsr6 mipsr6el mipsn32r6 mipsn32r6el mips64r6 mips64r6el nios2 powerpc powerpcspe ppc64 ppc64el sparc sparc64 s390x sh3 sh4 x32 ++Architecture: amd64 arm64 armel armhf hppa i386 m68k mips mipsel mipsn32 mipsn32el mips64 mips64el mipsr6 mipsr6el mipsn32r6 mipsn32r6el mips64r6 mips64r6el nios2 powerpc powerpcspe ppc64 ppc64el riscv64 sparc sparc64 s390x sh3 sh4 x32 + Section: libdevel + Priority: optional + Multi-Arch: same +@@ -231,7 +231,7 @@ + + Package: libc6-udeb + Package-Type: udeb +-Architecture: amd64 arm64 armel armhf hppa i386 m68k mips mipsel mipsn32 mipsn32el mips64 mips64el mipsr6 mipsr6el mipsn32r6 mipsn32r6el mips64r6 mips64r6el nios2 powerpc powerpcspe ppc64 ppc64el sparc sparc64 s390x sh3 sh4 x32 ++Architecture: amd64 arm64 armel armhf hppa i386 m68k mips mipsel mipsn32 mipsn32el mips64 mips64el mipsr6 mipsr6el mipsn32r6 mipsn32r6el mips64r6 mips64r6el nios2 powerpc powerpcspe ppc64 ppc64el riscv64 sparc sparc64 s390x sh3 sh4 x32 + Section: debian-installer + Priority: optional + Provides: libc6, libc-udeb, libnss-dns-udeb, libnss-files-udeb, ${locale-compat:Depends} +--- a/debian/rules.d/control.mk ++++ b/debian/rules.d/control.mk +@@ -2,7 +2,7 @@ + libc0_1_archs := kfreebsd-amd64 kfreebsd-i386 + libc0_3_archs := hurd-i386 + libc6_archs := amd64 arm64 armel armhf hppa i386 m68k mips mipsel mipsn32 mipsn32el mips64 mips64el mipsr6 mipsr6el \ +- mipsn32r6 mipsn32r6el mips64r6 mips64r6el nios2 powerpc powerpcspe ppc64 ppc64el sparc sparc64 s390x sh3 sh4 x32 ++ mipsn32r6 mipsn32r6el mips64r6 mips64r6el nios2 powerpc powerpcspe ppc64 ppc64el riscv64 sparc sparc64 s390x sh3 sh4 x32 + libc6_1_archs := alpha ia64 + + control_deps := $(wildcard debian/control.in/*) $(addprefix debian/control.in/, $(libc_packages))
  1. cross-toolchain-base
  2. cross-toolchain-base-mipsen
  3. cross-toolchain-base-ports