Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 725234 - net-misc/lldpd calls cpp directly
Summary: net-misc/lldpd calls cpp directly
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: tc-directly
  Show dependency tree
 
Reported: 2020-05-25 07:22 UTC by Agostino Sarubbo
Modified: 2020-05-29 20:39 UTC (History)
0 users

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


Attachments
build.log (build.log,159.69 KB, text/plain)
2020-05-25 07:22 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 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.

NOTE:
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

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):

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

commit 0df1c6235ae79a341e59ae99fa58d8aa1ce44c24
Author:     Patrick McLean <patrick.mclean@sony.com>
AuthorDate: 2020-05-29 20:39:07 +0000
Commit:     Patrick McLean <chutzpah@gentoo.org>
CommitDate: 2020-05-29 20:39:35 +0000

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

 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(+)