Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 820272 - app-crypt/gnupg-2.3.3: gettime.c:(.text+0x6f4): undefined reference to `bug_at'
Summary: app-crypt/gnupg-2.3.3: gettime.c:(.text+0x6f4): undefined reference to `bug_at'
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-25 21:07 UTC by Piotr Karbowski (RETIRED)
Modified: 2024-09-24 10:51 UTC (History)
7 users (show)

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


Attachments
build.log (build.log,103.55 KB, text/plain)
2021-10-25 21:07 UTC, Piotr Karbowski (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Karbowski (RETIRED) gentoo-dev 2021-10-25 21:07:47 UTC
Created attachment 746721 [details]
build.log

gnupg-2.3.3 fails hard during linking on fully updated ~amd64 system.
Comment 1 Ionen Wolkens gentoo-dev 2021-10-26 04:17:03 UTC
The only way it would be looking for log_error() and others directly is if an include is missing or GPGRT_ENABLE_LOG_MACROS isn't set for some reason given it should be looking for gpgrt_log_error

     # define log_error               gpgrt_log_error

And gnupg does enable this by default in config.h

I don't readily see how that might have happened, perhaps ccache is involved? Have you tried without?
Comment 2 Piotr Karbowski (RETIRED) gentoo-dev 2021-10-26 08:16:31 UTC
Indeed wiping ccache let it build just fine. should gnupg have some logic to warn in case of ccache being used?
Comment 3 Conrad Kostecki gentoo-dev 2021-10-26 21:07:20 UTC
(In reply to Piotr Karbowski from comment #2)
> Indeed wiping ccache let it build just fine. should gnupg have some logic to
> warn in case of ccache being used?

Ack, I can also confirm.
Comment 4 Alex Barker 2021-10-27 21:17:32 UTC
(In reply to Piotr Karbowski from comment #2)
> Indeed wiping ccache let it build just fine.

Wiping ccache with -C did not resolve this issue for me.
Comment 5 Piotr Karbowski (RETIRED) gentoo-dev 2021-10-28 14:27:56 UTC
I suspect when you executed ccache -c you did not had CCACHE_DIR set which means you did not purged the portage's directory of ccache. Just purge that directory and you should be good.
Comment 6 Alex Barker 2021-10-29 01:53:10 UTC
(In reply to Piotr Karbowski from comment #5)
> I suspect when you executed ccache -c you did not had CCACHE_DIR set which
> means you did not purged the portage's directory of ccache.

Derp, yep that indeed fixed the issue.  ty.