Avogadro-libs-1.93.0 fails to build due to missing "archive.h"

I simply took an RPM source package of FedoraCore 32 and have migrated it for CentOS7/SL7.

It would be hard to explain all configurations only on this thread so that I made a configuration of docker container and its builder.

https://github.com/Avogadro2-test/avogadro2-docker

As you can see, the build logs are

https://github.com/Avogadro2-test/avogadro2-docker/blob/6bd15b241c352059d1ca212de213216cd4ceeaab/logs/docker-build.centos7.log

It fails in the section of “plugindownloader”.

The source RPMs I put are
under avogadro2-docker/avogadro2-packages

In this build, this spec file is used.

under avogadro2-docker/avogadro2-packages/avogadro2-libs-1.93.0-1.fc32.src/avogadro2-libs.spec

In the section of ‘build’, it fails. In Fedora Core 32 which should build the original source RPM (avogadro2-libs-1.93.0-1.fc32.src), I still do not succeed its build.

If I need to put some other packages such as openchemistry, I’d put it in the SPEC file. Could you tell me which package we need?


export LDFLAGS=“%{__global_ldflags} -Wl,–as-needed”

%cmake3 -DCMAKE_BUILD_TYPE:STRING=Release \

-DINSTALL_INCLUDE_DIR:PATH=include/avogadro2 -DINSTALL_LIBRARY_DIR:PATH=%{_lib} \

-Wno-dev \

-DENABLE_GLSL:BOOL=ON \

-DENABLE_PYTHON:BOOL=ON \

-DPYTHON_EXECUTABLE:FILEPATH=%{__python3} \

-DPYTHON_VERSION:STRING=%{python3_version} \

%if 0%{?fedora}

-DUSE_BOOST_PYTHON:BOOL=ON \

%else

-DUSE_BOOST_PYTHON:BOOL=OFF \

%endif

-DENABLE_RPATH:BOOL=OFF \

-DENABLE_TESTING:BOOL=OFF \

-DUSE_MMTF:BOOL=ON \

-DUSE_QT:BOOL=ON \

-DUSE_MOLEQUEUE:BOOL=ON \

-DUSE_VTK:BOOL=OFF \

-DUSE_HDF5:BOOL=ON \

-DUSE_SPGLIB:BOOL=ON \

-DSPGLIB_LIBRARY:FILEPATH=%{_libdir}/libsymspg.so \

-DBUILD_GPL_PLUGINS:BOOL=ON \

-DBUILD_STATIC_PLUGINS:BOOL=ON \

-DBUILD_DOCUMENTATION:BOOL=ON \

-DUSE_LIBMSYM:BOOL=OFF …

%make_build


Thank you in advance,
Gen