Hi, I've struck a problem packaging/building Rivendell for openSUSE Leap 15.2. The "osc build --local-package" completes fine, but the "osc ci" build then fails: [ 1202s] ... testing for pre/postinstall scripts that are not idempotent [ 1202s] Failed to connect to bus: No such file or directory [ 1202s] postinstall script of rivendell-3.5.0-1.x86_64.rpm failed A link to the build log is here... https://build.opensuse.org/build/home:passiontech:rivendell:rivendell3/openS... ... which is littered with several instances of the "Failed to connect to bus: No such file or directory" error, beginning as early as the buildsystem update/installation stage... [ 56s] wicked-service-0.6.63-lp152.1.3 ######################################## [ 56s] Failed to connect to bus: No such file or directory [ 56s] Created symlink /etc/systemd/system/network.service -> /usr/lib/systemd/system/wicked.service. Later instances of the "Failed to connect to bus: No such file or directory" error would be in response to... %post /bin/systemctl daemon-reload ... /bin/systemctl restart rivendell ... The spec file includes "BuildRequires: systemd" and the local build completes fine. As a relative newcomer to OBS, I was under the impression that if a package successfully builds locally, then it would also build on the server. What's gone wrong? Thanks for any helpful pointers. Best regards, Peter
participants (1)
-
passiontech passiontech