Opened 16 months ago

Last modified 16 months ago

#25506 new defect

Tor's make clean and distclean should not depend on the exact automake version

Reported by: teor Owned by:
Priority: Medium Milestone: Tor: unspecified
Component: Core Tor/Tor Version:
Severity: Normal Keywords: tor-build
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

When I upgraded from automake-1.15 to automake-1.16, my existing build directoru became unusable - I could not execute any commands. Running autogen.sh did not help.

Every command failed like this:

$ make distclean
 cd . && /bin/sh /Users/dev/tor/missing automake-1.15 --foreign Makefile
/Users/dev/tor/missing: line 81: automake-1.15: command not found
WARNING: 'automake-1.15' is missing on your system.
         You should only need it if you modified 'Makefile.am' or
         'configure.ac' or m4 files included by 'configure.ac'.
         The 'automake' program is part of the GNU Automake package:
         <https://www.gnu.org/software/automake>
         It also requires GNU Autoconf, GNU m4 and Perl in order to run:
         <https://www.gnu.org/software/autoconf>
         <https://www.gnu.org/software/m4/>
         <https://www.perl.org/>
make: *** [Makefile.in] Error 127
Exit 2

A workaround is to link automake-1.16 to automake-1.15 somewhere in your path.

Child Tickets

Change History (2)

comment:1 Changed 16 months ago by nickm

Huh. Autogen.sh followed by configure should work in this case -- does that help out?

comment:2 Changed 16 months ago by teor

No, I ran autogen and configure, and neither made any difference

Note: See TracTickets for help on using tickets.