Frederik Schwan pushed to branch main at Arch Linux / Packaging / Packages / gcc


Commits:
4eb7cc3c by Toolybird at 2026-07-15T12:52:00+10:00
Fix regression related to libstdc++.modules.json

A regression was introduced in aba03dc9 when libstdc++.modules.json was
moved incorrectly. This metadata file needs to stay in /usr/lib and
/usr/lib32 for the relative paths contained within to resolve properly.
Tweak the relevant mv commands to omit this file.

- - - - -
5f8bf61d by Toolybird at 2026-07-15T13:33:11+10:00
Fix regression related to python byte-compiling

A regression was introduced in 6c705e9f whereby the changed path to the
python libraries was missed. Replicate the same change as per $_libdir.

- - - - -
92ce5c8a by Toolybird at 2026-07-15T13:36:02+10:00
Add missing libxml2 dep to libgcobol

This eliminates a namcap error.

- - - - -


1 changed file:

- PKGBUILD


Changes:

=====================================
PKGBUILD
=====================================
@@ -404,14 +404,14 @@ package_gcc() {
   mv -v "$pkgdir"/usr/lib32/*_preinit.o "$pkgdir"/$_libdir/32/
   mv -v "$pkgdir"/usr/lib/*.spec "$pkgdir"/$_libdir/
   mv -v "$pkgdir"/usr/lib32/*.spec "$pkgdir"/$_libdir/32/
-  mv -v "$pkgdir"/usr/lib/libstdc++* "$pkgdir"/$_libdir/
-  mv -v "$pkgdir"/usr/lib32/libstdc++* "$pkgdir"/$_libdir/32/
+  mv -v "$pkgdir"/usr/lib/libstdc++{,exp,fs}.a "$pkgdir"/$_libdir/
+  mv -v "$pkgdir"/usr/lib32/libstdc++{,exp,fs}.a "$pkgdir"/$_libdir/32/
   mv -v "$pkgdir"/usr/lib/libsupc++.a "$pkgdir"/$_libdir/
   mv -v "$pkgdir"/usr/lib32/libsupc++.a "$pkgdir"/$_libdir/32/
 
   # byte-compile python libraries
-  python -m compileall "$pkgdir"/usr/share/gcc-${pkgver%%+*}/
-  python -O -m compileall "$pkgdir"/usr/share/gcc-${pkgver%%+*}/
+  python -m compileall "$pkgdir"/usr/share/gcc-${pkgver%%.*}/
+  python -O -m compileall "$pkgdir"/usr/share/gcc-${pkgver%%.*}/
 
   _install_runtime_library_exception
 }
@@ -740,6 +740,7 @@ package_libgcobol() {
     'glibc>=2.27'
     libgcc
     libstdc++
+    libxml2
   )
   provides=(
     libgcobol.so



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/gcc/-/compare/9fa04e0aff3bc4b9a55537bda9263308694db0fd...92ce5c8a6e171656120ec5d23aecfad068690510

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/gcc/-/compare/9fa04e0aff3bc4b9a55537bda9263308694db0fd...92ce5c8a6e171656120ec5d23aecfad068690510
You're receiving this email because of your account on gitlab.archlinux.org. 
Manage all notifications: https://gitlab.archlinux.org/-/profile/notifications 
| Help: https://gitlab.archlinux.org/help


Reply via email to