summaryrefslogtreecommitdiff
path: root/bin/check-elf-dynamic-objects
AgeCommit message (Collapse)Author
2020-07-10replace usage of whitelist with allowlistThorsten Behrens
Background and motivation: https://tools.ietf.org/html/draft-knodel-terminology-02 [API CHANGE] officecfg::Office::Common::Misc::OpenCLWhiteList -> OpenCLAllowList Change-Id: I65636b19b13e4af1e4851f70e78053f3443d6bb1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98181 Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2020-01-09python3: bundle libffi for GNU/Linux buildsMichael Stahl
CPython commit f40d4ddff3c800b3c956a5e8820aabe3aa87cddd "Closes #27979: Remove bundled copy of libffi" causes a bit of a problem because it turns out that libffi isn't all that stable; there's libffi.so.5 on CentOS 6, libffi.so.6 on CentOS 7 and libffi.so.7 on lo_daily_update_gandalf tinderbox. So we have to bundle it in LO; it's only used on GNU/Linux currently. CPython commit 32119e10b792ad7ee4e5f951a2d89ddbaf111cc5 "bpo-35947: Update Windows to the current version of libffi (GH-11797)" also removes the libffi for MSVC, so in a future python upgrade we will have to build libffi for MSVC too. The libffi fork for MacOSX is still in CPython git master. (regression from b10be5d48433076f0b7238d818020f708553e114) Change-Id: Ibc20cf8cd3614cf9941b6970662bd930496776b2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86493 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@cib.de>
2020-01-08python3: upgrade to release 3.7.6Michael Stahl
* external/python3/python-3.3.3-aix.patch.1: most of it doesn't apply and AIX port isn't maintained anyway so remove it for now * external/python3/ubsan.patch.0: apparently one of the files was removed * 0001-3.6-bpo-17239-Disable-external-entities-in-SAX-parse.patch.1: fixed upstream * python3-osx-avoid-new-10.13.patch.1: replace with simply passing ac_cv_func_utimensat=no to configure * external/python3/python-3.5.4-ssl.patch.1: project files to build OpenSSL removed upstream * There have been changes to how python locates OpenSSL; new variables OPENSSL_INCLUDES etc; it turns out that you have to pass one directory to --with-openssl, as the variables cannot be passed * libuuid.so.1 is a new dependency of the _uuid module * libffi.so.6 is a new dependency of the _ctypes module (the bundled copy of libffi for non-Darwin platforms was removed) * python-3.3.0-pythreadstate.patch.1: the PyThreadState functions have been changed such that CppunitTest_services asserts when there is a PyThreadAttach on top of PyThreadDetach on top of PyThreadAttach, i.e., 2 PyThreadState per thread (PyGILState_Check() fails). Instead of patching in additional workarounds, change PyThreadAttach so that it re-uses an existing PyThreadState if one exists for the thread. Change-Id: I24c19d79b43a30709261fd9db66312b2e3872fd9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/84765 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@cib.de>
2019-12-10check-elf-dynamic-objects: qt5 needs libxcb-icccm.so.4Michael Weghorn
... since commit fe2baf9e84e0ca9aeaa683e37076f57fa3f38dca ("Qt5 fix missing XCB_ICCCM_WM_HINT_WINDOW_GROUP"). Change-Id: Idac4ae38cbec3604de358a3b2c77bb26a8115ce0 Reviewed-on: https://gerrit.libreoffice.org/84799 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2019-11-29libGLX.so.0 no longer needs to be whitelistedStephan Bergmann
...after a17f70004447c8809331a90e7e5ea6a89edf0322 "do not explicitly link to libGLX" drops it from the skia library (for which it had been added to the whitelist with 90d09fbcdf013f1d366e7881353d703e4b352639 "Adapt check-elf-dynamic-objects to new skia library") Change-Id: I6ac97baf782f91fe76a896994666d01cfa3f2493 Reviewed-on: https://gerrit.libreoffice.org/84057 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2019-11-28Adapt check-elf-dynamic-objects to new skia libraryStephan Bergmann
As reported by <https://ci.libreoffice.org/job/lo_daily_update_gandalf/773/>, instdir/program/libskialo.so needs: libGL.so.1 libGLX.so.0 libX11.so.6 libX11-xcb.so.1 Change-Id: I9ab99334176dd3871d1471bb14e4b68bef046f8d Reviewed-on: https://gerrit.libreoffice.org/83972 Reviewed-by: Luboš Luňák <l.lunak@collabora.com> Tested-by: Jenkins
2019-11-01check-elf-dynamic-objects: GTK3 drags in libharfbuzz.so.0Michael Stahl
... now on Fedora 31; it looks quite stable ABI-wise so we can allow it. Change-Id: Ic24fa9bdac0d0ce765e3d3844ce4ddcc59c6c9da Reviewed-on: https://gerrit.libreoffice.org/81864 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@cib.de>
2019-09-30drop gtk2 supportCaolán McNamara
Change-Id: Ie838cabfecfef7e3225c1555536d5c9cf3b43f15 Reviewed-on: https://gerrit.libreoffice.org/77405 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2019-09-05tdf#121983 add whitelist for libcairo.so.2Andras Timar
Change-Id: If255e5af56d78047af9d38d6a7f0df070888816e (cherry picked from commit df92637754c5e7fd59d0aec8bf646c8b42416fd5) Reviewed-on: https://gerrit.libreoffice.org/78595 Reviewed-by: Michael Stahl <Michael.Stahl@cib.de> Tested-by: Jenkins
2019-07-21tdf#125922 rename kde5 to kf5 + plasma5Jan-Marek Glogowski
Just as the gtk3 plugin isn't named GNOME, rename kde5 to kf5, as it is based on the KDE frameworks 5 libraries. This also includes: * a convenience alias to load the kf5 VCL plugin in case someone requests the kde5 plugin. * keep convenience kde5 configure switch, but warn about it * rename detected desktop from kde5 to plasma5 Change-Id: I6764a05b81a5edbf284484c234fee2649aacf735 Reviewed-on: https://gerrit.libreoffice.org/75313 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2019-06-15check-elf-dynamic-objects: Update 'qt5whitelist'Michael Weghorn
This needs 'libgobject-2.0.so.0' and 'libxcb.so.1' as well now, since a6201725d760cbce832d4de029b418bb7334df6a ("Don't link avmediagst with gtk3 and qt5") and 77a3c443d35c7d966217f02ea9189cb1819c7828 ("tdf#125921 Qt5 set WM_CLASS for top level windows"). Change-Id: I453cede879eda8470a45c48f789a0419866fcb79 Reviewed-on: https://gerrit.libreoffice.org/74085 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2019-06-07Drop support for gstreamer-0.10Michael Weghorn
Drop all GStreamer 0.10 support according to ESC decision of 2019-06-06. GStreamer 0.10 is obsolete and no longer needed, superseded by GStreamer 1.0 which is available in baseline (RHEL 7 or CentOS 7) and all relevant distros. Change-Id: Ic317eba04d2c17e141acc983f37fbfa4301c9f3f Reviewed-on: https://gerrit.libreoffice.org/73619 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2019-05-12check-elf-dynamic-objects: add libgstaudio-1.0.so.0Michael Stahl
It's in GSTREAMER_1_0_LIBS on Fedora 30. Change-Id: I0a9e5a53ee1bbd4ac4109ccbdbbd94b909b62118 Reviewed-on: https://gerrit.libreoffice.org/72174 Tested-by: Jenkins Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
2019-05-05check_dynamic_objects: --enable-gtk3-kde5 also wants qt5/kf5 whitelist..Christian Lohmaier
Change-Id: I098e894d80c2b319307bf9e9eece7a59d2ff0bd0 Reviewed-on: https://gerrit.libreoffice.org/71810 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2018-12-17kde5: remove older kde/tde plugins, and references to thatThorsten Behrens
KDE4 is out of maintenance upstream since Nov. 2014, and binaries provided by TDF have switched to KDE5 as the official backend. Change-Id: I165465b56d3ba3a18912b203c06ae8fc6111c0c9 Reviewed-on: https://gerrit.libreoffice.org/60014 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2018-12-11Fix typoAndrea Gelmini
Change-Id: I40c9591cd9787c919a5da7526ab866518bad3812 Reviewed-on: https://gerrit.libreoffice.org/64912 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2018-10-29Compensate for `set -u` when LO_ELFCHECK_WHITELIST is unsetStephan Bergmann
...as happens e.g. in <https://ci.libreoffice.org/job/lo_daily_update_gandalf/515/>. (Regression introduced with d157e510252636d3519c71415c20dfd113d40960 "check-elf-dynamic-objects: allow extending the whitelist via env-var".) Change-Id: I93097d0bb7781b1bfac818872f40bbe38c5f5fea
2018-10-28check-elf-dynamic-objects: allow extending the whitelist via env-varChristian Lohmaier
to allow working on packaging with epm without a baseline setup... Change-Id: I9ab737cd52adf51c9eb23a4bc67f09c0ac06647e Reviewed-on: https://gerrit.libreoffice.org/62454 Tested-by: Jenkins Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
2018-08-27Adapt CustomTarget_postprocess/check_dynamic_objects to --enable-kde5Stephan Bergmann
Change-Id: I3b03e3a75f5a6157479582e74be349c567fc1e8c
2018-07-17remove the GL based 3D chartsMarkus Mohrhard
Change-Id: Ia578c71ae70aa0a85b49fa50138edf90f961b1e9 Reviewed-on: https://gerrit.libreoffice.org/57533 Tested-by: Jenkins Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2018-06-01Add missing die and help functionsJan-Marek Glogowski
Change-Id: Ic2e6138b1ba1a8031a80e4e58f468b6c0f7a4de3
2018-05-21check-elf-dynamic-objects: Fedora 28 GTK+ depends on libfribidi.so.0Michael Stahl
... so add it to whitelists. Change-Id: Ia9f55ecfa9dcbc809827070e0ae6522f1e7ba2bf Reviewed-on: https://gerrit.libreoffice.org/54607 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
2018-05-08Refactor CommonSalLayout font handlingJan-Marek Glogowski
Moves all platform specific code from CommonSalLayout into the platform specific plugins. This way the vcl library won't depend on the Qt5 libraries and the Qt5Font header can be moved into the qt5 VCL plugin. While at it, switch the CommonSalLayouts font reference from the FontSelectPattern to the LogicalFontInstance and also add the harfbuzz font handling to the instance. Change-Id: Ida910b8d88837ea949a2f84394ccc0cfae153060 Reviewed-on: https://gerrit.libreoffice.org/47408 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Khaled Hosny <khaledhosny@eglug.org>
2018-03-08Fix external/gpgmepp Linux RPATHStephan Bergmann
In other external projects using libtool, we fix that by patching configure, resetting hardcode_libdir_flag_spec[_CXX] at the end of the linux*) case block that sets the Linux-specific value. But here we run autoreconf in ExternalProject_libassuan, so that patch in configure would be overwritten. The relevant code in configure comes from autoconf boilerplate, so we cannot just do the same patch in configure.ac. But we can reset hardcode_libdir_flag_spec sufficiently late in configure.ac so that things still work as intended. Disable tests that would build executabes linking against libgpgme.so, which in turn links against the libassuan and libgpg-error libs, which would no longer be found by the linker because of the dropped -rpath flags. (Alternatives might be to pass in LD_LIBRARY_PATH or to link with --allow-shlib-undefined.) Change-Id: I7e37abf802d213347bd80383b7980d85cf0762d4 Reviewed-on: https://gerrit.libreoffice.org/50960 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-03-08Fix external/libassuan Linux RPATHStephan Bergmann
In other external projects using libtool, we fix that by patching configure, resetting hardcode_libdir_flag_spec[_CXX] at the end of the linux*) case block that sets the Linux-specific value. But here we run autoreconf in ExternalProject_libassuan, so that patch in configure would be overwritten. The relevant code in configure comes from autoconf boilerplate, so we cannot just do the same patch in configure.ac. But we can reset hardcode_libdir_flag_spec sufficiently late in configure.ac so that things still work as intended. Change-Id: Ic6c6123bcfe8bc2dac87812f919842519374abaa Reviewed-on: https://gerrit.libreoffice.org/50959 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-02-07Fix typoAndrea Gelmini
Change-Id: Iaa48657cdffc12b0e7bf1e39476e84445ea6fc3b Reviewed-on: https://gerrit.libreoffice.org/49353 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2018-02-07Fix CustomTarget_postprocess/check_dynamic_objects for --enable-gtk3-kde5Stephan Bergmann
Change-Id: Ie8c2389e8e0801b092abcfef751325cdf369b98d
2018-02-07Fix CustomTarget_postprocess/check_dynamic_objects for --enable-qt5Stephan Bergmann
The dependency of Library_vcl on qt5 libraries (via vcl/qt5/Qt5Font.cxx) is there ever since b66a7cbd8491fe436126e11975c360f47ae346ed "QT5 first stab on implementing CommonSalLayout", but no idea whether that is by design or is a hack that should eventually be cleaned up. Change-Id: I4cec702709b37069987ec68c035628b5172b3543
2018-02-07Fix CustomTarget_postprocess/check_dynamic_objects for --enable-dconfStephan Bergmann
Change-Id: I345055bf56828fc597d14c654d4819e87630da2c
2018-02-06check-elf-objects: add mergedlib libs for Linux-rpm_deb-x86_64@70-TDFMichael Stahl
Change-Id: I7b0febee10a98809073f0bfd023d39d32684a566
2018-02-06check-elf-objects: add 32-bit libs for Linux-rpm_deb-x86@71-TDF-dbgMichael Stahl
Change-Id: Ibd308d94c7cd92ab5e2590554b54517d2ef898fe
2018-02-06basename -a is non-standardStephan Bergmann
...and apparently not supported on some tinderboxes like tb70 and tb71 Change-Id: I37dae3e7bbb0b9324adf04819fa87fb6a5b9f1d0
2018-02-05postprocess: enable the check-elf-dynamic-objects for realMichael Stahl
Change-Id: Ie08d3dfc6306c18da7b1a5c000a75a18917c1f70 Reviewed-on: https://gerrit.libreoffice.org/45529 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2017-11-29check-elf-dynamic-objects: wait only onceMichael Stahl
Norbert points out that wait without arguments will wait for all outstanding processes. Change-Id: If850fd4a2e46a2c05d2917d38478ee2d3112bd78
2017-11-29fix check-elf-dynamic-objects -pMichael Stahl
It needs to wait for all background tasks to exit. Change-Id: I8770f3d79d66ab2fae727ae7cbbc00e3b22e5e54
2016-12-13change from glew to epoxyCaolán McNamara
because that works under wayland out of the box and gtk3 uses it already Change-Id: Iefaac31e325534a81a5389f752804af917c1baef Reviewed-on: https://gerrit.libreoffice.org/31213 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-12-12[API CHANGE] Remove salcpprt static libraryStephan Bergmann
...containing replacements for global operator new/delete (that can be linked into executables), but which is no longer used. The mail thread starting at <https://lists.freedesktop.org/archives/libreoffice/2012-March/028690.html> "operator new no longer routes through rtl_AllocMemory in libsalcpprt under gbuild link rules" has the details of how this was used on some platforms (but not on others) before the switch to gbuild, and has been "lost" ever since---but apparently a loss not mourned much over the years. For the SDK, c5f974287fd04bb529de145113133b9e35687702 "INTEGRATION: CWS jsc3: #i62434# copy libsalcpprt.a" added the library (under Linux) and 6db9c5af960f9787e33e4addc56bddbb1695a402 "INTEGRATION: CWS jsc3: #i62434# extend link options for executbales to link libsalcpprt.a, LINUX only" added its use to odk/settings/settings.mk, but fc0ca57f2cd649c6330171445a06b80e2143a0e9 "INTEGRATION: CWS jsc21" removed that use again (for no documented reason). So this is an incompatible change, but unlikely to actually affect any users of the SDK. Change-Id: Ia38b4c439f21fca3f5d9af7d1a34054e992054e9 Reviewed-on: https://gerrit.libreoffice.org/31810 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-10-11check-elf-dynamic-objects: check sdk/bin tooMichael Stahl
It takes almost no time, but this way of doing it changes the interpretation of the -d parameter; not sure how important that is. Change-Id: I9d29cdf96d7006d5daea00bcc41e613fbd30aac8 Reviewed-on: https://gerrit.libreoffice.org/29707 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2016-10-11check-elf-dynamic-objects: OpenSuSE uses DT_RUNPATH, not DT_RPATHMichael Stahl
... like Fedora, so check for either. Change-Id: I0e88c8e6e7634e7cc483474bc3f654e666c3bab2
2016-10-10check-elf whitelist libxml2 not libxmlNorbert Thiebaud
Change-Id: If0179726861c867f9c25c13f9eb0b61faaee9524
2016-10-10Support parallelism for check-elf-dynamic-objectsNorbert Thiebaud
using that and restricting the tests to the content of instdir/program bring the runtime on out slave builder from 4 minutes+ to just above one second added -d <path> to override INSTDIR added -p to indicate parallelism (no limit for now, so be cautious with the -d you point too Change-Id: I14c140f54bea329b82960843a6db44bfaf6c7108
2016-10-10check-elf-dynamic-objects: file is far too slowMichael Stahl
... so use readelf itself to check if it's an ELF file. Also just skip the SDK documentation which is 2/3 of all files. Change-Id: Icfd3023dd5b2ccc4f4e94fbb05cdd4eb05051f86
2016-10-10check-elf-dynamic-objects: add libxml/libxslt to global whitelistMichael Stahl
Change-Id: Ida6495171f900edf4abe5f6ceba3a6dc2de7c2de
2016-09-21add bin/check-elf-dynamic-objectsMichael Stahl
Change-Id: Ia21375e376c25f9731455ef505422fa9bab884cb