Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 725234

Summary: net-misc/lldpd calls cpp directly
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Patrick McLean <chutzpah>
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 243502    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2020-05-25 07:22:38 UTC
This is an auto-filed bug because net-misc/lldpd calls cpp directly.
The issue was originally discovered on amd64, but it may be reproducible on other arches as well.
If you think that a different summary clarifies the issue better, feel free to change it.
Attached build log and emerge --info.

If you think it doesn't make sense fix these type of issues, I'd like to point out that won't be possible use a different CPP implementation (like clang-cpp) by setting the CPP variable. So this issue has been reproduced by setting the CPP variable to x86_64-pc-linux-gnu-gcc -E and by removing the /usr/bin/cpp binary.
Comment 1 Agostino Sarubbo gentoo-dev 2020-05-25 07:22:43 UTC
Created attachment 641584 [details]

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2020-05-29 20:39:42 UTC
The bug has been closed via the following commit(s):

commit 0df1c6235ae79a341e59ae99fa58d8aa1ce44c24
Author:     Patrick McLean <>
AuthorDate: 2020-05-29 20:39:07 +0000
Commit:     Patrick McLean <>
CommitDate: 2020-05-29 20:39:35 +0000

    net-misc/lldpd-1.0.5-r1: Add patch to not call cpp in header test
    Copyright: Sony Interactive Entertainment Inc.
    Package-Manager: Portage-2.3.100, Repoman-2.3.22
    Signed-off-by: Patrick McLean <>

 net-misc/lldpd/files/lldpd-1.0.5-cpp.patch | 13 +++++++++++++
 net-misc/lldpd/lldpd-1.0.5-r1.ebuild       |  1 +
 2 files changed, 14 insertions(+)