Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 701510 - net-dns/dnssec-root-20181220 fails to cross compile
Summary: net-dns/dnssec-root-20181220 fails to cross compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Thomas Deutschmann (RETIRED)
URL: https://github.com/gentoo/gentoo/pull...
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2019-11-30 01:19 UTC by Bertrand Jacquin
Modified: 2019-11-30 01:52 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bertrand Jacquin 2019-11-30 01:19:00 UTC
Hi,

On a fresh new system, net-dns/dnssec-root does not cross compile:

>>> Compiling source in /usr/aarch64-unknown-linux-gnu/tmp/portage/net-dns/dnssec-root-20181220/work/dnssec-root-20181220 ...
/usr/aarch64-unknown-linux-gnu/tmp/portage/net-dns/dnssec-root-20181220/temp/environment: line 411: xpath: command not found
/usr/aarch64-unknown-linux-gnu/tmp/portage/net-dns/dnssec-root-20181220/temp/environment: line 412: xpath: command not found
/usr/aarch64-unknown-linux-gnu/tmp/portage/net-dns/dnssec-root-20181220/temp/environment: line 413: xpath: command not found
/usr/aarch64-unknown-linux-gnu/tmp/portage/net-dns/dnssec-root-20181220/temp/environment: line 414: xpath: command not found
 * ERROR: net-dns/dnssec-root-20181220::gentoo failed (compile phase):
 *   Sanity check failed: root-anchors.txt is empty or does not exist!
 *
 * Call stack:
 *     ebuild.sh, line 125:  Called src_compile
 *   environment, line 428:  Called die
 * The specific snippet of code:
 *           die "Sanity check failed: root-anchors.txt is empty or does not exist!";

This is due to dev-perl/XML-XPath defined as DEPEND rather than BDEPEND since EAPI was changed to 7.

Reproducible: Always
Comment 1 Bertrand Jacquin 2019-11-30 01:22:45 UTC
Proposal for a fix: https://github.com/gentoo/gentoo/pull/13805
Comment 2 Larry the Git Cow gentoo-dev 2019-11-30 01:45:43 UTC
The bug has been closed via the following commit(s):

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

commit 3176b9dd295006722110ece5f96833e2ec2a5421
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2019-11-30 01:45:04 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2019-11-30 01:45:35 +0000

    net-dns/dnssec-root: move dev-perl/XML-XPath to BDEPEND
    
    Closes: https://github.com/gentoo/gentoo/pull/13805
    Closes: https://bugs.gentoo.org/701510
    Package-Manager: Portage-2.3.80, Repoman-2.3.19
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 .../{dnssec-root-20181220.ebuild => dnssec-root-20181220-r1.ebuild}   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Comment 3 Bertrand Jacquin 2019-11-30 01:49:10 UTC
(In reply to Larry the Git Cow from comment #2)
> The bug has been closed via the following commit(s):
> 
> https://gitweb.gentoo.org/repo/gentoo.git/commit/
> ?id=3176b9dd295006722110ece5f96833e2ec2a5421
> 
> commit 3176b9dd295006722110ece5f96833e2ec2a5421
> Author:     Thomas Deutschmann <whissi@gentoo.org>
> AuthorDate: 2019-11-30 01:45:04 +0000
> Commit:     Thomas Deutschmann <whissi@gentoo.org>
> CommitDate: 2019-11-30 01:45:35 +0000
> 
>     net-dns/dnssec-root: move dev-perl/XML-XPath to BDEPEND
>     
>     Closes: https://github.com/gentoo/gentoo/pull/13805
>     Closes: https://bugs.gentoo.org/701510
>     Package-Manager: Portage-2.3.80, Repoman-2.3.19
>     Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
> 
>  .../{dnssec-root-20181220.ebuild => dnssec-root-20181220-r1.ebuild}   | 4
> ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

This git commit does not actually set BDEPEND I'm afraid.
Comment 4 Larry the Git Cow gentoo-dev 2019-11-30 01:52:03 UTC
The bug has been closed via the following commit(s):

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

commit 5d24ae0c1a493d330ec1b48d5ab6aef2b6459766
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2019-11-30 01:51:35 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2019-11-30 01:51:55 +0000

    net-dns/dnssec-root: move dev-perl/XML-XPath to BDEPEND (2)
    
    Closes: https://bugs.gentoo.org/701510
    Package-Manager: Portage-2.3.80, Repoman-2.3.19
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 net-dns/dnssec-root/dnssec-root-20181220-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 5 Thomas Deutschmann (RETIRED) gentoo-dev 2019-11-30 01:52:26 UTC
Sorry & good catch!