Bug#1047258: sasview: Fails to build source after successful build
Lucas Nussbaum
lucas at debian.org
Sun Aug 13 20:21:26 BST 2023
Source: sasview
Version: 5.0.5-5
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 sasview
> dpkg-buildpackage: info: source version 5.0.5-5
> dpkg-buildpackage: info: source distribution unstable
> dpkg-buildpackage: info: source changed by Stuart Prescott <stuart at debian.org>
> dpkg-source --before-build .
> dpkg-source: info: using options from sasview-5.0.5/debian/source/options: --extend-diff-ignore=^[^/]*[.]egg-info/
> debian/rules clean
> dh clean --with python3,sphinxdoc,numpy3 --buildsystem=pybuild
> dh_auto_clean -O--buildsystem=pybuild
> I: pybuild base:275: python3.11 setup.py clean
> running clean
> removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_sasview/build' (and everything under it)
> 'build/bdist.linux-x86_64' does not exist -- can't clean it
> 'build/scripts-3.11' does not exist -- can't clean it
> debian/rules execute_after_dh_auto_clean
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> # clean up tests
> find test -name logs -type d -exec rm -rf {} +
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> dh_autoreconf_clean -O--buildsystem=pybuild
> dh_clean -O--buildsystem=pybuild
> rm: cannot remove './docs/sphinx-docs/build': Is a directory
> dh_clean: error: rm -f -- debian/sasview.substvars debian/python3-sasview.substvars debian/python3-sasview.postinst.debhelper debian/python3-sasview.prerm.debhelper debian/sasview-doc.substvars ./src/sas/qtgui/Calculators/UI/DataOperationUtilityUI.py ./src/sas/qtgui/Calculators/UI/DensityPanel.py ./src/sas/qtgui/Calculators/UI/GenericScatteringCalculator.py ./src/sas/qtgui/Calculators/UI/KiessigPanel.py ./src/sas/qtgui/Calculators/UI/ResolutionCalculatorPanelUI.py ./src/sas/qtgui/Calculators/UI/SldPanel.py ./src/sas/qtgui/Calculators/UI/SlitSizeCalculator.py ./src/sas/qtgui/MainWindow/UI/AboutUI.py ./src/sas/qtgui/MainWindow/UI/AcknowledgementsUI.py ./src/sas/qtgui/MainWindow/UI/CategoryManagerUI.py ./src/sas/qtgui/MainWindow/UI/ChangeCategoryUI.py ./src/sas/qtgui/MainWindow/UI/ChangeNameUI.py
> ./src/sas/qtgui/MainWindow/UI/DataExplorerUI.py ./src/sas/qtgui/MainWindow/UI/MainWindowUI.py ./src/sas/qtgui/MainWindow/UI/TabbedFileLoadUI.py ./src/sas/qtgui/MainWindow/UI/WelcomePanelUI.py ./src/sas/qtgui/Perspectives/Corfunc/UI/CorfuncPanel.py ./src/sas/qtgui/Perspectives/Fitting/UI/ComplexConstraintUI.py ./src/sas/qtgui/Perspectives/Fitting/UI/ConstraintWidgetUI.py ./src/sas/qtgui/Perspectives/Fitting/UI/FittingOptionsUI.py ./src/sas/qtgui/Perspectives/Fitting/UI/FittingWidgetUI.py ./src/sas/qtgui/Perspectives/Fitting/UI/GPUOptionsUI.py ./src/sas/qtgui/Perspectives/Fitting/UI/GPUTestResultsUI.py ./src/sas/qtgui/Perspectives/Fitting/UI/MultiConstraintUI.py ./src/sas/qtgui/Perspectives/Fitting/UI/OptionsWidgetUI.py ./src/sas/qtgui/Perspectives/Fitting/UI/OrderWidgetUI.py ./src/sas/qtgui/Perspectives/Fitting/UI/SmearingWidgetUI.py
> ./src/sas/qtgui/Perspectives/Invariant/UI/InvariantDetailsUI.py ./src/sas/qtgui/Perspectives/Invariant/UI/TabbedInvariantUI.py ./src/sas/qtgui/Perspectives/Inversion/UI/DMaxExplorer.py ./src/sas/qtgui/Perspectives/Inversion/UI/TabbedInversionUI.py ./src/sas/qtgui/Plotting/UI/AddTextUI.py ./src/sas/qtgui/Plotting/UI/BoxSumUI.py ./src/sas/qtgui/Plotting/UI/ColorMapUI.py ./src/sas/qtgui/Plotting/UI/LinearFitUI.py ./src/sas/qtgui/Plotting/UI/MaskEditorUI.py ./src/sas/qtgui/Plotting/UI/PlotPropertiesUI.py ./src/sas/qtgui/Plotting/UI/ScalePropertiesUI.py ./src/sas/qtgui/Plotting/UI/SetGraphRangeUI.py ./src/sas/qtgui/Plotting/UI/SlicerParametersUI.py ./src/sas/qtgui/Plotting/UI/WindowTitleUI.py ./src/sas/qtgui/UI/images_rc.py ./src/sas/qtgui/UI/main_resources_rc.py ./src/sas/qtgui/Utilities/UI/AddMultEditorUI.py
> ./src/sas/qtgui/Utilities/UI/FileConverterUI.py ./src/sas/qtgui/Utilities/UI/FrameSelectUI.py ./src/sas/qtgui/Utilities/UI/GridPanelUI.py ./src/sas/qtgui/Utilities/UI/ImageViewerOptionsUI.py ./src/sas/qtgui/Utilities/UI/ImageViewerUI.py ./src/sas/qtgui/Utilities/UI/ModelEditor.py ./src/sas/qtgui/Utilities/UI/PluginDefinitionUI.py ./src/sas/qtgui/Utilities/UI/PluginManagerUI.py ./src/sas/qtgui/Utilities/UI/ReportDialogUI.py ./src/sas/qtgui/Utilities/UI/TabbedModelEditor.py ./docs/sphinx-docs/build debian/files returned exit code 1
> make: *** [debian/rules:20: clean] Error 25
> dpkg-buildpackage: error: debian/rules clean 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/sasview_5.0.5-5_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