# LibreSSL build hangs on \`checking size of time\_t... 4\`

**URL:** <https://forums.balena.io/t/libressl-build-hangs-on-checking-size-of-time-t-4/2459>\
**Category:** Product support\
**Tags:** raspberrypi3, builder\
**Created:** [January 28, 2018, 6:20pm UTC](https://forums.balena.io/t/libressl-build-hangs-on-checking-size-of-time-t-4/2459 "2018-01-28T18:20:58Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ab1](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/ab1/32/301_2.png) [@ab1](https://forums.balena.io/u/ab1)\
**Post date:** [January 28, 2018, 6:20pm UTC](https://forums.balena.io/t/libressl-build-hangs-on-checking-size-of-time-t-4/2459/1 "2018-01-28T18:20:58Z")

</div>

Hi seems like the ARM build hangs while building LibreSSL:

```auto
...
[Build] checking size of time_t... 4
[Build] ** Warning, this system is unable to represent times past 2038
[Build] ** It will behave incorrectly when handling valid RFC5280 dates
[Info] Still working...
[Info] Still working...
...

```

Works fine on x64 builds though.

The build command in Dockerfile.template, looks like this, nothing special:

```auto
FROM resin/raspberrypi3-alpine-buildpack-deps:latest AS builder

RUN wget https://github.com/libressl-portable/portable/archive/v2.6.4.tar.gz\
  && tar -xvf v2.6.4.tar.gz\
  && cd portable-2.6.4\
  && ./autogen.sh\
  && ./configure --prefix="/usr/local/ssl"\
  && make check\
  && make install

```

Any ideas?

---

<div class="post-metadata">

**Author:** ![agherzan](https://avatars.discourse-cdn.com/v4/letter/a/e95f7d/32.png) [@agherzan](https://forums.balena.io/u/agherzan)\
**Post date:** [January 28, 2018, 6:23pm UTC](https://forums.balena.io/t/libressl-build-hangs-on-checking-size-of-time-t-4/2459/9 "2018-01-28T18:23:15Z")

</div>

Hi. We will be looking into this and come back as soon as we have something. Thank you for understanding.

---

<div class="post-metadata">

**Author:** ![ab1](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/ab1/32/301_2.png) [@ab1](https://forums.balena.io/u/ab1)\
**Post date:** [February 1, 2018, 10:06pm UTC](https://forums.balena.io/t/libressl-build-hangs-on-checking-size-of-time-t-4/2459/14 "2018-02-01T22:06:39Z")

</div>

Any luck with this issue on the ARM build machines?

---

<div class="post-metadata">

**Author:** ![sqweelygig](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/sqweelygig/32/150_2.png) [@sqweelygig](https://forums.balena.io/u/sqweelygig)\
**Post date:** [February 20, 2018, 5:40pm UTC](https://forums.balena.io/t/libressl-build-hangs-on-checking-size-of-time-t-4/2459/19 "2018-02-20T17:40:13Z")

</div>

@ab1 I’ve just taken a look at this issue, and the dockerfile you provided. The tweaked file below builds, evenutally. The autogen.sh takes a really long time, but then the next push uses the cached layer so don’t worry too much.

```auto
FROM resin/raspberrypi3-alpine-buildpack-deps:latest AS builder

RUN apk --update add libtool autoconf automake

RUN wget https://github.com/libressl-portable/portable/archive/v2.6.4.tar.gz\
  && tar -xvf v2.6.4.tar.gz\
  && cd portable-2.6.4\
  && ./autogen.sh\
  && ./configure --prefix="/usr/local/ssl"\
  && make check\
  && make install

CMD echo "hello world!"

```

---

<div class="post-metadata">

**Author:** ![ab1](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/ab1/32/301_2.png) [@ab1](https://forums.balena.io/u/ab1)\
**Post date:** [February 20, 2018, 7:12pm UTC](https://forums.balena.io/t/libressl-build-hangs-on-checking-size-of-time-t-4/2459/21 "2018-02-20T19:12:18Z")

</div>

It started working in the last few days without any changes from my side.

---

<div class="post-metadata">

**Author:** ![sqweelygig](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/sqweelygig/32/150_2.png) [@sqweelygig](https://forums.balena.io/u/sqweelygig)\
**Post date:** [February 20, 2018, 7:13pm UTC](https://forums.balena.io/t/libressl-build-hangs-on-checking-size-of-time-t-4/2459/22 "2018-02-20T19:13:52Z")

</div>

That is simultaneously really good and really irritating. Oh well, sometimes these things happen.
