Skip to content
This repository was archived by the owner on Feb 1, 2023. It is now read-only.

Commit f00937e

Browse files
author
Release Manager
committed
Trac #29489: Fix configure messages "rm: conftest.dir: is a directory"
Some autoconf macro is trying to use `rm -f` when it should be using `rm -rf`, leading to these harmless error messages: {{{ checking for ZMQ version >= 4.2.5... yes rm: conftest.dir: is a directory rm: conftest_venv: is a directory configure: will use system package and not install SPKG zeromq }}} URL: https://trac.sagemath.org/29489 Reported by: mkoeppe Ticket author(s): Michael Orlitzky Reviewer(s): Dima Pasechnik
2 parents cf92498 + d208f8c commit f00937e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

build/pkgs/python3/spkg-configure.m4

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,4 +149,10 @@ EOF
149149
dnl POST
150150
AS_IF([test x$sage_spkg_install_python3 = xno], [PYTHON_FOR_VENV="$ac_cv_path_PYTHON3"])
151151
AC_SUBST([PYTHON_FOR_VENV])
152+
153+
dnl These temporary directories are created by the check above
154+
dnl and need to be cleaned up to prevent the "rm -f conftest*"
155+
dnl (that a bunch of other checks do) from emitting warnings about
156+
dnl conftest.dir and conftest_venv being directories.
157+
rm -rf conftest.dir conftest_venv
152158
])

0 commit comments

Comments
 (0)