Actions
Bug #5737
closedosmo-ggsn's gerrit verification job failing to build rpm
Start date:
11/02/2022
Due date:
% Done:
100%
Spec Reference:
Description
I submitted a patch fixing a typo in a comment in osmo-ggsm, and it's not passing due to rpm build failure (which is totally unrelated to my patch):
https://gerrit.osmocom.org/c/osmo-ggsn/+/2996
Job failing:
https://jenkins.osmocom.org/jenkins/job/gerrit-binpkgs-rpm/458/console
RPM build errors: File not found: /home/user/rpmbuild/BUILDROOT/osmo-ggsn-1.9.0.3.0d3b-0.x86_64/usr/share/man/man8/osmo-ggsn.8 File not found: /home/user/rpmbuild/BUILDROOT/osmo-ggsn-1.9.0.3.0d3b-0.x86_64/usr/share/man/man8/sgsnemu.8 docker: running: data/build_rpm.sh inside docker Build step 'Execute shell' marked build as failure
However, I see this previous to the error message, so it seems the file should be installed correctly:
make[4]: Entering directory '/home/user/rpmbuild/BUILD/osmo-ggsn/doc' make[4]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/home/user/rpmbuild/BUILDROOT/osmo-ggsn-1.9.0.3.0d3b-0.x86_64/usr/share/man/man8' /usr/bin/install -p -m 644 osmo-ggsn.8 sgsnemu.8 '/home/user/rpmbuild/BUILDROOT/osmo-ggsn-1.9.0.3.0d3b-0.x86_64/usr/share/man/man8' make[4]: Leaving directory '/home/user/rpmbuild/BUILD/osmo-ggsn/doc'
Updated by osmith over 1 year ago
- Status changed from New to In Progress
- % Done changed from 0 to 90
Updated by osmith over 1 year ago
- Status changed from In Progress to Resolved
- % Done changed from 90 to 100
During the build the man pages are gzipped by autotools, that's why we need the macro that the patch adds:
[root@614428d53ae6 man8]# pwd /home/user/rpmbuild/BUILDROOT/osmo-ggsn-1.9.0.2.3ed2-0.x86_64/usr/share/man/man8 [root@614428d53ae6 man8]# ls osmo-ggsn.8.gz sgsnemu.8.gz
Actions