hi,

we use cmake/cpack for mangling systemd scripts

https://github.com/SoftEtherVPN/SoftEtherVPN/blob/master/src/vpnserver/CMakeLists.txt#L26

what happens:

(*) deb installs files to /usr/libexec
(*) cmake sets location as /usr/local/libexec

as a result: it does not work (systemd cannot find executable)

https://gitlab.com/chipitsine/SoftEtherVPN/-/jobs/110262386

I enabled "set(CPACK_DEBIAN_PACKAGE_DEBUG ON)", but it did not provide me a
clue.


any idea how to debug that?

CPackDeb Debug: Found dependency: libc6 (>= 2.15), libreadline7 (>= 6.0),
libssl1.1 (>= 1.1.0), zlib1g (>= 1:1.1.4) from output shlibs:Depends=libc6
(>= 2.15), libreadline7 (>= 6.0), libssl1.1 (>= 1.1.0), zlib1g (>= 1:1.1.4)
CPackDeb:Debug: CPACK_TOPLEVEL_DIRECTORY          =
'/home/ilia/softethervpn/build/_CPack_Packages/Linux/DEB'
CPackDeb:Debug: CPACK_TOPLEVEL_TAG                = 'Linux'
CPackDeb:Debug: CPACK_TEMPORARY_DIRECTORY         =
'/home/ilia/softethervpn/build/_CPack_Packages/Linux/DEB/softether-5.1.9660-Linux/vpnserver'
CPackDeb:Debug: CPACK_OUTPUT_FILE_NAME            =
'softether-vpnserver_5.1.9660-1_amd64.deb'
CPackDeb:Debug: CPACK_OUTPUT_FILE_PATH            =
'/home/ilia/softethervpn/build/softether-vpnserver_5.1.9660-1_amd64.deb'
CPackDeb:Debug: CPACK_PACKAGE_FILE_NAME           =
'softether-5.1.9660-Linux'
CPackDeb:Debug: CPACK_PACKAGE_INSTALL_DIRECTORY   = 'softether 5.1.9660'
CPackDeb:Debug: CPACK_TEMPORARY_PACKAGE_FILE_NAME =
'/home/ilia/softethervpn/build/_CPack_Packages/Linux/DEB/softether-vpnserver_5.1.9660-1_amd64.deb'
CPackDeb:Debug: CPACK_DEBIAN_PACKAGE_CONTROL_STRICT_PERMISSION = ''
CPackDeb:Debug: CPACK_DEBIAN_PACKAGE_SOURCE       = ''
CPack: - package:
/home/ilia/softethervpn/build/softether-vpnbridge_5.1.9660-1_amd64.deb
generated.
CPack: - package:
/home/ilia/softethervpn/build/softether-vpnclient_5.1.9660-1_amd64.deb
generated.
CPack: - package:
/home/ilia/softethervpn/build/softether-vpncmd_5.1.9660-1_amd64.deb
generated.
CPack: - package:
/home/ilia/softethervpn/build/softether-vpnserver_5.1.9660-1_amd64.deb
generated.
make: Leaving directory '/home/ilia/softethervpn/tmp'
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
https://cmake.org/mailman/listinfo/cmake

Reply via email to