eclipse / mosquitto

Eclipse Mosquitto - An open source MQTT broker
https://mosquitto.org
Other
8.89k stars 2.37k forks source link

Assembly problem #2810

Open FedorMatvienko opened 1 year ago

FedorMatvienko commented 1 year ago

Ubuntu 20.04 LTS

The build problem, the commands I enter: 1) cmake .. 2) cmake --build .

branch: release/2.0

Error: Scanning dependencies of target mosquitto_ctrl_dynsec.1 [ 94%] Generating ../../man/mosquitto_ctrl_dynsec.1 error : Unknown IO error warning: failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl" compilation error: file /home/fedor/iss/mosquitto/man/manpage.xsl line 3 element import xsl:import : unable to load http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl compilation error: file /home/fedor/iss/mosquitto/man/mosquitto_ctrl_dynsec.1.xml line 4 element refentry xsltParseStylesheetProcess : document is not a stylesheet make[2]: [man/CMakeFiles/mosquitto_ctrl_dynsec.1.dir/build.make:61: ../man/mosquitto_ctrl_dynsec.1] Ошибка 5 make[1]: [CMakeFiles/Makefile2:585: man/CMakeFiles/mosquitto_ctrl_dynsec.1.dir/all] Ошибка 2 make: *** [Makefile:141: all] Ошибка 2

how to solve this problem?

logcmake--build..txt log_cmake.txt

FedorMatvienko commented 1 year ago

In general, I am interested in how to obtain files with the extension .cpp or .c and .hpp or .h to build a library for another system.

Martyn575 commented 9 months ago

I can confirm i'm seeing the same issue, again on ubuntu. It would be super useful if there was some workaround for this.

[ 22%] Built target libmosquitto_static [ 43%] Built target libmosquitto [ 44%] Built target mosquittopp_static [ 45%] Built target mosquittopp [ 48%] Built target mosquitto_rr [ 51%] Built target mosquitto_sub [ 53%] Built target mosquitto_pub [ 90%] Built target mosquitto [ 93%] Built target mosquitto_passwd [ 94%] Built target mosquitto_message_timestamp [ 95%] Built target mosquitto_payload_modification [ 96%] Generating ../../man/mosquitto_ctrl_dynsec.1 error : Unknown IO error warning: failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl" compilation error: file /home/martyn/Mosquitto-Static/mosquitto/man/manpage.xsl line 3 element import xsl:import : unable to load http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl compilation error: file /home/martyn/Mosquitto-Static/mosquitto/man/mosquitto_ctrl_dynsec.1.xml line 4 element refentry xsltParseStylesheetProcess : document is not a stylesheet make[2]: [man/CMakeFiles/mosquitto_ctrl_dynsec.1.dir/build.make:61: ../man/mosquitto_ctrl_dynsec.1] Error 5 make[1]: [CMakeFiles/Makefile2:643: man/CMakeFiles/mosquitto_ctrl_dynsec.1.dir/all] Error 2 make: *** [Makefile:141: all] Error 2

windflowerly commented 6 months ago

me too image

at centos 7

[root@localhost cmake_build]# gcc --version gcc (GCC) 8.3.1 20190311 (Red Hat 8.3.1-3) Copyright (C) 2018 Free Software Foundation, Inc.

lucapalano commented 4 months ago

Did you try apt install docbook-xsl as suggested in https://github.com/eclipse/mosquitto/issues/1733?