Bug 2574 - configure: line 5805: syntax error near unexpected token `-Qunused-arguments'
Summary: configure: line 5805: syntax error near unexpected token `-Qunused-arguments'
Status: CLOSED INVALID
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: Build system (show other bugs)
Version: 7.2p1
Hardware: amd64 Linux
: P5 critical
Assignee: Assigned to nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-29 11:18 AEST by Jean-christophe Manciot
Modified: 2016-08-02 10:42 AEST (History)
1 user (show)

See Also:


Attachments
Whole log (3.51 KB, text/x-log)
2016-05-29 11:18 AEST, Jean-christophe Manciot
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jean-christophe Manciot 2016-05-29 11:18:25 AEST
Created attachment 2817 [details]
Whole log

Ubuntu 16.04 4.4.0-22
OpenSSH commit 39c0cecaa188a37a2e134795caa68e03f3ced592

	echo --------
	echo Cleaning
	echo --------
	cd git-openssh
	git reset --hard
	git clean -fxd :/
	git fetch --progress --prune origin

	echo ------------------
	echo "Making ./configure"
	echo ------------------
	libtoolize
	aclocal -I m4
	autoheader
	autoconf

	echo -----------
	echo Configuring
	echo -----------
	./configure 	--prefix=/usr --sysconfdir=/etc --localstatedir=/var

...
checking if gcc supports -Werror... yes
./configure: line 5805: syntax error near unexpected token `-Qunused-arguments'
./configure: line 5805: `	OSSH_CHECK_CFLAG_COMPILE(-Qunused-arguments)'

Should I make configure differently?

Whole log is attached.
Comment 1 Darren Tucker 2016-05-30 19:51:34 AEST
I can't reproduce this.  Which compiler (and version) and what version of autoconf are you using?


("aclocal -I m4" isn't correct as there's no m4 directory.  I normally just run "autoreconf" rather than what you have.)
Comment 2 Jean-christophe Manciot 2016-05-31 18:15:36 AEST
I replaced all my calls to build configure by autoreconf, and I can build the package now.
Thanks :)
Comment 3 Damien Miller 2016-08-02 10:42:15 AEST
Close all resolved bugs after 7.3p1 release