[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1049046: papi: Fails to build source after successful build



Source: papi
Version: 7.0.0-2
Severity: minor
Tags: trixie sid ftbfs
User: lucas@debian.org
Usertags: ftbfs-sab-20230813 ftbfs-source-after-build
User: debian-qa@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 papi
> dpkg-buildpackage: info: source version 7.0.0-2
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Andreas Beckmann <anbe@debian.org>
>  dpkg-source --before-build .
>  debian/rules clean
> rm -f debian/libpapi7.0.README.Debian debian/libpapi7.0.docs debian/libpapi7.0.install debian/libpapi7.0.symbols
> dh clean --sourcedirectory=src
>    dh_auto_clean -O--sourcedirectory=src
> 	cd src && make -j8 distclean
> make[1]: Entering directory '/<<PKGBUILDDIR>>/src'
> + make -C components/perf_event/tests clean
> make[2]: Entering directory '/<<PKGBUILDDIR>>/src/components/perf_event/tests'
> rm -f broken_events nmi_watchdog perf_event_offcore_response perf_event_system_wide perf_event_user_kernel *.o *~
> rm -f x86_cpuid_info.o papi_libpfm4_events.o
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/components/perf_event/tests'
> + make -C components/perf_event_uncore/tests clean
> rm -f pfmlib_common.o pfmlib_perf_event_pmu.o pfmlib_perf_event.o pfmlib_perf_event_raw.o pfmlib_intel_x86_perf_event.o pfmlib_amd64_perf_event.o pfmlib_intel_netburst_perf_event.o pfmlib_intel_snbep_unc_perf_event.o pfmlib_amd64.o pfmlib_intel_core.o pfmlib_intel_x86.o pfmlib_intel_x86_arch.o pfmlib_intel_atom.o pfmlib_intel_nhm_unc.o pfmlib_intel_nhm.o pfmlib_intel_wsm.o pfmlib_intel_snb.o pfmlib_intel_snb_unc.o pfmlib_intel_ivb.o pfmlib_intel_ivb_unc.o pfmlib_intel_hsw.o pfmlib_intel_bdw.o pfmlib_intel_skl.o pfmlib_intel_icl.o pfmlib_intel_spr.o pfmlib_intel_rapl.o pfmlib_intel_snbep_unc.o pfmlib_intel_snbep_unc_cbo.o pfmlib_intel_snbep_unc_ha.o pfmlib_intel_snbep_unc_imc.o pfmlib_intel_snbep_unc_pcu.o pfmlib_intel_snbep_unc_qpi.o pfmlib_intel_snbep_unc_ubo.o pfmlib_intel_snbep_unc_r2pcie.o 
> pfmlib_intel_snbep_unc_r3qpi.o pfmlib_intel_ivbep_unc_cbo.o pfmlib_intel_ivbep_unc_ha.o pfmlib_intel_ivbep_unc_imc.o pfmlib_intel_ivbep_unc_pcu.o pfmlib_intel_ivbep_unc_qpi.o pfmlib_intel_ivbep_unc_ubo.o pfmlib_intel_ivbep_unc_r2pcie.o pfmlib_intel_ivbep_unc_r3qpi.o pfmlib_intel_ivbep_unc_irp.o pfmlib_intel_hswep_unc_cbo.o pfmlib_intel_hswep_unc_ha.o pfmlib_intel_hswep_unc_imc.o pfmlib_intel_hswep_unc_pcu.o pfmlib_intel_hswep_unc_qpi.o pfmlib_intel_hswep_unc_ubo.o pfmlib_intel_hswep_unc_r2pcie.o pfmlib_intel_hswep_unc_r3qpi.o pfmlib_intel_hswep_unc_irp.o pfmlib_intel_hswep_unc_sbo.o pfmlib_intel_bdx_unc_cbo.o pfmlib_intel_bdx_unc_ubo.o pfmlib_intel_bdx_unc_sbo.o pfmlib_intel_bdx_unc_ha.o pfmlib_intel_bdx_unc_imc.o pfmlib_intel_bdx_unc_irp.o pfmlib_intel_bdx_unc_pcu.o pfmlib_intel_bdx_unc_qpi.o 
> pfmlib_intel_bdx_unc_r2pcie.o pfmlib_intel_bdx_unc_r3qpi.o pfmlib_intel_skx_unc_cha.o pfmlib_intel_skx_unc_iio.o pfmlib_intel_skx_unc_imc.o pfmlib_intel_skx_unc_irp.o pfmlib_intel_skx_unc_m2m.o pfmlib_intel_skx_unc_m3upi.o pfmlib_intel_skx_unc_pcu.o pfmlib_intel_skx_unc_ubo.o pfmlib_intel_skx_unc_upi.o pfmlib_intel_knc.o pfmlib_intel_slm.o pfmlib_intel_tmt.o pfmlib_intel_knl.o pfmlib_intel_knl_unc_imc.o pfmlib_intel_knl_unc_edc.o pfmlib_intel_knl_unc_cha.o pfmlib_intel_knl_unc_m2pcie.o pfmlib_intel_glm.o pfmlib_intel_netburst.o pfmlib_amd64_k7.o pfmlib_amd64_k8.o pfmlib_amd64_fam10h.o pfmlib_amd64_fam11h.o pfmlib_amd64_fam12h.o pfmlib_amd64_fam14h.o pfmlib_amd64_fam15h.o pfmlib_amd64_fam17h.o pfmlib_amd64_fam16h.o pfmlib_amd64_fam19h.o pfmlib_amd64_rapl.o pfmlib_amd64_fam19h_l3.o
> make[2]: Entering directory '/<<PKGBUILDDIR>>/src/components/perf_event_uncore/tests'
> rm -f perf_event_uncore perf_event_uncore_attach perf_event_uncore_multiple perf_event_amd_northbridge perf_event_uncore_cbox *.o *~
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/components/perf_event_uncore/tests'
> + make -C components/sde/tests clean
> make[2]: Entering directory '/<<PKGBUILDDIR>>/src/components/sde/tests'
> rm -f *.o *.mod lib/*.so lib/*.a Minimal_Test Minimal_Test++ Simple_Test Simple2_Test Simple2_NoPAPI_Test Simple2_Test++ Recorder_Test Recorder_Test++ Created_Counter_Test Created_Counter_Test++ Overflow_Test Counting_Set_Simple_Test Counting_Set_MemLeak_Test Counting_Set_Simple_Test++ Counting_Set_MemLeak_Test++ sde_test_f08 Overflow_Static_Test
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/components/sde/tests'
> + make -C components/rocm_smi/tests clean
> make[2]: Entering directory '/<<PKGBUILDDIR>>/src/components/rocm_smi/tests'
> rm -f  *.o
> rm -f rocm_command_line rocmsmi_example power_monitor_rocm rocm_smi_writeTests square
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/components/rocm_smi/tests'
> + make -C components/sysdetect/tests clean
> make[2]: Entering directory '/<<PKGBUILDDIR>>/src/components/sysdetect/tests'
> rm -f query_device_simple query_device_simple_f  *.o
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/components/sysdetect/tests'
> rm -rf libpapi.a libpapi.so.7.0.0.0 libpapi.so libpapi.so.7.0 x86_cpuid_info.o papi_libpfm4_events.o papi.o papi_internal.o papi_hl.o extras.o sw_multiplex.o papi_fwrappers.o papi_fwrappers_.o papi_fwrappers__.o upper_PAPI_FWRAPPERS.o threads.o cpus.o linux-memory.o linux-timer.o linux-common.o  papi_preset.o papi_vector.o papi_memory.o perf_event.o pe_libpfm4_events.o perf_event_uncore.o sde.o linux-rocm-smi.o sysdetect.o nvidia_gpu.o amd_gpu.o cpu.o cpu_utils.o os_cpu_utils.o linux_cpu_utils.o x86_cpu_utils.o core rii_files genpapifdef *~ so_locations papi_fwrappers_.c papi_fwrappers__.c upper_PAPI_FWRAPPERS.c
> make -C ../doc clean
> make[2]: Entering directory '/<<PKGBUILDDIR>>/doc'
> rm -rf man html doxyerror
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/doc'
> make -C ctests clean
> make[2]: Entering directory '/<<PKGBUILDDIR>>/src/ctests'
> rm -f *.o *.stderr *.stdout core *~ pthread_hl pthrtough pthrtough2 thrspecific profile_pthreads overflow_pthreads zero_pthreads clockres_pthreads overflow3_pthreads locks_pthreads krentel_pthreads serial_hl serial_hl_ll_comb all_events all_native_events branches calibrate case1 case2 cmpinfo code2name derived describe destroy disable_component dmem_info eventname exeinfo failed_events first get_event_component inherit hwinfo johnmay2 low-level memory realtime remove_events reset second tenth version virttime zero zero_flip zero_named fork fork2 exec exec2 forkexec forkexec2 forkexec3 forkexec4 fork_overflow exec_overflow child_overflow system_child_overflow system_overflow burn zero_fork fork_overflow exec_overflow child_overflow system_child_overflow system_overflow burn overflow overflow_force_software 
> overflow_single_event overflow_twoevents timer_overflow overflow2 overflow_index overflow_one_and_read overflow_allcounters profile profile_force_software sprofile profile_twoevents byte_profile max_multiplex multiplex1 multiplex2 mendes-alt sdsc-mpx sdsc2-mpx sdsc2-mpx-noreset sdsc4-mpx reset_multiplex multiplex1_pthreads multiplex3_pthreads kufrin omp_hl zero_omp omptough zero_smp zero_shmem shlib earprofile data_range p4_lst_ins multiattach multiattach2 zero_attach attach3 attach2 attach_target attach_cpu attach_validate attach_cpu_validate attach_cpu_sys_validate  unregister_pthreads
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/ctests'
> make -C ftests clean
> make[2]: Entering directory '/<<PKGBUILDDIR>>/src/ftests'
> rm -f *.o *genmod.f90 *genmod.mod *.stderr *.stdout core *~ strtest zero zeronamed first second tenth description fdmemtest accum cost case1 case2 clockres eventname fmatrixlowpapi fmultiplex1 johnmay2 fmultiplex2 avail openmp serial_hl
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/ftests'
> make -C testlib clean
> make[2]: Entering directory '/<<PKGBUILDDIR>>/src/testlib'
> rm -f *.o *genmod.f90 *genmod.mod *.stderr *.stdout core *~  libtestlib.a libtestlib.so
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/testlib'
> make -C utils clean
> make[2]: Entering directory '/<<PKGBUILDDIR>>/src/utils'
> rm -f *.o *.stderr *.stdout core *~ papi_avail papi_mem_info papi_cost papi_clockres papi_native_avail papi_command_line papi_event_chooser papi_decode papi_xml_event_info papi_version papi_multiplex_cost papi_component_avail papi_error_codes papi_hardware_avail
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/utils'
> make -C validation_tests clean
> make[2]: Entering directory '/<<PKGBUILDDIR>>/src/validation_tests'
> rm -f *.o *.stderr *.stdout core *~ fp_validation_hl cycles_validation flops_validation papi_br_cn papi_br_ins papi_br_msp papi_br_ntk papi_br_prc papi_br_tkn papi_br_ucn papi_dp_ops papi_fp_ops papi_sp_ops papi_hw_int papi_l1_dca papi_l1_dcm papi_l2_dca papi_l2_dcm papi_l2_dcr papi_l2_dcw papi_ld_ins papi_sr_ins papi_ref_cyc papi_tot_cyc papi_tot_ins
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/validation_tests'
> make -C ../doc distclean
> make[2]: Entering directory '/<<PKGBUILDDIR>>/doc'
> rm -rf man html doxyerror
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/doc'
> make -C ctests distclean
> make[2]: Entering directory '/<<PKGBUILDDIR>>/src/ctests'
> rm -f *.o *.stderr *.stdout core *~ pthread_hl pthrtough pthrtough2 thrspecific profile_pthreads overflow_pthreads zero_pthreads clockres_pthreads overflow3_pthreads locks_pthreads krentel_pthreads serial_hl serial_hl_ll_comb all_events all_native_events branches calibrate case1 case2 cmpinfo code2name derived describe destroy disable_component dmem_info eventname exeinfo failed_events first get_event_component inherit hwinfo johnmay2 low-level memory realtime remove_events reset second tenth version virttime zero zero_flip zero_named fork fork2 exec exec2 forkexec forkexec2 forkexec3 forkexec4 fork_overflow exec_overflow child_overflow system_child_overflow system_overflow burn zero_fork fork_overflow exec_overflow child_overflow system_child_overflow system_overflow burn overflow overflow_force_software 
> overflow_single_event overflow_twoevents timer_overflow overflow2 overflow_index overflow_one_and_read overflow_allcounters profile profile_force_software sprofile profile_twoevents byte_profile max_multiplex multiplex1 multiplex2 mendes-alt sdsc-mpx sdsc2-mpx sdsc2-mpx-noreset sdsc4-mpx reset_multiplex multiplex1_pthreads multiplex3_pthreads kufrin omp_hl zero_omp omptough zero_smp zero_shmem shlib earprofile data_range p4_lst_ins multiattach multiattach2 zero_attach attach3 attach2 attach_target attach_cpu attach_validate attach_cpu_validate attach_cpu_sys_validate  unregister_pthreads
> rm -f Makefile.target
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/ctests'
> make -C ftests distclean
> make[2]: Entering directory '/<<PKGBUILDDIR>>/src/ftests'
> rm -f *.o *genmod.f90 *genmod.mod *.stderr *.stdout core *~ strtest zero zeronamed first second tenth description fdmemtest accum cost case1 case2 clockres eventname fmatrixlowpapi fmultiplex1 johnmay2 fmultiplex2 avail openmp serial_hl
> rm -f Makefile.target
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/ftests'
> make -C testlib distclean
> make[2]: Entering directory '/<<PKGBUILDDIR>>/src/testlib'
> rm -f *.o *genmod.f90 *genmod.mod *.stderr *.stdout core *~  libtestlib.a libtestlib.so
> rm -f Makefile.target
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/testlib'
> make -C utils distclean
> make[2]: Entering directory '/<<PKGBUILDDIR>>/src/utils'
> rm -f *.o *.stderr *.stdout core *~ papi_avail papi_mem_info papi_cost papi_clockres papi_native_avail papi_command_line papi_event_chooser papi_decode papi_xml_event_info papi_version papi_multiplex_cost papi_component_avail papi_error_codes papi_hardware_avail
> rm -f Makefile.target
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/utils'
> make -C validation_tests distclean
> make[2]: Entering directory '/<<PKGBUILDDIR>>/src/validation_tests'
> rm -f *.o *.stderr *.stdout core *~ fp_validation_hl cycles_validation flops_validation papi_br_cn papi_br_ins papi_br_msp papi_br_ntk papi_br_prc papi_br_tkn papi_br_ucn papi_dp_ops papi_fp_ops papi_sp_ops papi_hw_int papi_l1_dca papi_l1_dcm papi_l2_dca papi_l2_dcm papi_l2_dcr papi_l2_dcw papi_ld_ins papi_sr_ins papi_ref_cyc papi_tot_cyc papi_tot_ins
> rm -f Makefile.target
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/validation_tests'
> make -C components -f Makefile_comp_tests distclean
> make[2]: Entering directory '/<<PKGBUILDDIR>>/src/components'
> rm -f Makefile_comp_tests.target
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/src/components'
> rm -f libpapi.a libpapi.so.7.0.0.0  Makefile config.h libpapi.so sde_lib/libsde.so* sde_lib/libsde.a libsde.so libsde.a papi.pc components_config.h papi_events_table.h
> rm -f config.log config.status f77papi.h f90papi.h fpapi.h
> make[1]: Leaving directory '/<<PKGBUILDDIR>>/src'
>    dh_autoreconf_clean -O--sourcedirectory=src
>    dh_clean -O--sourcedirectory=src
>  dpkg-source -b .
> dpkg-source: info: using source format '3.0 (quilt)'
> dpkg-source: info: building papi using existing ./papi_7.0.0.orig.tar.gz
> dpkg-source: info: using patch list from debian/patches/series
> dpkg-source: warning: ignoring deletion of file src/configure, use --include-removal to override
> dpkg-source: warning: ignoring deletion of file src/config.h.in, use --include-removal to override
> dpkg-source: error: cannot represent change to src/components/sde/tests/Advanced_C+FORTRAN/sde_symbols.o: binary file contents changed
> dpkg-source: error: add src/components/sde/tests/Advanced_C+FORTRAN/sde_symbols.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/papi_7.0.0-2_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.


Reply to: