Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 727638 - net-misc/linuxptp fails to compile
Summary: net-misc/linuxptp fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Thomas Beierlein
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-09 10:43 UTC by Agostino Sarubbo
Modified: 2020-06-16 17:14 UTC (History)
0 users

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


Attachments
build.log (build.log,10.47 KB, text/plain)
2020-06-09 10:43 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-06-09 10:43:53 UTC
@@This is an auto-filed bug@@
If you think that a different summary clarifies the issue better, feel free to change it.

Issue: net-misc/linuxptp fails to compile.
Discovered on: amd64

NOTE:
If you need further logs, feel free to ask.
Comment 1 Agostino Sarubbo gentoo-dev 2020-06-09 10:43:59 UTC
Created attachment 644114 [details]
build.log

build log and emerge --info
Comment 2 Thomas Beierlein gentoo-dev 2020-06-12 07:12:24 UTC
(In reply to Agostino Sarubbo from comment #0)
> @@This is an auto-filed bug@@
> If you think that a different summary clarifies the issue better, feel free
> to change it.
> 
> Issue: net-misc/linuxptp fails to compile.
> Discovered on: amd64
> 
> NOTE:
> If you need further logs, feel free to ask.

Cannot reproduce here atm. 
The error output from linux-info shows an quite  unusual setting of your kernel installation. Can you please provide some information about that aspect of your test environment? 
Thanks.
Comment 3 Agostino Sarubbo gentoo-dev 2020-06-16 12:11:47 UTC
This is an asw ubuntu kernel, do you want to see the config? Other than this, did you try with gcc-10?
Comment 4 Thomas Beierlein gentoo-dev 2020-06-16 17:12:54 UTC
(In reply to Agostino Sarubbo from comment #3)
> This is an asw ubuntu kernel, do you want to see the config? Other than
> this, did you try with gcc-10?

OK. It works with GCC-10.1 here without problems.
I was wondering about the unusual output from setup-linux-confign in the log whih I could not reproduce.

After some digging around it seems the package has its own script to look up needed CFLAGS add-ons.

I will prepare a fixed ebuild in next time. Please retest to confirm it is working now.
Comment 5 Larry the Git Cow gentoo-dev 2020-06-16 17:14:09 UTC
The bug has been closed via the following commit(s):

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

commit 6c491a73e06a4613dca8d29d7bd4efdc5bf3ad60
Author:     Thomas Beierlein <tomjbe@gentoo.org>
AuthorDate: 2020-06-16 17:13:52 +0000
Commit:     Thomas Beierlein <tomjbe@gentoo.org>
CommitDate: 2020-06-16 17:13:52 +0000

    net-misc/linuxptp: Fix configuration by using provided script
    
    Closes: https://bugs.gentoo.org/727638
    Package-Manager: Portage-2.3.100, Repoman-2.3.22
    Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>

 net-misc/linuxptp/linuxptp-2.0.ebuild | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)