[New-bugs-announce] [issue46351] Makefile missing '/' for some path names

Guntram Wolski report at bugs.python.org
Tue Jan 11 18:32:47 EST 2022


New submission from Guntram Wolski <gwolski at tanzanitesi.com>:

In reviewing the output of make -n install, I notice certain paths are missing '/' separators: 

if test "x" != "x" ; then \
	rm -f /usr/local/python3.9.9/binpython3.9-32; \
	lipo  \
		-output /usr/local/python3.9.9/bin/python3.9-32 \
		/usr/local/python3.9.9/bin/python3.9; \
fi

There should be a '/' between bin and python3.9-32 and other lines have the same issue. The Makefile source lines where I see this error are:

        if test "x$(LIPO_32BIT_FLAGS)" != "x" ; then \
-->                rm -f $(DESTDIR)$(BINDIR)python$(VERSION)-32$(EXE); \
                lipo $(LIPO_32BIT_FLAGS) \
                        -output $(DESTDIR)$(BINDIR)/python$(VERSION)-32$(EXE) \
                        $(DESTDIR)$(BINDIR)/python$(VERSION)$(EXE); \
        fi
        if test "x$(LIPO_INTEL64_FLAGS)" != "x" ; then \
-->                rm -f $(DESTDIR)$(BINDIR)python$(VERSION)-intel64$(EXE); \
                lipo $(LIPO_INTEL64_FLAGS) \
                        -output $(DESTDIR)$(BINDIR)/python$(VERSION)-intel64$(EXE) \
                        $(DESTDIR)$(BINDIR)/python$(VERSION)$(EXE); \
        fi


I think the lines I've marked with --> above should have the '/' after $(BINDIR).... ????

----------
components: Installation
messages: 410356
nosy: gwolski
priority: normal
severity: normal
status: open
title: Makefile missing '/' for some path names
versions: Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46351>
_______________________________________


More information about the New-bugs-announce mailing list