Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libftdi1 for openSUSE:Factory checked in at 2023-03-25 18:54:59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libftdi1 (Old) and /work/SRC/openSUSE:Factory/.libftdi1.new.31432 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libftdi1" Sat Mar 25 18:54:59 2023 rev:22 rq:1074111 version:1.5.12+git.0684c1b Changes: -------- --- /work/SRC/openSUSE:Factory/libftdi1/libftdi1.changes 2021-09-30 23:43:40.316488379 +0200 +++ /work/SRC/openSUSE:Factory/.libftdi1.new.31432/libftdi1.changes 2023-03-25 18:55:08.870598525 +0100 @@ -1,0 +2,6 @@ +Thu Mar 16 10:02:33 UTC 2023 - Fabian Vogt <[email protected]> + +- Add patch to fix random build failures: + * 0001-Fix-race-during-build-of-python-bindings.patch + +------------------------------------------------------------------- New: ---- 0001-Fix-race-during-build-of-python-bindings.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libftdi1.spec ++++++ --- /var/tmp/diff_new_pack.V9GpIn/_old 2023-03-25 18:55:09.522601934 +0100 +++ /var/tmp/diff_new_pack.V9GpIn/_new 2023-03-25 18:55:09.526601955 +0100 @@ -1,7 +1,7 @@ # # spec file for package libftdi1 # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -26,7 +26,8 @@ Group: Hardware/Other URL: https://www.intra2net.com/en/developer/libftdi Source: libftdi1-%{version}.tar.xz -# PATCH-FIX-UPSTREAM -- http://developer.intra2net.com/git/?p=libftdi;a=patch;h=11a50ae5b80b3e03694a19e84513345d0794e563 +# PATCH-FIX-UPSTREAM: http://developer.intra2net.com/mailarchive/html/libftdi/2023/msg00005.html +Patch1: 0001-Fix-race-during-build-of-python-bindings.patch BuildRequires: cmake >= 2.8 BuildRequires: doxygen BuildRequires: gcc-c++ ++++++ 0001-Fix-race-during-build-of-python-bindings.patch ++++++ >From 579f5cb2df5e337df2848f686af3308e45950b81 Mon Sep 17 00:00:00 2001 From: Fabian Vogt <[email protected]> Date: Thu, 16 Mar 2023 10:55:18 +0100 Subject: [PATCH] Fix race during build of python bindings The CMake documentation says about add_custom_command that the output must not be used as dependency in more than one target, but this was the case here: Both the doc_i target and the SWIG target depended on ftdi1_doc.i. Make the SWIG target depend on doc_i instead. This fixes that ftdi1_doc.i was built twice with parallel builds, leading to random errors. Signed-off-by: Fabian Vogt <[email protected]> --- python/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/CMakeLists.txt b/python/CMakeLists.txt index 5b6f420..1a8142b 100644 --- a/python/CMakeLists.txt +++ b/python/CMakeLists.txt @@ -25,7 +25,7 @@ link_directories ( ${CMAKE_CURRENT_BINARY_DIR}/../src ) if ( DOCUMENTATION ) set(CMAKE_SWIG_FLAGS -DDOXYGEN=${DOXYGEN_FOUND}) # manually add dependency for new cmake / swig versions - set_property(SOURCE ftdi1.i PROPERTY DEPENDS ftdi1_doc.i) + set_property(SOURCE ftdi1.i PROPERTY DEPENDS doc_i) endif() if(NOT CMAKE_VERSION VERSION_LESS 3.8.0) swig_add_library ( ftdi1 LANGUAGE python SOURCES ftdi1.i ) -- 2.39.2
