nodejs fails to build on arm64 due to libv8 dependency

Bug #1435466 reported by Micheal Waltz
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
nodejs (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Attempting to build the nodejs package from source on Trusty and Vivid fails due to missing the dependency on libv8-3.14-dev.

lsb_release -a:
Distributor ID: Ubuntu
Description: Ubuntu 14.04.2 LTS
Release: 14.04
Codename: trusty

uname -a:
Linux tael 3.13.0-46-generic #77-Ubuntu SMP Mon Mar 2 18:27:27 UTC 2015 aarch64 aarch64 aarch64 GNU/Linux

Build log:
dget --allow-unauthenticated --build https://launchpad.net/ubuntu/+archive/primary/+files/nodejs_0.10.25~dfsg2-2ubuntu1.dsc
dget: retrieving https://launchpad.net/ubuntu/+archive/primary/+files/nodejs_0.10.25~dfsg2-2ubuntu1.dsc
dget: retrieving https://launchpad.net/ubuntu/+archive/primary/+files/nodejs_0.10.25~dfsg2.orig.tar.gz
dget: retrieving https://launchpad.net/ubuntu/+archive/primary/+files/nodejs_0.10.25~dfsg2-2ubuntu1.debian.tar.gz
dpkg-source: info: extracting nodejs in nodejs-0.10.25~dfsg2
dpkg-source: info: unpacking nodejs_0.10.25~dfsg2.orig.tar.gz
dpkg-source: info: unpacking nodejs_0.10.25~dfsg2-2ubuntu1.debian.tar.gz
dpkg-source: info: applying 2001_FHS_and_rename_to_nodejs.patch
dpkg-source: info: applying 2004_relax_failing_test.patch
dpkg-source: info: applying 2005_expected_failing_tests.patch
dpkg-source: info: applying 2010_fix_makefile_missing_zlib.patch
dpkg-source: info: applying 2011_mipsel.patch
dpkg-source: info: applying 2012_kfreebsd.patch
dpkg-source: info: applying 2013_gyp_noparallel_compat.patch
dpkg-source: info: applying 1001_readfile_eisdir.patch
dpkg-source: info: applying 1002_increase_timeout_in_test.patch
dpkg-source: info: applying 1003_test_disable_chunked_response.patch
dpkg-source: info: applying 1004_test_writeNaN.patch
dpkg-source: info: applying 1005_restore_sh_javascript_nonminified.patch
dpkg-source: info: applying 2014_powerpc_support.patch
dpkg-source: info: applying 2015_ppc64el_configure.patch
dpkg-buildpackage: source package nodejs
dpkg-buildpackage: source version 0.10.25~dfsg2-2ubuntu1
dpkg-buildpackage: source distribution trusty
dpkg-buildpackage: source changed by Adam Conrad <email address hidden>
dpkg-buildpackage: host architecture arm64
 dpkg-source --before-build nodejs-0.10.25~dfsg2
dpkg-checkbuilddeps: Unmet build dependencies: pkg-config zlib1g-dev libv8-3.14-dev (>= 3.7) libssl-dev (>= 1.0.0g) libc-ares-dev (>= 1.7.5)
dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting
dpkg-buildpackage: warning: (Use -d flag to override.)

The libv8 package currently fails to build on arm64, and bug filed against itl: https://bugs.launchpad.net/ubuntu/+source/libv8-3.14/+bug/1435432

Micah Gersten (micahg)
tags: added: ftbfs
Revision history for this message
Adam Conrad (adconrad) wrote :

Adding a block-proposed tag to this to keep 4.0.0 in -proposed until it gets some testing. 4.0.0 should fix this bug, however.

tags: added: block-proposed
Revision history for this message
Martin Pitt (pitti) wrote :

Is this still blocked? It built everywhere and all autopkgtests succeeded.

Changed in nodejs (Ubuntu):
status: New → Fix Committed
Revision history for this message
dann frazier (dannf) wrote :

@pitti: I wanted to test on arm64 - since that's a new nodejs architecture - but I didn't see any existing autopkgtests in the nodejs source package - are the tests you are talking about from another package that depends on it?

I went ahead and wrote some smoketests and submitted them to Debian:
  https://bugs.debian.org/802735

I've verified they pass on arm64, so +1 unblocking this for xenial.

Matthias Klose (doko)
tags: removed: block-proposed
Changed in nodejs (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.