bugGNU Wget - Bugs: bug #51626, Configure scripts didn't check for...

 
 

bug #51626: Configure scripts didn't check for availabilty of gperf, leading to make failure

Submitted by:  Nutchanon Wetchasit <nachanon>
Submitted on:  Mon 31 Jul 2017 12:41:57 PM UTC  
 
Category: Build/InstallSeverity: 3 - Normal
Priority: 5 - NormalStatus: Fixed
Privacy: PublicAssigned to: None
Originator Name: Open/Closed: Closed
Release: 1.19.1Operating System: GNU/Linux
Reproducibility: Every TimeFixed Release: None
Planned Release: NoneRegression: None
Work Required: NonePatch Included: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 31 Jul 2017 04:02:19 PM UTC, comment #2:

Thanks for a quick response. Bootstrap script of current mainline version now correctly aborts when `gperf` is not installed. (And still proceed normally when `gperf` is installed)

Though, what caught my eye in this fix is Gperf name being misspelled in the README.checkout file, and its description paragraph's indenting was kind of inconsistent (it is supposed to be all-space, rather than tab); so it would be nice if these get fixed as well.

Wget: v1.19.1-76-g951d3e4 (git)
Gnulib: v0.1-1154-gf497bc1 (git)
Autoconf: 2.69-1 (debian)
Gperf: 3.0.3-1+b1 (debian)
System: Debian GNU/Linux 7.0 Wheezy i386

Nutchanon Wetchasit <nachanon>
Mon 31 Jul 2017 12:58:35 PM UTC, comment #1:

Thanks for the report.

You're right, gperf is a requirement but it was never mentioned anywhere. I've added a line in README.checkout and added a check in the bootstrap stage.

Darshit Shah <darnir>
Project Administrator
Mon 31 Jul 2017 12:41:57 PM UTC, original submission:

While I was compiling lastest release version of Wget (1.19.1) via Git checkout to verify a URL filtering issue, I ran into a build failure.

From a look at output from Make, it turned out that Make somehow tried to invoke `gperf` command, and failed as I didn't have gperf installed on my system. Gperf requirement is not mentioned anywhere in documentation: README, README.checkout and INSTALL file. Also, both `bootstrap` and `configure` didn't complain about it being missing either.

Exact steps to reproduce:

  • Uninstall `gperf` (if installed)
  • Run `git clone https://git.savannah.gnu.org/git/wget.git wget.git`
  • Go into `wget.git` directory
  • Run `git checkout v1.19.1`
  • Run `./bootstrap`
  • Run `./configure --prefix=/opt/wget-1.19.1 --enable-assert`
  • Run `make V=1`

You would see that Make ends with an error like following:

Bootstrap output, configure output, config.log, and full Make output are attached as `wget1.19.1git-gperferror.zip` for a reference.

If `gperf` was installed, the build would succeed. This problem affects only Git version of Wget; the tarball version builds fine.

Wget: 1.19.1 (git)
Gnulib: v0.1-1130-g916a632 (git)
Autoconf: 2.69-1 (debian)
Gperf: 3.0.3-1+b1 (debian)
System: Debian GNU/Linux 7.0 Wheezy i386

Nutchanon Wetchasit <nachanon>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #41373:  wget1.19.1git-gperferror.zip added by nachanon (96KiB - application/zip - Bootstrap, configure, and build logs)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by darnir (Posted a comment)
  • -unavailable- added by nachanon (Submitted the item)
  •  

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 31 Jul 2017 12:58:35 PM UTCdarnirStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Mon 31 Jul 2017 12:41:57 PM UTCnachanonAttached File-=>Added wget1.19.1git-gperferror.zip, #41373

    Back to the top


    Powered by Savane 3.1-cleanup1