Bug#1044084: cif-api: Fails to build source after successful build

Lucas Nussbaum lucas at debian.org
Sun Aug 13 15:33:39 BST 2023


Source: cif-api
Version: 0.4.2-4
Severity: minor
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-sab-20230813 ftbfs-source-after-build
User: debian-qa at lists.debian.org
Usertags: qa-doublebuild

Hi,

This package fails to build a source package after a successful build
(dpkg-buildpackage ; dpkg-buildpackage -S).

This is probably a clear violation of Debian Policy section 4.9 (clean target),
but this is filed as severity:minor for now, because a discussion on
debian-devel showed that we might want to revisit the requirement of a working
'clean' target.

More information about this class of issues, included common problems and
solutions, is available at
https://wiki.debian.org/qa.debian.org/FTBFS/SourceAfterBuild

Relevant part of the build log:
> cd /<<PKGBUILDDIR>> && runuser -u user42 -- dpkg-buildpackage --sanitize-env -us -uc -rfakeroot -S
> ---------------------------------------------------------------------------------------------------------------------
> 
> dpkg-buildpackage: info: source package cif-api
> dpkg-buildpackage: info: source version 0.4.2-4
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Andrius Merkys <merkys at debian.org>
>  dpkg-source --before-build .
>  debian/rules clean
> dh clean
>    dh_auto_clean
> 	make -j8 distclean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> Making distclean in src
> make[2]: Entering directory '/<<PKGBUILDDIR>>/src'
>  rm -f cif_linguist
>  rm -f tests/test_get_api_version tests/test_create tests/test_create_block1 tests/test_create_block2 tests/test_get_block tests/test_get_all_blocks tests/test_multiple_cifs tests/test_block_create_frame1 tests/test_block_create_frame2 tests/test_block_get_frame tests/test_block_get_all_frames tests/test_container_create_loop1 tests/test_container_create_loop2 tests/test_container_get_category_loop tests/test_container_get_item_loop tests/test_container_get_all_loops tests/test_container_get_code tests/test_nested_frames tests/test_loop_get_names tests/test_value_create tests/test_value_get_number tests/test_value_init_char tests/test_value_copy_char tests/test_value_init_numb tests/test_value_autoinit_numb tests/test_value_parse_numb tests/test_list_elements tests/test_table_elements tests/test_value_clone 
> tests/test_packet_create tests/test_packet_set_item tests/test_packet_remove_item tests/test_container_set_value1 tests/test_container_set_value2 tests/test_container_get_value tests/test_packet_items tests/test_loop_packets tests/test_loop_modification tests/test_loop_set_category tests/test_loop_destroy tests/test_loop_add_item tests/test_container_remove_item tests/test_loop_misc tests/test_nesting tests/test_container_assert_block tests/test_ustrdup tests/test_normalize tests/test_analyze_string tests/test_container_prune tests/test_parse_10 tests/test_parse_simple_data tests/test_parse_list_data tests/test_parse_table_data tests/test_parse_complex_data tests/test_parse_simple_containers tests/test_parse_simple_loops tests/test_parse_cif1_quoting tests/test_parse_cif1_invalid tests/test_parse_unicode 
> tests/test_parse_text_fields tests/test_parse_minimal tests/test_parse_triple tests/test_parse_nested tests/test_parse_core tests/test_write_simple tests/test_write_complex tests/test_write_loops tests/test_write_frames tests/test_write_11 tests/test_value_set_quoted
> test -z "gmon.out tests/linktest.c tests/linktest.lo tests/linktest" || rm -f gmon.out tests/linktest.c tests/linktest.lo tests/linktest
> test -z "libcif.la" || rm -f libcif.la
> rm -rf .libs _libs
> rm -f *.o
> rm -rf tests/.libs tests/_libs
> rm -f ./so_locations
> test -z "tests/link.log tests/test_get_api_version.log tests/test_create.log tests/test_create_block1.log tests/test_create_block2.log tests/test_get_block.log tests/test_get_all_blocks.log tests/test_multiple_cifs.log tests/test_block_create_frame1.log tests/test_block_create_frame2.log tests/test_block_get_frame.log tests/test_block_get_all_frames.log tests/test_container_create_loop1.log tests/test_container_create_loop2.log tests/test_container_get_category_loop.log tests/test_container_get_item_loop.log tests/test_container_get_all_loops.log tests/test_container_get_code.log tests/test_nested_frames.log tests/test_loop_get_names.log tests/test_value_create.log tests/test_value_get_number.log tests/test_value_init_char.log tests/test_value_copy_char.log tests/test_value_init_numb.log tests/test_value_autoinit_numb.log 
> tests/test_value_parse_numb.log tests/test_list_elements.log tests/test_table_elements.log tests/test_value_clone.log tests/test_packet_create.log tests/test_packet_set_item.log tests/test_packet_remove_item.log tests/test_container_set_value1.log tests/test_container_set_value2.log tests/test_container_get_value.log tests/test_packet_items.log tests/test_loop_packets.log tests/test_loop_modification.log tests/test_loop_set_category.log tests/test_loop_destroy.log tests/test_loop_add_item.log tests/test_container_remove_item.log tests/test_loop_misc.log tests/test_nesting.log tests/test_container_assert_block.log tests/test_ustrdup.log tests/test_normalize.log tests/test_analyze_string.log tests/test_container_prune.log tests/test_parse_10.log tests/test_parse_simple_data.log tests/test_parse_list_data.log 
> tests/test_parse_table_data.log tests/test_parse_complex_data.log tests/test_parse_simple_containers.log tests/test_parse_simple_loops.log tests/test_parse_cif1_quoting.log tests/test_parse_cif1_invalid.log tests/test_parse_unicode.log tests/test_parse_text_fields.log tests/test_parse_minimal.log tests/test_parse_triple.log tests/test_parse_nested.log tests/test_parse_core.log tests/test_write_simple.log tests/test_write_complex.log tests/test_write_loops.log tests/test_write_frames.log tests/test_write_11.log tests/test_value_set_quoted.log" || rm -f tests/link.log tests/test_get_api_version.log tests/test_create.log tests/test_create_block1.log tests/test_create_block2.log tests/test_get_block.log tests/test_get_all_blocks.log tests/test_multiple_cifs.log tests/test_block_create_frame1.log 
> tests/test_block_create_frame2.log tests/test_block_get_frame.log tests/test_block_get_all_frames.log tests/test_container_create_loop1.log tests/test_container_create_loop2.log tests/test_container_get_category_loop.log tests/test_container_get_item_loop.log tests/test_container_get_all_loops.log tests/test_container_get_code.log tests/test_nested_frames.log tests/test_loop_get_names.log tests/test_value_create.log tests/test_value_get_number.log tests/test_value_init_char.log tests/test_value_copy_char.log tests/test_value_init_numb.log tests/test_value_autoinit_numb.log tests/test_value_parse_numb.log tests/test_list_elements.log tests/test_table_elements.log tests/test_value_clone.log tests/test_packet_create.log tests/test_packet_set_item.log tests/test_packet_remove_item.log tests/test_container_set_value1.log 
> tests/test_container_set_value2.log tests/test_container_get_value.log tests/test_packet_items.log tests/test_loop_packets.log tests/test_loop_modification.log tests/test_loop_set_category.log tests/test_loop_destroy.log tests/test_loop_add_item.log tests/test_container_remove_item.log tests/test_loop_misc.log tests/test_nesting.log tests/test_container_assert_block.log tests/test_ustrdup.log tests/test_normalize.log tests/test_analyze_string.log tests/test_container_prune.log tests/test_parse_10.log tests/test_parse_simple_data.log tests/test_parse_list_data.log tests/test_parse_table_data.log tests/test_parse_complex_data.log tests/test_parse_simple_containers.log tests/test_parse_simple_loops.log tests/test_parse_cif1_quoting.log tests/test_parse_cif1_invalid.log tests/test_parse_unicode.log 
> tests/test_parse_text_fields.log tests/test_parse_minimal.log tests/test_parse_triple.log tests/test_parse_nested.log tests/test_parse_core.log tests/test_write_simple.log tests/test_write_complex.log tests/test_write_loops.log tests/test_write_frames.log tests/test_write_11.log tests/test_value_set_quoted.log
> rm -f *.lo
> rm -f *.tab.c
> test -z "tests/link.trs tests/test_get_api_version.trs tests/test_create.trs tests/test_create_block1.trs tests/test_create_block2.trs tests/test_get_block.trs tests/test_get_all_blocks.trs tests/test_multiple_cifs.trs tests/test_block_create_frame1.trs tests/test_block_create_frame2.trs tests/test_block_get_frame.trs tests/test_block_get_all_frames.trs tests/test_container_create_loop1.trs tests/test_container_create_loop2.trs tests/test_container_get_category_loop.trs tests/test_container_get_item_loop.trs tests/test_container_get_all_loops.trs tests/test_container_get_code.trs tests/test_nested_frames.trs tests/test_loop_get_names.trs tests/test_value_create.trs tests/test_value_get_number.trs tests/test_value_init_char.trs tests/test_value_copy_char.trs tests/test_value_init_numb.trs tests/test_value_autoinit_numb.trs 
> tests/test_value_parse_numb.trs tests/test_list_elements.trs tests/test_table_elements.trs tests/test_value_clone.trs tests/test_packet_create.trs tests/test_packet_set_item.trs tests/test_packet_remove_item.trs tests/test_container_set_value1.trs tests/test_container_set_value2.trs tests/test_container_get_value.trs tests/test_packet_items.trs tests/test_loop_packets.trs tests/test_loop_modification.trs tests/test_loop_set_category.trs tests/test_loop_destroy.trs tests/test_loop_add_item.trs tests/test_container_remove_item.trs tests/test_loop_misc.trs tests/test_nesting.trs tests/test_container_assert_block.trs tests/test_ustrdup.trs tests/test_normalize.trs tests/test_analyze_string.trs tests/test_container_prune.trs tests/test_parse_10.trs tests/test_parse_simple_data.trs tests/test_parse_list_data.trs 
> tests/test_parse_table_data.trs tests/test_parse_complex_data.trs tests/test_parse_simple_containers.trs tests/test_parse_simple_loops.trs tests/test_parse_cif1_quoting.trs tests/test_parse_cif1_invalid.trs tests/test_parse_unicode.trs tests/test_parse_text_fields.trs tests/test_parse_minimal.trs tests/test_parse_triple.trs tests/test_parse_nested.trs tests/test_parse_core.trs tests/test_write_simple.trs tests/test_write_complex.trs tests/test_write_loops.trs tests/test_write_frames.trs tests/test_write_11.trs tests/test_value_set_quoted.trs" || rm -f tests/link.trs tests/test_get_api_version.trs tests/test_create.trs tests/test_create_block1.trs tests/test_create_block2.trs tests/test_get_block.trs tests/test_get_all_blocks.trs tests/test_multiple_cifs.trs tests/test_block_create_frame1.trs 
> tests/test_block_create_frame2.trs tests/test_block_get_frame.trs tests/test_block_get_all_frames.trs tests/test_container_create_loop1.trs tests/test_container_create_loop2.trs tests/test_container_get_category_loop.trs tests/test_container_get_item_loop.trs tests/test_container_get_all_loops.trs tests/test_container_get_code.trs tests/test_nested_frames.trs tests/test_loop_get_names.trs tests/test_value_create.trs tests/test_value_get_number.trs tests/test_value_init_char.trs tests/test_value_copy_char.trs tests/test_value_init_numb.trs tests/test_value_autoinit_numb.trs tests/test_value_parse_numb.trs tests/test_list_elements.trs tests/test_table_elements.trs tests/test_value_clone.trs tests/test_packet_create.trs tests/test_packet_set_item.trs tests/test_packet_remove_item.trs tests/test_container_set_value1.trs 
> tests/test_container_set_value2.trs tests/test_container_get_value.trs tests/test_packet_items.trs tests/test_loop_packets.trs tests/test_loop_modification.trs tests/test_loop_set_category.trs tests/test_loop_destroy.trs tests/test_loop_add_item.trs tests/test_container_remove_item.trs tests/test_loop_misc.trs tests/test_nesting.trs tests/test_container_assert_block.trs tests/test_ustrdup.trs tests/test_normalize.trs tests/test_analyze_string.trs tests/test_container_prune.trs tests/test_parse_10.trs tests/test_parse_simple_data.trs tests/test_parse_list_data.trs tests/test_parse_table_data.trs tests/test_parse_complex_data.trs tests/test_parse_simple_containers.trs tests/test_parse_simple_loops.trs tests/test_parse_cif1_quoting.trs tests/test_parse_cif1_invalid.trs tests/test_parse_unicode.trs 
> tests/test_parse_text_fields.trs tests/test_parse_minimal.trs tests/test_parse_triple.trs tests/test_parse_nested.trs tests/test_parse_core.trs tests/test_write_simple.trs tests/test_write_complex.trs tests/test_write_loops.trs tests/test_write_frames.trs tests/test_write_11.trs tests/test_value_set_quoted.trs
> test -z "" || rm -f 
> test -z "test-suite.log" || rm -f test-suite.log
> test . = "." || test -z "" || rm -f 
> rm -f tests/.dirstamp
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> rm -f ./.deps/addauthor.Po
> rm -f ./.deps/cif.Plo
> rm -f ./.deps/ciffile.Plo
> rm -f ./.deps/container.Plo
> rm -f ./.deps/linguist.Po
> rm -f ./.deps/loop.Plo
> rm -f ./.deps/map.Plo
> rm -f ./.deps/packet.Plo
> rm -f ./.deps/parser.Plo
> rm -f ./.deps/pktitr.Plo
> rm -f ./.deps/syncheck.Po
> rm -f ./.deps/table1.Po
> rm -f ./.deps/table3.Po
> rm -f ./.deps/test_analyze_string.Po
> rm -f ./.deps/test_block_create_frame1.Po
> rm -f ./.deps/test_block_create_frame2.Po
> rm -f ./.deps/test_block_get_all_frames.Po
> rm -f ./.deps/test_block_get_frame.Po
> rm -f ./.deps/test_container_assert_block.Po
> rm -f ./.deps/test_container_create_loop1.Po
> rm -f ./.deps/test_container_create_loop2.Po
> rm -f ./.deps/test_container_get_all_loops.Po
> rm -f ./.deps/test_container_get_category_loop.Po
> rm -f ./.deps/test_container_get_code.Po
> rm -f ./.deps/test_container_get_item_loop.Po
> rm -f ./.deps/test_container_get_value.Po
> rm -f ./.deps/test_container_prune.Po
> rm -f ./.deps/test_container_remove_item.Po
> rm -f ./.deps/test_container_set_value1.Po
> rm -f ./.deps/test_container_set_value2.Po
> rm -f ./.deps/test_create.Po
> rm -f ./.deps/test_create_block1.Po
> rm -f ./.deps/test_create_block2.Po
> rm -f ./.deps/test_get_all_blocks.Po
> rm -f ./.deps/test_get_api_version.Po
> rm -f ./.deps/test_get_block.Po
> rm -f ./.deps/test_list_elements.Po
> rm -f ./.deps/test_loop_add_item.Po
> rm -f ./.deps/test_loop_destroy.Po
> rm -f ./.deps/test_loop_get_names.Po
> rm -f ./.deps/test_loop_misc.Po
> rm -f ./.deps/test_loop_modification.Po
> rm -f ./.deps/test_loop_packets.Po
> rm -f ./.deps/test_loop_set_category.Po
> rm -f ./.deps/test_multiple_cifs.Po
> rm -f ./.deps/test_nested_frames.Po
> rm -f ./.deps/test_nesting.Po
> rm -f ./.deps/test_normalize.Po
> rm -f ./.deps/test_packet_create.Po
> rm -f ./.deps/test_packet_items.Po
> rm -f ./.deps/test_packet_remove_item.Po
> rm -f ./.deps/test_packet_set_item.Po
> rm -f ./.deps/test_parse_10.Po
> rm -f ./.deps/test_parse_cif1_invalid.Po
> rm -f ./.deps/test_parse_cif1_quoting.Po
> rm -f ./.deps/test_parse_complex_data.Po
> rm -f ./.deps/test_parse_core.Po
> rm -f ./.deps/test_parse_list_data.Po
> rm -f ./.deps/test_parse_minimal.Po
> rm -f ./.deps/test_parse_nested.Po
> rm -f ./.deps/test_parse_simple_containers.Po
> rm -f ./.deps/test_parse_simple_data.Po
> rm -f ./.deps/test_parse_simple_loops.Po
> rm -f ./.deps/test_parse_table_data.Po
> rm -f ./.deps/test_parse_text_fields.Po
> rm -f ./.deps/test_parse_triple.Po
> rm -f ./.deps/test_parse_unicode.Po
> rm -f ./.deps/test_table_elements.Po
> rm -f ./.deps/test_ustrdup.Po
> rm -f ./.deps/test_value_autoinit_numb.Po
> rm -f ./.deps/test_value_clone.Po
> rm -f ./.deps/test_value_copy_char.Po
> rm -f ./.deps/test_value_create.Po
> rm -f ./.deps/test_value_get_number.Po
> rm -f ./.deps/test_value_init_char.Po
> rm -f ./.deps/test_value_init_numb.Po
> rm -f ./.deps/test_value_parse_numb.Po
> rm -f ./.deps/test_value_set_quoted.Po
> rm -f ./.deps/test_write_11.Po
> rm -f ./.deps/test_write_complex.Po
> rm -f ./.deps/test_write_frames.Po
> rm -f ./.deps/test_write_loops.Po
> rm -f ./.deps/test_write_simple.Po
> rm -f ./.deps/utils.Plo
> rm -f ./.deps/value.Plo
> rm -f Makefile
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
> make[2]: Entering directory '/<<PKGBUILDDIR>>'
> test -z "gmon.out" || rm -f gmon.out
> rm -rf .libs _libs
> rm -f *.lo
> test -z "misc/cif-api.spec misc/libcif.pc" || rm -f misc/cif-api.spec misc/libcif.pc
> rm -f config.h stamp-h1
> test . = "." || test -z "" || rm -f 
> rm -f libtool config.lt
> test -z "Doxyfile" || rm -f Doxyfile
> rm -f -rf autom4te.cache
> rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
> rm -f cscope.out cscope.in.out cscope.po.out cscope.files
> make[2]: Leaving directory '/<<PKGBUILDDIR>>'
> rm -f config.status config.cache config.log configure.lineno config.status.lineno
> rm -f Makefile
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_autoreconf_clean
>    dh_clean
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building cif-api using existing ./cif-api_0.4.2.orig.tar.xz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: warning: ignoring deletion of file INSTALL, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file m4/ltsugar.m4, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file m4/lt~obsolete.m4, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file m4/ltversion.m4, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file m4/libtool.m4, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file m4/ltoptions.m4, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file misc/cif-api.spec, use --include-removal to override
> dpkg-source: info: local changes detected, the modified files are:
>  cif-api-0.4.2/src/internal/schema.h
>  cif-api-0.4.2/src/internal/version.h
> dpkg-source: error: aborting due to unexpected upstream changes, see /tmp/cif-api_0.4.2-4.diff.5zO4Jl
> dpkg-source: info: Hint: make sure the version in debian/changelog matches the unpacked source tree
> dpkg-source: info: you can integrate the local changes with dpkg-source --commit
> dpkg-buildpackage: error: dpkg-source -b . subprocess returned exit status 2
> 
> E: Command 'cd /<<PKGBUILDDIR>> && runuser -u user42 -- dpkg-buildpackage --sanitize-env -us -uc -rfakeroot -S' failed to run.


The full build log is available from:
http://qa-logs.debian.net/2023/08/13/cif-api_0.4.2-4_unstable.log

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the debian-science-maintainers mailing list