upg sqlite psmisc linux-api-headers libtool gnupg glibc gcc binutils
This commit is contained in:
parent
694c8e19c9
commit
cda12183b3
26 changed files with 197 additions and 260 deletions
|
@ -1,31 +1,36 @@
|
|||
#!/usr/bin/bash
|
||||
# JOBoRun : Jwm OpenBox Obarun RUNit
|
||||
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
||||
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/attr"
|
||||
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
||||
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
|
||||
# Website : https://pozol.eu
|
||||
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
||||
#
|
||||
# toolchain build order: linux-api-headers->glibc->binutils->gcc->glibc->binutils->gcc
|
||||
|
||||
pkgname=binutils
|
||||
pkgver=2.38
|
||||
pkgrel=04
|
||||
#_commit=cb5f6a3e146cc70bc2d864989386df80acec5d3e
|
||||
_commit=9c67f6382ac2c90fbde5729feaf7d59ce662147a
|
||||
pkgrel=05
|
||||
pkgdesc='A set of programs to assemble and manipulate binary and object files'
|
||||
arch=(x86_64)
|
||||
#url='https://www.gnu.org/software/binutils'
|
||||
url='https://ftp.gnu.org/gnu/binutils'
|
||||
groups=( jobbot )
|
||||
depends=(glibc zlib libelf)
|
||||
makedepends=(git)
|
||||
checkdepends=(dejagnu debuginfod bc)
|
||||
optdepends=('debuginfod: for debuginfod server/client functionality')
|
||||
conflicts=(binutils-multilib)
|
||||
replaces=(binutils-multilib)
|
||||
options=(staticlibs !distcc !ccache)
|
||||
#options=(staticlibs !distcc !ccache debug)
|
||||
#_commit=cb5f6a3e146cc70bc2d864989386df80acec5d3e
|
||||
#source=(git+https://sourceware.org/git/binutils-gdb.git#commit=$_commit)
|
||||
source=($url/$pkgname-$pkgver.tar.xz{,.sig}
|
||||
gold-warn-unsupported.patch
|
||||
fix-incorrect-undefined-symbol.patch)
|
||||
#source=($url/$pkgname-$pkgver.tar.xz{,.sig}
|
||||
# gold-warn-unsupported.patch
|
||||
# fix-incorrect-undefined-symbol.patch)
|
||||
source=(git+https://sourceware.org/git/binutils-gdb.git#commit=${_commit}
|
||||
gold-warn-unsupported.patch)
|
||||
|
||||
prepare() {
|
||||
[[ ! -d binutils-gdb ]] && ln -s binutils-$pkgver binutils-gdb
|
||||
|
@ -41,10 +46,6 @@ prepare() {
|
|||
# unsupported targets. This allows the binutils to be built with
|
||||
# BPF support enabled.
|
||||
patch -Np1 -i "${srcdir}"/gold-warn-unsupported.patch
|
||||
|
||||
# fix incorrect "undefined reference" errors
|
||||
# https://sourceware.org/bugzilla/show_bug.cgi?id=28879
|
||||
patch -Np1 -i "${srcdir}"/fix-incorrect-undefined-symbol.patch
|
||||
}
|
||||
|
||||
build() {
|
||||
|
@ -80,16 +81,12 @@ build() {
|
|||
# Extract the FSF All Permissive License
|
||||
# <https://www.gnu.org/prep/maintain/html_node/License-Notices-for-Other-Files.html>
|
||||
# used for some linker scripts.
|
||||
tail -n 5 "${srcdir}"/binutils-${pkgver}/ld/scripttempl/README > FSFAP
|
||||
tail -n 5 "${srcdir}"/binutils-gdb/ld/scripttempl/README > FSFAP
|
||||
}
|
||||
|
||||
#check() {
|
||||
# cd binutils-build
|
||||
#
|
||||
## # current testsuite failure in debuginfod (objdump)
|
||||
## # https://sourceware.org/bugzilla/show_bug.cgi?id=28029
|
||||
## sed -i '/test_fetch_debuglink $OBJDUMP/d' \
|
||||
## $srcdir/binutils-gdb/binutils/testsuite/binutils-all/debuginfod.exp
|
||||
# # Use minimal flags for testsuite
|
||||
# # ld testsuite uses CFLAGS_FOR_TARGET and requires -g
|
||||
# # gold testsuite requires CXXFLAGS/CFLAGS with default PIE/PIC disabled
|
||||
|
@ -125,7 +122,9 @@ license=('GPL3' 'GPL' 'FDL1.3' 'custom:FSFAP')
|
|||
|
||||
validpgpkeys=(3A24BC1E8FB409FA9F14371813FCEF89DD9E3C4F)
|
||||
|
||||
sha256sums=(e316477a914f567eccc34d5d29785b8b0f5a10208d36bbacedcc39048ecfe024 # binutils-2.38.tar.xz
|
||||
41301d67da78df1ad6df04aefe9e7bea8235484b0323cee52caa8f7435385014 # binutils-2.38.tar.xz.sig
|
||||
2d430b66f84a19c154725ec535280c493be1d34f1a90f95208dce02fecd0e4e4 # gold-warn-unsupported.patch
|
||||
fd33b2f8cac7561cecf3fdbb5a50fd2f2dfa6420516cbe57c47784a06fa16bf6) # fix-incorrect-undefined-symbol.patch
|
||||
sha256sums=(#e316477a914f567eccc34d5d29785b8b0f5a10208d36bbacedcc39048ecfe024 # binutils-2.38.tar.xz
|
||||
#41301d67da78df1ad6df04aefe9e7bea8235484b0323cee52caa8f7435385014 # binutils-2.38.tar.xz.sig
|
||||
SKIP
|
||||
2d430b66f84a19c154725ec535280c493be1d34f1a90f95208dce02fecd0e4e4) # gold-warn-unsupported.patch
|
||||
# fd33b2f8cac7561cecf3fdbb5a50fd2f2dfa6420516cbe57c47784a06fa16bf6) # fix-incorrect-undefined-symbol.patch
|
||||
|
||||
|
|
|
@ -7,27 +7,24 @@
|
|||
|
||||
pkgname=binutils
|
||||
pkgver=2.38
|
||||
pkgrel=4
|
||||
_commit=9c67f6382ac2c90fbde5729feaf7d59ce662147a
|
||||
pkgrel=5
|
||||
pkgdesc='A set of programs to assemble and manipulate binary and object files'
|
||||
arch=(x86_64)
|
||||
url='https://www.gnu.org/software/binutils/'
|
||||
license=('GPL3' 'GPL' 'FDL1.3' 'custom:FSFAP')
|
||||
groups=(base-devel)
|
||||
depends=(glibc zlib libelf)
|
||||
makedepends=(git)
|
||||
checkdepends=(dejagnu debuginfod bc)
|
||||
optdepends=('debuginfod: for debuginfod server/client functionality')
|
||||
conflicts=(binutils-multilib)
|
||||
replaces=(binutils-multilib)
|
||||
options=(staticlibs !distcc !ccache debug)
|
||||
#_commit=cb5f6a3e146cc70bc2d864989386df80acec5d3e
|
||||
#source=(git+https://sourceware.org/git/binutils-gdb.git#commit=$_commit)
|
||||
source=(https://ftp.gnu.org/gnu/binutils/binutils-$pkgver.tar.xz{,.sig}
|
||||
gold-warn-unsupported.patch
|
||||
fix-incorrect-undefined-symbol.patch)
|
||||
sha256sums=('e316477a914f567eccc34d5d29785b8b0f5a10208d36bbacedcc39048ecfe024'
|
||||
'SKIP'
|
||||
'2d430b66f84a19c154725ec535280c493be1d34f1a90f95208dce02fecd0e4e4'
|
||||
'fd33b2f8cac7561cecf3fdbb5a50fd2f2dfa6420516cbe57c47784a06fa16bf6')
|
||||
source=(git+https://sourceware.org/git/binutils-gdb.git#commit=${_commit}
|
||||
gold-warn-unsupported.patch)
|
||||
sha256sums=('SKIP'
|
||||
'2d430b66f84a19c154725ec535280c493be1d34f1a90f95208dce02fecd0e4e4')
|
||||
validpgpkeys=(3A24BC1E8FB409FA9F14371813FCEF89DD9E3C4F)
|
||||
|
||||
prepare() {
|
||||
|
@ -44,10 +41,6 @@ prepare() {
|
|||
# unsupported targets. This allows the binutils to be built with
|
||||
# BPF support enabled.
|
||||
patch -Np1 -i "${srcdir}"/gold-warn-unsupported.patch
|
||||
|
||||
# fix incorrect "undefined reference" errors
|
||||
# https://sourceware.org/bugzilla/show_bug.cgi?id=28879
|
||||
patch -Np1 -i "${srcdir}"/fix-incorrect-undefined-symbol.patch
|
||||
}
|
||||
|
||||
build() {
|
||||
|
@ -83,7 +76,7 @@ build() {
|
|||
# Extract the FSF All Permissive License
|
||||
# <https://www.gnu.org/prep/maintain/html_node/License-Notices-for-Other-Files.html>
|
||||
# used for some linker scripts.
|
||||
tail -n 5 "${srcdir}"/binutils-${pkgver}/ld/scripttempl/README > FSFAP
|
||||
tail -n 5 "${srcdir}"/binutils-gdb/ld/scripttempl/README > FSFAP
|
||||
}
|
||||
|
||||
check() {
|
||||
|
|
|
@ -2,3 +2,7 @@ dejagnu
|
|||
debuginfod
|
||||
bc
|
||||
libmicrohttpd
|
||||
git
|
||||
|
||||
|
||||
bison
|
||||
|
|
|
@ -1,14 +1,4 @@
|
|||
real 2m47.361s
|
||||
user 9m4.310s
|
||||
sys 0m34.455s
|
||||
|
||||
|
||||
real 2m47.361s
|
||||
user 9m4.310s
|
||||
sys 0m34.455s
|
||||
|
||||
|
||||
real 13m35.011s
|
||||
user 36m42.774s
|
||||
sys 2m9.604s
|
||||
|
||||
real 11m8.176s
|
||||
user 31m49.721s
|
||||
sys 1m39.198s
|
||||
|
|
75
gcc/PKGBUILD
75
gcc/PKGBUILD
|
@ -8,12 +8,10 @@
|
|||
# toolchain build order: linux-api-headers->glibc->binutils->gcc->glibc->binutils->gcc
|
||||
# NOTE: libtool requires rebuilt with each new gcc version
|
||||
|
||||
pkgname=(gcc gcc-libs lib32-gcc-libs gcc-fortran gcc-objc gcc-ada gcc-go gcc-d libgccjit)
|
||||
pkgver=11.2.0
|
||||
pkgname=(gcc gcc-libs lib32-gcc-libs gcc-fortran gcc-objc gcc-ada gcc-go libgccjit)
|
||||
pkgver=12.1.0
|
||||
_majorver=${pkgver%%.*}
|
||||
_islver=0.24
|
||||
# forgot to change this to 04 before I run it and it came out as 4 same as arch, but 6hrs runs don't get done twice!
|
||||
pkgrel=04
|
||||
pkgrel=01
|
||||
pkgdesc='The GNU Compiler Collection'
|
||||
arch=(x86_64)
|
||||
url='https://gcc.gnu.org'
|
||||
|
@ -43,9 +41,9 @@ _libdir=usr/lib/gcc/$CHOST/${pkgver%%+*}
|
|||
# _commit=6beb39ee6c465c21d0cc547fd66b445100cdcc35
|
||||
# source=(git://gcc.gnu.org/git/gcc.git#commit=$_commit
|
||||
source=(https://sourceware.org/pub/gcc/releases/gcc-${pkgver}/gcc-${pkgver}.tar.xz{,.sig}
|
||||
c89 c99
|
||||
gdc_phobos_path.patch
|
||||
gcc-ada-repro.patch
|
||||
c89
|
||||
c99
|
||||
gcc-ada-repro.patch
|
||||
)
|
||||
|
||||
prepare() {
|
||||
|
@ -58,8 +56,8 @@ prepare() {
|
|||
# Arch Linux installs x86_64 libraries /lib
|
||||
sed -i '/m64=/s/lib64/lib/' gcc/config/i386/t-linux64
|
||||
|
||||
# D hacks
|
||||
patch -Np1 -i "$srcdir/gdc_phobos_path.patch"
|
||||
# # D hacks
|
||||
# patch -Np1 -i "$srcdir/gdc_phobos_path.patch"
|
||||
|
||||
# Reproducible gcc-ada
|
||||
patch -Np0 < "$srcdir/gcc-ada-repro.patch"
|
||||
|
@ -94,9 +92,9 @@ build() {
|
|||
--disable-libssp \
|
||||
--disable-libstdcxx-pch \
|
||||
--disable-werror \
|
||||
--with-zstd=no \
|
||||
--with-build-config=bootstrap-lto \
|
||||
--enable-link-serialization=1 \
|
||||
gdc_include_dir=/usr/include/dlang/gdc"
|
||||
--enable-link-serialization=1"
|
||||
|
||||
cd gcc-build
|
||||
|
||||
|
@ -107,7 +105,7 @@ build() {
|
|||
CXXFLAGS=${CXXFLAGS/-Werror=format-security/}
|
||||
|
||||
"$srcdir/gcc/configure" \
|
||||
--enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++,d \
|
||||
--enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ \
|
||||
--enable-bootstrap \
|
||||
$_confflags
|
||||
|
||||
|
@ -116,7 +114,7 @@ build() {
|
|||
BOOT_CFLAGS="$CFLAGS" \
|
||||
BOOT_LDFLAGS="$LDFLAGS" \
|
||||
LDFLAGS_FOR_TARGET="$LDFLAGS" \
|
||||
profiledbootstrap
|
||||
bootstrap
|
||||
|
||||
# make documentation
|
||||
make -O -C $CHOST/libstdc++-v3/doc doc-man-doxygen
|
||||
|
@ -162,9 +160,9 @@ package_gcc-libs() {
|
|||
pkgdesc='Runtime libraries shipped by GCC'
|
||||
depends=('glibc>=2.27')
|
||||
options=(!emptydirs !strip)
|
||||
provides=($pkgname-multilib libgo.so libgfortran.so libgphobos.so
|
||||
provides=($pkgname-multilib libgo.so libgfortran.so
|
||||
libubsan.so libasan.so libtsan.so liblsan.so)
|
||||
replaces=($pkgname-multilib libgphobos)
|
||||
replaces=($pkgname-multilib)
|
||||
|
||||
cd gcc-build
|
||||
make -C $CHOST/libgcc DESTDIR="$pkgdir" install-shared
|
||||
|
@ -185,10 +183,6 @@ package_gcc-libs() {
|
|||
make -C $CHOST/libobjc DESTDIR="$pkgdir" install-libs
|
||||
make -C $CHOST/libstdc++-v3/po DESTDIR="$pkgdir" install
|
||||
|
||||
make -C $CHOST/libphobos DESTDIR="$pkgdir" install
|
||||
rm -rf "$pkgdir"/$_libdir/include/d/
|
||||
rm -f "$pkgdir"/usr/lib/libgphobos.spec
|
||||
|
||||
for lib in libgomp \
|
||||
libitm \
|
||||
libquadmath; do
|
||||
|
@ -259,8 +253,8 @@ package_gcc() {
|
|||
make -C $CHOST/32/libsanitizer/asan DESTDIR="$pkgdir" install-nodist_toolexeclibHEADERS
|
||||
|
||||
make -C gcc DESTDIR="$pkgdir" install-man install-info
|
||||
rm "$pkgdir"/usr/share/man/man1/{gccgo,gfortran,gdc}.1
|
||||
rm "$pkgdir"/usr/share/info/{gccgo,gfortran,gnat-style,gnat_rm,gnat_ugn,gdc}.info
|
||||
rm "$pkgdir"/usr/share/man/man1/{gccgo,gfortran}.1
|
||||
rm "$pkgdir"/usr/share/info/{gccgo,gfortran,gnat-style,gnat_rm,gnat_ugn}.info
|
||||
|
||||
make -C libcpp DESTDIR="$pkgdir" install
|
||||
make -C gcc DESTDIR="$pkgdir" install-po
|
||||
|
@ -370,7 +364,7 @@ package_gcc-ada() {
|
|||
package_gcc-go() {
|
||||
pkgdesc='Go front-end for GCC'
|
||||
depends=("gcc=$pkgver-$pkgrel" libisl.so)
|
||||
provides=("go=1.12.2" $pkgname-multilib)
|
||||
provides=("go=1.18" $pkgname-multilib)
|
||||
replaces=($pkgname-multilib)
|
||||
conflicts=(go)
|
||||
|
||||
|
@ -415,9 +409,6 @@ package_lib32-gcc-libs() {
|
|||
|
||||
make -C $CHOST/32/libobjc DESTDIR="$pkgdir" install-libs
|
||||
|
||||
make -C $CHOST/libphobos DESTDIR="$pkgdir" install
|
||||
rm -f "$pkgdir"/usr/lib32/libgphobos.spec
|
||||
|
||||
# remove files provided by gcc-libs
|
||||
rm -rf "$pkgdir"/usr/lib
|
||||
|
||||
|
@ -426,32 +417,6 @@ package_lib32-gcc-libs() {
|
|||
"$pkgdir/usr/share/licenses/lib32-gcc-libs/RUNTIME.LIBRARY.EXCEPTION"
|
||||
}
|
||||
|
||||
package_gcc-d() {
|
||||
pkgdesc="D frontend for GCC"
|
||||
depends=("gcc=$pkgver-$pkgrel" libisl.so)
|
||||
provides=(gdc)
|
||||
replaces=(gdc)
|
||||
options=(staticlibs debug)
|
||||
|
||||
cd gcc-build
|
||||
make -C gcc DESTDIR="$pkgdir" d.install-{common,man,info}
|
||||
|
||||
install -Dm755 gcc/gdc "$pkgdir"/usr/bin/gdc
|
||||
install -Dm755 gcc/d21 "$pkgdir"/"$_libdir"/d21
|
||||
|
||||
make -C $CHOST/libphobos DESTDIR="$pkgdir" install
|
||||
rm -f "$pkgdir/usr/lib/"lib{gphobos,gdruntime}.so*
|
||||
rm -f "$pkgdir/usr/lib32/"lib{gphobos,gdruntime}.so*
|
||||
|
||||
install -d "$pkgdir"/usr/include/dlang
|
||||
ln -s /"${_libdir}"/include/d "$pkgdir"/usr/include/dlang/gdc
|
||||
|
||||
# Install Runtime Library Exception
|
||||
install -d "$pkgdir/usr/share/licenses/$pkgname/"
|
||||
ln -s /usr/share/licenses/gcc-libs/RUNTIME.LIBRARY.EXCEPTION \
|
||||
"$pkgdir/usr/share/licenses/$pkgname/"
|
||||
}
|
||||
|
||||
package_libgccjit() {
|
||||
pkgdesc="Just-In-Time Compilation with GCC backend"
|
||||
depends=("gcc=$pkgver-$pkgrel" libisl.so)
|
||||
|
@ -474,10 +439,8 @@ validpgpkeys=(F3691687D867B81B51CE07D9BBE43771487328A9 # bpiotrowski@archlinux.
|
|||
13975A70E63C361C73AE69EF6EEB81F8981C74C7 # richard.guenther@gmail.com
|
||||
D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62) # Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
sha256sums=(d08edc536b54c372a1010ff6619dd274c0f1603aa49212ba20f7aa2cda36fa8b # gcc-11.2.0.tar.xz
|
||||
6bb782c64994e655abd5cf596ed7879cc52e5bcb0352be636ea9eec7caa98837 # gcc-11.2.0.tar.xz.sig
|
||||
# 043105cc544f416b48736fff8caf077fb0663a717d06b1113f16e391ac99ebad # isl-0.24.tar.xz
|
||||
sha256sums=(62fd634889f31c02b64af2c468f064b47ad1ca78411c45abe6ac4b5f8dd19c7b # gcc-12.1.0.tar.xz
|
||||
f5dba6de2221ea625acae85f97be9dcf550c8125f545372dbaf53e83ebcbeb0d # gcc-12.1.0.tar.xz.sig
|
||||
de48736f6e4153f03d0a5d38ceb6c6fdb7f054e8f47ddd6af0a3dbf14f27b931 # c89
|
||||
2513c6d9984dd0a2058557bf00f06d8d5181734e41dcfe07be7ed86f2959622a # c99
|
||||
c86372c207d174c0918d4aedf1cb79f7fc093649eb1ad8d9450dccc46849d308 # gdc_phobos_path.patch
|
||||
1773f5137f08ac1f48f0f7297e324d5d868d55201c03068670ee4602babdef2f) # gcc-ada-repro.patch
|
||||
|
|
|
@ -7,14 +7,13 @@
|
|||
# toolchain build order: linux-api-headers->glibc->binutils->gcc->glibc->binutils->gcc
|
||||
# NOTE: libtool requires rebuilt with each new gcc version
|
||||
|
||||
pkgname=(gcc gcc-libs lib32-gcc-libs gcc-fortran gcc-objc gcc-ada gcc-go gcc-d libgccjit)
|
||||
pkgver=11.2.0
|
||||
pkgname=(gcc gcc-libs lib32-gcc-libs gcc-fortran gcc-objc gcc-ada gcc-go libgccjit)
|
||||
pkgver=12.1.0
|
||||
_majorver=${pkgver%%.*}
|
||||
_islver=0.24
|
||||
pkgrel=4
|
||||
pkgrel=1
|
||||
pkgdesc='The GNU Compiler Collection'
|
||||
arch=(x86_64)
|
||||
license=(GPL LGPL FDL custom)
|
||||
license=(GPL3 LGPL FDL custom)
|
||||
url='https://gcc.gnu.org'
|
||||
makedepends=(
|
||||
binutils
|
||||
|
@ -42,18 +41,16 @@ _libdir=usr/lib/gcc/$CHOST/${pkgver%%+*}
|
|||
# source=(git://gcc.gnu.org/git/gcc.git#commit=$_commit
|
||||
source=(https://sourceware.org/pub/gcc/releases/gcc-${pkgver}/gcc-${pkgver}.tar.xz{,.sig}
|
||||
c89 c99
|
||||
gdc_phobos_path.patch
|
||||
gcc-ada-repro.patch
|
||||
)
|
||||
validpgpkeys=(F3691687D867B81B51CE07D9BBE43771487328A9 # bpiotrowski@archlinux.org
|
||||
86CFFCA918CF3AF47147588051E8B148A9999C34 # evangelos@foutrelis.com
|
||||
13975A70E63C361C73AE69EF6EEB81F8981C74C7 # richard.guenther@gmail.com
|
||||
D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62) # Jakub Jelinek <jakub@redhat.com>
|
||||
sha256sums=('d08edc536b54c372a1010ff6619dd274c0f1603aa49212ba20f7aa2cda36fa8b'
|
||||
sha256sums=('62fd634889f31c02b64af2c468f064b47ad1ca78411c45abe6ac4b5f8dd19c7b'
|
||||
'SKIP'
|
||||
'de48736f6e4153f03d0a5d38ceb6c6fdb7f054e8f47ddd6af0a3dbf14f27b931'
|
||||
'2513c6d9984dd0a2058557bf00f06d8d5181734e41dcfe07be7ed86f2959622a'
|
||||
'c86372c207d174c0918d4aedf1cb79f7fc093649eb1ad8d9450dccc46849d308'
|
||||
'1773f5137f08ac1f48f0f7297e324d5d868d55201c03068670ee4602babdef2f')
|
||||
|
||||
prepare() {
|
||||
|
@ -66,9 +63,6 @@ prepare() {
|
|||
# Arch Linux installs x86_64 libraries /lib
|
||||
sed -i '/m64=/s/lib64/lib/' gcc/config/i386/t-linux64
|
||||
|
||||
# D hacks
|
||||
patch -Np1 -i "$srcdir/gdc_phobos_path.patch"
|
||||
|
||||
# Reproducible gcc-ada
|
||||
patch -Np0 < "$srcdir/gcc-ada-repro.patch"
|
||||
|
||||
|
@ -103,8 +97,7 @@ build() {
|
|||
--disable-libstdcxx-pch \
|
||||
--disable-werror \
|
||||
--with-build-config=bootstrap-lto \
|
||||
--enable-link-serialization=1 \
|
||||
gdc_include_dir=/usr/include/dlang/gdc"
|
||||
--enable-link-serialization=1"
|
||||
|
||||
cd gcc-build
|
||||
|
||||
|
@ -115,7 +108,7 @@ build() {
|
|||
CXXFLAGS=${CXXFLAGS/-Werror=format-security/}
|
||||
|
||||
"$srcdir/gcc/configure" \
|
||||
--enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++,d \
|
||||
--enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ \
|
||||
--enable-bootstrap \
|
||||
$_confflags
|
||||
|
||||
|
@ -124,7 +117,7 @@ build() {
|
|||
BOOT_CFLAGS="$CFLAGS" \
|
||||
BOOT_LDFLAGS="$LDFLAGS" \
|
||||
LDFLAGS_FOR_TARGET="$LDFLAGS" \
|
||||
profiledbootstrap
|
||||
bootstrap
|
||||
|
||||
# make documentation
|
||||
make -O -C $CHOST/libstdc++-v3/doc doc-man-doxygen
|
||||
|
@ -152,9 +145,6 @@ build() {
|
|||
check() {
|
||||
cd gcc-build
|
||||
|
||||
# disable libphobos test to avoid segfaults and other unfunny ways to waste my time
|
||||
sed -i '/maybe-check-target-libphobos \\/d' Makefile
|
||||
|
||||
# do not abort on error as some are "expected"
|
||||
make -O -k check || true
|
||||
"$srcdir/gcc/contrib/test_summary"
|
||||
|
@ -164,9 +154,9 @@ package_gcc-libs() {
|
|||
pkgdesc='Runtime libraries shipped by GCC'
|
||||
depends=('glibc>=2.27')
|
||||
options=(!emptydirs !strip)
|
||||
provides=($pkgname-multilib libgo.so libgfortran.so libgphobos.so
|
||||
provides=($pkgname-multilib libgo.so libgfortran.so
|
||||
libubsan.so libasan.so libtsan.so liblsan.so)
|
||||
replaces=($pkgname-multilib libgphobos)
|
||||
replaces=($pkgname-multilib)
|
||||
|
||||
cd gcc-build
|
||||
make -C $CHOST/libgcc DESTDIR="$pkgdir" install-shared
|
||||
|
@ -187,10 +177,6 @@ package_gcc-libs() {
|
|||
make -C $CHOST/libobjc DESTDIR="$pkgdir" install-libs
|
||||
make -C $CHOST/libstdc++-v3/po DESTDIR="$pkgdir" install
|
||||
|
||||
make -C $CHOST/libphobos DESTDIR="$pkgdir" install
|
||||
rm -rf "$pkgdir"/$_libdir/include/d/
|
||||
rm -f "$pkgdir"/usr/lib/libgphobos.spec
|
||||
|
||||
for lib in libgomp \
|
||||
libitm \
|
||||
libquadmath; do
|
||||
|
@ -261,8 +247,8 @@ package_gcc() {
|
|||
make -C $CHOST/32/libsanitizer/asan DESTDIR="$pkgdir" install-nodist_toolexeclibHEADERS
|
||||
|
||||
make -C gcc DESTDIR="$pkgdir" install-man install-info
|
||||
rm "$pkgdir"/usr/share/man/man1/{gccgo,gfortran,gdc}.1
|
||||
rm "$pkgdir"/usr/share/info/{gccgo,gfortran,gnat-style,gnat_rm,gnat_ugn,gdc}.info
|
||||
rm "$pkgdir"/usr/share/man/man1/{gccgo,gfortran}.1
|
||||
rm "$pkgdir"/usr/share/info/{gccgo,gfortran,gnat-style,gnat_rm,gnat_ugn}.info
|
||||
|
||||
make -C libcpp DESTDIR="$pkgdir" install
|
||||
make -C gcc DESTDIR="$pkgdir" install-po
|
||||
|
@ -372,7 +358,7 @@ package_gcc-ada() {
|
|||
package_gcc-go() {
|
||||
pkgdesc='Go front-end for GCC'
|
||||
depends=("gcc=$pkgver-$pkgrel" libisl.so)
|
||||
provides=("go=1.12.2" $pkgname-multilib)
|
||||
provides=("go=1.18" $pkgname-multilib)
|
||||
replaces=($pkgname-multilib)
|
||||
conflicts=(go)
|
||||
|
||||
|
@ -417,9 +403,6 @@ package_lib32-gcc-libs() {
|
|||
|
||||
make -C $CHOST/32/libobjc DESTDIR="$pkgdir" install-libs
|
||||
|
||||
make -C $CHOST/libphobos DESTDIR="$pkgdir" install
|
||||
rm -f "$pkgdir"/usr/lib32/libgphobos.spec
|
||||
|
||||
# remove files provided by gcc-libs
|
||||
rm -rf "$pkgdir"/usr/lib
|
||||
|
||||
|
@ -428,32 +411,6 @@ package_lib32-gcc-libs() {
|
|||
"$pkgdir/usr/share/licenses/lib32-gcc-libs/RUNTIME.LIBRARY.EXCEPTION"
|
||||
}
|
||||
|
||||
package_gcc-d() {
|
||||
pkgdesc="D frontend for GCC"
|
||||
depends=("gcc=$pkgver-$pkgrel" libisl.so)
|
||||
provides=(gdc)
|
||||
replaces=(gdc)
|
||||
options=(staticlibs debug)
|
||||
|
||||
cd gcc-build
|
||||
make -C gcc DESTDIR="$pkgdir" d.install-{common,man,info}
|
||||
|
||||
install -Dm755 gcc/gdc "$pkgdir"/usr/bin/gdc
|
||||
install -Dm755 gcc/d21 "$pkgdir"/"$_libdir"/d21
|
||||
|
||||
make -C $CHOST/libphobos DESTDIR="$pkgdir" install
|
||||
rm -f "$pkgdir/usr/lib/"lib{gphobos,gdruntime}.so*
|
||||
rm -f "$pkgdir/usr/lib32/"lib{gphobos,gdruntime}.so*
|
||||
|
||||
install -d "$pkgdir"/usr/include/dlang
|
||||
ln -s /"${_libdir}"/include/d "$pkgdir"/usr/include/dlang/gdc
|
||||
|
||||
# Install Runtime Library Exception
|
||||
install -d "$pkgdir/usr/share/licenses/$pkgname/"
|
||||
ln -s /usr/share/licenses/gcc-libs/RUNTIME.LIBRARY.EXCEPTION \
|
||||
"$pkgdir/usr/share/licenses/$pkgname/"
|
||||
}
|
||||
|
||||
package_libgccjit() {
|
||||
pkgdesc="Just-In-Time Compilation with GCC backend"
|
||||
depends=("gcc=$pkgver-$pkgrel" libisl.so)
|
||||
|
|
1
gcc/deps
1
gcc/deps
|
@ -9,3 +9,4 @@ expect
|
|||
inetutils
|
||||
python-pytest
|
||||
tcl
|
||||
|
||||
|
|
5
gcc/time
5
gcc/time
|
@ -8,3 +8,8 @@ real 307m5.649s
|
|||
user 980m28.884s
|
||||
sys 78m37.832s
|
||||
|
||||
12.1
|
||||
real 260m23.165s
|
||||
user 838m9.459s
|
||||
sys 21m5.755s
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
pkgbase=glibc
|
||||
pkgname=(glibc lib32-glibc)
|
||||
pkgver=2.35
|
||||
pkgrel=03
|
||||
pkgrel=04
|
||||
arch=(x86_64)
|
||||
url='https://www.gnu.org/software/libc'
|
||||
makedepends=(git gd lib32-gcc-libs python)
|
||||
|
@ -27,6 +27,7 @@ source=(https://ftp.gnu.org/gnu/glibc/glibc-$pkgver.tar.xz{,.sig}
|
|||
disable-clone3.diff
|
||||
0001-localedef-Update-LC_MONETARY-handling-Bug-28845.patch
|
||||
0001-localedata-Do-not-generate-output-if-warnings-were-p.patch
|
||||
0001-elf-Fix-DFS-sorting-algorithm-for-LD_TRACE_LOADED_OB.patch
|
||||
)
|
||||
|
||||
prepare() {
|
||||
|
@ -46,6 +47,9 @@ prepare() {
|
|||
patch -Np1 -i "${srcdir}"/0001-localedef-Update-LC_MONETARY-handling-Bug-28845.patch
|
||||
patch -Np1 -i "${srcdir}"/0001-localedata-Do-not-generate-output-if-warnings-were-p.patch
|
||||
|
||||
# Fix Sefault introduced by new DFS algorithm
|
||||
# https://bugs.archlinux.org/task/73938
|
||||
patch -Np1 -i "${srcdir}"/0001-elf-Fix-DFS-sorting-algorithm-for-LD_TRACE_LOADED_OB.patch
|
||||
}
|
||||
|
||||
build() {
|
||||
|
@ -90,7 +94,7 @@ build() {
|
|||
echo "CFLAGS += -Wp,-D_FORTIFY_SOURCE=2" >> configparms
|
||||
make -O
|
||||
|
||||
# build info pages manually for reprducibility
|
||||
# build info pages manually for reproducibility
|
||||
make info
|
||||
|
||||
cd "$srcdir/lib32-glibc-build"
|
||||
|
@ -119,13 +123,13 @@ build() {
|
|||
|
||||
}
|
||||
|
||||
# Credits for skip_test() and check() @allanmcrae
|
||||
# https://github.com/allanmcrae/toolchain/blob/f18604d70c5933c31b51a320978711e4e6791cf1/glibc/PKGBUILD
|
||||
skip_test() {
|
||||
test=$1
|
||||
file=$2
|
||||
sed -i "s/\b$test\b//" $srcdir/glibc/$file
|
||||
}
|
||||
## Credits for skip_test() and check() @allanmcrae
|
||||
## https://github.com/allanmcrae/toolchain/blob/f18604d70c5933c31b51a320978711e4e6791cf1/glibc/PKGBUILD
|
||||
#skip_test() {
|
||||
# test=$1
|
||||
# file=$2
|
||||
# sed -i "s/\b$test\b//" $srcdir/glibc/$file
|
||||
#}
|
||||
|
||||
#check() {
|
||||
# cd glibc-build
|
||||
|
@ -139,7 +143,7 @@ skip_test() {
|
|||
#
|
||||
# # The following tests fail due to restrictions in the Arch build system
|
||||
# # The correct fix is to add the following to the systemd-nspawn call:
|
||||
# # --capability=CAP_IPC_LOCK --system-call-filter="@clock @pkey"
|
||||
# # --system-call-filter="@clock @memlock @pkey"
|
||||
# skip_test test-errno-linux sysdeps/unix/sysv/linux/Makefile
|
||||
# skip_test tst-ntp_gettime sysdeps/unix/sysv/linux/Makefile
|
||||
# skip_test tst-ntp_gettimex sysdeps/unix/sysv/linux/Makefile
|
||||
|
@ -228,15 +232,12 @@ package_lib32-glibc() {
|
|||
if check_option 'debug' n; then
|
||||
find "$pkgdir"/usr/lib32 -name '*.a' -type f -exec strip $STRIP_STATIC {} + 2> /dev/null || true
|
||||
find "$pkgdir"/usr/lib32 \
|
||||
-not -name 'ld-*.so' \
|
||||
-not -name 'libc-*.so' \
|
||||
-not -name 'libpthread-*.so' \
|
||||
-not -name 'libthread_db-*.so' \
|
||||
-name '*-*.so' -type f -exec strip $STRIP_SHARED {} + 2> /dev/null || true
|
||||
-not -name 'ld-*.so*' \
|
||||
-not -name 'libc.so*' \
|
||||
-not -name 'libpthread.so*' \
|
||||
-not -name 'libthread_db.so*' \
|
||||
-name '*.so*' -type f -exec strip $STRIP_SHARED {} + 2> /dev/null || true
|
||||
fi
|
||||
|
||||
# Provided by lib32-libxcrypt; keep the old shared library for backwards compatibility
|
||||
rm -f "$pkgdir"/usr/lib32/libcrypt.{a,so}
|
||||
}
|
||||
|
||||
#---- license gpg-key sha256sums ----
|
||||
|
@ -255,4 +256,5 @@ sha256sums=(5123732f6b67ccd319305efd399971d58592122bcc2a6518a1bd2510dd0cf52e # g
|
|||
cdc234959c6fdb43f000d3bb7d1080b0103f4080f5e67bcfe8ae1aaf477812f0 # sdt-config.h
|
||||
f5df8fc95592cce7825744aeb8c9699a5b4b5b7ccf7bcf554355167c3a7e375e # disable-clone3.diff
|
||||
0fbfee1dbe867c1e1d135d3bdc6fbe32d5629aa5eff555123355d21341271a82 # 0001-localedef-Update-LC_MONETARY-handling-Bug-28845.patch
|
||||
2a3da2150c45d2ee811d6e837838029927eb40e50c901452e155545fa5144c54) # 0001-localedata-Do-not-generate-output-if-warnings-were-p.patch
|
||||
2a3da2150c45d2ee811d6e837838029927eb40e50c901452e155545fa5144c54 # 0001-localedata-Do-not-generate-output-if-warnings-were-p.patch
|
||||
85e19a5bb247a7c523781efb28509420a67f32bae0c13633c1c22dc921187840) # 0001-elf-Fix-DFS-sorting-algorithm-for-LD_TRACE_LOADED_OB.patch
|
||||
|
|
|
@ -9,12 +9,11 @@
|
|||
pkgbase=glibc
|
||||
pkgname=(glibc lib32-glibc)
|
||||
pkgver=2.35
|
||||
pkgrel=2
|
||||
pkgrel=4
|
||||
arch=(x86_64)
|
||||
url='https://www.gnu.org/software/libc'
|
||||
license=(GPL LGPL)
|
||||
makedepends=(git gd lib32-gcc-libs python)
|
||||
optdepends=('perl: for mtrace')
|
||||
options=(!strip staticlibs !lto)
|
||||
#_commit=3de512be7ea6053255afed6154db9ee31d4e557a
|
||||
#source=(git+https://sourceware.org/git/glibc.git#commit=$_commit
|
||||
|
@ -23,7 +22,11 @@ source=(https://ftp.gnu.org/gnu/glibc/glibc-$pkgver.tar.xz{,.sig}
|
|||
locale-gen
|
||||
lib32-glibc.conf
|
||||
sdt.h sdt-config.h
|
||||
disable-clone3.diff)
|
||||
disable-clone3.diff
|
||||
0001-localedef-Update-LC_MONETARY-handling-Bug-28845.patch
|
||||
0001-localedata-Do-not-generate-output-if-warnings-were-p.patch
|
||||
0001-elf-Fix-DFS-sorting-algorithm-for-LD_TRACE_LOADED_OB.patch
|
||||
)
|
||||
validpgpkeys=(7273542B39962DF7B299931416792B4EA25340F8 # Carlos O'Donell
|
||||
BC7C7372637EC10C57D7AA6579C43DFBF1CF2187) # Siddhesh Poyarekar
|
||||
b2sums=('623c728884f070cd87ffeb9203f74206197c52405ac9bc44f3dd519a3468b8e8ae2536c883e5d17d94417dbd1e91775de2e674314e4ff7424f9720026d6b7063'
|
||||
|
@ -33,7 +36,10 @@ b2sums=('623c728884f070cd87ffeb9203f74206197c52405ac9bc44f3dd519a3468b8e8ae2536c
|
|||
'7c265e6d36a5c0dff127093580827d15519b6c7205c2e1300e82f0fb5b9dd00b6accb40c56581f18179c4fbbc95bd2bf1b900ace867a83accde0969f7b609f8a'
|
||||
'a6a5e2f2a627cc0d13d11a82458cfd0aa75ec1c5a3c7647e5d5a3bb1d4c0770887a3909bfda1236803d5bc9801bfd6251e13483e9adf797e4725332cd0d91a0e'
|
||||
'214e995e84b342fe7b2a7704ce011b7c7fc74c2971f98eeb3b4e677b99c860addc0a7d91b8dc0f0b8be7537782ee331999e02ba48f4ccc1c331b60f27d715678'
|
||||
'edef5f724f68ea95c6b0127bd13a10245f548afc381b2d0a6d1d06ee9f87b7dd89c6becd35d5ae722bf838594eb870a747f67f07f46e7d63f8c8d1a43cce4a52')
|
||||
'edef5f724f68ea95c6b0127bd13a10245f548afc381b2d0a6d1d06ee9f87b7dd89c6becd35d5ae722bf838594eb870a747f67f07f46e7d63f8c8d1a43cce4a52'
|
||||
'3c4de02d6308a4d39693e6effa08894ae096397347e439b93b0b5328aba41a373f7f2eeb88c109970f69cca65aaa74ba14e384d6d033f6a913438f4f920854a6'
|
||||
'b6014af23688ea971d7af38d58829c8016a0af63770b7f5e8bc986c13ea2cafefe0935ff483b1b37c87ebe3e652b6e0c48ab43dd8ae752d0ed7fecc3751432f4'
|
||||
'd77c8f9c807f25aeeafa302858116f4adf903f46fe1db2035dbe998105d7206bbc6d3055119831ff7744eb721b05795866c80d99671c3a8f33d5386d80978248')
|
||||
|
||||
prepare() {
|
||||
mkdir -p glibc-build lib32-glibc-build
|
||||
|
@ -47,6 +53,14 @@ prepare() {
|
|||
# Patch src: https://patchwork.ozlabs.org/project/glibc/patch/87eebkf8ph.fsf@oldenburg.str.redhat.com/
|
||||
patch -Np1 -i "${srcdir}"/disable-clone3.diff
|
||||
|
||||
# Fix C.UTF-8 generation errors
|
||||
# https://bugs.archlinux.org/task/73797
|
||||
patch -Np1 -i "${srcdir}"/0001-localedef-Update-LC_MONETARY-handling-Bug-28845.patch
|
||||
patch -Np1 -i "${srcdir}"/0001-localedata-Do-not-generate-output-if-warnings-were-p.patch
|
||||
|
||||
# Fix Sefault introduced by new DFS algorithm
|
||||
# https://bugs.archlinux.org/task/73938
|
||||
patch -Np1 -i "${srcdir}"/0001-elf-Fix-DFS-sorting-algorithm-for-LD_TRACE_LOADED_OB.patch
|
||||
}
|
||||
|
||||
build() {
|
||||
|
@ -54,15 +68,11 @@ build() {
|
|||
--prefix=/usr
|
||||
--with-headers=/usr/include
|
||||
--with-bugurl=https://bugs.archlinux.org/
|
||||
--enable-add-ons
|
||||
--enable-bind-now
|
||||
--enable-cet
|
||||
--enable-kernel=4.4
|
||||
--enable-lock-elision
|
||||
--enable-multi-arch
|
||||
--enable-stack-protector=strong
|
||||
--enable-stackguard-randomization
|
||||
--enable-static-pie
|
||||
--enable-systemtap
|
||||
--disable-profile
|
||||
--disable-crypt
|
||||
|
@ -95,7 +105,7 @@ build() {
|
|||
echo "CFLAGS += -Wp,-D_FORTIFY_SOURCE=2" >> configparms
|
||||
make -O
|
||||
|
||||
# build info pages manually for reprducibility
|
||||
# build info pages manually for reproducibility
|
||||
make info
|
||||
|
||||
cd "$srcdir/lib32-glibc-build"
|
||||
|
@ -144,7 +154,7 @@ check() {
|
|||
|
||||
# The following tests fail due to restrictions in the Arch build system
|
||||
# The correct fix is to add the following to the systemd-nspawn call:
|
||||
# --capability=CAP_IPC_LOCK --system-call-filter="@clock @pkey"
|
||||
# --system-call-filter="@clock @memlock @pkey"
|
||||
skip_test test-errno-linux sysdeps/unix/sysv/linux/Makefile
|
||||
skip_test tst-ntp_gettime sysdeps/unix/sysv/linux/Makefile
|
||||
skip_test tst-ntp_gettimex sysdeps/unix/sysv/linux/Makefile
|
||||
|
@ -159,17 +169,15 @@ check() {
|
|||
package_glibc() {
|
||||
pkgdesc='GNU C Library'
|
||||
depends=('linux-api-headers>=4.10' tzdata filesystem)
|
||||
optdepends=('gd: for memusagestat')
|
||||
optdepends=('gd: for memusagestat'
|
||||
'perl: for mtrace')
|
||||
install=glibc.install
|
||||
backup=(etc/gai.conf
|
||||
etc/locale.gen
|
||||
etc/nscd.conf)
|
||||
|
||||
install -dm755 "$pkgdir/etc"
|
||||
touch "$pkgdir/etc/ld.so.conf"
|
||||
|
||||
make -C glibc-build install_root="$pkgdir" install
|
||||
rm -f "$pkgdir"/etc/ld.so.{cache,conf}
|
||||
rm -f "$pkgdir"/etc/ld.so.cache
|
||||
|
||||
# Shipped in tzdata
|
||||
rm -f "$pkgdir"/usr/bin/{tzselect,zdump,zic}
|
||||
|
@ -197,20 +205,17 @@ package_glibc() {
|
|||
|
||||
# Do not strip these for gdb and valgrind functionality, but strip the rest
|
||||
find "$pkgdir"/usr/lib \
|
||||
-not -name 'ld-*.so' \
|
||||
-not -name 'libc-*.so' \
|
||||
-not -name 'libpthread-*.so' \
|
||||
-not -name 'libthread_db-*.so' \
|
||||
-name '*-*.so' -type f -exec strip $STRIP_SHARED {} + 2> /dev/null || true
|
||||
-not -name 'ld-*.so*' \
|
||||
-not -name 'libc.so*' \
|
||||
-not -name 'libpthread.so*' \
|
||||
-not -name 'libthread_db.so*' \
|
||||
-name '*.so*' -type f -exec strip $STRIP_SHARED {} + 2> /dev/null || true
|
||||
fi
|
||||
|
||||
# Provide tracing probes to libstdc++ for exceptions, possibly for other
|
||||
# libraries too. Useful for gdb's catch command.
|
||||
install -Dm644 "$srcdir/sdt.h" "$pkgdir/usr/include/sys/sdt.h"
|
||||
install -Dm644 "$srcdir/sdt-config.h" "$pkgdir/usr/include/sys/sdt-config.h"
|
||||
|
||||
# Provided by libxcrypt; keep the old shared library for backwards compatibility
|
||||
rm -f "$pkgdir"/usr/include/crypt.h "$pkgdir"/usr/lib/libcrypt.{a,so}
|
||||
}
|
||||
|
||||
package_lib32-glibc() {
|
||||
|
@ -239,13 +244,10 @@ package_lib32-glibc() {
|
|||
if check_option 'debug' n; then
|
||||
find "$pkgdir"/usr/lib32 -name '*.a' -type f -exec strip $STRIP_STATIC {} + 2> /dev/null || true
|
||||
find "$pkgdir"/usr/lib32 \
|
||||
-not -name 'ld-*.so' \
|
||||
-not -name 'libc-*.so' \
|
||||
-not -name 'libpthread-*.so' \
|
||||
-not -name 'libthread_db-*.so' \
|
||||
-name '*-*.so' -type f -exec strip $STRIP_SHARED {} + 2> /dev/null || true
|
||||
-not -name 'ld-*.so*' \
|
||||
-not -name 'libc.so*' \
|
||||
-not -name 'libpthread.so*' \
|
||||
-not -name 'libthread_db.so*' \
|
||||
-name '*.so*' -type f -exec strip $STRIP_SHARED {} + 2> /dev/null || true
|
||||
fi
|
||||
|
||||
# Provided by lib32-libxcrypt; keep the old shared library for backwards compatibility
|
||||
rm -f "$pkgdir"/usr/lib32/libcrypt.{a,so}
|
||||
}
|
||||
|
|
|
@ -3,3 +3,4 @@ gd
|
|||
lib32-gcc-libs
|
||||
python
|
||||
bison
|
||||
|
||||
|
|
9
glibc/test.fail.stuck
Normal file
9
glibc/test.fail.stuck
Normal file
|
@ -0,0 +1,9 @@
|
|||
FAIL: support/tst-support-process_state
|
||||
UNSUPPORTED: time/tst-clock_settime
|
||||
UNSUPPORTED: time/tst-settimeofday
|
||||
Summary of test results:
|
||||
9 FAIL
|
||||
4931 PASS
|
||||
183 UNSUPPORTED
|
||||
12 XFAIL
|
||||
10 XPASS
|
|
@ -1,8 +1,5 @@
|
|||
With the checks uncommented it takes about 4 4.5 hours so be prepared.
|
||||
As far as I know it will not make much of a difference. The reason Arch produces all those
|
||||
patches is to minimize fails, but a month or two from now (Feb 11th 2022) if you rebuilt it you will get more failed tests ... it is the nature of the beast. The previous version couldn't built at all for the past 4 months that several of us tried in verious machines and environments.
|
||||
|
||||
real 9m59.732s
|
||||
user 26m46.250s
|
||||
sys 4m8.353s
|
||||
|
||||
real 13m22.248s
|
||||
user 32m45.590s
|
||||
sys 4m53.424s
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
pkgname=gnupg
|
||||
pkgver=2.2.35
|
||||
pkgrel=01
|
||||
pkgrel=02
|
||||
pkgdesc='Complete and free implementation of the OpenPGP standard w/o systemd'
|
||||
url='https://www.gnupg.org/'
|
||||
arch=('x86_64')
|
||||
|
@ -23,8 +23,9 @@ optdepends=('libldap: gpg2keys_ldap'
|
|||
|
||||
source=("https://gnupg.org/ftp/gcrypt/${pkgname}/${pkgname}-${pkgver}.tar.bz2"{,.sig}
|
||||
'gnupg-2.2.35-scd-dont-inhibit-ssh-authentication.patch::https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=patch;h=e8fb8e2b3e66d5ea8a3dc90afdc14611abf2c3da'
|
||||
'drop-import-clean.patch'
|
||||
'avoid-beta-warning.patch')
|
||||
'gnupg-2.2.35-revert_14de7b1e5904e78fcbe413a82d0f19b750bd8830.patch::https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=patch;h=3192939a10df17cb9666773ed8888627f6d16b8d'
|
||||
'drop-import-clean.patch'
|
||||
'avoid-beta-warning.patch')
|
||||
|
||||
# install=install ### this was for linking systemd sockets and such crap !!
|
||||
|
||||
|
@ -36,6 +37,9 @@ prepare() {
|
|||
# https://bugs.archlinux.org/task/74423
|
||||
# https://dev.gnupg.org/T5935
|
||||
patch -p1 -i ../gnupg-2.2.35-scd-dont-inhibit-ssh-authentication.patch
|
||||
# fix issues with signatures in an automated environment (e.g. archlinux-keyring):
|
||||
# https://dev.gnupg.org/T5953
|
||||
patch -Np1 -i ../gnupg-2.2.35-revert_14de7b1e5904e78fcbe413a82d0f19b750bd8830.patch
|
||||
|
||||
# improve reproducibility
|
||||
rm doc/gnupg.info*
|
||||
|
@ -66,21 +70,24 @@ package() {
|
|||
make DESTDIR="${pkgdir}" install
|
||||
ln -s gpg "${pkgdir}"/usr/bin/gpg2
|
||||
ln -s gpgv "${pkgdir}"/usr/bin/gpgv2
|
||||
install -Dm 644 COPYING.{CC0,other} -t "${pkgdir}/usr/share/licenses/$pkgname/"
|
||||
}
|
||||
|
||||
#---- license gpg-key sha256sums ----
|
||||
|
||||
license=('GPL')
|
||||
#license=('GPL')
|
||||
license=(BSD custom CC0 GPL2 GPL3 LGPL3 LGPL2.1 MIT) # 2.35.1-02
|
||||
|
||||
validpgpkeys=(
|
||||
'D8692123C4065DEA5E0F3AB5249B39D24F25E3B6' # Werner Koch (dist sig)
|
||||
'031EC2536E580D8EA286A9F22071B08A33BD3F06' # NIIBE Yutaka (GnuPG Release Key) <gniibe@fsij.org>
|
||||
'5B80C5754298F0CB55D8ED6ABCEF7E294B092E28' # Andre Heinecke (Release Signing Key)
|
||||
'6DAA6E64A76D2840571B4902528897B826403ADA' # Werner Koch (dist signing 2020)
|
||||
)
|
||||
'AC8E115BF73E2D8D47FA9908E98E9B2D19C6C8BD') # Niibe Yutaka (GnuPG Release Key)
|
||||
|
||||
sha256sums=(340bc255938971e6e729b3d9956fa2ef4db8215d77693bf300df2bb302498690 # gnupg-2.2.35.tar.bz2
|
||||
f92720c1f80eaf82d1581b857358488ebe3a836eadc4d2e1f4b7b15ddc987e65 # gnupg-2.2.35.tar.bz2.sig
|
||||
e3c2b9e2ea60eee676f3c51155931d8057119b369f6b587fbc368a8bd2bd8b41 # gnupg-2.2.35.tar.bz2.sig
|
||||
1b7611a24e813429e56a7d0855c59d33109cb1b59b3586a3dd35935909a493e5 # gnupg-2.2.35-scd-dont-inhibit-ssh-authentication.patch
|
||||
00aa4897f11900f67e161f538c5322f2f9e65dc5675a760fd298d43d33a259d7 # gnupg-2.2.35-revert_14de7b1e5904e78fcbe413a82d0f19b750bd8830.patch::https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=patch;h=3192939a10df17cb9666773ed8888627f6d16b8d
|
||||
02d375f0045f56f7dd82bacdb5ce559afd52ded8b75f6b2673c39ec666e81abc # drop-import-clean.patch
|
||||
22fdf9490fad477f225e731c417867d9e7571ac654944e8be63a1fbaccd5c62d) # avoid-beta-warning.patch
|
||||
|
|
|
@ -7,10 +7,10 @@
|
|||
|
||||
pkgname=gnupg
|
||||
pkgver=2.2.35
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc='Complete and free implementation of the OpenPGP standard'
|
||||
url='https://www.gnupg.org/'
|
||||
license=('GPL')
|
||||
license=(BSD custom CC0 GPL2 GPL3 LGPL3 LGPL2.1 MIT)
|
||||
arch=('x86_64')
|
||||
checkdepends=('openssh')
|
||||
makedepends=('libldap' 'libusb-compat' 'pcsclite')
|
||||
|
@ -26,14 +26,17 @@ validpgpkeys=(
|
|||
'031EC2536E580D8EA286A9F22071B08A33BD3F06' # NIIBE Yutaka (GnuPG Release Key) <gniibe@fsij.org>
|
||||
'5B80C5754298F0CB55D8ED6ABCEF7E294B092E28' # Andre Heinecke (Release Signing Key)
|
||||
'6DAA6E64A76D2840571B4902528897B826403ADA' # Werner Koch (dist signing 2020)
|
||||
'AC8E115BF73E2D8D47FA9908E98E9B2D19C6C8BD' # Niibe Yutaka (GnuPG Release Key)
|
||||
)
|
||||
source=("https://gnupg.org/ftp/gcrypt/${pkgname}/${pkgname}-${pkgver}.tar.bz2"{,.sig}
|
||||
'gnupg-2.2.35-scd-dont-inhibit-ssh-authentication.patch::https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=patch;h=e8fb8e2b3e66d5ea8a3dc90afdc14611abf2c3da'
|
||||
'drop-import-clean.patch'
|
||||
'gnupg-2.2.35-revert_14de7b1e5904e78fcbe413a82d0f19b750bd8830.patch::https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gnupg.git;a=patch;h=3192939a10df17cb9666773ed8888627f6d16b8d'
|
||||
'drop-import-clean.patch'
|
||||
'avoid-beta-warning.patch')
|
||||
sha256sums=('340bc255938971e6e729b3d9956fa2ef4db8215d77693bf300df2bb302498690'
|
||||
'SKIP'
|
||||
'1b7611a24e813429e56a7d0855c59d33109cb1b59b3586a3dd35935909a493e5'
|
||||
'00aa4897f11900f67e161f538c5322f2f9e65dc5675a760fd298d43d33a259d7'
|
||||
'02d375f0045f56f7dd82bacdb5ce559afd52ded8b75f6b2673c39ec666e81abc'
|
||||
'22fdf9490fad477f225e731c417867d9e7571ac654944e8be63a1fbaccd5c62d')
|
||||
|
||||
|
@ -47,6 +50,9 @@ prepare() {
|
|||
# https://bugs.archlinux.org/task/74423
|
||||
# https://dev.gnupg.org/T5935
|
||||
patch -p1 -i ../gnupg-2.2.35-scd-dont-inhibit-ssh-authentication.patch
|
||||
# fix issues with signatures in an automated environment (e.g. archlinux-keyring):
|
||||
# https://dev.gnupg.org/T5953
|
||||
patch -Np1 -i ../gnupg-2.2.35-revert_14de7b1e5904e78fcbe413a82d0f19b750bd8830.patch
|
||||
|
||||
# improve reproducibility
|
||||
rm doc/gnupg.info*
|
||||
|
@ -78,6 +84,7 @@ package() {
|
|||
ln -s gpgv "${pkgdir}"/usr/bin/gpgv2
|
||||
|
||||
install -Dm 644 doc/examples/systemd-user/*.* -t "${pkgdir}/usr/lib/systemd/user"
|
||||
install -Dm 644 COPYING.{CC0,other} -t "${pkgdir}/usr/share/licenses/$pkgname/"
|
||||
}
|
||||
|
||||
# vim: ts=2 sw=2 noet:
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
gpg -v --recv-key 528897B826403ADA
|
||||
gpg --recv-keys E98E9B2D19C6C8BD
|
||||
|
|
|
@ -1,17 +1,14 @@
|
|||
#!/usr/bin/bash
|
||||
# JOBoRun : Jwm OpenBox Obarun RUNit
|
||||
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
||||
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
||||
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
|
||||
# Website : https://pozol.eu
|
||||
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
||||
|
||||
#---- license gpg-key sha256sums ----
|
||||
|
||||
sha256sums=(a)
|
||||
|
||||
pkgname=libtool
|
||||
pkgver=2.4.7
|
||||
pkgrel=01
|
||||
_gccver=11.2.0
|
||||
pkgrel=02
|
||||
_gccver=12.1.0
|
||||
pkgdesc='A generic library support script'
|
||||
arch=(x86_64)
|
||||
url='https://www.gnu.org/software/libtool'
|
||||
|
@ -78,3 +75,4 @@ sha256sums=(SKIP
|
|||
SKIP
|
||||
693aabb24a6e7ce21fe0b5d14394e19edcb8476663b5afa4463f9fa0df24d946 # no_hostname.patch
|
||||
b6dce6681f223b18a90614edbcdeb00f228abd1216e22c4bd07285321cd2ceb7) # disable-lto-link-order2.patch
|
||||
|
||||
|
|
|
@ -8,8 +8,8 @@
|
|||
|
||||
pkgname=libtool
|
||||
pkgver=2.4.7
|
||||
pkgrel=1
|
||||
_gccver=11.2.0
|
||||
pkgrel=2
|
||||
_gccver=12.1.0
|
||||
pkgdesc='A generic library support script'
|
||||
arch=(x86_64)
|
||||
url='https://www.gnu.org/software/libtool'
|
||||
|
|
|
@ -3,3 +3,4 @@ help2man
|
|||
gcc-fortran
|
||||
automake
|
||||
autoconf
|
||||
|
||||
|
|
|
@ -1,13 +1,15 @@
|
|||
#!/usr/bin/bash
|
||||
# JOBoRun : Jwm OpenBox Obarun RUNit
|
||||
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
||||
# Maintainer : Joe Bo Run <joborun@disroot.org>
|
||||
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
|
||||
# Website : https://pozol.eu
|
||||
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
||||
|
||||
# toolchain build order: linux-api-headers->glibc->binutils->gcc->binutils->glibc
|
||||
|
||||
pkgname=linux-api-headers
|
||||
pkgver=5.16.8
|
||||
pkgrel=01
|
||||
pkgver=5.17.5
|
||||
pkgrel=02
|
||||
pkgdesc='Kernel headers sanitized for use in userspace'
|
||||
arch=(any)
|
||||
url='https://www.gnu.org/software/libc'
|
||||
|
@ -18,7 +20,7 @@ build() {
|
|||
cd linux-$pkgver
|
||||
|
||||
make mrproper
|
||||
make headers_check
|
||||
# make headers_check
|
||||
}
|
||||
|
||||
package() {
|
||||
|
@ -36,5 +38,5 @@ license=(GPL2)
|
|||
validpgpkeys=('ABAF11C65A2970B130ABE3C479BE3E4300411886' # Linus Torvalds
|
||||
'647F28654894E3BD457199BE38DBBDC86092693E') # Greg Kroah-Hartman
|
||||
|
||||
sha256sums=(52aa5f05ee8addcc1ec0020f50e5f88ea1a308c2afac4a2305e1e4cf42580316 # linux-5.16.8.tar.xz
|
||||
f28f6b6ac9a4e8be4e2e801b881bf8cbcd64446c5aa18346006274549d27bf2f) # linux-5.16.8.tar.sign
|
||||
sha256sums=(9bbcd185b94436f9c8fe977fa0e862f60d34003562327fcebb27c9fa342fe987 # linux-5.17.5.tar.xz
|
||||
56fc82e97b63cca0a4ea8b916629900fc0ec72f25a89dcedc331f0d1194dd1fe) # linux-5.17.5.tar.sign
|
||||
|
|
|
@ -6,15 +6,15 @@
|
|||
# toolchain build order: linux-api-headers->glibc->binutils->gcc->glibc->binutils->gcc
|
||||
|
||||
pkgname=linux-api-headers
|
||||
pkgver=5.16.8
|
||||
pkgrel=1
|
||||
pkgver=5.17.5
|
||||
pkgrel=2
|
||||
pkgdesc='Kernel headers sanitized for use in userspace'
|
||||
arch=(any)
|
||||
url='https://www.gnu.org/software/libc'
|
||||
license=(GPL2)
|
||||
makedepends=(rsync)
|
||||
source=(https://www.kernel.org/pub/linux/kernel/v${pkgver:0:1}.x/linux-${pkgver}.tar.{xz,sign})
|
||||
sha256sums=('52aa5f05ee8addcc1ec0020f50e5f88ea1a308c2afac4a2305e1e4cf42580316'
|
||||
sha256sums=('9bbcd185b94436f9c8fe977fa0e862f60d34003562327fcebb27c9fa342fe987'
|
||||
'SKIP')
|
||||
validpgpkeys=('ABAF11C65A2970B130ABE3C479BE3E4300411886' # Linus Torvalds
|
||||
'647F28654894E3BD457199BE38DBBDC86092693E') # Greg Kroah-Hartman
|
||||
|
@ -23,7 +23,6 @@ build() {
|
|||
cd linux-$pkgver
|
||||
|
||||
make mrproper
|
||||
make headers_check
|
||||
}
|
||||
|
||||
package() {
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
#-----------------------------------------| DESCRIPTION |---------------------------------------
|
||||
|
||||
pkgname=psmisc
|
||||
pkgver=23.5rc1
|
||||
pkgrel=02
|
||||
pkgver=23.5
|
||||
pkgrel=01
|
||||
pkgdesc='Miscellaneous procfs tools'
|
||||
arch=('x86_64')
|
||||
url='https://gitlab.com/psmisc/psmisc'
|
||||
|
@ -33,6 +33,4 @@ package() {
|
|||
|
||||
license=('GPL')
|
||||
|
||||
sha256sums=(a1213aa338ca1406715aaaa9e8a653dfe2da5acc54e291c876b42247fe1d85ff) # psmisc-23.5rc1.tar.xz
|
||||
#7f0cceeace2050c525f3ebb35f3ba01d618b8d690620580bdb8cd8269a0c1679) # psmisc-23.4.tar.xz
|
||||
|
||||
sha256sums=(dc37ecc2f7e4a90a94956accc6e1c77adb71316b7c9cbd39b26738db0c3ae58b) # psmisc-23.5.tar.xz
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
# Maintainer: Eric Bélanger <eric@archlinux.org>
|
||||
|
||||
pkgname=psmisc
|
||||
pkgver=23.5rc1
|
||||
pkgrel=2
|
||||
pkgver=23.5
|
||||
pkgrel=1
|
||||
pkgdesc='Miscellaneous procfs tools'
|
||||
arch=('x86_64')
|
||||
url='https://gitlab.com/psmisc/psmisc'
|
||||
|
@ -10,7 +10,7 @@ license=('GPL')
|
|||
depends=('ncurses')
|
||||
options=('debug')
|
||||
source=("https://downloads.sourceforge.net/psmisc/${pkgname}-${pkgver}.tar.xz")
|
||||
sha256sums=('a1213aa338ca1406715aaaa9e8a653dfe2da5acc54e291c876b42247fe1d85ff')
|
||||
sha256sums=('dc37ecc2f7e4a90a94956accc6e1c77adb71316b7c9cbd39b26738db0c3ae58b')
|
||||
|
||||
build() {
|
||||
cd ${pkgname}-${pkgver}
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
|
||||
|
||||
|
||||
|
|
|
@ -7,10 +7,10 @@
|
|||
|
||||
pkgbase="sqlite"
|
||||
pkgname=('sqlite' 'sqlite-tcl' 'sqlite-analyzer' 'lemon' 'sqlite-doc')
|
||||
_srcver=3380400
|
||||
_srcver=3380500
|
||||
_docver=${_srcver}
|
||||
#_docver=3330000
|
||||
pkgver=3.38.4
|
||||
pkgver=3.38.5
|
||||
pkgrel=01
|
||||
pkgdesc="A C library that implements an SQL database engine"
|
||||
arch=('x86_64')
|
||||
|
@ -151,8 +151,8 @@ package_sqlite-doc() {
|
|||
|
||||
license=('custom:Public Domain')
|
||||
|
||||
sha256sums=(ca85ecd10a3970a5f91c032082243081a0aaddc52e6a7f3214f481c69e3039d0 #
|
||||
f4fcb49c63171d0d4076ca97a70baaab59de12031d7c69133dc343354cfd223e #
|
||||
sha256sums=(6503bb59e39ec8663083696940ec818cd5555196e6ca543d4029440cca7b00d9 # sqlite-src-3380500.zip
|
||||
0a3e5ededed0fea73b7b7150ded8cf3ec5ab06b32363284d6036b2a0c3a170c2 # sqlite-doc-3380500.zip
|
||||
55746d93b0df4b349c4aa4f09535746dac3530f9fd6de241c9f38e2c92e8ee97 # sqlite-lemon-system-template.patch
|
||||
4e57d9ac979f1c9872e69799c2597eeef4c6ce7224f3ede0bf9dc8d217b1e65d) # license.txt
|
||||
|
||||
|
|
|
@ -3,10 +3,10 @@
|
|||
|
||||
pkgbase="sqlite"
|
||||
pkgname=('sqlite' 'sqlite-tcl' 'sqlite-analyzer' 'lemon' 'sqlite-doc')
|
||||
_srcver=3380400
|
||||
_srcver=3380500
|
||||
_docver=${_srcver}
|
||||
#_docver=3330000
|
||||
pkgver=3.38.4
|
||||
pkgver=3.38.5
|
||||
pkgrel=1
|
||||
pkgdesc="A C library that implements an SQL database engine"
|
||||
arch=('x86_64')
|
||||
|
@ -19,8 +19,8 @@ source=(https://www.sqlite.org/2022/sqlite-src-${_srcver}.zip
|
|||
license.txt)
|
||||
options=('!emptydirs' '!makeflags') # json extensions breaks parallel build
|
||||
# upstream now switched to sha3sums - currently not suppoerted by makepkg
|
||||
sha256sums=('ca85ecd10a3970a5f91c032082243081a0aaddc52e6a7f3214f481c69e3039d0'
|
||||
'f4fcb49c63171d0d4076ca97a70baaab59de12031d7c69133dc343354cfd223e'
|
||||
sha256sums=('6503bb59e39ec8663083696940ec818cd5555196e6ca543d4029440cca7b00d9'
|
||||
'0a3e5ededed0fea73b7b7150ded8cf3ec5ab06b32363284d6036b2a0c3a170c2'
|
||||
'55746d93b0df4b349c4aa4f09535746dac3530f9fd6de241c9f38e2c92e8ee97'
|
||||
'4e57d9ac979f1c9872e69799c2597eeef4c6ce7224f3ede0bf9dc8d217b1e65d')
|
||||
|
||||
|
|
Loading…
Reference in a new issue