`make distclean` does not result in a distribution-clean repo
Author: torstenvlCreated Sep 15, 2026Updated Sep 16, 2026
Labelslow prioritybuild
Bug description:
make distclean does not result in a distribution-clean repo.
Expected vs observed behaviour:
Run ./configure
Run make (optional)
Run make distclean
Run git status
Expected: No untracked or modified files.
Observed: Several untracked and modified files. Running make distclean inside the demos/ subdirectory cleans it up completely as expected. Running make distclean inside the utils/ subdirectory helps, but does not clean it completely.
See typescript below.
Platform and version information
- wxWidgets version you use:
master - wxWidgets port you use:
wxOSX - OS and its version: macOS 13
typescript
Script started on Tue Sep 15 14:27:40 2026
%
sh-3.2$ make distclean > /dev/null 2>&1
sh-3.2$ git status
On branch master
Your branch is up to date with 'origin/master'.
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git restore <file>..." to discard changes in working directory)
(commit or discard the untracked or modified content in submodules)
modified: src/expat (untracked content)
modified: src/tiff (modified content, untracked content)
Untracked files:
(use "git add <file>..." to include in what will be committed)
change-install-names
demos/Makefile
demos/bombs/Makefile
demos/forty/Makefile
demos/fractal/Makefile
demos/life/Makefile
demos/poem/Makefile
lib/wx/
samples/Makefile
samples/access/Makefile
samples/html/Makefile
samples/opengl/Makefile
tests/Makefile
tests/benchmarks/Makefile
utils/Makefile
utils/helpview/Makefile
utils/helpview/src/Makefile
utils/hhp2cached/Makefile
utils/ifacecheck/rungccxml.sh
utils/ifacecheck/src/Makefile
utils/screenshotgen/Makefile
utils/screenshotgen/src/Makefile
utils/wxrc/Makefile
no changes added to commit (use "git add" and/or "git commit -a")
sh-3.2$ cd demos
sh-3.2$ make distclean
rm -rf ./.deps ./.pch
rm -f ./*.o
(cd bombs && /Applications/Xcode.app/Contents/Developer/usr/bin/make clean)
rm -rf ./.deps ./.pch
rm -f ./*.o
rm -f bombs
rm -rf bombs.app
(cd forty && /Applications/Xcode.app/Contents/Developer/usr/bin/make clean)
rm -rf ./.deps ./.pch
rm -f ./*.o
rm -f forty
rm -rf forty.app
(cd fractal && /Applications/Xcode.app/Contents/Developer/usr/bin/make clean)
rm -rf ./.deps ./.pch
rm -f ./*.o
rm -f fractal
rm -rf fractal.app
(cd life && /Applications/Xcode.app/Contents/Developer/usr/bin/make clean)
rm -rf ./.deps ./.pch
rm -f ./*.o
rm -f life
rm -rf life.app
(cd poem && /Applications/Xcode.app/Contents/Developer/usr/bin/make clean)
rm -rf ./.deps ./.pch
rm -f ./*.o
rm -f wxpoem
rm -rf wxpoem.app
rm -f config.cache config.log config.status bk-deps bk-make-pch Makefile
(cd bombs && /Applications/Xcode.app/Contents/Developer/usr/bin/make distclean)
rm -rf ./.deps ./.pch
rm -f ./*.o
rm -f bombs
rm -rf bombs.app
rm -f config.cache config.log config.status bk-deps bk-make-pch Makefile
(cd forty && /Applications/Xcode.app/Contents/Developer/usr/bin/make distclean)
rm -rf ./.deps ./.pch
rm -f ./*.o
rm -f forty
rm -rf forty.app
rm -f config.cache config.log config.status bk-deps bk-make-pch Makefile
(cd fractal && /Applications/Xcode.app/Contents/Developer/usr/bin/make distclean)
rm -rf ./.deps ./.pch
rm -f ./*.o
rm -f fractal
rm -rf fractal.app
rm -f config.cache config.log config.status bk-deps bk-make-pch Makefile
(cd life && /Applications/Xcode.app/Contents/Developer/usr/bin/make distclean)
rm -rf ./.deps ./.pch
rm -f ./*.o
rm -f life
rm -rf life.app
rm -f config.cache config.log config.status bk-deps bk-make-pch Makefile
(cd poem && /Applications/Xcode.app/Contents/Developer/usr/bin/make distclean)
rm -rf ./.deps ./.pch
rm -f ./*.o
rm -f wxpoem
rm -rf wxpoem.app
rm -f config.cache config.log config.status bk-deps bk-make-pch Makefile
sh-3.2$ cd ..
sh-3.2$ cd utils
sh-3.2$ make distclean
rm -rf ./.deps ./.pch
rm -f ./*.o
(cd helpview/src && /Applications/Xcode.app/Contents/Developer/usr/bin/make clean)
rm -rf ./.deps ./.pch
rm -f ./*.o
rm -f helpview
rm -rf helpview.app
(cd hhp2cached && /Applications/Xcode.app/Contents/Developer/usr/bin/make clean)
rm -rf ./.deps ./.pch
rm -f ./*.o
rm -f hhp2cached
(cd ifacecheck/src && /Applications/Xcode.app/Contents/Developer/usr/bin/make clean)
rm -rf ./.deps ./.pch
rm -f ./*.o
rm -f ifacecheck
(cd screenshotgen/src && /Applications/Xcode.app/Contents/Developer/usr/bin/make clean)
rm -rf ./.deps ./.pch
rm -f ./*.o
rm -f screenshotgen
rm -rf screenshotgen.app
(cd wxrc && /Applications/Xcode.app/Contents/Developer/usr/bin/make clean)
rm -rf ./.deps ./.pch
rm -f ./*.o
rm -f wxrc
rm -f config.cache config.log config.status bk-deps bk-make-pch Makefile
(cd helpview/src && /Applications/Xcode.app/Contents/Developer/usr/bin/make distclean)
rm -rf ./.deps ./.pch
rm -f ./*.o
rm -f helpview
rm -rf helpview.app
rm -f config.cache config.log config.status bk-deps bk-make-pch Makefile
(cd hhp2cached && /Applications/Xcode.app/Contents/Developer/usr/bin/make distclean)
rm -rf ./.deps ./.pch
rm -f ./*.o
rm -f hhp2cached
rm -f config.cache config.log config.status bk-deps bk-make-pch Makefile
(cd ifacecheck/src && /Applications/Xcode.app/Contents/Developer/usr/bin/make distclean)
rm -rf ./.deps ./.pch
rm -f ./*.o
rm -f ifacecheck
rm -f config.cache config.log config.status bk-deps bk-make-pch Makefile
(cd screenshotgen/src && /Applications/Xcode.app/Contents/Developer/usr/bin/make distclean)
rm -rf ./.deps ./.pch
rm -f ./*.o
rm -f screenshotgen
rm -rf screenshotgen.app
rm -f config.cache config.log config.status bk-deps bk-make-pch Makefile
(cd wxrc && /Applications/Xcode.app/Contents/Developer/usr/bin/make distclean)
rm -rf ./.deps ./.pch
rm -f ./*.o
rm -f wxrc
rm -f config.cache config.log config.status bk-deps bk-make-pch Makefile
sh-3.2$ cd ..
sh-3.2$ git status
On branch master
Your branch is up to date with 'origin/master'.
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git restore <file>..." to discard changes in working directory)
(commit or discard the untracked or modified content in submodules)
modified: src/expat (untracked content)
modified: src/tiff (modified content, untracked content)
Untracked files:
(use "git add <file>..." to include in what will be committed)
change-install-names
lib/wx/
samples/Makefile
samples/access/Makefile
samples/html/Makefile
samples/opengl/Makefile
tests/Makefile
tests/benchmarks/Makefile
utils/helpview/Makefile
utils/ifacecheck/rungccxml.sh
utils/screenshotgen/Makefile
no changes added to commit (use "git add" and/or "git commit -a")
sh-3.2$ exit
%
Script done on Tue Sep 15 14:28:37 2026
Source: wxWidgets/wxWidgets