Post big rebuild build problems


#1

After the big rebuild deployment today, both of my internal applications that rely on habitat for build and packaging are failing to build.

In case one, it seems that perhaps the node scaffolding didn’t get rebuilt
My plan deps:

pkg_scaffolding="core/scaffolding-node"

pkg_deps=(core/python2 core/nginx)
pkg_build_deps=(core/make core/gcc)

The build dependency graph failure:

finalze/active-oversight-ui/0.1.0/20180619200543
    core/node/8.9.4/20180409194137
        core/bash/4.3.42/20170513213519
            core/glibc/2.22/20170513201042 (*)
                core/linux-headers/4.3/20170513200956 (*)
            core/ncurses/6.0/20170513213009 (*)
                core/glibc/2.22/20170513201042 (*)
                    core/linux-headers/4.3/20170513200956 (*)
                core/gcc-libs/5.2.0/20170513212920 (*)
                    core/glibc/2.22/20170513201042 (*)
                        core/linux-headers/4.3/20170513200956 (*)
            core/readline/6.3.8/20170513213506 (*)
                core/glibc/2.22/20170513201042 (*)
                    core/linux-headers/4.3/20170513200956 (*)
                core/ncurses/6.0/20170513213009 (*)
                    core/glibc/2.22/20170513201042 (*)
                        core/linux-headers/4.3/20170513200956 (*)
                    core/gcc-libs/5.2.0/20170513212920 (*)
                        core/glibc/2.22/20170513201042 (*)
                            core/linux-headers/4.3/20170513200956 (*)
        core/gcc-libs/5.2.0/20170513212920 (*)
            core/glibc/2.22/20170513201042 (*)
                core/linux-headers/4.3/20170513200956 (*)
        core/glibc/2.22/20170513201042 (*)
            core/linux-headers/4.3/20170513200956 (*)
        core/python2/2.7.14/20180228213832 (*)
            core/bzip2/1.0.6/20170513212938 (*)
                core/glibc/2.22/20170513201042 (*)
                    core/linux-headers/4.3/20170513200956 (*)
            core/gcc-libs/5.2.0/20170513212920 (*)
                core/glibc/2.22/20170513201042 (*)
                    core/linux-headers/4.3/20170513200956 (*)
            core/gdbm/1.11/20170513213716 (*)
                core/glibc/2.22/20170513201042 (*)
                    core/linux-headers/4.3/20170513200956 (*)
            core/glibc/2.22/20170513201042 (*)
                core/linux-headers/4.3/20170513200956 (*)
            core/ncurses/6.0/20170513213009 (*)
                core/glibc/2.22/20170513201042 (*)
                    core/linux-headers/4.3/20170513200956 (*)
                core/gcc-libs/5.2.0/20170513212920 (*)
                    core/glibc/2.22/20170513201042 (*)
                        core/linux-headers/4.3/20170513200956 (*)
            core/openssl/1.0.2l/20171014213633 (*)
                core/glibc/2.22/20170513201042 (*)
                    core/linux-headers/4.3/20170513200956 (*)
                core/zlib/1.2.8/20170513201911 (*)
                    core/glibc/2.22/20170513201042 (*)
                        core/linux-headers/4.3/20170513200956 (*)
                core/cacerts/2017.09.20/20171014212239 (*)
            core/readline/6.3.8/20170513213506 (*)
                core/glibc/2.22/20170513201042 (*)
                    core/linux-headers/4.3/20170513200956 (*)
                core/ncurses/6.0/20170513213009 (*)
                    core/glibc/2.22/20170513201042 (*)
                        core/linux-headers/4.3/20170513200956 (*)
                    core/gcc-libs/5.2.0/20170513212920 (*)
                        core/glibc/2.22/20170513201042 (*)
                            core/linux-headers/4.3/20170513200956 (*)
            core/sqlite/3130000/20170514005747 (*)
                core/glibc/2.22/20170513201042 (*)
                    core/linux-headers/4.3/20170513200956 (*)
                core/readline/6.3.8/20170513213506 (*)
                    core/glibc/2.22/20170513201042 (*)
                        core/linux-headers/4.3/20170513200956 (*)
                    core/ncurses/6.0/20170513213009 (*)
                        core/glibc/2.22/20170513201042 (*)
                            core/linux-headers/4.3/20170513200956 (*)
                        core/gcc-libs/5.2.0/20170513212920 (*)
                            core/glibc/2.22/20170513201042 (*)
                                core/linux-headers/4.3/20170513200956 (*)
            core/zlib/1.2.8/20170513201911 (*)
                core/glibc/2.22/20170513201042 (*)
                    core/linux-headers/4.3/20170513200956 (*)
    core/python2/2.7.14/20180608145156 (*)
        core/bzip2/1.0.6/20180608091727 (*)
            core/glibc/2.27/20180608041157 (*)
                core/linux-headers/4.15.9/20180608041107 (*)
        core/gcc-libs/7.3.0/20180608091701 (*)
            core/glibc/2.27/20180608041157 (*)
                core/linux-headers/4.15.9/20180608041107 (*)
        core/gdbm/1.14.1/20180608094002 (*)
            core/glibc/2.27/20180608041157 (*)
                core/linux-headers/4.15.9/20180608041107 (*)
        core/glibc/2.27/20180608041157 (*)
            core/linux-headers/4.15.9/20180608041107 (*)
        core/ncurses/6.1/20180608091810 (*)
            core/gcc-libs/7.3.0/20180608091701 (*)
                core/glibc/2.27/20180608041157 (*)
                    core/linux-headers/4.15.9/20180608041107 (*)
            core/glibc/2.27/20180608041157 (*)
                core/linux-headers/4.15.9/20180608041107 (*)
        core/openssl/1.0.2n/20180608102213 (*)
            core/cacerts/2018.03.07/20180608102212 (*)
            core/glibc/2.27/20180608041157 (*)
                core/linux-headers/4.15.9/20180608041107 (*)
            core/zlib/1.2.11/20180608050617 (*)
                core/glibc/2.27/20180608041157 (*)
                    core/linux-headers/4.15.9/20180608041107 (*)
        core/readline/7.0.3/20180608092900 (*)
            core/glibc/2.27/20180608041157 (*)
                core/linux-headers/4.15.9/20180608041107 (*)
            core/ncurses/6.1/20180608091810 (*)
                core/gcc-libs/7.3.0/20180608091701 (*)
                    core/glibc/2.27/20180608041157 (*)
                        core/linux-headers/4.15.9/20180608041107 (*)
                core/glibc/2.27/20180608041157 (*)
                    core/linux-headers/4.15.9/20180608041107 (*)
        core/sqlite/3130000/20180608141313 (*)
            core/glibc/2.27/20180608041157 (*)
                core/linux-headers/4.15.9/20180608041107 (*)
            core/readline/7.0.3/20180608092900 (*)
                core/glibc/2.27/20180608041157 (*)
                    core/linux-headers/4.15.9/20180608041107 (*)
                core/ncurses/6.1/20180608091810 (*)
                    core/gcc-libs/7.3.0/20180608091701 (*)
                        core/glibc/2.27/20180608041157 (*)
                            core/linux-headers/4.15.9/20180608041107 (*)
                    core/glibc/2.27/20180608041157 (*)
                        core/linux-headers/4.15.9/20180608041107 (*)
        core/zlib/1.2.11/20180608050617 (*)
            core/glibc/2.27/20180608041157 (*)
                core/linux-headers/4.15.9/20180608041107 (*)
    core/nginx/1.13.10/20180609041552
        core/bzip2/1.0.6/20180608091727 (*)
            core/glibc/2.27/20180608041157 (*)
                core/linux-headers/4.15.9/20180608041107 (*)
        core/glibc/2.27/20180608041157 (*)
            core/linux-headers/4.15.9/20180608041107 (*)
        core/libedit/3.1.20150325/20180608184640
            core/glibc/2.27/20180608041157 (*)
                core/linux-headers/4.15.9/20180608041107 (*)
            core/ncurses/6.1/20180608091810 (*)
                core/gcc-libs/7.3.0/20180608091701 (*)
                    core/glibc/2.27/20180608041157 (*)
                        core/linux-headers/4.15.9/20180608041107 (*)
                core/glibc/2.27/20180608041157 (*)
                    core/linux-headers/4.15.9/20180608041107 (*)
        core/ncurses/6.1/20180608091810 (*)
            core/gcc-libs/7.3.0/20180608091701 (*)
                core/glibc/2.27/20180608041157 (*)
                    core/linux-headers/4.15.9/20180608041107 (*)
            core/glibc/2.27/20180608041157 (*)
                core/linux-headers/4.15.9/20180608041107 (*)
        core/openssl/1.0.2n/20180608102213 (*)
            core/cacerts/2018.03.07/20180608102212 (*)
            core/glibc/2.27/20180608041157 (*)
                core/linux-headers/4.15.9/20180608041107 (*)
            core/zlib/1.2.11/20180608050617 (*)
                core/glibc/2.27/20180608041157 (*)
                    core/linux-headers/4.15.9/20180608041107 (*)
        core/pcre/8.41/20180608092740
            core/gcc-libs/7.3.0/20180608091701 (*)
                core/glibc/2.27/20180608041157 (*)
                    core/linux-headers/4.15.9/20180608041107 (*)
            core/glibc/2.27/20180608041157 (*)
                core/linux-headers/4.15.9/20180608041107 (*)
        core/zlib/1.2.11/20180608050617 (*)
            core/glibc/2.27/20180608041157 (*)
                core/linux-headers/4.15.9/20180608041107 (*)
    core/busybox-static/1.28.1/20180608102729

ERROR: Computed runtime dependency check failed, aborting

The second pacakge seems to be failing due to ruby 2.4.2 needing to be rebuilt. I’ve submitted a rebuild request here: https://github.com/habitat-sh/core-plans/issues/1597
My plan deps:

pkg_scaffolding="core/scaffolding-ruby"
pkg_deps=(core/curl finalze/imagemagick core/file)

I’ve already rebuilt my custom imagemagick. Here is the dependency graph:

finalze/active-oversight-api/0.1.2/20180619201935
    core/ruby/2.4.2/20171014214232
        core/glibc/2.22/20170513201042 (*)
            core/linux-headers/4.3/20170513200956 (*)
        core/ncurses/6.0/20170513213009 (*)
            core/glibc/2.22/20170513201042 (*)
                core/linux-headers/4.3/20170513200956 (*)
            core/gcc-libs/5.2.0/20170513212920 (*)
                core/glibc/2.22/20170513201042 (*)
                    core/linux-headers/4.3/20170513200956 (*)
        core/zlib/1.2.8/20170513201911 (*)
            core/glibc/2.22/20170513201042 (*)
                core/linux-headers/4.3/20170513200956 (*)
        core/openssl/1.0.2l/20171014213633 (*)
            core/glibc/2.22/20170513201042 (*)
                core/linux-headers/4.3/20170513200956 (*)
            core/zlib/1.2.8/20170513201911 (*)
                core/glibc/2.22/20170513201042 (*)
                    core/linux-headers/4.3/20170513200956 (*)
            core/cacerts/2017.09.20/20171014212239 (*)
        core/libyaml/0.1.6/20170514013335
            core/glibc/2.22/20170513201042 (*)
                core/linux-headers/4.3/20170513200956 (*)
        core/libffi/3.2.1/20170514003538
            core/glibc/2.22/20170513201042 (*)
                core/linux-headers/4.3/20170513200956 (*)
            core/libtool/2.4.6/20170513213706
                core/glibc/2.22/20170513201042 (*)
                    core/linux-headers/4.3/20170513200956 (*)
                core/coreutils/8.25/20170513213226 (*)
                    core/glibc/2.22/20170513201042 (*)
                        core/linux-headers/4.3/20170513200956 (*)
                    core/acl/2.2.52/20170513213108 (*)
                        core/glibc/2.22/20170513201042 (*)
                            core/linux-headers/4.3/20170513200956 (*)
                        core/attr/2.4.47/20170513213059 (*)
                            core/glibc/2.22/20170513201042 (*)
                                core/linux-headers/4.3/20170513200956 (*)
                    core/attr/2.4.47/20170513213059 (*)
                        core/glibc/2.22/20170513201042 (*)
                            core/linux-headers/4.3/20170513200956 (*)
                    core/gmp/6.1.0/20170513202112 (*)
                        core/glibc/2.22/20170513201042 (*)
                            core/linux-headers/4.3/20170513200956 (*)
                    core/libcap/2.24/20170513213120 (*)
                        core/glibc/2.22/20170513201042 (*)
                            core/linux-headers/4.3/20170513200956 (*)
                        core/attr/2.4.47/20170513213059 (*)
                            core/glibc/2.22/20170513201042 (*)
                                core/linux-headers/4.3/20170513200956 (*)
                core/sed/4.2.2/20170513213123
                    core/glibc/2.22/20170513201042 (*)
                        core/linux-headers/4.3/20170513200956 (*)
                    core/acl/2.2.52/20170513213108 (*)
                        core/glibc/2.22/20170513201042 (*)
                            core/linux-headers/4.3/20170513200956 (*)
                        core/attr/2.4.47/20170513213059 (*)
                            core/glibc/2.22/20170513201042 (*)
                                core/linux-headers/4.3/20170513200956 (*)
                core/grep/2.22/20170513213444
                    core/glibc/2.22/20170513201042 (*)
                        core/linux-headers/4.3/20170513200956 (*)
                    core/pcre/8.38/20170513213423 (*)
                        core/glibc/2.22/20170513201042 (*)
                            core/linux-headers/4.3/20170513200956 (*)
                        core/gcc-libs/5.2.0/20170513212920 (*)
                            core/glibc/2.22/20170513201042 (*)
                                core/linux-headers/4.3/20170513200956 (*)
                core/binutils/2.25.1/20170513201927
                    core/glibc/2.22/20170513201042 (*)
                        core/linux-headers/4.3/20170513200956 (*)
                    core/zlib/1.2.8/20170513201911 (*)
                        core/glibc/2.22/20170513201042 (*)
                            core/linux-headers/4.3/20170513200956 (*)
        core/readline/6.3.8/20170513213506 (*)
            core/glibc/2.22/20170513201042 (*)
                core/linux-headers/4.3/20170513200956 (*)
            core/ncurses/6.0/20170513213009 (*)
                core/glibc/2.22/20170513201042 (*)
                    core/linux-headers/4.3/20170513200956 (*)
                core/gcc-libs/5.2.0/20170513212920 (*)
                    core/glibc/2.22/20170513201042 (*)
                        core/linux-headers/4.3/20170513200956 (*)
    core/libxml2/2.9.6/20180608141053
        core/glibc/2.27/20180608041157 (*)
            core/linux-headers/4.15.9/20180608041107 (*)
        core/zlib/1.2.11/20180608050617 (*)
            core/glibc/2.27/20180608041157 (*)
                core/linux-headers/4.15.9/20180608041107 (*)
    core/libxslt/1.1.31/20180608141131
        core/glibc/2.27/20180608041157 (*)
            core/linux-headers/4.15.9/20180608041107 (*)
        core/libxml2/2.9.6/20180608141053
            core/glibc/2.27/20180608041157 (*)
                core/linux-headers/4.15.9/20180608041107 (*)
            core/zlib/1.2.11/20180608050617 (*)
                core/glibc/2.27/20180608041157 (*)
                    core/linux-headers/4.15.9/20180608041107 (*)
        core/zlib/1.2.11/20180608050617 (*)
            core/glibc/2.27/20180608041157 (*)
                core/linux-headers/4.15.9/20180608041107 (*)
    core/postgresql/9.6.8/20180608211535
        core/bash/4.4.19/20180608092913
            core/glibc/2.27/20180608041157 (*)
                core/linux-headers/4.15.9/20180608041107 (*)
            core/ncurses/6.1/20180608091810 (*)
                core/gcc-libs/7.3.0/20180608091701 (*)
                    core/glibc/2.27/20180608041157 (*)
                        core/linux-headers/4.15.9/20180608041107 (*)
                core/glibc/2.27/20180608041157 (*)
                    core/linux-headers/4.15.9/20180608041107 (*)
            core/readline/7.0.3/20180608092900 (*)
                core/glibc/2.27/20180608041157 (*)
                    core/linux-headers/4.15.9/20180608041107 (*)
                core/ncurses/6.1/20180608091810 (*)
                    core/gcc-libs/7.3.0/20180608091701 (*)
                        core/glibc/2.27/20180608041157 (*)
                            core/linux-headers/4.15.9/20180608041107 (*)
                    core/glibc/2.27/20180608041157 (*)
                        core/linux-headers/4.15.9/20180608041107 (*)
        core/gdal/2.2.1/20180608161339
            core/gcc-libs/7.3.0/20180608091701 (*)
                core/glibc/2.27/20180608041157 (*)
                    core/linux-headers/4.15.9/20180608041107 (*)
            core/glibc/2.27/20180608041157 (*)
                core/linux-headers/4.15.9/20180608041107 (*)
        core/geos/3.6.2/20180608160941
            core/gcc-libs/7.3.0/20180608091701 (*)
                core/glibc/2.27/20180608041157 (*)
                    core/linux-headers/4.15.9/20180608041107 (*)
            core/glibc/2.27/20180608041157 (*)
                core/linux-headers/4.15.9/20180608041107 (*)
        core/glibc/2.27/20180608041157 (*)
            core/linux-headers/4.15.9/20180608041107 (*)
        core/libossp-uuid/1.6.2/20180608160933
            core/glibc/2.27/20180608041157 (*)
                core/linux-headers/4.15.9/20180608041107 (*)
        core/libxml2/2.9.6/20180608141053
            core/glibc/2.27/20180608041157 (*)
                core/linux-headers/4.15.9/20180608041107 (*)
            core/zlib/1.2.11/20180608050617 (*)
                core/glibc/2.27/20180608041157 (*)
                    core/linux-headers/4.15.9/20180608041107 (*)
        core/openssl/1.0.2n/20180608102213 (*)
            core/cacerts/2018.03.07/20180608102212 (*)
            core/glibc/2.27/20180608041157 (*)
                core/linux-headers/4.15.9/20180608041107 (*)
            core/zlib/1.2.11/20180608050617 (*)
                core/glibc/2.27/20180608041157 (*)
                    core/linux-headers/4.15.9/20180608041107 (*)
        core/perl/5.26.1/20180608094208
            core/bzip2/1.0.6/20180608091727
                core/glibc/2.27/20180608041157 (*)
                    core/linux-headers/4.15.9/20180608041107 (*)
            core/coreutils/8.29/20180608092141 (*)
                core/acl/2.2.52/20180608091922 (*)
                    core/attr/2.4.47/20180608091914 (*)
                        core/glibc/2.27/20180608041157 (*)
                            core/linux-headers/4.15.9/20180608041107 (*)
                    core/glibc/2.27/20180608041157 (*)
                        core/linux-headers/4.15.9/20180608041107 (*)
                core/attr/2.4.47/20180608091914 (*)
                    core/glibc/2.27/20180608041157 (*)
                        core/linux-headers/4.15.9/20180608041107 (*)
                core/glibc/2.27/20180608041157 (*)
                    core/linux-headers/4.15.9/20180608041107 (*)
                core/gmp/6.1.2/20180608051426 (*)
                    core/glibc/2.27/20180608041157 (*)
                        core/linux-headers/4.15.9/20180608041107 (*)
                core/libcap/2.25/20180608091936 (*)
                    core/attr/2.4.47/20180608091914 (*)
                        core/glibc/2.27/20180608041157 (*)
                            core/linux-headers/4.15.9/20180608041107 (*)
                    core/glibc/2.27/20180608041157 (*)
                        core/linux-headers/4.15.9/20180608041107 (*)
            core/db/5.3.28/20180608094030
                core/gcc-libs/7.3.0/20180608091701 (*)
                    core/glibc/2.27/20180608041157 (*)
                        core/linux-headers/4.15.9/20180608041107 (*)
                core/glibc/2.27/20180608041157 (*)
                    core/linux-headers/4.15.9/20180608041107 (*)
            core/gdbm/1.14.1/20180608094002
                core/glibc/2.27/20180608041157 (*)
                    core/linux-headers/4.15.9/20180608041107 (*)
            core/glibc/2.27/20180608041157 (*)
                core/linux-headers/4.15.9/20180608041107 (*)
            core/less/530/20180608094202
                core/glibc/2.27/20180608041157 (*)
                    core/linux-headers/4.15.9/20180608041107 (*)
                core/ncurses/6.1/20180608091810 (*)
                    core/gcc-libs/7.3.0/20180608091701 (*)
                        core/glibc/2.27/20180608041157 (*)
                            core/linux-headers/4.15.9/20180608041107 (*)
                    core/glibc/2.27/20180608041157 (*)
                        core/linux-headers/4.15.9/20180608041107 (*)
                core/pcre/8.41/20180608092740 (*)
                    core/gcc-libs/7.3.0/20180608091701 (*)
                        core/glibc/2.27/20180608041157 (*)
                            core/linux-headers/4.15.9/20180608041107 (*)
                    core/glibc/2.27/20180608041157 (*)
                        core/linux-headers/4.15.9/20180608041107 (*)
            core/zlib/1.2.11/20180608050617 (*)
                core/glibc/2.27/20180608041157 (*)
                    core/linux-headers/4.15.9/20180608041107 (*)
        core/proj/4.9.3/20180608161305
            core/glibc/2.27/20180608041157 (*)
                core/linux-headers/4.15.9/20180608041107 (*)
        core/readline/7.0.3/20180608092900 (*)
            core/glibc/2.27/20180608041157 (*)
                core/linux-headers/4.15.9/20180608041107 (*)
            core/ncurses/6.1/20180608091810 (*)
                core/gcc-libs/7.3.0/20180608091701 (*)
                    core/glibc/2.27/20180608041157 (*)
                        core/linux-headers/4.15.9/20180608041107 (*)
                core/glibc/2.27/20180608041157 (*)
                    core/linux-headers/4.15.9/20180608041107 (*)
        core/zlib/1.2.11/20180608050617 (*)
            core/glibc/2.27/20180608041157 (*)
                core/linux-headers/4.15.9/20180608041107 (*)
    core/busybox-static/1.28.1/20180608102729
    core/curl/7.54.1/20180608142121
        core/cacerts/2018.03.07/20180608102212 (*)
        core/glibc/2.27/20180608041157 (*)
            core/linux-headers/4.15.9/20180608041107 (*)
        core/nghttp2/1.31.0/20180608142107
        core/openssl/1.0.2n/20180608102213 (*)
            core/cacerts/2018.03.07/20180608102212 (*)
            core/glibc/2.27/20180608041157 (*)
                core/linux-headers/4.15.9/20180608041107 (*)
            core/zlib/1.2.11/20180608050617 (*)
                core/glibc/2.27/20180608041157 (*)
                    core/linux-headers/4.15.9/20180608041107 (*)
        core/zlib/1.2.11/20180608050617 (*)
            core/glibc/2.27/20180608041157 (*)
                core/linux-headers/4.15.9/20180608041107 (*)
    finalze/imagemagick/6.9.2-10/20180619190029
        core/gcc-libs/7.3.0/20180608091701 (*)
            core/glibc/2.27/20180608041157 (*)
                core/linux-headers/4.15.9/20180608041107 (*)
        core/glibc/2.27/20180608041157 (*)
            core/linux-headers/4.15.9/20180608041107 (*)
        core/libjpeg-turbo/1.5.0/20180608183037
            core/glibc/2.27/20180608041157 (*)
                core/linux-headers/4.15.9/20180608041107 (*)
        core/libpng/1.6.21/20180608142039
            core/glibc/2.27/20180608041157 (*)
                core/linux-headers/4.15.9/20180608041107 (*)
            core/zlib/1.2.11/20180608050617 (*)
                core/glibc/2.27/20180608041157 (*)
                    core/linux-headers/4.15.9/20180608041107 (*)
        core/xz/5.2.3/20180608100110
            core/glibc/2.27/20180608041157 (*)
                core/linux-headers/4.15.9/20180608041107 (*)
        core/zlib/1.2.11/20180608050617 (*)
            core/glibc/2.27/20180608041157 (*)
                core/linux-headers/4.15.9/20180608041107 (*)
    core/file/5.32/20180608050620
        core/glibc/2.27/20180608041157 (*)
            core/linux-headers/4.15.9/20180608041107 (*)
        core/zlib/1.2.11/20180608050617 (*)
            core/glibc/2.27/20180608041157 (*)
                core/linux-headers/4.15.9/20180608041107 (*)

ERROR: Computed runtime dependency check failed, aborting

#2

Do you have a version of node specified in your package.json, or possibly a .nvmrc?

Looking at the _detect_node function, it appears to check the plan first, followed by package.json and finally .nvmrc to load a version of node, and then will default to latest stable.


#3

No .nvmrc, and package json just specifies "node": ">=7.6.0"


#4

Ok, I suspect there may be a sorting issue with how the scaffolding is handling that ‘>=7.6.0’. Let me see if I can reproduce on my end.


#5

bumped the node I have specified in there to >=8.11.0, and am now seeing this:

/hab/pkgs/core/scaffolding-node/0.6.13/20180609043131/lib/scaffolding.sh: line 829: [: 8.0: integer expression expected
/hab/pkgs/core/scaffolding-node/0.6.13/20180609043131/lib/scaffolding.sh: line 833: [[: 8.0: syntax error: invalid arithmetic operator (error token is ".0")
/hab/pkgs/core/scaffolding-node/0.6.13/20180609043131/lib/scaffolding.sh: line 837: [[: 8.0: syntax error: invalid arithmetic operator (error token is ".0")
/hab/pkgs/core/scaffolding-node/0.6.13/20180609043131/lib/scaffolding.sh: line 829: [: 8.0: integer expression expected
/hab/pkgs/core/scaffolding-node/0.6.13/20180609043131/lib/scaffolding.sh: line 833: [[: 8.0: syntax error: invalid arithmetic operator (error token is ".0")
/hab/pkgs/core/scaffolding-node/0.6.13/20180609043131/lib/scaffolding.sh: line 837: [[: 8.0: syntax error: invalid arithmetic operator (error token is ".0")
/hab/pkgs/core/scaffolding-node/0.6.13/20180609043131/lib/scaffolding.sh: line 829: [: 8.0: integer expression expected
/hab/pkgs/core/scaffolding-node/0.6.13/20180609043131/lib/scaffolding.sh: line 833: [[: 8.0: syntax error: invalid arithmetic operator (error token is ".0")
/hab/pkgs/core/scaffolding-node/0.6.13/20180609043131/lib/scaffolding.sh: line 837: [[: 8.0: syntax error: invalid arithmetic operator (error token is ".0")
/hab/pkgs/core/scaffolding-node/0.6.13/20180609043131/lib/scaffolding.sh: line 829: [: 8.0: integer expression expected
/hab/pkgs/core/scaffolding-node/0.6.13/20180609043131/lib/scaffolding.sh: line 833: [[: 8.0: syntax error: invalid arithmetic operator (error token is ".0")
/hab/pkgs/core/scaffolding-node/0.6.13/20180609043131/lib/scaffolding.sh: line 837: [[: 8.0: syntax error: invalid arithmetic operator (error token is ".0")
/hab/pkgs/core/scaffolding-node/0.6.13/20180609043131/lib/scaffolding.sh: line 829: [: 8.0: integer expression expected
/hab/pkgs/core/scaffolding-node/0.6.13/20180609043131/lib/scaffolding.sh: line 833: [[: 8.0: syntax error: invalid arithmetic operator (error token is ".0")
/hab/pkgs/core/scaffolding-node/0.6.13/20180609043131/lib/scaffolding.sh: line 837: [[: 8.0: syntax error: invalid arithmetic operator (error token is ".0")
/hab/pkgs/core/scaffolding-node/0.6.13/20180609043131/lib/scaffolding.sh: line 829: [: 8.0: integer expression expected
/hab/pkgs/core/scaffolding-node/0.6.13/20180609043131/lib/scaffolding.sh: line 833: [[: 8.0: syntax error: invalid arithmetic operator (error token is ".0")
/hab/pkgs/core/scaffolding-node/0.6.13/20180609043131/lib/scaffolding.sh: line 837: [[: 8.0: syntax error: invalid arithmetic operator (error token is ".0")
/hab/pkgs/core/scaffolding-node/0.6.13/20180609043131/lib/scaffolding.sh: line 829: [: 8.0: integer expression expected
/hab/pkgs/core/scaffolding-node/0.6.13/20180609043131/lib/scaffolding.sh: line 833: [[: 8.0: syntax error: invalid arithmetic operator (error token is ".0")
/hab/pkgs/core/scaffolding-node/0.6.13/20180609043131/lib/scaffolding.sh: line 837: [[: 8.0: syntax error: invalid arithmetic operator (error token is ".0")
/hab/pkgs/core/scaffolding-node/0.6.13/20180609043131/lib/scaffolding.sh: line 829: [: 8.0: integer expression expected
/hab/pkgs/core/scaffolding-node/0.6.13/20180609043131/lib/scaffolding.sh: line 833: [[: 8.0: syntax error: invalid arithmetic operator (error token is ".0")
/hab/pkgs/core/scaffolding-node/0.6.13/20180609043131/lib/scaffolding.sh: line 837: [[: 8.0: syntax error: invalid arithmetic operator (error token is ".0")
/hab/pkgs/core/scaffolding-node/0.6.13/20180609043131/lib/scaffolding.sh: line 829: [: 8.0: integer expression expected
/hab/pkgs/core/scaffolding-node/0.6.13/20180609043131/lib/scaffolding.sh: line 833: [[: 8.0: syntax error: invalid arithmetic operator (error token is ".0")
/hab/pkgs/core/scaffolding-node/0.6.13/20180609043131/lib/scaffolding.sh: line 837: [[: 8.0: syntax error: invalid arithmetic operator (error token is ".0")
/hab/pkgs/core/scaffolding-node/0.6.13/20180609043131/lib/scaffolding.sh: line 829: [: 8.0: integer expression expected
/hab/pkgs/core/scaffolding-node/0.6.13/20180609043131/lib/scaffolding.sh: line 833: [[: 8.0: syntax error: invalid arithmetic operator (error token is ".0")
/hab/pkgs/core/scaffolding-node/0.6.13/20180609043131/lib/scaffolding.sh: line 837: [[: 8.0: syntax error: invalid arithmetic operator (error token is ".0")
/hab/pkgs/core/scaffolding-node/0.6.13/20180609043131/lib/scaffolding.sh: line 829: [: 8.0: integer expression expected
/hab/pkgs/core/scaffolding-node/0.6.13/20180609043131/lib/scaffolding.sh: line 833: [[: 8.0: syntax error: invalid arithmetic operator (error token is ".0")
/hab/pkgs/core/scaffolding-node/0.6.13/20180609043131/lib/scaffolding.sh: line 837: [[: 8.0: syntax error: invalid arithmetic operator (error token is ".0")
/hab/pkgs/core/scaffolding-node/0.6.13/20180609043131/lib/scaffolding.sh: line 829: [: 8.0: integer expression expected
/hab/pkgs/core/scaffolding-node/0.6.13/20180609043131/lib/scaffolding.sh: line 833: [[: 8.0: syntax error: invalid arithmetic operator (error token is ".0")
/hab/pkgs/core/scaffolding-node/0.6.13/20180609043131/lib/scaffolding.sh: line 837: [[: 8.0: syntax error: invalid arithmetic operator (error token is ".0")
/hab/pkgs/core/scaffolding-node/0.6.13/20180609043131/lib/scaffolding.sh: line 829: [: 8.0: integer expression expected
/hab/pkgs/core/scaffolding-node/0.6.13/20180609043131/lib/scaffolding.sh: line 833: [[: 8.0: syntax error: invalid arithmetic operator (error token is ".0")
/hab/pkgs/core/scaffolding-node/0.6.13/20180609043131/lib/scaffolding.sh: line 837: [[: 8.0: syntax error: invalid arithmetic operator (error token is ".0")
/hab/pkgs/core/scaffolding-node/0.6.13/20180609043131/lib/scaffolding.sh: line 829: [: 8.0: integer expression expected
/hab/pkgs/core/scaffolding-node/0.6.13/20180609043131/lib/scaffolding.sh: line 833: [[: 8.0: syntax error: invalid arithmetic operator (error token is ".0")
/hab/pkgs/core/scaffolding-node/0.6.13/20180609043131/lib/scaffolding.sh: line 837: [[: 8.0: syntax error: invalid arithmetic operator (error token is ".0")
   active-oversight-ui: Detected Node.js version '>=8.11.0' in package.json, using 'core/node/8.9.4'

at the top of my hab output


#6

changing it to be exactly 8.11.1 now gives me:

/hab/pkgs/core/scaffolding-node/0.6.13/20180609043131/lib/scaffolding.sh: line 794: [: 8.0: integer expression expected
/hab/pkgs/core/scaffolding-node/0.6.13/20180609043131/lib/scaffolding.sh: line 798: [: 11.0: integer expression expected
/hab/pkgs/core/scaffolding-node/0.6.13/20180609043131/lib/scaffolding.sh: line 802: [: 1.0: integer expression expected
/hab/pkgs/core/scaffolding-node/0.6.13/20180609043131/lib/scaffolding.sh: line 794: [: 8.0: integer expression expected
/hab/pkgs/core/scaffolding-node/0.6.13/20180609043131/lib/scaffolding.sh: line 798: [: 11.0: integer expression expected
/hab/pkgs/core/scaffolding-node/0.6.13/20180609043131/lib/scaffolding.sh: line 802: [: 1.0: integer expression expected
/hab/pkgs/core/scaffolding-node/0.6.13/20180609043131/lib/scaffolding.sh: line 794: [: 8.0: integer expression expected
/hab/pkgs/core/scaffolding-node/0.6.13/20180609043131/lib/scaffolding.sh: line 798: [: 11.0: integer expression expected
/hab/pkgs/core/scaffolding-node/0.6.13/20180609043131/lib/scaffolding.sh: line 802: [: 1.0: integer expression expected
/hab/pkgs/core/scaffolding-node/0.6.13/20180609043131/lib/scaffolding.sh: line 794: [: 8.0: integer expression expected
/hab/pkgs/core/scaffolding-node/0.6.13/20180609043131/lib/scaffolding.sh: line 798: [: 11.0: integer expression expected
/hab/pkgs/core/scaffolding-node/0.6.13/20180609043131/lib/scaffolding.sh: line 802: [: 1.0: integer expression expected
/hab/pkgs/core/scaffolding-node/0.6.13/20180609043131/lib/scaffolding.sh: line 794: [: 8.0: integer expression expected
/hab/pkgs/core/scaffolding-node/0.6.13/20180609043131/lib/scaffolding.sh: line 798: [: 11.0: integer expression expected
/hab/pkgs/core/scaffolding-node/0.6.13/20180609043131/lib/scaffolding.sh: line 802: [: 1.0: integer expression expected
/hab/pkgs/core/scaffolding-node/0.6.13/20180609043131/lib/scaffolding.sh: line 794: [: 8.0: integer expression expected
/hab/pkgs/core/scaffolding-node/0.6.13/20180609043131/lib/scaffolding.sh: line 798: [: 11.0: integer expression expected
/hab/pkgs/core/scaffolding-node/0.6.13/20180609043131/lib/scaffolding.sh: line 802: [: 1.0: integer expression expected
/hab/pkgs/core/scaffolding-node/0.6.13/20180609043131/lib/scaffolding.sh: line 794: [: 8.0: integer expression expected
/hab/pkgs/core/scaffolding-node/0.6.13/20180609043131/lib/scaffolding.sh: line 798: [: 11.0: integer expression expected
/hab/pkgs/core/scaffolding-node/0.6.13/20180609043131/lib/scaffolding.sh: line 802: [: 1.0: integer expression expected
/hab/pkgs/core/scaffolding-node/0.6.13/20180609043131/lib/scaffolding.sh: line 794: [: 8.0: integer expression expected
/hab/pkgs/core/scaffolding-node/0.6.13/20180609043131/lib/scaffolding.sh: line 798: [: 11.0: integer expression expected
/hab/pkgs/core/scaffolding-node/0.6.13/20180609043131/lib/scaffolding.sh: line 802: [: 1.0: integer expression expected
/hab/pkgs/core/scaffolding-node/0.6.13/20180609043131/lib/scaffolding.sh: line 794: [: 8.0: integer expression expected
/hab/pkgs/core/scaffolding-node/0.6.13/20180609043131/lib/scaffolding.sh: line 798: [: 11.0: integer expression expected
/hab/pkgs/core/scaffolding-node/0.6.13/20180609043131/lib/scaffolding.sh: line 802: [: 1.0: integer expression expected
/hab/pkgs/core/scaffolding-node/0.6.13/20180609043131/lib/scaffolding.sh: line 794: [: 8.0: integer expression expected
/hab/pkgs/core/scaffolding-node/0.6.13/20180609043131/lib/scaffolding.sh: line 798: [: 11.0: integer expression expected
/hab/pkgs/core/scaffolding-node/0.6.13/20180609043131/lib/scaffolding.sh: line 802: [: 1.0: integer expression expected
/hab/pkgs/core/scaffolding-node/0.6.13/20180609043131/lib/scaffolding.sh: line 794: [: 8.0: integer expression expected
/hab/pkgs/core/scaffolding-node/0.6.13/20180609043131/lib/scaffolding.sh: line 798: [: 11.0: integer expression expected
/hab/pkgs/core/scaffolding-node/0.6.13/20180609043131/lib/scaffolding.sh: line 802: [: 1.0: integer expression expected
/hab/pkgs/core/scaffolding-node/0.6.13/20180609043131/lib/scaffolding.sh: line 794: [: 8.0: integer expression expected
/hab/pkgs/core/scaffolding-node/0.6.13/20180609043131/lib/scaffolding.sh: line 798: [: 11.0: integer expression expected
/hab/pkgs/core/scaffolding-node/0.6.13/20180609043131/lib/scaffolding.sh: line 802: [: 1.0: integer expression expected
/hab/pkgs/core/scaffolding-node/0.6.13/20180609043131/lib/scaffolding.sh: line 794: [: 8.0: integer expression expected
/hab/pkgs/core/scaffolding-node/0.6.13/20180609043131/lib/scaffolding.sh: line 798: [: 11.0: integer expression expected
/hab/pkgs/core/scaffolding-node/0.6.13/20180609043131/lib/scaffolding.sh: line 802: [: 1.0: integer expression expected
/hab/pkgs/core/scaffolding-node/0.6.13/20180609043131/lib/scaffolding.sh: line 794: [: 8.0: integer expression expected
/hab/pkgs/core/scaffolding-node/0.6.13/20180609043131/lib/scaffolding.sh: line 798: [: 11.0: integer expression expected
/hab/pkgs/core/scaffolding-node/0.6.13/20180609043131/lib/scaffolding.sh: line 802: [: 1.0: integer expression expected
ERROR: No compatible version of node found in the core origin on Habitat Builder

So there does seem to be a bit of a boog in how the scaffolding does this version resolution.


#7

I was able to reproduce by adding "engines": { "node": ">=7.6.0" } in my package.json. Could you, for the time being, add scaffolding_node_pkg="core/node" to your plan.sh?

I’ll open an issue on the scaffolding with the findings here.


#8

yeah, that seems to have fixed it. I was also able to make it work by removing the node entry from the engines block in package.json

Any thoughts on the ruby package? I would love a similar workaround if such a thing exists. My QA people, and to a lesser extent, my devs are dead in the water until I can get builds going again.


#9

@qhartman I was seeing the same thing. I suspect there may be an issue with the regex that doesn’t like the double-digit minor version.

I’m rebuilding a 2.4.2 version of Ruby locally. It should be available shortly.


#10

cool, thanks, I appreciate it.