Created attachment 746721 [details] build.log gnupg-2.3.3 fails hard during linking on fully updated ~amd64 system.
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?
Indeed wiping ccache let it build just fine. should gnupg have some logic to warn in case of ccache being used?
(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.
(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.
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.
(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.