Hello community, here is the log from the commit of package gcc7 for openSUSE:Factory checked in at 2017-07-04 09:06:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gcc7 (Old) and /work/SRC/openSUSE:Factory/.gcc7.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "gcc7" Tue Jul 4 09:06:41 2017 rev:4 rq:507284 version:7.1.1+r249772 Changes: -------- --- /work/SRC/openSUSE:Factory/gcc7/cross-aarch64-gcc7.changes 2017-06-02 11:33:37.512784348 +0200 +++ /work/SRC/openSUSE:Factory/.gcc7.new/cross-aarch64-gcc7.changes 2017-07-04 09:06:46.237185923 +0200 @@ -1,0 +2,25 @@ +Thu Jun 29 08:54:57 UTC 2017 - rguenther@suse.com + +- Update to gcc-7-branch head (r249772). + * Includes patch for PR81080. [bnc#1044016] + * Includes patch for PR81204. [bnc#1045732] + * Includes patch for PR81112. [bnc#1043966] + +------------------------------------------------------------------- +Tue Jun 13 08:42:45 UTC 2017 - rguenther@suse.com + +- Fix cross compiler update-alternatives machinery to make rpmlint + happy. + +------------------------------------------------------------------- +Fri Jun 9 11:20:46 UTC 2017 - rguenther@suse.com + +- Update plugin enablement guard to use %sle_version. [bnc#1043590] + +------------------------------------------------------------------- +Wed Jun 7 13:18:16 UTC 2017 - rguenther@suse.com + +- Update to gcc-7-branch head (r248970). + * Includes gcc7-pr80593.patch. + +------------------------------------------------------------------- cross-arm-gcc7.changes: same change cross-avr-gcc7.changes: same change cross-epiphany-gcc7-bootstrap.changes: same change cross-epiphany-gcc7.changes: same change cross-hppa-gcc7.changes: same change cross-i386-gcc7.changes: same change cross-m68k-gcc7.changes: same change cross-mips-gcc7.changes: same change cross-nvptx-gcc7.changes: same change cross-ppc64-gcc7.changes: same change cross-ppc64le-gcc7.changes: same change cross-rx-gcc7-bootstrap.changes: same change cross-rx-gcc7.changes: same change cross-s390x-gcc7.changes: same change cross-sparc-gcc7.changes: same change cross-sparc64-gcc7.changes: same change cross-x86_64-gcc7.changes: same change gcc7-testresults.changes: same change gcc7.changes: same change Old: ---- gcc-7.1.1-r248590.tar.xz gcc7-pr80593.patch New: ---- gcc-7.1.1-r249772.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cross-aarch64-gcc7.spec ++++++ --- /var/tmp/diff_new_pack.m9Xyco/_old 2017-07-04 09:06:54.288053535 +0200 +++ /var/tmp/diff_new_pack.m9Xyco/_new 2017-07-04 09:06:54.292052973 +0200 @@ -157,7 +157,7 @@ %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 Url: http://gcc.gnu.org/ -Version: 7.1.1+r248590 +Version: 7.1.1+r249772 Release: 0 %define gcc_version %(echo %version | sed 's/+.*//') %define gcc_dir_version %(echo %gcc_version | cut -d '.' -f 1) @@ -176,7 +176,6 @@ Patch9: gcc48-remove-mpfr-2.4.0-requirement.patch Patch10: gcc5-no-return-gcc43-workaround.patch Patch11: gcc7-remove-Wexpansion-to-defined-from-Wextra.patch -Patch12: gcc7-pr80593.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -250,7 +249,6 @@ %endif %patch10 %patch11 -%patch12 %patch51 %patch60 %patch61 @@ -656,8 +654,16 @@ rm -r env %endif -%post +# we provide update-alternatives for selecting a compiler version for +# crosses %if 0%{!?gcc_accel:1} +mkdir -p %{buildroot}%{_sysconfdir}/alternatives +for ex in gcc c++ cpp g++ gcc-ar gcc-nm gcc-ranlib gcov gcov-dump gcov-tool; do + ln -s %{_sysconfdir}/alternatives/%{gcc_target_arch}-$ex \ + %{buildroot}%{_bindir}/%{gcc_target_arch}-$ex +done + +%post %{_sbindir}/update-alternatives \ --install %{_bindir}/%{gcc_target_arch}-gcc %{gcc_target_arch}-gcc %{_bindir}/%{gcc_target_arch}-gcc%{binsuffix} 7 \ --slave %{_bindir}/%{gcc_target_arch}-c++ %{gcc_target_arch}-c++ %{_bindir}/%{gcc_target_arch}-c++%{binsuffix} \ @@ -669,12 +675,10 @@ --slave %{_bindir}/%{gcc_target_arch}-gcov %{gcc_target_arch}-gcov %{_bindir}/%{gcc_target_arch}-gcov%{binsuffix} \ --slave %{_bindir}/%{gcc_target_arch}-gcov-dump %{gcc_target_arch}-gcov-dump %{_bindir}/%{gcc_target_arch}-gcov-dump%{binsuffix} \ --slave %{_bindir}/%{gcc_target_arch}-gcov-tool %{gcc_target_arch}-gcov-tool %{_bindir}/%{gcc_target_arch}-gcov-tool%{binsuffix} -%endif %postun -%if 0%{!?gcc_accel:1} -if [ ! -f %{_bindir}/%{gcc_target_arch}-gcc%{binsuffix} ] ; then -%{_sbindir}/update-alternatives --remove %{gcc_target_arch}-gcc %{_bindir}/%{gcc_target_arch}-gcc%{binsuffix} +if [ ! -f %{_bindir}/%{gcc_target_arch}-gcc ] ; then + %{_sbindir}/update-alternatives --remove %{gcc_target_arch}-gcc %{_bindir}/%{gcc_target_arch}-gcc%{binsuffix} fi %endif @@ -696,6 +700,26 @@ %{_prefix}/bin/%{gcc_target_arch}-gcov%{binsuffix} %{_prefix}/bin/%{gcc_target_arch}-gcov-dump%{binsuffix} %{_prefix}/bin/%{gcc_target_arch}-gcov-tool%{binsuffix} +%{_prefix}/bin/%{gcc_target_arch}-gcc +%{_prefix}/bin/%{gcc_target_arch}-c++ +%{_prefix}/bin/%{gcc_target_arch}-cpp +%{_prefix}/bin/%{gcc_target_arch}-g++ +%{_prefix}/bin/%{gcc_target_arch}-gcc-ar +%{_prefix}/bin/%{gcc_target_arch}-gcc-nm +%{_prefix}/bin/%{gcc_target_arch}-gcc-ranlib +%{_prefix}/bin/%{gcc_target_arch}-gcov +%{_prefix}/bin/%{gcc_target_arch}-gcov-dump +%{_prefix}/bin/%{gcc_target_arch}-gcov-tool +%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcc +%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-c++ +%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-cpp +%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-g++ +%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcc-ar +%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcc-nm +%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcc-ranlib +%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov +%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-dump +%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-tool %endif %dir %{targetlibsubdir} %dir %{_libdir}/gcc/%{gcc_target_arch} cross-arm-gcc7.spec: same change cross-avr-gcc7.spec: same change cross-epiphany-gcc7-bootstrap.spec: same change cross-epiphany-gcc7.spec: same change cross-hppa-gcc7.spec: same change cross-i386-gcc7.spec: same change cross-m68k-gcc7.spec: same change cross-mips-gcc7.spec: same change cross-nvptx-gcc7.spec: same change cross-ppc64-gcc7.spec: same change cross-ppc64le-gcc7.spec: same change cross-rx-gcc7-bootstrap.spec: same change cross-rx-gcc7.spec: same change cross-s390x-gcc7.spec: same change cross-sparc-gcc7.spec: same change cross-sparc64-gcc7.spec: same change cross-x86_64-gcc7.spec: same change ++++++ gcc7-testresults.spec ++++++ --- /var/tmp/diff_new_pack.m9Xyco/_old 2017-07-04 09:06:54.863972529 +0200 +++ /var/tmp/diff_new_pack.m9Xyco/_new 2017-07-04 09:06:54.867971967 +0200 @@ -94,8 +94,8 @@ %define build_nvptx 0 %endif -# Enable plugins just for Tumbleweed, not for SLE13 -%if %{suse_version} == 1330 +# Enable plugins just for Tumbleweed, not for SLES +%if 0%{!?sle_version:1} %define enable_plugins 1 %else %define enable_plugins 0 @@ -253,7 +253,7 @@ %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 Url: http://gcc.gnu.org/ -Version: 7.1.1+r248590 +Version: 7.1.1+r249772 Release: 0 %define gcc_version %(echo %version | sed 's/+.*//') %define gcc_dir_version %(echo %gcc_version | cut -d '.' -f 1) @@ -314,7 +314,6 @@ Patch9: gcc48-remove-mpfr-2.4.0-requirement.patch Patch10: gcc5-no-return-gcc43-workaround.patch Patch11: gcc7-remove-Wexpansion-to-defined-from-Wextra.patch -Patch12: gcc7-pr80593.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -440,7 +439,6 @@ %endif %patch10 %patch11 -%patch12 %patch51 %patch60 %patch61 ++++++ gcc7.spec ++++++ --- /var/tmp/diff_new_pack.m9Xyco/_old 2017-07-04 09:06:54.891968592 +0200 +++ /var/tmp/diff_new_pack.m9Xyco/_new 2017-07-04 09:06:54.899967467 +0200 @@ -76,8 +76,8 @@ %define build_nvptx 0 %endif -# Enable plugins just for Tumbleweed, not for SLE13 -%if %{suse_version} == 1330 +# Enable plugins just for Tumbleweed, not for SLES +%if 0%{!?sle_version:1} %define enable_plugins 1 %else %define enable_plugins 0 @@ -235,7 +235,7 @@ %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 Url: http://gcc.gnu.org/ -Version: 7.1.1+r248590 +Version: 7.1.1+r249772 Release: 0 %define gcc_version %(echo %version | sed 's/+.*//') %define gcc_dir_version %(echo %gcc_version | cut -d '.' -f 1) @@ -296,7 +296,6 @@ Patch9: gcc48-remove-mpfr-2.4.0-requirement.patch Patch10: gcc5-no-return-gcc43-workaround.patch Patch11: gcc7-remove-Wexpansion-to-defined-from-Wextra.patch -Patch12: gcc7-pr80593.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -1588,7 +1587,7 @@ Conflicts: %selfconflict libgo%{libgo_sover} %description -n libgo%{libgo_sover}%{libgo_suffix} -A foreign function interface is the popular name for the interface that allows code written in one language to call code written in another language. +Runtime library for the GNU Go language. %post -n libgo%{libgo_sover}%{libgo_suffix} -p /sbin/ldconfig @@ -1603,7 +1602,7 @@ Conflicts: %selfconflict libgo%{libgo_sover}-32bit %description -n libgo%{libgo_sover}%{libgo_suffix}-32bit -A foreign function interface is the popular name for the interface that allows code written in one language to call code written in another language. +Runtime library for the GNU Go language. %post -n libgo%{libgo_sover}%{libgo_suffix}-32bit -p /sbin/ldconfig @@ -1618,7 +1617,7 @@ Conflicts: %selfconflict libgo%{libgo_sover}-64bit %description -n libgo%{libgo_sover}%{libgo_suffix}-64bit -A foreign function interface is the popular name for the interface that allows code written in one language to call code written in another language. +Runtime library for the GNU Go language. %post -n libgo%{libgo_sover}%{libgo_suffix}-64bit -p /sbin/ldconfig @@ -1744,7 +1743,6 @@ %endif %patch10 %patch11 -%patch12 %patch51 %patch60 %patch61 ++++++ cross.spec.in ++++++ --- /var/tmp/diff_new_pack.m9Xyco/_old 2017-07-04 09:06:55.079942153 +0200 +++ /var/tmp/diff_new_pack.m9Xyco/_new 2017-07-04 09:06:55.087941027 +0200 @@ -241,8 +241,16 @@ rm -r env %endif -%post +# we provide update-alternatives for selecting a compiler version for +# crosses %if 0%{!?gcc_accel:1} +mkdir -p %{buildroot}%{_sysconfdir}/alternatives +for ex in gcc c++ cpp g++ gcc-ar gcc-nm gcc-ranlib gcov gcov-dump gcov-tool; do + ln -s %{_sysconfdir}/alternatives/%{gcc_target_arch}-$ex \ + %{buildroot}%{_bindir}/%{gcc_target_arch}-$ex +done + +%post %{_sbindir}/update-alternatives \ --install %{_bindir}/%{gcc_target_arch}-gcc %{gcc_target_arch}-gcc %{_bindir}/%{gcc_target_arch}-gcc%{binsuffix} @base_ver@ \ --slave %{_bindir}/%{gcc_target_arch}-c++ %{gcc_target_arch}-c++ %{_bindir}/%{gcc_target_arch}-c++%{binsuffix} \ @@ -254,12 +262,10 @@ --slave %{_bindir}/%{gcc_target_arch}-gcov %{gcc_target_arch}-gcov %{_bindir}/%{gcc_target_arch}-gcov%{binsuffix} \ --slave %{_bindir}/%{gcc_target_arch}-gcov-dump %{gcc_target_arch}-gcov-dump %{_bindir}/%{gcc_target_arch}-gcov-dump%{binsuffix} \ --slave %{_bindir}/%{gcc_target_arch}-gcov-tool %{gcc_target_arch}-gcov-tool %{_bindir}/%{gcc_target_arch}-gcov-tool%{binsuffix} -%endif %postun -%if 0%{!?gcc_accel:1} -if [ ! -f %{_bindir}/%{gcc_target_arch}-gcc%{binsuffix} ] ; then -%{_sbindir}/update-alternatives --remove %{gcc_target_arch}-gcc %{_bindir}/%{gcc_target_arch}-gcc%{binsuffix} +if [ ! -f %{_bindir}/%{gcc_target_arch}-gcc ] ; then + %{_sbindir}/update-alternatives --remove %{gcc_target_arch}-gcc %{_bindir}/%{gcc_target_arch}-gcc%{binsuffix} fi %endif @@ -281,6 +287,26 @@ %{_prefix}/bin/%{gcc_target_arch}-gcov%{binsuffix} %{_prefix}/bin/%{gcc_target_arch}-gcov-dump%{binsuffix} %{_prefix}/bin/%{gcc_target_arch}-gcov-tool%{binsuffix} +%{_prefix}/bin/%{gcc_target_arch}-gcc +%{_prefix}/bin/%{gcc_target_arch}-c++ +%{_prefix}/bin/%{gcc_target_arch}-cpp +%{_prefix}/bin/%{gcc_target_arch}-g++ +%{_prefix}/bin/%{gcc_target_arch}-gcc-ar +%{_prefix}/bin/%{gcc_target_arch}-gcc-nm +%{_prefix}/bin/%{gcc_target_arch}-gcc-ranlib +%{_prefix}/bin/%{gcc_target_arch}-gcov +%{_prefix}/bin/%{gcc_target_arch}-gcov-dump +%{_prefix}/bin/%{gcc_target_arch}-gcov-tool +%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcc +%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-c++ +%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-cpp +%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-g++ +%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcc-ar +%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcc-nm +%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcc-ranlib +%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov +%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-dump +%ghost %{_sysconfdir}/alternatives/%{gcc_target_arch}-gcov-tool %endif %dir %{targetlibsubdir} %dir %{_libdir}/gcc/%{gcc_target_arch} ++++++ gcc-7.1.1-r248590.tar.xz -> gcc-7.1.1-r249772.tar.xz ++++++ /work/SRC/openSUSE:Factory/gcc7/gcc-7.1.1-r248590.tar.xz /work/SRC/openSUSE:Factory/.gcc7.new/gcc-7.1.1-r249772.tar.xz differ: char 28, line 1 ++++++ gcc.spec.in ++++++ --- /var/tmp/diff_new_pack.m9Xyco/_old 2017-07-04 09:06:55.143933152 +0200 +++ /var/tmp/diff_new_pack.m9Xyco/_new 2017-07-04 09:06:55.147932590 +0200 @@ -76,8 +76,8 @@ %define build_nvptx 0 %endif -# Enable plugins just for Tumbleweed, not for SLE13 -%if %{suse_version} == 1330 +# Enable plugins just for Tumbleweed, not for SLES +%if 0%{!?sle_version:1} %define enable_plugins 1 %else %define enable_plugins 0 @@ -239,7 +239,7 @@ %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: http://gcc.gnu.org/ -Version: 7.1.1+r248590 +Version: 7.1.1+r249772 Release: 1 %define gcc_version %(echo %version | sed 's/+.*//') %define gcc_dir_version %(echo %gcc_version | cut -d '.' -f 1) @@ -301,7 +301,6 @@ Patch9: gcc48-remove-mpfr-2.4.0-requirement.patch Patch10: gcc5-no-return-gcc43-workaround.patch Patch11: gcc7-remove-Wexpansion-to-defined-from-Wextra.patch -Patch12: gcc7-pr80593.patch # A set of patches from the RH srpm Patch51: gcc41-ppc32-retaddr.patch # Some patches taken from Debian @@ -918,7 +917,7 @@ Conflicts: %selfconflict libgo%{libgo_sover}@variant@ %description -n libgo%{libgo_sover}%{libgo_suffix}@variant@ -A foreign function interface is the popular name for the interface that allows code written in one language to call code written in another language. +Runtime library for the GNU Go language. %post -n libgo%{libgo_sover}%{libgo_suffix}@variant@ -p /sbin/ldconfig @@ -1054,7 +1053,6 @@ %endif %patch10 %patch11 -%patch12 %patch51 %patch60 %patch61