Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 728930 - app-text/discount-2.2.6 - ld: pandoc_headers.c:(.text.startup+0x5c): undefined reference to `gethopt'
Summary: app-text/discount-2.2.6 - ld: pandoc_headers.c:(.text.startup+0x5c): undefine...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Ben Kohler
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2020-06-20 19:48 UTC by Daniel Rammelt
Modified: 2020-06-26 15:53 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,9.74 KB, text/plain)
2020-06-20 19:48 UTC, Daniel Rammelt
Details
Fix Makefile.in (Makefile.in.patch,518 bytes, patch)
2020-06-20 19:50 UTC, Daniel Rammelt
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Rammelt 2020-06-20 19:48:13 UTC
Created attachment 645434 [details]
build.log

Fails to compile due to 

ld: pandoc_headers.c:(.text.startup+0x5c): undefined reference to `gethopt'

Upstream patch fails to apply cleanly.
https://github.com/Orc/discount/commit/e42188e6c4c30d9de668cf98d98dd0c13ecce7cf
Comment 1 Daniel Rammelt 2020-06-20 19:50:05 UTC
Created attachment 645436 [details, diff]
Fix Makefile.in

Patch against 2.2.6 source using upstream patch as reference.
Comment 2 Ben Kohler gentoo-dev 2020-06-26 11:32:23 UTC
This is a (somewhat highly?) parallel make issue, right?  I will add the patch, I just ask for my own curiosity of how I missed a complete build failure with default USE.
Comment 3 Larry the Git Cow gentoo-dev 2020-06-26 15:53:47 UTC
The bug has been closed via the following commit(s):

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

commit 28625ec7e0e405c313b34ac9a08a85ee50cc1982
Author:     Ben Kohler <bkohler@gentoo.org>
AuthorDate: 2020-06-26 15:53:19 +0000
Commit:     Ben Kohler <bkohler@gentoo.org>
CommitDate: 2020-06-26 15:53:36 +0000

    app-text/discount: parallel build fix from upstream
    
    Closes: https://bugs.gentoo.org/728930
    Package-Manager: Portage-2.3.103, Repoman-2.3.23
    Signed-off-by: Ben Kohler <bkohler@gentoo.org>

 app-text/discount/discount-2.2.6.ebuild         |  2 ++
 app-text/discount/files/gethopt-undefined.patch | 12 ++++++++++++
 2 files changed, 14 insertions(+)