lumo

seancorfield 2018-06-26T00:28:11.000035Z

@seancorfield has joined the channel

seancorfield 2018-06-26T00:28:45.000157Z

Not sure if this is a Lumo issue but I'm not sure where to start with this... TravisCI builds of HoneySQL are failing with

/home/travis/.nvm/versions/node/v8.11.3/lib/node_modules/lumo-cljs/bin/lumo: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /home/travis/.nvm/versions/node/v8.11.3/lib/node_modules/lumo-cljs/bin/lumo)

richiardiandrea 2018-06-26T01:43:46.000274Z

@seancorfield I think I addressed that with https://github.com/jkk/honeysql/commit/96e63dce28c9585759214ac3f3e5cdab9eab179e

richiardiandrea 2018-06-26T01:44:07.000215Z

However probably Travis bumped node

richiardiandrea 2018-06-26T01:44:37.000078Z

No

richiardiandrea 2018-06-26T01:44:58.000170Z

I actually don't know why I am installing nvm there actually

richiardiandrea 2018-06-26T01:47:33.000163Z

Will take a look tomorrow, should be an easy fix, afk now

seancorfield 2018-06-26T01:47:38.000123Z

Thanks.

seancorfield 2018-06-26T23:27:45.000564Z

@richiardiandrea Just FYI, I updated all the HoneySQL dependencies (in project.clj) and that made no difference to the GLIBCXX error on Travis...

richiardiandrea 2018-06-26T23:51:13.000104Z

@seancorfield cool did not have time but bear with me 😉

seancorfield 2018-06-27T00:14:28.000042Z

@richiardiandrea https://travis-ci.org/jkk/honeysql/builds/397133758 -- I added the ppa:ubuntu-toolchain-r/test and then updated and installed libstdc++6... kinda brute force, but it works 🙂

richiardiandrea 2018-06-27T00:15:51.000012Z

uhm, yeah I will open a PR cleaning the mess up 🙂

richiardiandrea 2018-06-27T00:16:09.000141Z

it is probably due to the weird thing I am doing there with nvm

richiardiandrea 2018-06-27T00:16:12.000400Z

sorry about that!!

seancorfield 2018-06-27T01:06:17.000120Z

According to the Travis docs, nvm should already be installed. So, is this a matter of using nvm to install an earlier version of npm? Or is it Lumo itself that needs to have an older version installed?

seancorfield 2018-06-27T01:07:15.000170Z

All the research I did on the error suggested that the only two solutions are: 1. rebuild you app on the host system (so it uses the older libstdc++) 2. upgrade the host (so it has the new libstdc++)

richiardiandrea 2018-06-27T02:14:32.000037Z

Lumo includes node so it is just expecting the right libstd to be in the system - in the previous lumo version we were ok - lumo 1.9.0 needs a higher version - I guess if we do npm install lumo-cljs@1.8.0 we settle it once and for all

richiardiandrea 2018-06-27T02:16:00.000131Z

And probably we can get rid of the nvm line altogether