[Pkg-electronics-devel] Bug#1046531: sch-rnd: Fails to build source after successful build
Lucas Nussbaum
lucas at debian.org
Sun Aug 13 20:21:26 BST 2023
Source: sch-rnd
Version: 1.0.1-1
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 sch-rnd
> dpkg-buildpackage: info: source version 1.0.1-1
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Bdale Garbee <bdale at gag.com>
> dpkg-source --before-build .
> fakeroot debian/rules clean
> dh clean
> debian/rules override_dh_auto_clean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> # only try to run dh_auto_clean if configure has been run
> test -f Makefile.conf && dh_auto_clean || true
> make -j8 distclean
> make[2]: Entering directory '/<<PKGBUILDDIR>>'
> cd src && make distclean
> make[3]: Entering directory '/<<PKGBUILDDIR>>/src'
> cd libcschem && make distclean
> make[4]: Entering directory '/<<PKGBUILDDIR>>/src/libcschem'
> rm libcschem.a abstract.o actions_csch.o attrib.o concrete.o cnc_any_obj.o cnc_arc.o cnc_bitmap.o cnc_conn.o cnc_grp.o cnc_line.o cnc_obj.o cnc_pen.o cnc_poly.o cnc_text.o cnc_text_dyn.o csch_printf.o compile.o engine.o event.o htPo.o integrity.o intersect.o libcschem.o non_graphical.o oidpath.o op_common.o operation.o plug_io.o plug_library.o project.o project_act.o rtree.o triangle.o search.o undo.o util_abst.o util_compile.o util_export.o util_grp.o util_lib_fs.o util_loclib.o util_path.o util_parse.o util_project.o util_wirenet.o vtcoutline.o vtoid.o vtoidpath.o
> rm config.h config.sh buildin.h Makefile
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/src/libcschem'
> cd sch-rnd && make distclean
> make[4]: Entering directory '/<<PKGBUILDDIR>>/src/sch-rnd'
> rm buffer.o conf_core.o conf_internal.o crosshair.o defsheet_internal.o draw.o draw_xor.o emergency.o export.o file_act.o font.o plug_io_act.o sch-rnd.o search.o select.o select_act.o operation.o build_run.o main_act.o menu_default.o multi.o project.o style.o sheet.o ../plugins/act_draw/act_draw.o ../plugins/act_read/act_read.o ../plugins/act_read/keywords_sphash.o ../plugins/backann/backann.o ../plugins/backann/bap_sphash.o ../plugins/backann/check_ba.o ../plugins/backann/auto_ba.o ../plugins/construct/construct.o ../plugins/export_spice/export_spice.o ../plugins/export_tedax/export_tedax.o ../plugins/io_lihata/io_lihata.o ../plugins/io_lihata/read.o ../plugins/io_lihata/write.o ../plugins/io_ngrp_fawk/io_ngrp_fawk.o ../plugins/io_ngrp_fawk/read.o ../plugins/io_ngrp_tedax/io_ngrp_tedax.o
> ../plugins/io_ngrp_tedax/read.o ../plugins/io_ngrp_tedax/parse.o ../plugins/lib_netlist_exp/lib_netlist_exp.o ../plugins/lib_ngrp/lib_ngrp.o ../plugins/place/place.o ../plugins/propedit/propedit.o ../plugins/propedit/props.o ../plugins/propedit/propsel.o ../plugins/propedit/propdlg.o ../plugins/query/query.o ../plugins/query/query_access.o ../plugins/query/query_act.o ../plugins/query/query_exec.o ../plugins/query/query_l.o ../plugins/query/query_y.o ../plugins/query/fnc.o ../plugins/query/fields_sphash.o ../plugins/query/dlg_search.o ../plugins/renumber/renumber.o ../plugins/std_cschem/std_cschem.o ../plugins/std_devmap/std_devmap.o ../plugins/std_forge/std_forge.o ../plugins/std_tools/std_tools.o ../plugins/symlib_fs/symlib_fs.o ../plugins/symlib_local/symlib_local.o ../plugins/target_none/target_none.o
> ../plugins/target_pcb/target_pcb.o ../plugins/target_spice/htcp.o ../plugins/target_spice/target_spice.o sch-rnd ../plugins/act_read/keywords_sphash.c ../plugins/act_read/keywords_sphash.h ../plugins/backann/bap_sphash.c ../plugins/backann/bap_sphash.h ../plugins/diag/diag.so ./plugins/diag.so ./plugins/diag.pup ../plugins/diag/diag.o ../plugins/export_abst/export_abst.so ./plugins/export_abst.so ./plugins/export_abst.pup ../plugins/export_abst/export_abst.o ../plugins/export_lpr/export_lpr.so ./plugins/export_lpr.so ./plugins/export_lpr.pup ../plugins/export_lpr/lpr.o ../plugins/export_png/export_png.so ./plugins/export_png.so ./plugins/export_png.pup ../plugins/export_png/export_png.o ../plugins/export_ps/export_ps.so ./plugins/export_ps.so ./plugins/export_ps.pup
> ../plugins/export_ps/export_ps.o ../plugins/export_ps/ps.o ../plugins/export_ps/eps.o ../plugins/export_svg/export_svg.so ./plugins/export_svg.so ./plugins/export_svg.pup ../plugins/export_svg/export_svg.o ../plugins/gui/gui.so ./plugins/gui.so ./plugins/gui.pup ../plugins/gui/act.o ../plugins/gui/layersel.o ../plugins/gui/sheetsel.o ../plugins/gui/sch_rnd_gui.o ../plugins/gui/status.o ../plugins/io_altium/io_altium.so ./plugins/io_altium.so ./plugins/io_altium.pup ../plugins/io_altium/io_altium.o ../plugins/io_altium/read.o ../plugins/io_altium/pcbdoc_ascii.o ../plugins/io_altium/altium_kw_sphash.o ../../src_3rd/libucdf/ucdf.o ../plugins/io_altium/io_altium_conf_fields.h ../plugins/io_altium/altium_kw_sphash.c ../plugins/io_altium/altium_kw_sphash.h ../plugins/io_geda/io_geda.so
> ./plugins/io_geda.so ./plugins/io_geda.pup ../plugins/io_geda/io_geda.o ../plugins/io_geda/read.o ../plugins/io_geda/io_geda_conf_fields.h ../plugins/io_tinycad/io_tinycad.so ./plugins/io_tinycad.so ./plugins/io_tinycad.pup ../plugins/io_tinycad/io_tinycad.o ../plugins/io_tinycad/read.o ../plugins/io_tinycad/io_tinycad_conf_fields.h ../plugins/lib_alien/lib_alien.so ./plugins/lib_alien.so ./plugins/lib_alien.pup ../plugins/lib_alien/lib_alien.o ../plugins/lib_alien/read_helper.o ../plugins/query/fields_sphash.c ../plugins/query/fields_sphash.h ../plugins/renumber/renumber_conf_fields.h ../plugins/sch_dialogs/sch_dialogs.so ./plugins/sch_dialogs.so ./plugins/sch_dialogs.pup ../plugins/sch_dialogs/sch_dialogs.o ../plugins/sch_dialogs/dlg_about.o ../plugins/sch_dialogs/dlg_undo.o
> ../plugins/sch_dialogs/dlg_pref_apptab.o ../plugins/sch_dialogs/dlg_pen.o ../plugins/sch_dialogs/dlg_text.o ../plugins/sch_dialogs/dlg_tree.o ../plugins/sch_dialogs/dlg_library.o ../plugins/sch_dialogs/dlg_attrib.o ../plugins/sch_dialogs/dlg_abstract.o ../plugins/sch_dialogs/dlg_view.o ../plugins/sch_dialogs/dlg_project.o ../plugins/sch_dialogs/quick_attr.o ../plugins/sch_dialogs/abst_attr.o ../plugins/sch_dialogs/adialogs_conf_fields.h ../plugins/std_cschem/std_cschem_conf_fields.h ../plugins/std_devmap/std_devmap_conf_fields.h ../plugins/target_spice/target_spice_conf_fields.h
> cd ../../src_3rd/libminuid && make clean
> make[5]: Entering directory '/<<PKGBUILDDIR>>/src_3rd/libminuid'
> rm libminuid.o libminuid.a libminuid.so.1.0.1 libminuid.so.1
> rm: cannot remove 'libminuid.so.1': No such file or directory
> make[5]: [Makefile:43: clean] Error 1 (ignored)
> make[5]: Leaving directory '/<<PKGBUILDDIR>>/src_3rd/libminuid'
> cd ../../src_3rd/libuundo && make clean
> make[5]: Entering directory '/<<PKGBUILDDIR>>/src_3rd/libuundo'
> rm uundo.o uundo_debug.o libuundo.a 2>/dev/null; true
> make[5]: Leaving directory '/<<PKGBUILDDIR>>/src_3rd/libuundo'
> cd ../../src_3rd/load_cache && make clean
> make[5]: Entering directory '/<<PKGBUILDDIR>>/src_3rd/load_cache'
> rm load_cache.o
> make[5]: Leaving directory '/<<PKGBUILDDIR>>/src_3rd/load_cache'
> rm buildin.c conf_core_fields.h ../plugins/.builtin.pups Makefile defsheet_internal.c conf_internal.c
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/src/sch-rnd'
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
> cd util && make distclean
> make[3]: Entering directory '/<<PKGBUILDDIR>>/util'
> make[3]: Nothing to be done for 'distclean'.
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/util'
> cd scconfig && make distclean
> make[3]: Entering directory '/<<PKGBUILDDIR>>/scconfig'
> rm src//util/arg_auto_set.o hooks.o librnd_ver.o src//default/find_cc.o src//default/lib_compile.o src//default/lib_uniqinc.o src//default/lib_file.o src//default/lib_try.o src//default/str.o src//default/ht.o src//default/log.o src//default/arg.o src//default/db.o src//default/dep.o src//default/deps_default.o src//default/find_libs.o src//default/find_fscalls.o src//default/find_printf.o src//default/find_proc.o src//default/find_fstools.o src//default/find_uname.o src//default/find_target.o src//default/find_thread.o src//default/find_io.o src//default/find_time.o src//default/find_types.o src//default/find_signal.o src//default/find_environ.o src//default/regex.o src//default/lib_filelist.o src//default/lib_srctree.o src//default/lib_pkg_config.o src//default/find_str.o src//default/find_sys.o
> src//scripts/scripts.o src//scripts/find_gpmi.o src//scripts/find_tcl.o src//scripts/find_ruby.o src//scripts/find_mruby.o src//scripts/find_python.o src//scripts/find_perl.o src//scripts/find_mawk.o src//scripts/find_lua.o src//scripts/find_guile.o src//scripts/find_stutter.o src//scripts/find_funlisp.o src//scripts/find_duktape.o src//scripts/find_mujs.o src//scripts/find_fungw.o src//scripts/find_m4.o src//scripts/find_welltype.o src//scripts/find_picol.o src//tmpasm/tmpasm.o src//tmpasm/tmpasm_scconfig.o src//tmpasm/openfiles.o src//parsgen/find_parsgen.o src//math/find_math.o src//math/find_fpenan.o src//math/find_func.o src//math/find_mfunc_cc.o src//socket/socket.o src//socket/find_select.o src//socket/find_dns.o src//socket/find_socket.o src//userpass/find_username.o src//userpass/userpass.o
> src//sul/find_sul.o src//sul/find_glib.o src//sul/find_gettext.o src//sul/find_dbus.o src//sul/find_libxml2.o src//sul/find_librnd.o src//sul/find_freetype2.o src//sul/find_pcre.o src//sul/find_fs.o src//sul/find_aspell.o src//sul/find_gen.o src//sul/find_dmalloc.o src//sul/find_regex.o src//sul/find_iconv.o src//default/main.o src//default/main_custom_args.o src//default/main_lib.o configure sccbox
> rm Makefile.depgen config.cache config.log
> rm: cannot remove 'Makefile.depgen': No such file or directory
> make[3]: [Makefile:105: distclean] Error 1 (ignored)
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/scconfig'
> cd tests && make distclean && cd ..
> make[3]: Entering directory '/<<PKGBUILDDIR>>/tests'
> cd export_abst && make distclean && cd ..
> make[4]: Entering directory '/<<PKGBUILDDIR>>/tests/export_abst'
> rm *.log *.out
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/tests/export_abst'
> cd export_spice && make distclean && cd ..
> make[4]: Entering directory '/<<PKGBUILDDIR>>/tests/export_spice'
> touch dummy.cir.out
> rm *.cir.out
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/tests/export_spice'
> make[3]: Leaving directory '/<<PKGBUILDDIR>>/tests'
> make[2]: Leaving directory '/<<PKGBUILDDIR>>'
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> dh_clean
> dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building sch-rnd using existing ./sch-rnd_1.0.1.orig.tar.bz2
> dpkg-source: warning: file sch-rnd-1.0.1/scconfig/Rev.stamp has no final newline (either original or modified version)
> dpkg-source: error: cannot represent change to scconfig/gmon.out: binary file contents changed
> dpkg-source: error: add scconfig/gmon.out in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to scconfig/revtest: binary file contents changed
> dpkg-source: error: add scconfig/revtest in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: warning: executable mode 0755 of 'scconfig/revtest' will not be represented in diff
> dpkg-source: error: cannot represent change to scconfig/src/util/sccbox.o: binary file contents changed
> dpkg-source: error: add scconfig/src/util/sccbox.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: cannot represent change to src_3rd/libminuid/minuid: binary file contents changed
> dpkg-source: error: add src_3rd/libminuid/minuid in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: warning: executable mode 0755 of 'src_3rd/libminuid/minuid' will not be represented in diff
> dpkg-source: error: cannot represent change to src_3rd/libminuid/minuid.o: binary file contents changed
> dpkg-source: error: add src_3rd/libminuid/minuid.o in debian/source/include-binaries if you want to store the modified binary in the debian tarball
> dpkg-source: error: unrepresentable changes to source
> dpkg-buildpackage: error: dpkg-source -b . subprocess returned exit status 1
>
> 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/sch-rnd_1.0.1-1_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 Pkg-electronics-devel
mailing list