Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable checkaction=context in dub #142

Closed
wants to merge 1 commit into from

Conversation

Geod24
Copy link
Collaborator

@Geod24 Geod24 commented Aug 5, 2019

This will fail with < 2.087.1

@Geod24 Geod24 added the status-blocked Another issue/PR/external dependency is blocking completion of this PR/issue label Aug 5, 2019
@Geod24
Copy link
Collaborator Author

Geod24 commented Aug 5, 2019

This is blocked by a bunch of upstream fixes

@Geod24
Copy link
Collaborator Author

Geod24 commented Feb 12, 2020

Would be great to get someone to look into this one at some point.

@Geod24
Copy link
Collaborator Author

Geod24 commented Feb 18, 2020

This still has issues...

/usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld.bfd: /tmp/.rdmd-0/rdmd-build.d-E96E07B52D5C24B890B67CA5F414DDBA/objs/build.o: in function `_D4core8internal7dassert__T14_d_assert_failVAyaa1_3cTmTmZQBeFNaNbNiNfxmxmZQBe':
attributes.d:(.text._D4core8internal7dassert__T14_d_assert_failVAyaa1_3cTmTmZQBeFNaNbNiNfxmxmZQBe[_D4core8internal7dassert__T14_d_assert_failVAyaa1_3cTmTmZQBeFNaNbNiNfxmxmZQBe]+0x20): undefined reference to `_D4core8internal7dassert__T24miniFormatFakeAttributesTmZQBdFNaNbNiNfKxmZAya'
/usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld.bfd: attributes.d:(.text._D4core8internal7dassert__T14_d_assert_failVAyaa1_3cTmTmZQBeFNaNbNiNfxmxmZQBe[_D4core8internal7dassert__T14_d_assert_failVAyaa1_3cTmTmZQBeFNaNbNiNfxmxmZQBe]+0x31): undefined reference to `_D4core8internal7dassert__T24miniFormatFakeAttributesTmZQBdFNaNbNiNfKxmZAya'
/usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld.bfd: /tmp/.rdmd-0/rdmd-build.d-E96E07B52D5C24B890B67CA5F414DDBA/objs/build.o: in function `_D3std8typecons__T10RefCountedTSQBe4file15DirIteratorImplVEQCfQCe24RefCountedAutoInitializei0ZQCy6__dtorMFZv':
attributes.d:(.text._D3std8typecons__T10RefCountedTSQBe4file15DirIteratorImplVEQCfQCe24RefCountedAutoInitializei0ZQCy6__dtorMFZv[_D3std8typecons__T10RefCountedTSQBe4file15DirIteratorImplVEQCfQCe24RefCountedAutoInitializei0ZQCy6__dtorMFZv]+0xad): undefined reference to `_D4core8internal7dassert__T14_d_assert_failVAyaa1_3eTmTmZQBeFNaNbNiNfKxmxmZQBf'
collect2: error: ld returned 1 exit status
Error: /usr/bin/cc failed with status: 1

@Geod24
Copy link
Collaborator Author

Geod24 commented Feb 24, 2020

@Geod24 Geod24 force-pushed the checkaction branch 5 times, most recently from f3faa25 to 4ae902f Compare February 24, 2020 06:42
@Geod24
Copy link
Collaborator Author

Geod24 commented Feb 24, 2020

So it passes with DMD but not with LDC. It might be because we're using bfd instead of gold ?
LDC calls it "buggy old linker" but I wonder if the bug is really in ld.bfd...

@codecov
Copy link

codecov bot commented Mar 31, 2020

Codecov Report

Merging #142 into v0.x.x will decrease coverage by 2.45%.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff             @@
##           v0.x.x     #142      +/-   ##
==========================================
- Coverage   91.11%   88.66%   -2.46%     
==========================================
  Files          63       59       -4     
  Lines        4786     4377     -409     
==========================================
- Hits         4361     3881     -480     
- Misses        425      496      +71
Flag Coverage Δ
#integration ?
#unittests 88.66% <0%> (-1.21%) ⬇️
Impacted Files Coverage Δ
source/agora/utils/Workarounds.d 0% <0%> (ø)
source/agora/common/Task.d 0% <0%> (-100%) ⬇️
source/agora/common/Config.d 74.64% <0%> (-16.2%) ⬇️
source/scpd/types/XDRBase.d 27.27% <0%> (-11.19%) ⬇️
source/agora/network/NetworkManager.d 69.86% <0%> (-9.76%) ⬇️
source/agora/node/Node.d 90.36% <0%> (-9.64%) ⬇️
source/agora/consensus/EnrollmentManager.d 86.62% <0%> (-6.45%) ⬇️
source/agora/common/crypto/Key.d 84.25% <0%> (-5.13%) ⬇️
source/agora/common/BitField.d 94.23% <0%> (-2.96%) ⬇️
source/agora/node/BlockStorage.d 67.87% <0%> (-2.51%) ⬇️
... and 46 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 25e09d0...16d999b. Read the comment docs.

@Geod24
Copy link
Collaborator Author

Geod24 commented Apr 15, 2020

So we dropped DMD. And I've seen Kinke actively working on this. We might get lucky and get it to work in either LDC 1.21.0 (if we're really lucky), or LDC 1.22.0. Let's stay tuned for the LDC beta for once.

@Geod24 Geod24 force-pushed the checkaction branch 2 times, most recently from ae5c51d to 9d31e02 Compare February 26, 2021 07:30
@AndrejMitrovic
Copy link
Contributor

Can close this now? Or was the plan enabling it for non-unittest builds too?

@Geod24
Copy link
Collaborator Author

Geod24 commented May 4, 2021

Or was the plan enabling it for non-unittest builds too?

Not ready to open this can of worm just yet.

Can close this now?

Indeed, done in #2038 . It only took 1896 PRs / issues and a bit less than 2 years.

@Geod24 Geod24 closed this May 4, 2021
@Geod24 Geod24 deleted the checkaction branch May 4, 2021 05:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status-blocked Another issue/PR/external dependency is blocking completion of this PR/issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants