Skip to content

Commit

Permalink
Merge pull request dashpay#4395 from UdjinM6/fix_gitian
Browse files Browse the repository at this point in the history
gitian: Some backports/fixes to revive gitian builds
  • Loading branch information
UdjinM6 authored Sep 7, 2021
2 parents 2723fd1 + 5f00eb3 commit 0c1ad8c
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 9 deletions.
4 changes: 0 additions & 4 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -750,10 +750,6 @@ AX_GCC_FUNC_ATTRIBUTE([dllimport])

if test x$use_glibc_compat != xno; then

#glibc absorbed clock_gettime in 2.17. librt (its previous location) is safe to link
#in anyway for back-compat.
AC_CHECK_LIB([rt],[clock_gettime],, AC_MSG_ERROR(librt missing))

#__fdelt_chk's params and return type have changed from long unsigned int to long int.
# See which one is present here.
AC_MSG_CHECKING(__fdelt_chk type)
Expand Down
2 changes: 1 addition & 1 deletion contrib/gitian-descriptors/gitian-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ script: |
cat << EOF > ${WRAP_DIR}/${prog}
#!/usr/bin/env bash
# GCCVERSION=${GCCVERSION}
REAL="$(which -a ${prog}-8 | grep -v ${WRAP_DIR}/${prog} | head -1)"
REAL="$(which -a ${prog} | grep -v ${WRAP_DIR}/${prog} | head -1)"
for var in "\$@"
do
if [ "\$var" = "-m32" ]; then
Expand Down
1 change: 1 addition & 0 deletions contrib/gitian-descriptors/gitian-osx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ packages:
- "python3-setuptools"
- "fonts-tuffy"
- "ccache"
- "cmake"
remotes:
- "url": "https://github.com/dashpay/dash.git"
"dir": "dash"
Expand Down
2 changes: 1 addition & 1 deletion doc/build-cross.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ MacOSX Cross-compilation
Cross-compiling to MacOSX requires a few additional packages to be installed:

```bash
$ sudo apt-get install python3-setuptools libcap-dev zlib1g-dev libbz2-dev
$ sudo apt-get install python3-setuptools libcap-dev zlib1g-dev libbz2-dev cmake
```

Additionally, the Mac OSX SDK must be downloaded and extracted manually:
Expand Down
6 changes: 3 additions & 3 deletions src/test/netbase_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -336,17 +336,17 @@ BOOST_AUTO_TEST_CASE(netbase_getgroup)

static const std::vector<CAddress> fixture_addresses({
CAddress(
CService(CNetAddr(in6addr_loopback), 0 /* port */),
CService(CNetAddr(in6_addr(IN6ADDR_LOOPBACK_INIT)), 0 /* port */),
NODE_NONE,
0x4966bc61U /* Fri Jan 9 02:54:25 UTC 2009 */
),
CAddress(
CService(CNetAddr(in6addr_loopback), 0x00f1 /* port */),
CService(CNetAddr(in6_addr(IN6ADDR_LOOPBACK_INIT)), 0x00f1 /* port */),
NODE_NETWORK,
0x83766279U /* Tue Nov 22 11:22:33 UTC 2039 */
),
CAddress(
CService(CNetAddr(in6addr_loopback), 0xf1f2 /* port */),
CService(CNetAddr(in6_addr(IN6ADDR_LOOPBACK_INIT)), 0xf1f2 /* port */),
static_cast<ServiceFlags>(NODE_NETWORK_LIMITED),
0xffffffffU /* Sun Feb 7 06:28:15 UTC 2106 */
)
Expand Down

0 comments on commit 0c1ad8c

Please sign in to comment.