Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 927333 - net-vpn/pptpd-1.4.0-r3 fails to compile: <built-in>: error: type of __builtin_memset does not match original declaration [-Werror=lto-type-mismatch]
Summary: net-vpn/pptpd-1.4.0-r3 fails to compile: <built-in>: error: type of __builtin...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Sergey Popov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: lto
  Show dependency tree
 
Reported: 2024-03-20 08:48 UTC by Agostino Sarubbo
Modified: 2024-04-27 01:11 UTC (History)
0 users

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


Attachments
build.log (build.log,57.40 KB, text/plain)
2024-03-20 08:48 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-03-20 08:48:21 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: net-vpn/pptpd-1.4.0-r3 fails to compile.
Discovered on: amd64 (internal ref: lto_tinderbox)
System: LTO-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#LTO)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Comment 1 Agostino Sarubbo gentoo-dev 2024-03-20 08:48:22 UTC
Created attachment 887972 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2024-04-27 01:11:28 UTC
The bug has been closed via the following commit(s):

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

commit de42887364fb0681a6045f33b48dfefe58c46298
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-04-27 00:55:29 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-04-27 00:55:29 +0000

    net-vpn/pptpd: fix Modern C issue
    
    Interestingly, this only seems to manifest with >=glibc-2.38, because
    the include had a '#ifndef HAVE_STRLCPY' guard.
    
    Closes: https://bugs.gentoo.org/920775
    Closes: https://bugs.gentoo.org/927333
    Signed-off-by: Sam James <sam@gentoo.org>

 net-vpn/pptpd/files/pptpd-1.4.0-c99.patch                | 16 ++++++++++++++++
 .../{pptpd-1.4.0-r3.ebuild => pptpd-1.4.0-r4.ebuild}     |  3 ++-
 2 files changed, 18 insertions(+), 1 deletion(-)