bugzilla-daemon at mindrot.org
2025-Feb-27  15:49 UTC
[Bug 3795] New: ./configure: line 6197: syntax error near unexpected token `-pipe'
https://bugzilla.mindrot.org/show_bug.cgi?id=3795
            Bug ID: 3795
           Summary: ./configure: line 6197: syntax error near unexpected
                    token `-pipe'
           Product: Portable OpenSSH
           Version: 9.9p2
          Hardware: Other
                OS: Mac OS X
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: ssh
          Assignee: unassigned-bugs at mindrot.org
          Reporter: dvx5j2ljdj2 at 0x1.digital
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether cc accepts -g... yes
checking for cc option to enable C11 features... none needed
checking if cc supports C99-style variadic macros... yes
checking build system type... x86_64-apple-darwin19.6.0
checking host system type... x86_64-apple-darwin19.6.0
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking whether byte ordering is bigendian... no
checking for gawk... gawk
checking how to run the C preprocessor... cc -E
checking for ranlib... ranlib
checking for a BSD-compatible install... /usr/local/bin/ginstall -c
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a race-free mkdir -p... /usr/local/bin/gmkdir -p
checking for ar... ar
checking for cat... /bin/cat
checking for kill... /bin/kill
checking for sed... /usr/bin/sed
checking for bash... /usr/local/bin/bash
checking for ksh... (cached) /usr/local/bin/bash
checking for sh... (cached) /usr/local/bin/bash
checking for bash... /usr/local/bin/bash
checking for ksh... (cached) /usr/local/bin/bash
checking for sh... (cached) /usr/local/bin/bash
checking for groff... /usr/bin/groff
checking for nroff... /usr/bin/nroff
checking for mandoc... /usr/local/bin/mandoc
checking for pkg-config... /usr/local/bin/pkg-config
checking for groupadd... groupadd
checking for useradd... useradd
checking for pkgmk... no
checking for cc option to enable large file support... none needed
checking for passwd... /usr/bin/passwd
checking for inline... inline
checking for cc options needed to detect all undeclared functions...
none needed
checking whether LLONG_MAX is declared... yes
checking whether LONG_LONG_MAX is declared... yes
checking whether RLIMIT_NPROC is declared... yes
checking whether PR_SET_NO_NEW_PRIVS is declared... no
checking whether OpenSSL will be used for cryptography... yes
checking if cc supports -Werror... yes
./configure: line 6197: syntax error near unexpected token `-pipe'
./configure: line 6197: `       OSSH_CHECK_CFLAG_COMPILE(-pipe)'
-- 
You are receiving this mail because:
You are watching the assignee of the bug.
bugzilla-daemon at mindrot.org
2025-Feb-27  18:43 UTC
[Bug 3795] ./configure: line 6197: syntax error near unexpected token `-pipe'
https://bugzilla.mindrot.org/show_bug.cgi?id=3795
dvx5j2ljdj2 at 0x1.digital changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID
--- Comment #1 from dvx5j2ljdj2 at 0x1.digital ---
Just removed, redownloaded from github and for some reason it now
works.
-- 
You are receiving this mail because:
You are watching the assignee of the bug.
bugzilla-daemon at mindrot.org
2025-Feb-27  22:22 UTC
[Bug 3795] ./configure: line 6197: syntax error near unexpected token `-pipe'
https://bugzilla.mindrot.org/show_bug.cgi?id=3795
Darren Tucker <dtucker at dtucker.net> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dtucker at dtucker.net
--- Comment #2 from Darren Tucker <dtucker at dtucker.net> ---
How and where did you get the original one that didn't work?  I'd like
to make sure we don't have a corrupt distribution somewhere...
-- 
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.
bugzilla-daemon at mindrot.org
2025-Feb-28  05:03 UTC
[Bug 3795] ./configure: line 6197: syntax error near unexpected token `-pipe'
https://bugzilla.mindrot.org/show_bug.cgi?id=3795
Damien Miller <djm at mindrot.org> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |djm at mindrot.org
--- Comment #3 from Damien Miller <djm at mindrot.org> ---
Also, we don't release distribution tarballs on github. Please use one
of the mirrors at https://www.openssh.com/portable.html - these
releases come with signatures
-- 
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
bugzilla-daemon at mindrot.org
2025-Feb-28  08:47 UTC
[Bug 3795] ./configure: line 6197: syntax error near unexpected token `-pipe'
https://bugzilla.mindrot.org/show_bug.cgi?id=3795 --- Comment #4 from dvx5j2ljdj2 at 0x1.digital --- (In reply to Darren Tucker from comment #2)> How and where did you get the original one that didn't work? I'd > like to make sure we don't have a corrupt distribution somewhere...I used "git clone https://github.com/openssh/openssh-portable.git" Followed the instruction below: cd openssh-portable autoreconf ./configure make && make tests Since that was not working, I then deleted everything with "rm -rf openssh-portable" and used used the git clone command from above again. This time it worked. -- You are receiving this mail because: You are watching someone on the CC list of the bug. You are watching the assignee of the bug.
bugzilla-daemon at mindrot.org
2025-Feb-28  08:50 UTC
[Bug 3795] ./configure: line 6197: syntax error near unexpected token `-pipe'
https://bugzilla.mindrot.org/show_bug.cgi?id=3795 --- Comment #5 from dvx5j2ljdj2 at 0x1.digital --- (In reply to Damien Miller from comment #3)> Also, we don't release distribution tarballs on github. Please use > one of the mirrors at https://www.openssh.com/portable.html - these > releases come with signaturesSo you would not recommend using git clone from https://github.com/openssh ? Instead download from https://www.openssh.com/portable.html and go from there? thanks for your response. Cheers -- You are receiving this mail because: You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
bugzilla-daemon at mindrot.org
2025-Feb-28  09:24 UTC
[Bug 3795] ./configure: line 6197: syntax error near unexpected token `-pipe'
https://bugzilla.mindrot.org/show_bug.cgi?id=3795 --- Comment #6 from Darren Tucker <dtucker at dtucker.net> --- (In reply to dvx5j2ljdj2 from comment #4)> (In reply to Darren Tucker from comment #2) > > How and where did you get the original one that didn't work? I'd > > like to make sure we don't have a corrupt distribution somewhere... > > I used "git clone https://github.com/openssh/openssh-portable.git"That's the master branch, which does not have a pre-built configure file.> Followed the instruction below: > > cd openssh-portable > autoreconfThis is the point where you generated "configure" locally. What version of Autoconf did you use? Is it possible the process was interrupted or ran out of disk space? (In reply to dvx5j2ljdj2 from comment #5)> (In reply to Damien Miller from comment #3) > > Also, we don't release distribution tarballs on github. Please use > > one of the mirrors at https://www.openssh.com/portable.html - these > > releases come with signatures > > So you would not recommend using git clone from > https://github.com/openssh ? > > Instead download from https://www.openssh.com/portable.html and go > from there?Downloading a portable tarball from there gets you a signed tarball containing the autoconf files such as configure, which requires less trust (ie doesn't trust github) and requires less prep steps which may go wrong. -- You are receiving this mail because: You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
bugzilla-daemon at mindrot.org
2025-Feb-28  09:49 UTC
[Bug 3795] ./configure: line 6197: syntax error near unexpected token `-pipe'
https://bugzilla.mindrot.org/show_bug.cgi?id=3795 --- Comment #7 from dvx5j2ljdj2 at 0x1.digital ---> Is it possible the process was interrupted or ran out of disk space?more than 1TB of free disk space. --> What version of Autoconf did you use?/usr/local/bin/Autoconf -V autoconf (GNU Autoconf) 2.72 Copyright (C) 2023 Free Software Foundation, Inc. License GPLv3+/Autoconf: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>, <https://gnu.org/licenses/exceptions.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by David J. MacKenzie and Akim Demaille. -- Thank you for the explanation. I used to install openSSH before via brew (homebrew) - which did not work this time. Could not figure out how to solve the "inreplace error" - so i used the github repo instead, thinking it's the "official" or best way. Will use the signed tarball from openssh.com in the future. -- You are receiving this mail because: You are watching the assignee of the bug. You are watching someone on the CC list of the bug.