<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>60389</bug_id>
          
          <creation_ts>2026-09-03 19:32:47 +0300</creation_ts>
          <short_desc>Выдает некорректный список библиотек</short_desc>
          <delta_ts>2026-09-04 00:52:18 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>libhdf5</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexei V. Mezin">alexei.mezin</reporter>
          <assigned_to name="Anton Farygin">rider</assigned_to>
          <cc>rider</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>295025</commentid>
    <comment_count>0</comment_count>
    <who name="Alexei V. Mezin">alexei.mezin</who>
    <bug_when>2026-09-03 19:32:47 +0300</bug_when>
    <thetext>$ h5cc -showconfig | grep Extra
                Extra libraries: -lm;-ldl;-lz;-lsz;-laec

Зачем тут &quot;;&quot;? У меня сломалась сборка gwyddion3, в которой в configure парсится вывод этой команды для заполнений $HDF5_LIBS. В результате получается фигня вида

HDF5_LIBS = -lm;-ldl;-lz;-lsz;-laec -lhdf5_hl  -lhdf5


Раньше команда возвращала что-то вроде
Extra libraries: -lz -ldl -lm</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>295027</commentid>
    <comment_count>1</comment_count>
    <who name="Anton Farygin">rider</who>
    <bug_when>2026-09-03 20:10:15 +0300</bug_when>
    <thetext>Причина: начиная с hdf5 2.0 (upstream PR https://github.com/HDFGroup/hdf5/pull/6218) строка &quot;Extra libraries&quot; в libhdf5.settings формируется из CMake-списка LINK_LIBS_SETTINGS, а configure_file подставляет список как есть, с &quot;;&quot; в качестве разделителя. В апстриме (develop) это до сих пор не исправлено, issue/PR по теме нет.

Исправляю в 2.2.0-alt3: добавлен list(JOIN ...) перед подстановкой, теперь строка будет &quot;-lm -ldl -lz -lsz -laec&quot;. Патч отправлю в апстрим.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>295136</commentid>
    <comment_count>2</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2026-09-04 00:52:18 +0300</bug_when>
    <thetext>libhdf5-2.2.0-alt3 -&gt; sisyphus:

Thu Sep 03 2026 Anton Farygin &lt;rider@altlinux&gt; 2.2.0-alt3
- libhdf5.settings: join Extra libraries with spaces instead of &quot;;&quot; (closes: 60389)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>