truffle fails to build: ENOTFOUND

Bug #1733718 reported by Leo Arias on 2017-11-21
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Colin Watson
snapcraft (Ubuntu)

Bug Description

I've configured a mirror of truffle [1] in launchpad to build the snap. It uses the nodejs snapcraft plugin and yarn as the package manager, and that's failing with:

error An unexpected error occurred: " getaddrinfo ENOTFOUND".

The full build log is in [2]. The snap source is in [3].


Leo Arias (elopio) wrote :

This seems to be affecting heroku too:

Colin Watson (cjwatson) wrote :

yarn apparently doesn't pick up proxy configuration from the environment, and needs to be told explicitly. I've filed a snapcraft PR to fix this (

affects: launchpad-buildd → snapcraft
Changed in snapcraft:
assignee: nobody → Colin Watson (cjwatson)
status: New → In Progress
Changed in snapcraft:
status: In Progress → Fix Committed
Changed in snapcraft:
status: Fix Committed → Fix Released
Adam Collard (adam-collard) wrote :

Confirming Ubuntu bug, based on dupe #1733718.

As and when snapcraft with this fix in get's SRU'd, the launchpad builders can start using it and this will be fixed for users.

Changed in snapcraft (Ubuntu):
status: New → Confirmed
Adam Collard (adam-collard) wrote :

Err, I meant bug 1745579 as the dupe

Alvaro Uría (aluria) on 2018-01-30
tags: added: canonical-bootstack
Sergio Schvezov (sergiusens) wrote :

The fix for this is in xenial-proposed awaiting final SRU testing.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers