Bug 52688 - Отсутствует tls_ciphers.h в libiec61850-devel
Summary: Отсутствует tls_ciphers.h в libiec61850-devel
Status: NEW
Alias: None
Product: Sisyphus
Classification: Development
Component: libiec61850-devel (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: Andrey Cherepanov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-14 12:23 MSK by Osmolovskaya Anastasia
Modified: 2025-01-14 12:23 MSK (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Osmolovskaya Anastasia 2025-01-14 12:23:34 MSK
Версия пакета: libiec61850-devel-1.6.0-alt1

Тестовый стенд: Alt Workstation 10.4 x86-64 (обновленный до Sisyphus)

Шаги для воспроизведения: 
1) Установить пакеты: 
# apt-get install gcc libiec61850 libiec61850-devel

2) Склонировать тестовые файлы: 
# git clone https://github.com/mz-automation/libiec61850.git && cp -r libiec61850/examples/iec61850_client_example2/ . && cd iec61850_client_example2/

3) Скомпилировать:
# gcc client_example2.c -l iec61850 -I /usr/include/libiec61850 -o client_bin

Ожидаемый результат: успешное выполнение. Создается файл client_bin. 
Реальный результат: 
In file included from /usr/include/libiec61850/iso_connection_parameters.h:35,
                 from /usr/include/libiec61850/mms_client_connection.h:41,
                 from /usr/include/libiec61850/iec61850_client.h:34,
                 from client_example2.c:7:
/usr/include/libiec61850/tls_config.h:20:10: fatal error: tls_ciphers.h: Нет такого файла или каталога
   20 | #include "tls_ciphers.h"
      |          ^~~~~~~~~~~~~~~
compilation terminated.

Примечание: если из файла /usr/include/libiec61850/tls_config.h убрать строку #include "tls_ciphers.h", работа выполняется успешно. 
Ошибка не воспроизводится на версии libiec61850-devel-1.4.2.1-alt1.