Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 840625

Summary: app-text/html2text-2.0.1 fails to compile: configure: line 25: eval: --: invalid option
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Fabian Groffen <grobian>
Status: RESOLVED FIXED    
Severity: normal CC: toralf, ulm
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2022-04-24 16:29:19 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-text/html2text-2.0.1 fails to compile.
Discovered on: amd64 (internal ref: ci)
Comment 1 Agostino Sarubbo gentoo-dev 2022-04-24 16:29:21 UTC
Created attachment 774184 [details]
build.log

build log and emerge --info
Comment 2 Ulrich Müller gentoo-dev 2022-04-24 17:24:59 UTC
It's a hand-crafted (not autoconf) configure which doesn't accept any options. Adding the following src_configure fixes the problem for me:

src_configure() {
	./configure || die
}
Comment 3 Fabian Groffen gentoo-dev 2022-04-25 06:20:01 UTC
Odd, it warned, but didn't fail for me.
Comment 4 Larry the Git Cow gentoo-dev 2022-04-25 06:26:07 UTC
The bug has been closed via the following commit(s):

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

commit 864089dad9b684eaebb54bfcd67f4f94afa28a83
Author:     Fabian Groffen <grobian@gentoo.org>
AuthorDate: 2022-04-25 06:24:49 +0000
Commit:     Fabian Groffen <grobian@gentoo.org>
CommitDate: 2022-04-25 06:26:04 +0000

    app-text/html2text-2.0.1: fix configure #840625
    
    this package uses a hand-crafted configure script and barfs on the
    arguments econf passes onto it
    
    Closes: https://bugs.gentoo.org/840625
    Signed-off-by: Fabian Groffen <grobian@gentoo.org>

 app-text/html2text/html2text-2.0.1.ebuild | 5 +++--
 app-text/html2text/html2text-9999.ebuild  | 7 ++++---
 2 files changed, 7 insertions(+), 5 deletions(-)
Comment 5 Fabian Groffen gentoo-dev 2022-04-25 07:22:30 UTC
*** Bug 840734 has been marked as a duplicate of this bug. ***