Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package mingw32-gcc for openSUSE:Factory 
checked in at 2022-08-27 11:49:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mingw32-gcc (Old)
 and      /work/SRC/openSUSE:Factory/.mingw32-gcc.new.2083 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mingw32-gcc"

Sat Aug 27 11:49:57 2022 rev:9 rq:999459 version:12.1.0

Changes:
--------
mingw32-cross-gcc.changes: same change
--- /work/SRC/openSUSE:Factory/mingw32-gcc/mingw32-gcc.changes  2022-07-08 
14:01:41.446432487 +0200
+++ /work/SRC/openSUSE:Factory/.mingw32-gcc.new.2083/mingw32-gcc.changes        
2022-08-27 11:50:00.569832686 +0200
@@ -1,0 +2,12 @@
+Thu Aug 26 12:33:22 UTC 2022 - Ralf Habacker <ralf.habac...@freenet.de>
+
+- Add package mingw32-libstdc++-gdb-printer which provides pretty
+  printer for gdb that can be added to debug packages from installer
+  and portable packages
+  To use this pretty printer with gdb, the automatic load path
+  'safe path' must be turned off either with the gdb command 
+  'set auto-load safe path /' or by adding the command option
+  '-ex "set auto-load safe-path /"'.
+- Add gcc-12.1.0-fix-install-gdb-support-files.patch
+
+-------------------------------------------------------------------

New:
----
  gcc-12.1.0-fix-install-gdb-support-files.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
mingw32-cross-gcc.spec: same change
++++++ mingw32-gcc.spec ++++++
--- /var/tmp/diff_new_pack.umrb4E/_old  2022-08-27 11:50:01.417834508 +0200
+++ /var/tmp/diff_new_pack.umrb4E/_new  2022-08-27 11:50:01.421834516 +0200
@@ -28,6 +28,7 @@
 Source0:        ftp://ftp.gnu.org/gnu/gcc/gcc-%{version}/gcc-%{version}.tar.xz
 Source100:      %{name}-rpmlintrc
 Patch1:         gcc-make-xmmintrin-header-cplusplus-compatible.patch
+Patch2:         gcc-12.1.0-fix-install-gdb-support-files.patch
 BuildRequires:  gcc-c++
 BuildRequires:  gmp-devel
 BuildRequires:  mingw32-cross-binutils
@@ -133,6 +134,7 @@
 %package c++
 Summary:        MinGW Windows compiler for C++
 Group:          Development/Languages/C and C++
+Requires:       mingw32-libstdc++-gdb-printer = %{version}-%{release}
 
 %description c++
 MinGW Windows compiler for C++
@@ -146,6 +148,13 @@
 %description -n mingw32-libstdc++6
 MinGW Windows compiler for C++ shared libraries
 
+%package -n mingw32-libstdc++-gdb-printer
+Summary:        MinGW Windows compiler for C++ gdb pretty printer for libstdc++
+Group:          System/Libraries
+
+%description -n mingw32-libstdc++-gdb-printer
+MinGW Windows compiler for C++ gdb pretty printer for libstdc++
+
 %package fortran
 Summary:        MinGW Windows compiler for Fortran
 Group:          Development/Languages/Fortran
@@ -200,6 +209,7 @@
 %setup -q -c
 pushd gcc-%{version}
 %patch1
+%patch2 -p1
 popd
 
 %build
@@ -266,8 +276,6 @@
 
 rm -f %{buildroot}%{_mingw32_infodir}/dir
 
-find %{buildroot} -name \*.py -exec rm {} +
-
 mv %{buildroot}%{_mingw32_libdir}/gcc/%{_mingw32_target}/lib/libgcc_s.a \
    %{buildroot}%{_mingw32_libdir}/gcc/%{_mingw32_target}/%{version}/
 
@@ -375,6 +383,10 @@
 %files -n mingw32-libstdc++6
 %{_mingw32_bindir}/libstdc++-6.dll
 
+%files -n mingw32-libstdc++-gdb-printer
+%{_mingw32_bindir}/*-gdb.py
+%{_mingw32_datadir}/gcc-%{version}/python
+
 %files fortran
 %{_mingw32_bindir}/gfortran.exe
 %exclude %{_mingw32_bindir}/%{_mingw32_target}-gfortran.exe

++++++ _constraints ++++++
--- /var/tmp/diff_new_pack.umrb4E/_old  2022-08-27 11:50:01.453834585 +0200
+++ /var/tmp/diff_new_pack.umrb4E/_new  2022-08-27 11:50:01.457834593 +0200
@@ -1,7 +1,7 @@
 <constraints>
        <hardware>
                <disk>
-                       <size unit="G">11</size>
+                       <size unit="G">14</size>
                </disk>
        </hardware>
 </constraints>

++++++ gcc-12.1.0-fix-install-gdb-support-files.patch ++++++
diff -ubBr gcc-12.1.0.orig/libstdc++-v3/python/hook.in 
gcc-12.1.0/libstdc++-v3/python/hook.in
--- gcc-12.1.0.orig/libstdc++-v3/python/hook.in 2022-05-06 09:31:00.000000000 
+0200
+++ gcc-12.1.0/libstdc++-v3/python/hook.in      2022-08-26 11:44:28.008527478 
+0200
 # This file might be loaded when there is no current objfile.  This
 # can happen if the user loads it manually.  In this case we don't
diff -ubBr gcc-12.1.0.orig/libstdc++-v3/python/Makefile.am 
gcc-12.1.0/libstdc++-v3/python/Makefile.am
--- gcc-12.1.0.orig/libstdc++-v3/python/Makefile.am     2022-05-06 
09:31:00.000000000 +0200
+++ gcc-12.1.0/libstdc++-v3/python/Makefile.am  2022-08-26 11:44:38.108503139 
+0200
@@ -45,16 +45,20 @@
 
 gdb.py: hook.in Makefile
        sed -e 's,@pythondir@,$(pythondir),' \
-           -e 's,@toolexeclibdir@,$(toolexeclibdir),' < $(srcdir)/hook.in > $@
+           -e 's,@toolexeclibdir@,$(toolexeclibdir)/../../..,' < 
$(srcdir)/hook.in > $@
 
 install-data-local: gdb.py
        @$(mkdir_p) $(DESTDIR)$(toolexeclibdir)
 ## We want to install gdb.py as SOMETHING-gdb.py.  SOMETHING is the
 ## full name of the final library.  We use the libtool .la file to get
 ## the correct name.
-       @libname=`sed -ne "/^library_names=/{s/.*='//;s/'$$//;s/ .*//;p;}" \
+       @libname=`sed -ne "/^dlname=/{s/.*='//;s/'$$//;s/ .*//;p;}" \
                  $(DESTDIR)$(toolexeclibdir)/libstdc++.la`; \
        if [ -z "$$libname" ]; then \
+         libname=`sed -ne "/^library_names=/{s/.*='//;s/'$$//;s/ .*//;p;}" \
+                 $(DESTDIR)$(toolexeclibdir)/libstdc++.la`; \
+       fi; \
+       if [ -z "$$libname" ]; then \
          libname=`sed -ne "/^old_library=/{s/.*='//;s/'$$//;s/ .*//;p;}" \
                  $(DESTDIR)$(toolexeclibdir)/libstdc++.la`; \
        fi; \
diff -ubBr gcc-12.1.0.orig/libstdc++-v3/python/Makefile.in 
gcc-12.1.0/libstdc++-v3/python/Makefile.in
--- gcc-12.1.0.orig/libstdc++-v3/python/Makefile.in     2022-05-06 
09:31:00.000000000 +0200
+++ gcc-12.1.0/libstdc++-v3/python/Makefile.in  2022-08-26 12:05:39.077464550 
+0200
@@ -613,13 +613,17 @@
 
 gdb.py: hook.in Makefile
        sed -e 's,@pythondir@,$(pythondir),' \
-           -e 's,@toolexeclibdir@,$(toolexeclibdir),' < $(srcdir)/hook.in > $@
+           -e 's,@toolexeclibdir@,$(toolexeclibdir)/../../..,' < 
$(srcdir)/hook.in > $@
 
 install-data-local: gdb.py
        @$(mkdir_p) $(DESTDIR)$(toolexeclibdir)
-       @libname=`sed -ne "/^library_names=/{s/.*='//;s/'$$//;s/ .*//;p;}" \
+       @libname=`sed -ne "/^dlname=/{s/.*='//;s/'$$//;s/ .*//;p;}" \
                  $(DESTDIR)$(toolexeclibdir)/libstdc++.la`; \
        if [ -z "$$libname" ]; then \
+         libname=`sed -ne "/^library_names=/{s/.*='//;s/'$$//;s/ .*//;p;}" \
+                 $(DESTDIR)$(toolexeclibdir)/libstdc++.la`; \
+       fi; \
+       if [ -z "$$libname" ]; then \
          libname=`sed -ne "/^old_library=/{s/.*='//;s/'$$//;s/ .*//;p;}" \
                  $(DESTDIR)$(toolexeclibdir)/libstdc++.la`; \
        fi; \

Reply via email to