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

add '-tag musl' build parameter to resolve confluent-kafka-go compatibility problem #94

Merged
merged 1 commit into from
Apr 7, 2021

Conversation

sixther-dc
Copy link
Contributor

What type of PR is this?

/kind bug

What this PR does / why we need it:

after we upgrade the version of confluent-kafka-go, it will cause the following compilation errors when building scheduler
image

It seems like it is linking the glibc librdkafka (which references __strdup).
build with -tags musl can use the built-in librdkafka。

confluentinc/confluent-kafka-go#454

Which issue(s) this PR fixes:

Fixes #

Specified Reivewers:

/assgin @luobily @recallsong

@sixther-dc sixther-dc force-pushed the feature/dc-dev branch 4 times, most recently from 9f90c3c to 80a081a Compare April 6, 2021 06:17
@codecov
Copy link

codecov bot commented Apr 6, 2021

Codecov Report

Merging #94 (7774a8f) into develop (5358016) will decrease coverage by 0.00%.
The diff coverage is n/a.

❗ Current head 7774a8f differs from pull request most recent head c16e60b. Consider uploading reports for the commit c16e60b to get more accurate results
Impacted file tree graph

@@             Coverage Diff             @@
##           develop      #94      +/-   ##
===========================================
- Coverage    10.64%   10.63%   -0.01%     
===========================================
  Files          658      658              
  Lines        48738    48738              
===========================================
- Hits          5186     5183       -3     
- Misses       42900    42901       +1     
- Partials       652      654       +2     
Impacted Files Coverage Δ
pkg/apitestsv2/mock.go 24.65% <0.00%> (-4.11%) ⬇️

@sixther-dc sixther-dc force-pushed the feature/dc-dev branch 14 times, most recently from 40b4307 to 8572ce8 Compare April 6, 2021 12:47
luobily
luobily previously approved these changes Apr 7, 2021
Copy link
Member

@luobily luobily left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

Copy link
Member

@luobily luobily left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@luobily luobily merged commit 35b4564 into erda-project:develop Apr 7, 2021
innerpeacez pushed a commit to innerpeacez/erda that referenced this pull request Apr 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants