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

Fix gitian build after libzmq bump #11981

Merged
merged 1 commit into from Dec 22, 2017
Merged

Conversation

theuni
Copy link
Member

@theuni theuni commented Dec 21, 2017

Broken gitian builds were introduced with #9254. Big thanks to @jonasschnelli for narrowing down the bisection.

This is broken for a number of reasons, including:

  • g++ understands "-static-libstdc++ -lstdc++" to mean "link against whatever libstdc++ exists, probably shared", which in itself is buggy.
  • another stdlib (libc++ for example) may be in use

This is broken for a number of reasons, including:
- g++ understands "-static-libstdc++ -lstdc++" to mean "link against whatever
  libstdc++ exists, probably shared", which in itself is buggy.
- another stdlib (libc++ for example) may be in use
@jonasschnelli
Copy link
Contributor

Let's see
Just started https://bitcoin.jonasschnelli.ch/build/431

We should probably always test depends changes with a gitian build.

@fanquake
Copy link
Member

fanquake commented Dec 22, 2017

I'm wondering, before we fix this, should we update to 4.2.3 and see if anything else breaks?
It was only recently released, which is why it wasn't in #9254, and basically includes a years worth of bug fixes, which I think would be good to get in.

Note: We'd want to look at patching for OpenBSD: zeromq/libzmq@22b57f6

@theuni
Copy link
Member Author

theuni commented Dec 22, 2017

Sure, though I checked upstream master before creating the patch here, in case there was something to backport (and also to file a bug report, which I haven't done yet).

So this fix should work with 4.2.3. as well.

Re OpenBSD, we don't currently build releases, so no need to worry about that patch.

@jonasschnelli
Copy link
Contributor

Fixed the gitian build (https://bitcoin.jonasschnelli.ch/build/431).
Tested ACK a6365c5

@laanwj
Copy link
Member

laanwj commented Dec 22, 2017

This one is extremely sneaky. Why the hell would they do this?
utACK a6365c5

Re OpenBSD, we don't currently build releases, so no need to worry about that patch.

Indeed, and zeromq package is easy to install from the ports/pkg_add system for people building from source.

@laanwj laanwj merged commit a6365c5 into bitcoin:master Dec 22, 2017
laanwj added a commit that referenced this pull request Dec 22, 2017
a6365c5 depends: fix libzmq's needless linking against libstdc++ (Cory Fields)

Pull request description:

  Broken gitian builds were introduced with #9254. Big thanks to @jonasschnelli for narrowing down the bisection.

  This is broken for a number of reasons, including:
  - g++ understands "-static-libstdc++ -lstdc++" to mean "link against whatever libstdc++ exists, probably shared", which in itself is buggy.
  - another stdlib (libc++ for example) may be in use

Tree-SHA512: d84968ee680f32ea799034ee516e9477fff2b1ef1b7c9a8ef1941631520ab196ecd50f5d64f3ed1c84113ead44be5e3ddf6ff2ae0277625bdeed05f1da89e017
@fanquake fanquake mentioned this pull request Dec 22, 2017
3 tasks
laanwj added a commit that referenced this pull request Mar 6, 2018
13a399a depends: patch pthread_set_name_np out of zeromq (Cory Fields)
8f79226 depends: zeromq 4.2.3 (fanquake)

Pull request description:

  This is a followup to #9254 and #11981. Zeromq 4.2.3 was released just after #9254 was merged, and contains a years worth of improvements/bug fixes. See the release notes [here](https://github.com/zeromq/libzmq/releases/tag/v4.2.3).

  Todo:
  - [ ] Add zeromq-4.2.3.tar.gz to /depends-sources on bitcoincore.org
  - [ ] Verify gitian builds are still OK
  - [ ] Check: zeromq/libzmq#2787

Tree-SHA512: 85e06f47be3e1fdedcee50ce90e3391d69df2ea1c167472ffc3126d8970d418eb75141b970e422eb2fda9a8cad00e6ba5b36afa53565171a9ebaa152a9dc9b60
deadalnix pushed a commit to Bitcoin-ABC/bitcoin-abc that referenced this pull request Mar 27, 2020
Summary:
```
Update depends ZeroMQ to 4.2.2, the release notes are available here.

We can drop both patches, as they have both been merged upstream (they actually had been for some time but just hadn't yet made it into a release).

--without-documentation is deprecated and has been replaced with --without-docs.
--disable-perf disables building performance measuring tools, which are enabled by default, see the libzmq configure.ac.
Updated dependencies.md.
--disable-curve-keygen disable building the curve key generation tool. See here.
```

Backport of core [[bitcoin/bitcoin#9254 | PR9254]] and [[bitcoin/bitcoin#11981 | PR11981]] (related bugfix).

Depends on D5577.

Test Plan: Run the Gitian builds.

Reviewers: #bitcoin_abc, jasonbcox

Reviewed By: #bitcoin_abc, jasonbcox

Subscribers: jasonbcox

Differential Revision: https://reviews.bitcoinabc.org/D5574
PastaPastaPasta pushed a commit to PastaPastaPasta/dash that referenced this pull request Mar 27, 2020
a6365c5 depends: fix libzmq's needless linking against libstdc++ (Cory Fields)

Pull request description:

  Broken gitian builds were introduced with bitcoin#9254. Big thanks to @jonasschnelli for narrowing down the bisection.

  This is broken for a number of reasons, including:
  - g++ understands "-static-libstdc++ -lstdc++" to mean "link against whatever libstdc++ exists, probably shared", which in itself is buggy.
  - another stdlib (libc++ for example) may be in use

Tree-SHA512: d84968ee680f32ea799034ee516e9477fff2b1ef1b7c9a8ef1941631520ab196ecd50f5d64f3ed1c84113ead44be5e3ddf6ff2ae0277625bdeed05f1da89e017
PastaPastaPasta pushed a commit to PastaPastaPasta/dash that referenced this pull request Mar 28, 2020
a6365c5 depends: fix libzmq's needless linking against libstdc++ (Cory Fields)

Pull request description:

  Broken gitian builds were introduced with bitcoin#9254. Big thanks to @jonasschnelli for narrowing down the bisection.

  This is broken for a number of reasons, including:
  - g++ understands "-static-libstdc++ -lstdc++" to mean "link against whatever libstdc++ exists, probably shared", which in itself is buggy.
  - another stdlib (libc++ for example) may be in use

Tree-SHA512: d84968ee680f32ea799034ee516e9477fff2b1ef1b7c9a8ef1941631520ab196ecd50f5d64f3ed1c84113ead44be5e3ddf6ff2ae0277625bdeed05f1da89e017
PastaPastaPasta pushed a commit to PastaPastaPasta/dash that referenced this pull request Mar 29, 2020
a6365c5 depends: fix libzmq's needless linking against libstdc++ (Cory Fields)

Pull request description:

  Broken gitian builds were introduced with bitcoin#9254. Big thanks to @jonasschnelli for narrowing down the bisection.

  This is broken for a number of reasons, including:
  - g++ understands "-static-libstdc++ -lstdc++" to mean "link against whatever libstdc++ exists, probably shared", which in itself is buggy.
  - another stdlib (libc++ for example) may be in use

Tree-SHA512: d84968ee680f32ea799034ee516e9477fff2b1ef1b7c9a8ef1941631520ab196ecd50f5d64f3ed1c84113ead44be5e3ddf6ff2ae0277625bdeed05f1da89e017
PastaPastaPasta pushed a commit to PastaPastaPasta/dash that referenced this pull request Mar 31, 2020
a6365c5 depends: fix libzmq's needless linking against libstdc++ (Cory Fields)

Pull request description:

  Broken gitian builds were introduced with bitcoin#9254. Big thanks to @jonasschnelli for narrowing down the bisection.

  This is broken for a number of reasons, including:
  - g++ understands "-static-libstdc++ -lstdc++" to mean "link against whatever libstdc++ exists, probably shared", which in itself is buggy.
  - another stdlib (libc++ for example) may be in use

Tree-SHA512: d84968ee680f32ea799034ee516e9477fff2b1ef1b7c9a8ef1941631520ab196ecd50f5d64f3ed1c84113ead44be5e3ddf6ff2ae0277625bdeed05f1da89e017
UdjinM6 pushed a commit to UdjinM6/dash that referenced this pull request Mar 31, 2020
a6365c5 depends: fix libzmq's needless linking against libstdc++ (Cory Fields)

Pull request description:

  Broken gitian builds were introduced with bitcoin#9254. Big thanks to @jonasschnelli for narrowing down the bisection.

  This is broken for a number of reasons, including:
  - g++ understands "-static-libstdc++ -lstdc++" to mean "link against whatever libstdc++ exists, probably shared", which in itself is buggy.
  - another stdlib (libc++ for example) may be in use

Tree-SHA512: d84968ee680f32ea799034ee516e9477fff2b1ef1b7c9a8ef1941631520ab196ecd50f5d64f3ed1c84113ead44be5e3ddf6ff2ae0277625bdeed05f1da89e017
PastaPastaPasta pushed a commit to PastaPastaPasta/dash that referenced this pull request Apr 1, 2020
a6365c5 depends: fix libzmq's needless linking against libstdc++ (Cory Fields)

Pull request description:

  Broken gitian builds were introduced with bitcoin#9254. Big thanks to @jonasschnelli for narrowing down the bisection.

  This is broken for a number of reasons, including:
  - g++ understands "-static-libstdc++ -lstdc++" to mean "link against whatever libstdc++ exists, probably shared", which in itself is buggy.
  - another stdlib (libc++ for example) may be in use

Tree-SHA512: d84968ee680f32ea799034ee516e9477fff2b1ef1b7c9a8ef1941631520ab196ecd50f5d64f3ed1c84113ead44be5e3ddf6ff2ae0277625bdeed05f1da89e017
10xcryptodev pushed a commit to 10xcryptodev/dash that referenced this pull request May 16, 2020
13a399a depends: patch pthread_set_name_np out of zeromq (Cory Fields)
8f79226 depends: zeromq 4.2.3 (fanquake)

Pull request description:

  This is a followup to bitcoin#9254 and bitcoin#11981. Zeromq 4.2.3 was released just after bitcoin#9254 was merged, and contains a years worth of improvements/bug fixes. See the release notes [here](https://github.com/zeromq/libzmq/releases/tag/v4.2.3).

  Todo:
  - [ ] Add zeromq-4.2.3.tar.gz to /depends-sources on bitcoincore.org
  - [ ] Verify gitian builds are still OK
  - [ ] Check: zeromq/libzmq#2787

Tree-SHA512: 85e06f47be3e1fdedcee50ce90e3391d69df2ea1c167472ffc3126d8970d418eb75141b970e422eb2fda9a8cad00e6ba5b36afa53565171a9ebaa152a9dc9b60
(cherry picked from commit 765a3eb)

# Conflicts:
#	doc/dependencies.md
10xcryptodev pushed a commit to 10xcryptodev/dash that referenced this pull request May 17, 2020
13a399a depends: patch pthread_set_name_np out of zeromq (Cory Fields)
8f79226 depends: zeromq 4.2.3 (fanquake)

Pull request description:

  This is a followup to bitcoin#9254 and bitcoin#11981. Zeromq 4.2.3 was released just after bitcoin#9254 was merged, and contains a years worth of improvements/bug fixes. See the release notes [here](https://github.com/zeromq/libzmq/releases/tag/v4.2.3).

  Todo:
  - [ ] Add zeromq-4.2.3.tar.gz to /depends-sources on bitcoincore.org
  - [ ] Verify gitian builds are still OK
  - [ ] Check: zeromq/libzmq#2787

Tree-SHA512: 85e06f47be3e1fdedcee50ce90e3391d69df2ea1c167472ffc3126d8970d418eb75141b970e422eb2fda9a8cad00e6ba5b36afa53565171a9ebaa152a9dc9b60
(cherry picked from commit 765a3eb)

# Conflicts:
#	doc/dependencies.md
gades pushed a commit to cosanta/cosanta-core that referenced this pull request Jun 24, 2021
13a399a depends: patch pthread_set_name_np out of zeromq (Cory Fields)
8f79226 depends: zeromq 4.2.3 (fanquake)

Pull request description:

  This is a followup to bitcoin#9254 and bitcoin#11981. Zeromq 4.2.3 was released just after bitcoin#9254 was merged, and contains a years worth of improvements/bug fixes. See the release notes [here](https://github.com/zeromq/libzmq/releases/tag/v4.2.3).

  Todo:
  - [ ] Add zeromq-4.2.3.tar.gz to /depends-sources on bitcoincore.org
  - [ ] Verify gitian builds are still OK
  - [ ] Check: zeromq/libzmq#2787

Tree-SHA512: 85e06f47be3e1fdedcee50ce90e3391d69df2ea1c167472ffc3126d8970d418eb75141b970e422eb2fda9a8cad00e6ba5b36afa53565171a9ebaa152a9dc9b60
(cherry picked from commit 765a3eb)

# Conflicts:
#	doc/dependencies.md
CryptoCentric pushed a commit to absolute-community/absolute that referenced this pull request Jul 2, 2021
a6365c5 depends: fix libzmq's needless linking against libstdc++ (Cory Fields)

Pull request description:

  Broken gitian builds were introduced with bitcoin#9254. Big thanks to @jonasschnelli for narrowing down the bisection.

  This is broken for a number of reasons, including:
  - g++ understands "-static-libstdc++ -lstdc++" to mean "link against whatever libstdc++ exists, probably shared", which in itself is buggy.
  - another stdlib (libc++ for example) may be in use

Tree-SHA512: d84968ee680f32ea799034ee516e9477fff2b1ef1b7c9a8ef1941631520ab196ecd50f5d64f3ed1c84113ead44be5e3ddf6ff2ae0277625bdeed05f1da89e017
CryptoCentric pushed a commit to absolute-community/absolute that referenced this pull request Jul 2, 2021
13a399a depends: patch pthread_set_name_np out of zeromq (Cory Fields)
8f79226 depends: zeromq 4.2.3 (fanquake)

Pull request description:

  This is a followup to bitcoin#9254 and bitcoin#11981. Zeromq 4.2.3 was released just after bitcoin#9254 was merged, and contains a years worth of improvements/bug fixes. See the release notes [here](https://github.com/zeromq/libzmq/releases/tag/v4.2.3).

  Todo:
  - [ ] Add zeromq-4.2.3.tar.gz to /depends-sources on bitcoincore.org
  - [ ] Verify gitian builds are still OK
  - [ ] Check: zeromq/libzmq#2787

Tree-SHA512: 85e06f47be3e1fdedcee50ce90e3391d69df2ea1c167472ffc3126d8970d418eb75141b970e422eb2fda9a8cad00e6ba5b36afa53565171a9ebaa152a9dc9b60
(cherry picked from commit 765a3eb)

# Conflicts:
#	doc/dependencies.md
ftrader pushed a commit to bitcoin-cash-node/bitcoin-cash-node that referenced this pull request Aug 13, 2021
Summary:
```
Update depends ZeroMQ to 4.2.2, the release notes are available here.

We can drop both patches, as they have both been merged upstream (they actually had been for some time but just hadn't yet made it into a release).

--without-documentation is deprecated and has been replaced with --without-docs.
--disable-perf disables building performance measuring tools, which are enabled by default, see the libzmq configure.ac.
Updated dependencies.md.
--disable-curve-keygen disable building the curve key generation tool. See here.
```

Backport of core [[bitcoin/bitcoin#9254 | PR9254]] and [[bitcoin/bitcoin#11981 | PR11981]] (related bugfix).

Depends on D5577.

Test Plan: Run the Gitian builds.

Reviewers: #bitcoin_abc, jasonbcox

Reviewed By: #bitcoin_abc, jasonbcox

Subscribers: jasonbcox

Differential Revision: https://reviews.bitcoinabc.org/D5574
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Sep 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants