Source: ucf
Version: 3.0049
Tags: ftbfs

Dear Maintainer,

The source package ucf FTBFS on a current Trixie system running on AMD64 as 
well as on ARM64.
Some of the tests are failing. Furthermore the tests run although the 
environment variables are set so skip any checks with 
DEB_BUILD_PROFILES="nocheck" and well as DEB_BUILD_OPTIONS="nocheck 
noautodbgsym noddebs"


Log output:
---
make[1]: Entering directory '/home/bob/ucf-3.0049'
pod2man -r 'Debian' -c 'User Commands' ucfq man/ucfq.1
sh -n  ucf
sh -n  ucfr
perl -wc ucfq
ucfq syntax OK
podchecker ucfq
ucfq pod syntax OK.
sh -n  debian/ucf.preinst
sh -n  debian/ucf.postinst
sed -i "s#^pversion='.*'\$#pversion='3.0049'#" ucf ucfr
sh -n  debian/ucf.postrm
./t/run
sed -i "s#VERSION[[:space:]]*=.*;\$#VERSION = 3.0049;#" ucfq
Running ./basic
Running ./sanitise_env_optind
Running ./options
diff: expected/target: No such file or directory
ERROR: test ./options FAILED
Running ./dpkg_confmiss
Running ./confdel
diff: expected/target: No such file or directory
ERROR: test ./confdel FAILED
Running ./code_injection
Running ./basic_noaction
diff: expected/target: No such file or directory
ERROR: test ./basic_noaction FAILED
Running ./md5sum_nomatch
Running ./confold
Running ./purge
Only in /var/lib/ucf: cache
ERROR: test ./purge FAILED
Running ./basic_with_re_special
--- expected/output     2025-01-28 13:57:24.000000000 +0000
+++ -   2025-02-19 08:10:40.218333034 +0000
@@ -1,13 +1,13 @@
-The new start file is      `/home/mark/src/debian/ucf/t/basic/input.conf\'
+The new start file is      `/home/bob/ucf-3.0049/t/basic/input.conf\'
 The destination is         `/tmp/bre[]+?{|input.conf\'  
(`[[:space:]]/tmp/bre\[]+?{|input\.conf$\')
-The history is kept under  \'/home/mark/src/debian/ucf/t/basic\'
+The history is kept under  \'/home/bob/ucf-3.0049/t/basic\'
 The file may be cached at \'/var/lib/ucf/cache/:tmp:bre[]+?{|input.conf\'
 The destination file does not exist.
 The old md5sum does not exist.
 The new file exists, and has md5sum:
-9adb3f4dd959f9427c489b1704aa609e  /home/mark/src/debian/ucf/t/basic/input.conf
+9adb3f4dd959f9427c489b1704aa609e  /home/bob/ucf-3.0049/t/basic/input.conf
 Historical md5sums are not available
-The new start file is      `/home/mark/src/debian/ucf/t/basic/input.conf\'
+The new start file is      `/home/bob/ucf-3.0049/t/basic/input.conf\'
 The destination is         `/tmp/bre[]+?{|input.conf\'  
(`[[:space:]]/tmp/bre\[]+?{|input\.conf$\')
-The history is kept under  \'/home/mark/src/debian/ucf/t/basic\'
+The history is kept under  \'/home/bob/ucf-3.0049/t/basic\'
 The file may be cached at \'/var/lib/ucf/cache/:tmp:bre[]+?{|input.conf\'
ERROR: test ./basic_with_re_special FAILED
Running ./ucfr_ucfq
Running ./confnew
Running ./dpkg_confdef
Running ./example_rename_deleted
diff: expected/target: No such file or directory
ERROR: test ./example_rename_deleted FAILED
Running ./example_rename_unmodified
Running ./basic_with_spaces
Running ./dpkg_confold
Running ./confmod
Running ./dpkg_confnew
Running ./md5sum_match
Running ./confmiss
Running ./sanitise_env_multiline
Running ./dpkg_confmod_forcenew
Running ./dpkg_confask
Running ./confmod_forcenew
Running ./example_rename_modified
Running ./example_remove
diff: expected/target: No such file or directory
ERROR: test ./example_remove FAILED
Testsuite report:
  Success: 21
  Skipped: 0
  Failed: 7
  TOTAL: 28
make[1]: *** [Makefile:25: check] Error 1
---

Digging into the ./t/run script it seems thate there are some parent folders 
are missing in some of the test case folders:
expected/target
expected/state

Also, there are some hard coded user paths in the files which are compared with 
diff and don’t exist on any other build system or container


Best regards,
Dirk Mayer

Reply via email to