Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • chimeratk-mirror/DebianPackagingScripts
1 result
Show changes
#!/bin/bash -e
echo "NOT YET TESTED!!!!!!!!!!!!!!!!!!!"
echo "Building in $(pwd). Press Ctrl+C to abort within 5 seconds..."
sleep 5
if [ -f "/var/cache/pbuilder/result/*" ]; then
echo "/var/cache/pbuilder/result/ is not empty"
exit 1
fi
if [ ! -f "~/software/debian-packages/pbuilder-base/base-bookworm.tgz" ]; then
echo "~/software/debian-packages/pbuilder-base/base-bookworm.tgz does not exist"
exit 1
fi
git clone https://salsa.debian.org/toolchain-team/gcc.git gcc-13_13.1.0
cd gcc-13_13.1.0
wget https://ftp.mpi-inf.mpg.de/mirrors/gnu/mirror/gcc.gnu.org/pub/gcc/releases/gcc-13.1.0/gcc-13.1.0.tar.xz
wget ftp://sourceware.org/pub/newlib/newlib-4.3.0.20230120.tar.gz
cd ..
tar zcf gcc-13_13.1.0.orig.tar.gz gcc-13_13.1.0/gcc-13.1.0.tar.xz gcc-13_13.1.0/newlib-4.3.0.20230120.tar.gz
echo Content of tar ball:
tar tf gcc-13_13.1.0.orig.tar.gz
sleep 2
echo Patching to disable tests...
cd gcc-13_13.1.0
patch -p1 <<EOF
diff --git i/debian/rules.defs w/debian/rules.defs
index fdf383c2..2921ef18 100644
--- i/debian/rules.defs
+++ w/debian/rules.defs
@@ -1671,7 +1671,7 @@ endif
# run testsuite ---------------
with_check := yes
# if you don't want to run the gcc testsuite, uncomment the next line
-#with_check := disabled by hand
+with_check := disabled by hand
ifeq ($(with_base_only),yes)
with_check := no
endif
EOF
pdebuild -- --distribution bookworm --basetgz ~/software/debian-packages/pbuilder-base/base-bookworm.tgz
rsync -av /var/cache/pbuilder/result/ result/
\ No newline at end of file
......@@ -18,6 +18,9 @@ sudo apt-get install debhelper dpkg-dev g++-multilib m4 libtool autoconf2.69 dwz
git clone -b 13.3.0-12 https://salsa.debian.org/toolchain-team/gcc.git gcc-13_13.3.0
cd gcc-13_13.3.0
# revert commit which disables building certain packages which would come from gcc-14 on true Debian...
git revert 68461ac22716c8587ab3137cd7b3cddf34fc853a --no-edit
wget https://ftp.mpi-inf.mpg.de/mirrors/gnu/mirror/gcc.gnu.org/pub/gcc/releases/gcc-13.3.0/gcc-13.3.0.tar.xz
wget ftp://sourceware.org/pub/newlib/newlib-4.4.0.20231231.tar.gz
......