Discussion:
Bug#1086766: kimap FTBFS with the nocheck build profile: missing files
Add Reply
Helmut Grohne
2024-11-05 16:40:01 UTC
Reply
Permalink
Source: kimap
Version: 22.12.3-1
Severity: serious
Tags: ftbfs trixie sid
Justification: nocheck ftbfs is serious since trixie

Hi,

kimap fails to build from source when enabling the nocheck build
profile. A build ends as follows:

| dh_install
| dh_install: warning: Cannot find (any matches for) "usr/include/KF5/KIMAPTest/kimaptest/fakeserver.h" (tried in ., debian/tmp)
|
| dh_install: warning: libkf5imap-dev missing files: usr/include/KF5/KIMAPTest/kimaptest/fakeserver.h
| dh_install: warning: Cannot find (any matches for) "usr/include/KF5/KIMAPTest/kimaptest/mockjob.h" (tried in ., debian/tmp)
|
| dh_install: warning: libkf5imap-dev missing files: usr/include/KF5/KIMAPTest/kimaptest/mockjob.h
| dh_install: warning: Cannot find (any matches for) "usr/lib/*/libkimaptest.a" (tried in ., debian/tmp)
|
| dh_install: warning: libkf5imap-dev missing files: usr/lib/*/libkimaptest.a
| dh_install: error: missing files, aborting
| make: *** [debian/rules:11: binary] Error 255
| dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

I suspect that the upstream build system uses BUILD_TESTING (which is
passed by debhelper) to conditionalize tests and has install rules in
thus guarded files.

Helmut
Sune Stolborg Vuorela
2024-11-06 09:50:01 UTC
Reply
Permalink
Post by Helmut Grohne
kimap fails to build from source when enabling the nocheck build
| dh_install
|
| dh_install: warning: Cannot find (any matches for)
| "usr/include/KF5/KIMAPTest/kimaptest/fakeserver.h" (tried in .,
| "usr/include/KF5/KIMAPTest/kimaptest/mockjob.h" (tried in ., debian/tmp)
| find (any matches for) "usr/lib/*/libkimaptest.a" (tried in .,
These are not as such tests themselves, but helpers to enable users of kimap
to help test their usage of kimap.

The simple solution here might to just force BUILD_TESTING (but not run the
tests) in the nocheck build profile.

/Sune
--
I didn’t stop pretending when I became an adult, it’s just that when I was a
kid I was pretending that I fit into the rules and structures of this world.
And now that I’m an adult, I pretend that those rules and structures exist.
- zefrank
Loading...