diff options
author | Håkon Hallingstad <hakon@yahooinc.com> | 2021-11-30 13:32:38 +0100 |
---|---|---|
committer | Håkon Hallingstad <hakon@yahooinc.com> | 2021-11-30 13:32:38 +0100 |
commit | 6d93c95476bad6662be68d848998954401a556b1 (patch) | |
tree | a79b2667787f34989c17a0218a128b1b0cb43e9f | |
parent | 6f7ad78da018a6056c3b94bc4fa77385b125a913 (diff) |
Strip in vespa.spec instead
-rw-r--r-- | dist/vespa.spec | 5 | ||||
-rw-r--r-- | screwdriver.yaml | 5 |
2 files changed, 5 insertions, 5 deletions
diff --git a/dist/vespa.spec b/dist/vespa.spec index e53444c9d13..83b80c2cbc0 100644 --- a/dist/vespa.spec +++ b/dist/vespa.spec @@ -554,6 +554,11 @@ cp -r %{installdir} %{buildroot} make install DESTDIR=%{buildroot} cp client/go/bin/vespa %{buildroot}%{_prefix}/bin/vespa %endif +# Otherwise installation may fail for find-debuginfo.sh/dwz: +# dwz: dwz.c:9899: read_dwarf: Assertion `data != ((void *)0) && data->d_buf != ((void *)0)' failed. +%if 0%{?el7} +strip %{buildroot}%{_prefix}/bin/vespa +%endif %if %{_create_vespa_service} mkdir -p %{buildroot}/usr/lib/systemd/system diff --git a/screwdriver.yaml b/screwdriver.yaml index ddd7ef43f6d..597f5f2678e 100644 --- a/screwdriver.yaml +++ b/screwdriver.yaml @@ -139,12 +139,7 @@ jobs: cd $WORKDIR/vespa export FACTORY_VESPA_VERSION=$VESPA_VERSION NUM_THREADS=$(( $(nproc) + 2 )) - time make -C client/go BIN=$WORKDIR/vespa-install/opt/vespa/bin - # Otherwise verify-rpm-build fails in find-debuginfo.sh with: - # dwz: dwz.c:9899: read_dwarf: Assertion `data != ((void *)0) && data->d_buf != ((void *)0)' failed. - strip -g $WORKDIR/vespa-install/opt/vespa/bin/vespa - time ./bootstrap.sh java time mvn -T $NUM_THREADS $VESPA_MAVEN_EXTRA_OPTS install cmake3 -DVESPA_UNPRIVILEGED=no . |