Over the last several months, I and others have found quite a few packages that embed build paths via rpath when building with cmake. I found myself slowly edging into a mass bug filing, one bug report at a time...
I ended up submitting a few patches and noting some affected packages: https://tests.reproducible-builds.org/debian/issues/unstable/cmake_rpath_contains_build_path_issue.html There are almost certainly packages missing from that list, as it is generated by human confirmation... In many cases I've tested so far, passing an argument via a dh_auto_configure override in debian/rules fixes the issue: override_dh_auto_configure: dh_auto_configure -- -DCMAKE_BUILD_RPATH_USE_ORIGIN=ON Alternately, the experimental debhelper compat level v14 does include a fix for these embedded rpaths, though in the current state, passing both -DCMAKE_SKIP_RPATH=ON and -DCMAKE_RPATH_USE_ORIGIN=ON, it triggers build failures 263 packages, according to a test run by Lucas Nussbaum in October: http://qa-logs.debian.net/2021/10/25/diff.dcsr.txt Since debhelper v14 is not finalized yet, I just sent a request to debhelper to only pass one of the arguments, -DCMAKE_RPATH_USE_ORIGIN=ON, which should significantly reduce the number of build failures while still making many packages reproducible with debhelper compat v14: https://bugs.debian.org/1004939 I've attached a list of the maintainers of affected packages produced with dd-list, getting the list of packages from the above-mentioned reproducible builds issue and diff.dcsr.txt from archive rebuild. If you're on the list, would love if you could check if your package still builds correctly when passing only -DCMAKE_BUILD_RPATH_USE_ORIGIN=ON. For a few of the packages, there are already patches in the Debian bug tracking system waiting for you! Thanks everyone! live well, vagrant
"Adam C. Powell, IV" <[email protected]> oce (U) A. Maitland Bottoms <[email protected]> gr-funcube (U) gr-gsm (U) gr-hpsdr (U) gr-iqbal gr-limesdr (U) gr-satellites (U) libad9361 Adam Borowski <[email protected]> pmemkv vmemcache Aigars Mahinovs <[email protected]> dlt-daemon Alastair McKinstry <[email protected]> libtool mathgl (U) Alberto Luaces Fernández <[email protected]> openscenegraph Alessio Di Mauro <[email protected]> yubico-piv-tool (U) Alessio Treglia <[email protected]> leveldb (U) libsoxr (U) Alexander GQ Gerasiov <[email protected]> croaring Alexandre Marie <[email protected]> ufo-core (U) Alf Gaida <[email protected]> juffed (U) screengrab (U) Andrea Capriotti <[email protected]> userbindmount (U) vdeplug4 (U) Andreas Beckmann <[email protected]> pocl (U) Andreas Bombe <[email protected]> gr-limesdr (U) soapyosmo (U) soapysdr (U) Andreas Rönnquist <[email protected]> allegro5 (U) Andreas Tille <[email protected]> libbpp-seq (U) libbpp-seq-omics (U) liblemon (U) libminc (U) libvbz-hdf-plugin (U) libzeep (U) openmm (U) spoa (U) Andrew Lee (李健秋) <[email protected]> screengrab (U) Andrew Pollock <[email protected]> log4cplus Andrey Rahmatullin <[email protected]> librsync Andrius Merkys <[email protected]> openmm (U) openstructure (U) Ansgar <[email protected]> dune-common (U) dune-geometry (U) dune-grid (U) dune-grid-glue (U) dune-uggrid (U) Anthony Fok <[email protected]> fontforge (U) Anton Gladky <[email protected]> alglib (U) benchmark (U) cctz (U) kim-api (U) libopenshot (U) liggghts (U) metis (U) tetgen (U) vtk9 (U) Apollon Oikonomopoulos <[email protected]> leatherman (U) Arne Bernin <[email protected]> libfreenect (U) Aron Xu <[email protected]> fcitx (U) libgooglepinyin (U) Aurelien Jarno <[email protected]> libftdi libftdi1 Aurélien COUDERC <[email protected]> analitza (U) artikulate (U) elisa-player (U) kdebugsettings (U) keditbookmarks (U) kget (U) libkeduvocdocument (U) okteta (U) Ayatana Packagers <[email protected]> qmenumodel Barak A. Pearlmutter <[email protected]> cppad (U) mlpack (U) Bartosz Fenski <[email protected]> supertux (U) Bas Couwenberg <[email protected]> geos (U) qgis (U) sfcgal (U) Ben Burton <[email protected]> regina-normal Benjamin Barenblat <[email protected]> abseil Benjamin Drung <[email protected]> libsoxr (U) Bjoern Ricks <[email protected]> grantlee5 (U) Boian Bonev <[email protected]> gammu Boris Pek <[email protected]> eiskaltdcpp Boyuan Yang <[email protected]> cjson fcitx5 (U) fcitx5-gtk (U) fcitx5-qt (U) go-for-it libavif (U) libime (U) libxlsxwriter (U) qevercloud tidy-html5 (U) xcb-imdkit (U) zxing-cpp Bret Curtis <[email protected]> recastnavigation (U) Carlos Donizete Froes <[email protected]> surgescript (U) CESNET <[email protected]> libyang (U) ChangZhuo Chen (陳昌倬) <[email protected]> juffed (U) screengrab (U) Chow Loong Jin <[email protected]> tinyxml2 Christoph Berg <[email protected]> gr-limesdr (U) gr-satellites (U) libcm256cc (U) Christoph Junghans <[email protected]> votca-csg (U) votca-tools (U) Christoph Martin <[email protected]> nfs-ganesha (U) Connor Imes <[email protected]> powercap Cristian Greco <[email protected]> poco (U) Dain Nilsson <[email protected]> yubico-piv-tool (U) Daniel Kahn Gillmor <[email protected]> fontforge (U) Daniel Schepler <[email protected]> kpat (U) libkdegames (U) David Bremner <[email protected]> ledger David Lamparter <[email protected]> libyang David Prévot <[email protected]> cmocka Davide Viti <[email protected]> fontforge (U) Debian Astro Team <[email protected]> purify sopt Debian Authentication Maintainers <[email protected]> yubico-piv-tool Debian Bridges Team <[email protected]> libcork libcorkipset Debian Deep Learning Team <[email protected]> pthreadpool Debian Deepin Packaging Team <[email protected]> libxlsxwriter (U) Debian Fonts Task Force <[email protected]> fontforge Debian Games Team <[email protected]> allegro5 colobot hedgewars ogre-1.9 recastnavigation spring supertux surgescript Debian GIS Project <[email protected]> geos qgis sfcgal Debian GNOME Maintainers <[email protected]> evolution evolution-ews Debian Hamradio Maintainers <[email protected]> gr-funcube gr-gsm gr-hpsdr gr-limesdr gr-satellites libcm256cc soapyosmo soapysdr Debian Input Method Team <[email protected]> fcitx fcitx5 fcitx5-gtk fcitx5-qt libgooglepinyin libime xcb-imdkit Debian IoT Maintainers <[email protected]> hoel iddawc orcania rhonabwy ulfius yder Debian KDE Extras Team <[email protected]> alkimia gammaray kdiagram kphotoalbum ktorrent lensfun soundkonverter Debian Kolab Maintainers <[email protected]> libkolabxml Debian Krap Maintainers <[email protected]> grantlee5 indi Debian Med Packaging Team <[email protected]> camp cassiopee ciftilib ismrmrd libbpp-seq libbpp-seq-omics liblemon libminc libqes libvbz-hdf-plugin libvistaio libzeep spdlog spoa Debian Med Packaging Team <[email protected]> maxflow Debian Mobcom Maintainers <[email protected]> freediameter Debian Multimedia Maintainers <[email protected]> csound inkscape kissfft libavif libmysofa libopenshot libsoxr libwebm nordlicht x265 Debian OpenCL Maintainers <[email protected]> pocl Debian PhotoTools Maintainers <[email protected]> ilmbase imath Debian QA Group <[email protected]> libcue liblaxjson wbxml2 Debian Qt Extras Team <[email protected]> gcompris-qt Debian Qt/KDE Maintainers <[email protected]> akonadi akonadi-contacts akonadi-import-wizard akonadi-mime akonadi-notes akonadiconsole akregator analitza artikulate attica-kf5 bluez-qt clazy elisa-player k3b kalarmcal kcmutils kcodecs kcompletion kconfigwidgets kcontacts kcrash kdebugsettings kdeclarative kdesu keditbookmarks kget kholidays kitemmodels kitinerary kjs kldap kmbox kmediaplayer kontact kpackage kparts kpat kpkpass ksyntax-highlighting ktextwidgets ktnef kuserfeedback kwallet-kf5 kxmlrpcclient libkdegames libkeduvocdocument libkf5calendarsupport pim-sieve-editor pkg-kde-tools plasma-nm plasma-thunderbolt prison-kf5 qca2 syndication threadweaver Debian Remote Maintainers <[email protected]> libvncserver Debian Robotics Team <[email protected]> fastcdr foonathan-memory Debian Science Maintainers <[email protected]> mlpack Debian Science Maintainers <[email protected]> asl cld2 clfft dart docopt.cpp dune-common dune-geometry dune-grid dune-grid-glue dune-uggrid fcl gemmlowp glbinding globjects graywolf hepmc3 ignition-common ignition-math ignition-msgs libccd liggghts mathgl metis netgen nsync oce orocos-bfl primesieve ros-rosconsole-bridge ros-rospack scalapack segyio simbody sleef trilinos ufo-core urdfdom visp xeus xeus-python Debian Science Team <[email protected]> cg3 cppad Debian Science Team <[email protected]> alglib benchmark cctz cryptominisat kim-api meshlab nexus schroedinger-coordgenlibs schroedinger-maeparser simage tetgen vtk9 Debian SSSD Team <[email protected]> uid-wrapper Debian UBports Team <[email protected]> libqtdbusmock (U) libqtdbustest (U) lomiri-api lomiri-thumbnailer net-cpp qmenumodel (U) Debian VirtualSquare Team <[email protected]> userbindmount vdeplug4 Debian X Strike Force <[email protected]> vulkan-loader Debian XMPP Maintainers <[email protected]> dino-im Debian/Kubuntu Qt/KDE Maintainers <[email protected]> okteta pulseaudio-qt Debichem Team <[email protected]> chemps2 openmm openstructure votca-csg votca-tools votca-xtp Denis Barbier <[email protected]> oce (U) Dennis Braun <[email protected]> csound (U) Diane Trout <[email protected]> libkolabxml (U) Dimitrios Eftaxiopoulos <[email protected]> mathgl (U) Dmitry E. Oboukhov <[email protected]> hedgewars (U) Dmitry Shachnev <[email protected]> pkg-kde-tools (U) Dmitry Smirnov <[email protected]> gnucash Dr. Tobias Quathamer <[email protected]> libopenshot (U) Eduard Bloch <[email protected]> encfs Eugene V. Lyubimkin <[email protected]> cupt Fabian Wolff <[email protected]> z3 (U) Fabien Spindler <[email protected]> visp (U) Felix Geyer <[email protected]> qca2 (U) Flavien Bridault <[email protected]> camp (U) Forrest Cahoon <[email protected]> csound (U) Francesco Paolo Lovergine <[email protected]> geos (U) qgis (U) Georges Khaznadar <[email protected]> enki-aseba Gert Wollny <[email protected]> maxflow (U) vtk9 (U) Gert Wollny <[email protected]> libvistaio (U) Ghislain Antony Vaillant <[email protected]> ciftilib (U) clfft (U) docopt.cpp (U) glbinding (U) globjects (U) ismrmrd (U) Gianfranco Costamagna <[email protected]> cld2 (U) cpprest dlt-daemon (U) hedgewars (U) yaml-cpp (U) Gijs Molenaar <[email protected]> purify (U) sopt (U) Gordon Ball <[email protected]> xeus (U) xeus-python (U) Graham Inggs <[email protected]> trilinos (U) Gudjon I. Gudjonsson <[email protected]> alglib (U) Gürkan Myczko <[email protected]> meshlab (U) Harlan Lieberman-Berg <[email protected]> nanomsg Henning Glawe <[email protected]> libktoblzcheck (U) HepMC developers <[email protected]> hepmc3 (U) Hideki Yamane <[email protected]> fontforge (U) Hubert Chathi <[email protected]> olm (U) Håvard Flaget Aasen <[email protected]> c-blosc Héctor Orón Martínez <[email protected]> intel-processor-trace (U) Iain Lane <[email protected]> evolution-ews (U) IOhannes m zmölnig (Debian/GNU) <[email protected]> csound (U) libmysofa (U) Jakub Adam <[email protected]> gammaray (U) James Cowgill <[email protected]> mbedtls James McCoy <[email protected]> msgpack-c Jeremy Bicha <[email protected]> evolution (U) evolution-ews (U) Jerome Benoit <[email protected]> primesieve (U) Jerome Kieffer <[email protected]> clfft (U) Jerome Lebleu <[email protected]> rspamd (U) Jochen Sprickerhof <[email protected]> orocos-bfl (U) poco (U) ros-rosconsole-bridge (U) ros-rospack (U) Johannes 'josch' Schauer <[email protected]> fuzzylite Johannes Schauer <[email protected]> orocos-bfl (U) Jonas Smedegaard <[email protected]> cmark editorconfig-core fontforge (U) olm (U) Jonathan Carter <[email protected]> calamares Jordan Justen <[email protected]> piglit Jose Luis Rivero <[email protected]> dart (U) fcl (U) ignition-common (U) ignition-math (U) ignition-msgs (U) libccd (U) simbody (U) urdfdom (U) Julian Rüth <[email protected]> cryptominisat (U) Julien Dutheil <[email protected]> libbpp-seq (U) libbpp-seq-omics (U) Julien Puydt <[email protected]> cryptominisat (U) Jørgen Kvalsvik <[email protected]> segyio (U) Kamal Mostafa <[email protected]> hershey-fonts Kartik Mistry <[email protected]> cg3 (U) Keith Packard <[email protected]> cmark-gfm Kevin Murray <[email protected]> libqes (U) Klas Lindfors <[email protected]> yubico-piv-tool (U) Krzysztof Burghardt <[email protected]> poco Kurt Kremitzki <[email protected]> netgen (U) Laszlo Boszormenyi (GCS) <[email protected]> gflags leveldb nng snappy upb Laurent Bigonville <[email protected]> evolution (U) Leandro Ramos <[email protected]> go-for-it (U) Leopold Palomo-Avellaneda <[email protected]> fcl (U) ros-rosconsole-bridge (U) ros-rospack (U) Lev Lamberov <[email protected]> swi-prolog Lisandro Damián Nicanor Pérez Meyer <[email protected]> akonadi-contacts (U) akonadi-mime (U) akonadi-notes (U) kpat (U) pkg-kde-tools (U) LLVM Packaging Team <[email protected]> z3 Lucas Nussbaum <[email protected]> pajeng (U) Lukas Märdian <[email protected]> zziplib (U) LXQt Packaging Team <[email protected]> juffed screengrab Ma Aiguo <[email protected]> libxlsxwriter Maarten L. Hekkelman <[email protected]> libzeep (U) Manuel A. Fernandez Montecelo <[email protected]> ogre-1.9 (U) openscenegraph (U) Mark Purcell <[email protected]> alkimia (U) lensfun (U) soundkonverter (U) Mark Renouf <[email protected]> libfreenect (U) Markus Koschany <[email protected]> spring (U) Martin <[email protected]> dino-im (U) Martin Quinson <[email protected]> pajeng Mathieu Malaterre <[email protected]> ilmbase (U) Matrix Packaging Team <[email protected]> olm Matt Palmer <[email protected]> ledger (U) Matteo Cypriani <[email protected]> qmmp Matteo F. Vescovi <[email protected]> ilmbase (U) imath (U) Matthias Maier <[email protected]> trilinos (U) Mattia Biondi <[email protected]> userbindmount (U) vdeplug4 (U) Mattia Rizzolo <[email protected]> inkscape (U) Mattias Ellert <[email protected]> gfal2 scitokens-cpp Maximiliano Curia <[email protected]> grantlee5 (U) indi (U) pkg-kde-tools (U) qca2 (U) Micha Lenk <[email protected]> libktoblzcheck Michael Banck <[email protected]> chemps2 (U) votca-csg (U) votca-tools (U) Michael Meskes <[email protected]> akonadi-import-wizard (U) akonadiconsole (U) akregator (U) k3b (U) kontact (U) pim-sieve-editor (U) soundkonverter (U) Michael R. Crusoe <[email protected]> benchmark (U) spdlog (U) Mike Gabriel <[email protected]> libqtdbusmock (U) libqtdbustest (U) libvncserver (U) lomiri-api (U) lomiri-thumbnailer (U) net-cpp (U) qmenumodel (U) Mikhail Gusarov <[email protected]> rspamd (U) Miles Lubin <[email protected]> cppad (U) Mirek Kratochvil <[email protected]> apulse Mo Zhou <[email protected]> hepmc3 (U) Mo Zhou <[email protected]> gemmlowp (U) nsync (U) pthreadpool (U) sleef (U) Modestas Vainius <[email protected]> ktorrent (U) pkg-kde-tools (U) Muammar El Khatib <[email protected]> scalapack (U) Nathan Osman <[email protected]> qhttpengine Nicholas Breen <[email protected]> votca-csg (U) votca-tools (U) votca-xtp (U) Nicholas Guriev <[email protected]> rlottie Nick Black <[email protected]> notcurses Nico Schlömer <[email protected]> vtk9 (U) Nicolas Bourdaud <[email protected]> libfreenect Nicolas Mora <[email protected]> hoel (U) iddawc (U) json-c libical3 orcania (U) rhonabwy (U) ulfius (U) yder (U) nicoo <[email protected]> yubico-piv-tool (U) Nilesh Patra <[email protected]> libvbz-hdf-plugin (U) Norbert Preining <[email protected]> akonadi (U) akonadi-contacts (U) akonadi-import-wizard (U) akonadi-mime (U) akonadi-notes (U) akonadiconsole (U) akregator (U) analitza (U) artikulate (U) attica-kf5 (U) bluez-qt (U) elisa-player (U) k3b (U) kalarmcal (U) kcmutils (U) kcodecs (U) kcompletion (U) kconfigwidgets (U) kcontacts (U) kcrash (U) kdebugsettings (U) kdeclarative (U) kdesu (U) keditbookmarks (U) kget (U) kholidays (U) kitemmodels (U) kitinerary (U) kjs (U) kldap (U) kmbox (U) kmediaplayer (U) kontact (U) kpackage (U) kparts (U) kpat (U) kphotoalbum (U) kpkpass (U) ksyntax-highlighting (U) ktextwidgets (U) ktnef (U) kwallet-kf5 (U) kxmlrpcclient (U) libkdegames (U) libkeduvocdocument (U) libkf5calendarsupport (U) pim-sieve-editor (U) plasma-nm (U) plasma-thunderbolt (U) prison-kf5 (U) syndication (U) threadweaver (U) Ole Streicher <[email protected]> purify (U) sopt (U) Olivier Sallou <[email protected]> cassiopee (U) visp (U) Ondřej Surý <[email protected]> brotli (U) libyang (U) libzip (U) tidy-html5 (U) Patrick Franz <[email protected]> plasma-nm (U) plasma-thunderbolt (U) Patrick Gansterer <[email protected]> poco (U) Patrick Matthäi <[email protected]> kid3 Patryk Cisek <[email protected]> injeqt Paul Klos <[email protected]> libkolabxml (U) Paulo Henrique de Lima Santana (phls) <[email protected]> kickpass Peter Pentchev <[email protected]> createrepo-c Peter Spiess-Knafl <[email protected]> libjson-rpc-cpp nordlicht (U) Petter Reinholdtsen <[email protected]> gr-gsm (U) Philippe Deniel <[email protected]> nfs-ganesha Picca Frédéric-Emmanuel <[email protected]> ufo-core (U) Pino Toscano <[email protected]> clazy (U) grantlee5 (U) indi (U) kdiagram (U) lensfun (U) pkg-kde-tools (U) plasma-thunderbolt (U) Puppet Package Maintainers <[email protected]> leatherman Rafael Laboissière <[email protected]> mathgl (U) Renzo Davoli <[email protected]> userbindmount (U) vdeplug4 (U) Rob Browning <[email protected]> emacs Robert McGibbon <[email protected]> openmm (U) Roberto C. Sanchez <[email protected]> luabind Roger Shimizu <[email protected]> libcork (U) libcorkipset (U) Rogério Brito <[email protected]> fontforge (U) Roman Ondráček <[email protected]> paho.mqtt.c Ruben Undheim <[email protected]> freediameter (U) graywolf (U) Ryan Pavlik <[email protected]> meshlab (U) Sandro Knauß <[email protected]> akonadi (U) akonadi-contacts (U) akonadi-import-wizard (U) akonadi-mime (U) akonadi-notes (U) akonadiconsole (U) akregator (U) cmocka (U) kalarmcal (U) kcontacts (U) kitinerary (U) kldap (U) kmbox (U) kontact (U) kpkpass (U) ktnef (U) kuserfeedback (U) libkf5calendarsupport (U) libkolabxml (U) pim-sieve-editor (U) Scarlett Clark <[email protected]> clazy (U) Scarlett Moore <[email protected]> k3b (U) kuserfeedback (U) plasma-nm (U) plasma-thunderbolt (U) pulseaudio-qt (U) Scott Howard <[email protected]> alglib (U) zziplib Sebastian Ramacher <[email protected]> x265 (U) Sebastian Wouters <[email protected]> chemps2 (U) Sebastien Bacher <[email protected]> evolution (U) Sebastien Badia <[email protected]> rspamd Sepi Gair <[email protected]> libxtrxll Serge Cohen <[email protected]> ufo-core (U) Sergio Durigan Junior <[email protected]> intel-processor-trace (U) rspamd (U) Shengjing Zhu <[email protected]> fmtlib sdbus-cpp Simon Quigley <[email protected]> gcompris-qt (U) yaml-cpp Stefan Schörghofer <[email protected]> libzip Steffen Moeller <[email protected]> schroedinger-coordgenlibs (U) schroedinger-maeparser (U) Steve M. Robbins <[email protected]> libminc (U) simage (U) Stuart Prescott <[email protected]> nexus (U) Sudip Mukherjee <[email protected]> trace-cmd Sune Vuorela <[email protected]> akonadi (U) Sune Vuorela <[email protected]> akonadi-contacts (U) akonadi-import-wizard (U) akonadi-mime (U) akonadi-notes (U) akonadiconsole (U) akregator (U) grantlee5 (U) keditbookmarks (U) kget (U) kontact (U) kpat (U) libkdegames (U) okteta (U) pim-sieve-editor (U) pkg-kde-tools (U) Sven Geggus <[email protected]> sfcgal (U) Taowa <[email protected]> dino-im (U) Teemu Ikonen <[email protected]> meshlab (U) The Ayatana Packagers <[email protected]> libqtdbusmock libqtdbustest Thomas Dreibholz <[email protected]> hipercontracer Thorsten Alteholz <[email protected]> hoel (U) nuspell orcania (U) ulfius (U) yder (U) Tidy HTML5 <[email protected]> tidy-html5 Timo Aaltonen <[email protected]> uid-wrapper (U) vulkan-loader (U) Timo Röhling <[email protected]> fastcdr (U) foonathan-memory (U) tinyexr tinyobjloader Tino Didriksen <[email protected]> cg3 (U) Tobias Frost <[email protected]> log4cplus (U) Tobias Hansen <[email protected]> allegro5 (U) Tomasz Buchert <[email protected]> brotli Vasudev Kamath <[email protected]> editorconfig-core (U) Vasudev Kamath <[email protected]> fontforge (U) Vasyl Gello <[email protected]> kissfft (U) libwebm (U) Victor Seva <[email protected]> intel-processor-trace Vincent Cheng <[email protected]> supertux (U) Vincent Danjean <[email protected]> pocl (U) William Blough <[email protected]> xalan Yangfl <[email protected]> yaramod Yaroslav Halchenko <[email protected]> libfreenect (U) YunQiang Su <[email protected]> fcitx (U) YunQiang Su <[email protected]> libgooglepinyin (U)
signature.asc
Description: PGP signature

