Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 750857 - net-misc/wget2-1.99.2: ./configure: 6101: Syntax error: word unexpected (expecting "do")
Summary: net-misc/wget2-1.99.2: ./configure: 6101: Syntax error: word unexpected (expe...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: autoconf-2.7x
  Show dependency tree
 
Reported: 2020-10-23 15:07 UTC by Toralf Förster
Modified: 2020-12-29 16:14 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,16.36 KB, text/plain)
2020-10-23 15:07 UTC, Toralf Förster
Details
aclocal.out (aclocal.out,398 bytes, text/plain)
2020-10-23 15:07 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,170.52 KB, text/plain)
2020-10-23 15:07 UTC, Toralf Förster
Details
environment (environment,65.64 KB, text/plain)
2020-10-23 15:07 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,16.69 KB, application/x-bzip)
2020-10-23 15:07 UTC, Toralf Förster
Details
net-misc:wget2-1.99.2:20201022-182107.log (net-misc:wget2-1.99.2:20201022-182107.log,2.06 KB, text/plain)
2020-10-23 15:07 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,17.46 KB, application/x-bzip)
2020-10-23 15:08 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-10-23 15:07:50 UTC
 * ERROR: net-misc/wget2-1.99.2::gentoo failed (prepare phase):
 *   Failed Running aclocal !
 * 

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib-20201019-041507

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-10.2.0 *
clang version 11.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/11/bin
/usr/lib/llvm/11
11.0.0
Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.9 (fallback)
  [3]   python3.8 (fallback)
  [4]   python2.7 (fallback)
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.47.0 *
  [2]   rust-1.47.0
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.265_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm


  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Thu Oct 22 06:05:28 PM UTC 2020

emerge -qpvO net-misc/wget2
[ebuild  N    ] net-misc/wget2-1.99.2  USE="bzip2 gnutls http2 pcre ssl xattr zlib -brotli -doc -gpgme -idn -libressl -lzma -openssl -psl -test -valgrind"
Comment 1 Toralf Förster gentoo-dev 2020-10-23 15:07:51 UTC
Created attachment 668111 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-10-23 15:07:53 UTC
Created attachment 668114 [details]
aclocal.out
Comment 3 Toralf Förster gentoo-dev 2020-10-23 15:07:54 UTC
Created attachment 668117 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-10-23 15:07:56 UTC
Created attachment 668120 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-10-23 15:07:57 UTC
Created attachment 668123 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-10-23 15:07:58 UTC
Created attachment 668126 [details]
net-misc:wget2-1.99.2:20201022-182107.log
Comment 7 Toralf Förster gentoo-dev 2020-10-23 15:08:00 UTC
Created attachment 668129 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-12-29 14:19:59 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07e047c01702ae8d626e555d4834ed84b9a16b24

commit 07e047c01702ae8d626e555d4834ed84b9a16b24
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2020-12-29 14:18:30 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2020-12-29 14:19:54 +0000

    net-misc/wget2: Avoid bashisms in configure script
    
    Attempt to fix build with autoconf-2.70
    
    Bug: https://bugs.gentoo.org/750857
    Package-Manager: Portage-3.0.12, Repoman-3.0.2
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 .../wget2/files/wget2-1.99.2-autoconf270.patch     | 26 +++++++
 .../wget2/files/wget2-1.99.2-avoid_bashisms.patch  | 84 ++++++++++++++++++++++
 net-misc/wget2/wget2-1.99.2.ebuild                 |  4 ++
 3 files changed, 114 insertions(+)
Comment 9 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2020-12-29 14:23:20 UTC
The upstream fix simply shifts the error from failed aclocal run to resulting configure script being broken:


checking for x86_64-pc-linux-gnu-gcc option to enable C11 features... none neede
d                                                                               ./configure: 6101: Syntax error: word unexpected (expecting "do")
Comment 10 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2020-12-29 15:52:36 UTC
Alright, this seems to be an issue with the shipped gnulib. So in order to fix this bug we need a new release from upstream.
Comment 11 Larry the Git Cow gentoo-dev 2020-12-29 16:14:02 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a24139362029cd6362f654665c89e4caa5cc4ae0

commit a24139362029cd6362f654665c89e4caa5cc4ae0
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2020-12-29 16:13:43 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2020-12-29 16:13:43 +0000

    net-misc/wget2: Fixed build with autoconf-2.70
    
    Closes: https://bugs.gentoo.org/750857
    Package-Manager: Portage-3.0.12, Repoman-3.0.2
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 net-misc/wget2/files/gnulib-autoconf270.patch | 22 ++++++++++++++++++++++
 net-misc/wget2/wget2-1.99.2.ebuild            |  1 +
 2 files changed, 23 insertions(+)