Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 814308 - app-text/calibre-5.30.0 does not respect LDFLAGS
Summary: app-text/calibre-5.30.0 does not respect LDFLAGS
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Zac Medico
Depends on:
Blocks: ldflags
  Show dependency tree
Reported: 2021-09-22 06:49 UTC by Agostino Sarubbo
Modified: 2021-10-29 05:57 UTC (History)
1 user (show)

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

build.log (build.log,218.48 KB, text/plain)
2021-09-22 06:49 UTC, Agostino Sarubbo

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2021-09-22 06:49:08 UTC

Issue: app-text/calibre-5.25.0-r2 does not respect LDFLAGS.
Discovered on: amd64 (internal ref: tinderbox)

To reproduce this issue you may want to set LDFLAGS="${LDFLAGS} -Wl,--defsym=__gentoo_check_ldflags__=0". If this is not something about c/c++ context you may want to see this bug as an hint to hide the QA warning (with QA_FLAGS_IGNORED) where is not possible to respect LDFLAGS.
Comment 1 Agostino Sarubbo gentoo-dev 2021-09-22 06:49:11 UTC
Created attachment 740643 [details]

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2021-10-22 08:59:09 UTC
ci has reproduced this issue with version 5.30.0 - Updating summary.
Comment 3 Larry the Git Cow gentoo-dev 2021-10-29 05:57:51 UTC
The bug has been closed via the following commit(s):

commit 5df9f0d616ca5a7cc98e8813b3bcb8276ae25fd5
Author:     Zac Medico <>
AuthorDate: 2021-10-29 05:55:25 +0000
Commit:     Zac Medico <>
CommitDate: 2021-10-29 05:57:47 +0000

    app-text/calibre: Respect CFLAGS and LDFLAGS
    Package-Manager: Portage-3.0.28, Repoman-3.0.3
    Signed-off-by: Zac Medico <>

 app-text/calibre/calibre-5.30.0.ebuild | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)