Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package gn for openSUSE:Factory checked in at 2024-08-03 20:04:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gn (Old) and /work/SRC/openSUSE:Factory/.gn.new.7232 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gn" Sat Aug 3 20:04:44 2024 rev:17 rq:1191230 version:0.20240730 Changes: -------- --- /work/SRC/openSUSE:Factory/gn/gn.changes 2024-02-27 22:49:04.908111915 +0100 +++ /work/SRC/openSUSE:Factory/.gn.new.7232/gn.changes 2024-08-03 20:04:52.055865729 +0200 @@ -1,0 +2,62 @@ +Fri Aug 02 14:25:16 UTC 2024 - r...@suse.com + +- Update to version 0.20240730: + * Rust: link_output, depend_output and runtime_outputs for dylibs + * Add missing reference section to function_toolchain.cc + * Do not cleanup args.gn imports located in the output directory. + * Fix expectations in NinjaRustBinaryTargetWriterTest.SwiftModule + * Do not add native dependencies to the library search path + * Support linking frameworks and swiftmodules in Rust targets + * [desc] Silence print() statements when outputing json + * infra: Move CI/try builds to Ubuntu-22.04 + * [MinGW] Fix mingw building issues + * [gn] Fix "link" in the //examples/simple_build/build/toolchain/BUILD.gn + * [template] Fix "rule alink_thin" in the //build/build_linux.ninja.template + * Allow multiple --ide switches + * [src] Add "#include <limits>" in the //src/base/files/file_enumerator_win.cc + * Get updates to infra/recipes.py from upstream + * Revert "Teach gn to handle systems with > 64 processors" + * [apple] Rename the code-signing properties of create_bundle + * Fix a typo in "gn help refs" output + * Revert "[bundle] Use "phony" builtin tool for create_bundle targets" + * [bundle] Use "phony" builtin tool for create_bundle targets + * [ios] Simplify handling of assets catalog + * [swift] List all outputs as deps of "source_set" stamp file + * [swift] Update `gn check ...` to consider the generated header + * [swift] Set `restat = 1` to swift build rules + * Fix build with gcc12 + * [label_matches] Add new functions label_matches(), filter_labels_include() and filter_labels_exclude() + * [swift] Remove problematic use of "stamp" tool + * Implement new --ninja-outputs-file option. + * Add NinjaOutputsWriter class + * Move InvokePython() function to its own source file. + * zos: build with -DZOSLIB_OVERRIDE_CLIB to override creat + * Enable C++ runtime assertions in debug mode. + * Fix regression in MakeRelativePath() + * fix: Fix Windows MakeRelativePath. + * Add long path support for windows + * Ensure read_file() files are considered by "gn analyze" + * apply 2to3 to for some Python scripts + * Add rustflags to desc and help output + * strings: support case insensitive check only in StartsWith/EndsWith + * add .git-blame-ignore-revs + * use std::{string,string_view}::{starts_with,ends_with} + * apply clang-format to all C++ sources + * add forward declaration in rust_values.h + * Add `root_patterns` list to build configuration. + * Use c++20 in GN build + * update windows sdk to 2024-01-11 + * update windows sdk + * Add linux-riscv64. + * Update OWNERS list. + * remove unused function + * Ignore build warning -Werror=redundant-move + * Fix --as=buildfile `gn desc deps` output. + * Update recipe engine to 9dea1246. + * treewide: Fix spelling mistakes +- add subprocess-python36.patch + to build with python3.6 on sle15 +- use gcc-13 instead of gcc-12 + to work around maybe uninitialized error + +------------------------------------------------------------------- Old: ---- gn-0.20231023.obscpio New: ---- gn-0.20240730.obscpio subprocess-python36.patch BETA DEBUG BEGIN: New: * treewide: Fix spelling mistakes - add subprocess-python36.patch to build with python3.6 on sle15 BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gn.spec ++++++ --- /var/tmp/diff_new_pack.8veD7Z/_old 2024-08-03 20:04:54.171952665 +0200 +++ /var/tmp/diff_new_pack.8veD7Z/_new 2024-08-03 20:04:54.187953322 +0200 @@ -1,7 +1,7 @@ # # spec file for package gn # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,18 +17,19 @@ Name: gn -Version: 0.20231023 +Version: 0.20240730 Release: 0 Summary: A meta-build system that generates build files for Ninja License: BSD-3-Clause URL: https://gn.googlesource.com/ Source0: %{name}-%{version}.tar.xz Patch0: redundant-move.patch +Patch1: subprocess-python36.patch BuildRequires: ninja BuildRequires: python3-base ExcludeArch: ppc %if %{?suse_version} < 1550 -BuildRequires: gcc12-c++ +BuildRequires: gcc13-c++ %else BuildRequires: gcc-c++ %endif @@ -41,11 +42,14 @@ %if 0%{?suse_version} > 1550 %patch -P 0 -p1 %endif +if test $(readlink /usr/bin/python3) = "python3.6" ; then +%patch -P 1 -p1 +fi %build ARCH_FLAGS="`echo %{optflags} | sed -e 's/-O2//g'`" %if 0%{?suse_version} < 1550 -export CXX=g++-12 +export CXX=g++-13 %else export CXX=g++ %endif ++++++ _service ++++++ --- /var/tmp/diff_new_pack.8veD7Z/_old 2024-08-03 20:04:54.499966141 +0200 +++ /var/tmp/diff_new_pack.8veD7Z/_new 2024-08-03 20:04:54.523967127 +0200 @@ -2,7 +2,7 @@ <service name="obs_scm" mode="manual"> <param name="scm">git</param> <param name="url">https://gn.googlesource.com/gn.git</param> - <param name="revision">e4702d7409069c4f12d45ea7b7f0890717ca3f4b</param> + <param name="revision">0ee833e823f2e11be136728169906d0710bee910</param> <param name="versionformat">0.%cd</param> <param name="changesgenerate">enable</param> </service> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.8veD7Z/_old 2024-08-03 20:04:54.723975343 +0200 +++ /var/tmp/diff_new_pack.8veD7Z/_new 2024-08-03 20:04:54.751976494 +0200 @@ -1,6 +1,6 @@ <servicedata> <service name="tar_scm"> <param name="url">https://gn.googlesource.com/gn.git</param> - <param name="changesrevision">e4702d7409069c4f12d45ea7b7f0890717ca3f4b</param></service></servicedata> + <param name="changesrevision">0ee833e823f2e11be136728169906d0710bee910</param></service></servicedata> (No newline at EOF) ++++++ gn-0.20231023.obscpio -> gn-0.20240730.obscpio ++++++ ++++ 12779 lines of diff (skipped) ++++++ gn.obsinfo ++++++ --- /var/tmp/diff_new_pack.8veD7Z/_old 2024-08-03 20:04:55.820020373 +0200 +++ /var/tmp/diff_new_pack.8veD7Z/_new 2024-08-03 20:04:55.876022674 +0200 @@ -1,5 +1,5 @@ name: gn -version: 0.20231023 -mtime: 1698049206 -commit: e4702d7409069c4f12d45ea7b7f0890717ca3f4b +version: 0.20240730 +mtime: 1722338639 +commit: 0ee833e823f2e11be136728169906d0710bee910 ++++++ subprocess-python36.patch ++++++ diff --git a/build/gen.py b/build/gen.py index 6f3652ee..eface2bd 100755 --- a/build/gen.py +++ b/build/gen.py @@ -235,8 +235,8 @@ def is_gcc(cxx): f'{cxx} -dM -E -', shell=True, stdin=subprocess.DEVNULL, - text=True, - capture_output=True) + stdout=subprocess.PIPE, + universal_newlines=True) return ret.returncode == 0 and "#define __GNUC__" in ret.stdout and not "#define __clang__" in ret.stdout