Public bug reported:

This is FTFBS for 12 days now
https://launchpadlibrarian.net/569860671/buildlog_ubuntu-jammy-amd64.ldc_1%3A1.28.0-1_BUILDING.txt.gz

The same in Debian worked fine
https://buildd.debian.org/status/fetch.php?pkg=ldc&arch=amd64&ver=1%3A1.28.0-1%2Bb1&stamp=1636718694&raw=1

Our fail is:
   dh_install
dh_install: warning: Cannot find (any matches for) "usr/lib/libldc-jit.so.*" 
(tried in ., debian/tmp)

dh_install: warning: libphobos2-ldc-shared98 missing files: 
usr/lib/libldc-jit.so.*
dh_install: warning: Cannot find (any matches for) "usr/lib/libldc-jit.so" 
(tried in ., debian/tmp)

dh_install: warning: libphobos2-ldc-shared-dev missing files: 
usr/lib/libldc-jit.so
dh_install: warning: Cannot find (any matches for) "usr/lib/libldc-jit-rt.a" 
(tried in ., debian/tmp)

dh_install: warning: libphobos2-ldc-shared-dev missing files:
usr/lib/libldc-jit-rt.a


And the reason those do not exists seems to be in our config step already.
We have llvm 13 (biggest difference to Debian which has 11 still).

...
-- -- Building LDC with dynamic compilation support (LDC_DYNAMIC_COMPILE): OFF
...

While Debian has ON at the same config step.

This is locally reproducible in sbuild (the good Debian and the bad
ubuntu build) and there via:

mkdir buildtest; cd buildtest; cmake -DCMAKE_INSTALL_PREFIX=/usr
-DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc
-DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON
-DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF
-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON
-DCMAKE_INSTALL_RUNSTATEDIR=/run "-GUnix Makefiles"
-DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu
-DD_COMPILER=/usr/bin/gdmd -DBUILD_SHARED_LIBS=ON ..

** Affects: ldc (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: update-excuse

** Tags added: update-excuse

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1951845

Title:
  1.28.0-1 FTBFS in Jammy - libldc-jit.so not built

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ldc/+bug/1951845/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to