Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package avogadrolibs for openSUSE:Factory 
checked in at 2026-02-09 11:43:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/avogadrolibs (Old)
 and      /work/SRC/openSUSE:Factory/.avogadrolibs.new.1670 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "avogadrolibs"

Mon Feb  9 11:43:07 2026 rev:14 rq:1331784 version:1.100.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/avogadrolibs/avogadrolibs.changes        
2025-06-10 09:09:46.026550971 +0200
+++ /work/SRC/openSUSE:Factory/.avogadrolibs.new.1670/avogadrolibs.changes      
2026-02-09 11:43:40.082524572 +0100
@@ -1,0 +2,5 @@
+Tue Feb  3 15:07:58 UTC 2026 - Jan Engelhardt <[email protected]>
+
+- Add assert.patch to fix a build failure with newer deps.
+
+-------------------------------------------------------------------

New:
----
  assert.patch

----------(New B)----------
  New:
- Add assert.patch to fix a build failure with newer deps.
----------(New E)----------

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

Other differences:
------------------
++++++ avogadrolibs.spec ++++++
--- /var/tmp/diff_new_pack.OW0m1a/_old  2026-02-09 11:43:40.830556041 +0100
+++ /var/tmp/diff_new_pack.OW0m1a/_new  2026-02-09 11:43:40.830556041 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package avogadrolibs
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -40,7 +40,7 @@
 Version:        1.100.0
 Release:        0
 Summary:        Avogadro libraries for computational chemistry
-License:        BSD-3-Clause AND CDDL-1.0 AND GPL-3.0-or-later AND Apache-2.0
+License:        Apache-2.0 AND BSD-3-Clause AND CDDL-1.0 AND GPL-3.0-or-later
 URL:            https://two.avogadro.cc/
 Source0:        
https://github.com/OpenChemistry/avogadrolibs/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
 Source1:        
https://github.com/OpenChemistry/molecules/archive/%{molecules_rev}.tar.gz#/molecules-%{molecules_rev}.tar.gz
@@ -50,6 +50,7 @@
 Patch0:         not-install-gwavi.patch
 # PATCH-FIX-UPSTREAM fix-cmake-dependencies.patch -- Fix CMake dependencies
 Patch1:         fix-cmake-dependencies.patch
+Patch2:         assert.patch
 BuildRequires:  cmake >= 3.5
 BuildRequires:  eigen3-devel >= 2.91.0
 BuildRequires:  fdupes
@@ -97,8 +98,8 @@
 
 %package -n %{libname}
 Summary:        Avogadro libraries for computational chemistry
-Recommends:     avogadro2-data >= %{version}
 Recommends:     %{name}-plugins >= %{version}
+Recommends:     avogadro2-data >= %{version}
 
 %description -n %{libname}
 Avogadro libraries provide 3D rendering, visualization, analysis

++++++ assert.patch ++++++
From: Jan Engelhardt <[email protected]>
Date: 2026-02-03 16:06:43.440699815 +0100

With eigen-5.x, the build fails due to assumption of implicit inclusion of
assert.

```
[   26s] In file included from 
~/avogadrolibs-1.100.0/avogadro/core/angleiterator.cpp:9:
[   26s] ~/avogadrolibs-1.100.0/avogadro/core/molecule.h: In member function 
‘Avogadro::Index Avogadro::Core::Molecule::bondCount() const’:
[   26s] ~/avogadrolibs-1.100.0/avogadro/core/molecule.h:1115:3: error: 
‘assert’ was not declared in this scope
[   26s]  1115 |   assert(m_graph.edgeCount() == m_bondOrders.size());
[   26s]       |   ^~~~~~
[   26s] ~/avogadrolibs-1.100.0/avogadro/core/molecule.h:23:1: note: ‘assert’
is defined in header ‘<cassert>’; this is probably fixable by adding ‘#include
<cassert>’
```

---
 avogadro/core/molecule.h |    1 +
 1 file changed, 1 insertion(+)

Index: avogadrolibs-1.100.0/avogadro/core/molecule.h
===================================================================
--- avogadrolibs-1.100.0.orig/avogadro/core/molecule.h
+++ avogadrolibs-1.100.0/avogadro/core/molecule.h
@@ -19,6 +19,7 @@
 #include "vector.h"
 
 #include <bitset>
+#include <cassert>
 #include <list>
 #include <map>
 #include <string>

Reply via email to