[MacPorts] #53418: Failed to build nodejs4: command execution failed

MacPorts noreply at macports.org
Sat Jan 28 21:55:26 UTC 2017


#53418: Failed to build nodejs4: command execution failed
------------------------+----------------------
  Reporter:  ajdalshov  |      Owner:  ci42
      Type:  defect     |     Status:  assigned
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.4.0
Resolution:             |   Keywords:
      Port:  nodejs4    |
------------------------+----------------------
Changes (by ryandesign):

 * owner:   => ci42
 * priority:  High => Normal
 * status:  new => assigned


Old description:

> Environment:
>
> Fresh install of macOS Sierra, Xcode and Macports 2.4.0. Same also fails
> on another computer with macOS Sierra, macports 2.4.0 (upgraded from
> 2.3.5) when doing selfupdate and upgrade outdated which then also tries
> to build a new nodejs4 package.
>
> sudo port -v install nodejs4
> --->  Computing dependencies for nodejs4.
> --->  Building nodejs4
> Executing:  cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_nodejs4/nodejs4/work/node-v4.7.2"
> && /usr/bin/make -w all CC=/usr/bin/clang CXX=/usr/bin/clang++
> CXX.host=/usr/bin/clang++ CPP=/usr/bin/cpp CFLAGS="-Os" CXXFLAGS="-Os
> -stdlib=libc++" LDFLAGS="-L/opt/local/lib
> -Wl,-headerpad_max_install_names" PYTHON=/opt/local/bin/python2.7 V=1
> make: Entering directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_nodejs4/nodejs4/work/node-v4.7.2'
> /Applications/Xcode.app/Contents/Developer/usr/bin/make -C out
> BUILDTYPE=Release V=1
> make[1]: Entering directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_nodejs4/nodejs4/work/node-v4.7.2/out'
>   /usr/bin/clang++ '-D_DARWIN_USE_64_BIT_INODE=1'
> '-DGTEST_DONT_DEFINE_ASSERT_EQ=1' '-DGTEST_DONT_DEFINE_ASSERT_GE=1'
> '-DGTEST_DONT_DEFINE_ASSERT_GT=1' '-DGTEST_DONT_DEFINE_ASSERT_LE=1'
> '-DGTEST_DONT_DEFINE_ASSERT_LT=1' '-DGTEST_DONT_DEFINE_ASSERT_NE=1'
> -I../deps/gtest/include -I../deps/v8/include -I../src
> -I/opt/local/include -I/opt/local/include/openssl  -Os -gdwarf-2 -arch
> x86_64 -Wall -Wendif-labels -W -Wno-unused-parameter -std=gnu++0x -fno-
> rtti -fno-exceptions -fno-threadsafe-statics -fno-strict-aliasing -MMD
> -MF
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_nodejs4/nodejs4/work/node-v4.7.2/out/Release/.deps//opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_nodejs4/nodejs4/work/node-v4.7.2/out/Release/obj.target/cctest/test/cctest/util.o.d.raw
> -Os -stdlib=libc++ -c -o
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_nodejs4/nodejs4/work/node-v4.7.2/out/Release/obj.target/cctest/test/cctest/util.o
> ../test/cctest/util.cc
> In file included from ../test/cctest/util.cc:1:
> ../src/util.h:27:53: error: no member named 'tr1' in namespace 'std'
> template <typename T> using remove_reference =
> std::tr1::remove_reference<T>;
>                                                ~~~~~^
> ../src/util.h:27:74: error: expected ';' after alias declaration
> template <typename T> using remove_reference =
> std::tr1::remove_reference<T>;
> ^
> ;
> 2 errors generated.
> make[1]: ***
> [/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_nodejs4/nodejs4/work/node-v4.7.2/out/Release/obj.target/cctest/test/cctest/util.o]
> Error 1
> make[1]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_nodejs4/nodejs4/work/node-v4.7.2/out'
> make: *** [node] Error 2
> make: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_nodejs4/nodejs4/work/node-v4.7.2'
> Command failed:  cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_nodejs4/nodejs4/work/node-v4.7.2"
> && /usr/bin/make -w all CC=/usr/bin/clang CXX=/usr/bin/clang++
> CXX.host=/usr/bin/clang++ CPP=/usr/bin/cpp CFLAGS="-Os" CXXFLAGS="-Os
> -stdlib=libc++" LDFLAGS="-L/opt/local/lib
> -Wl,-headerpad_max_install_names" PYTHON=/opt/local/bin/python2.7 V=1
> Exit code: 2
> Error: Failed to build nodejs4: command execution failed
> Error: See
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_nodejs4/nodejs4/main.log
> for details.
> Error: Follow https://guide.macports.org/#project.tickets to report a
> bug.
> Error: Processing of port nodejs4 failed

New description:

 Environment:

 Fresh install of macOS Sierra, Xcode and Macports 2.4.0. Same also fails
 on another computer with macOS Sierra, macports 2.4.0 (upgraded from
 2.3.5) when doing selfupdate and upgrade outdated which then also tries to
 build a new nodejs4 package.

 {{{
 sudo port -v install nodejs4
 --->  Computing dependencies for nodejs4.
 --->  Building nodejs4
 Executing:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_nodejs4/nodejs4/work/node-v4.7.2"
 && /usr/bin/make -w all CC=/usr/bin/clang CXX=/usr/bin/clang++
 CXX.host=/usr/bin/clang++ CPP=/usr/bin/cpp CFLAGS="-Os" CXXFLAGS="-Os
 -stdlib=libc++" LDFLAGS="-L/opt/local/lib
 -Wl,-headerpad_max_install_names" PYTHON=/opt/local/bin/python2.7 V=1
 make: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_nodejs4/nodejs4/work/node-v4.7.2'
 /Applications/Xcode.app/Contents/Developer/usr/bin/make -C out
 BUILDTYPE=Release V=1
 make[1]: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_nodejs4/nodejs4/work/node-v4.7.2/out'
   /usr/bin/clang++ '-D_DARWIN_USE_64_BIT_INODE=1'
 '-DGTEST_DONT_DEFINE_ASSERT_EQ=1' '-DGTEST_DONT_DEFINE_ASSERT_GE=1'
 '-DGTEST_DONT_DEFINE_ASSERT_GT=1' '-DGTEST_DONT_DEFINE_ASSERT_LE=1'
 '-DGTEST_DONT_DEFINE_ASSERT_LT=1' '-DGTEST_DONT_DEFINE_ASSERT_NE=1'
 -I../deps/gtest/include -I../deps/v8/include -I../src -I/opt/local/include
 -I/opt/local/include/openssl  -Os -gdwarf-2 -arch x86_64 -Wall -Wendif-
 labels -W -Wno-unused-parameter -std=gnu++0x -fno-rtti -fno-exceptions
 -fno-threadsafe-statics -fno-strict-aliasing -MMD -MF
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_nodejs4/nodejs4/work/node-v4.7.2/out/Release/.deps//opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_nodejs4/nodejs4/work/node-v4.7.2/out/Release/obj.target/cctest/test/cctest/util.o.d.raw
 -Os -stdlib=libc++ -c -o
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_nodejs4/nodejs4/work/node-v4.7.2/out/Release/obj.target/cctest/test/cctest/util.o
 ../test/cctest/util.cc
 In file included from ../test/cctest/util.cc:1:
 ../src/util.h:27:53: error: no member named 'tr1' in namespace 'std'
 template <typename T> using remove_reference =
 std::tr1::remove_reference<T>;
                                                ~~~~~^
 ../src/util.h:27:74: error: expected ';' after alias declaration
 template <typename T> using remove_reference =
 std::tr1::remove_reference<T>;
                                                                          ^
                                                                          ;
 2 errors generated.
 make[1]: ***
 [/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_nodejs4/nodejs4/work/node-v4.7.2/out/Release/obj.target/cctest/test/cctest/util.o]
 Error 1
 make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_nodejs4/nodejs4/work/node-v4.7.2/out'
 make: *** [node] Error 2
 make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_nodejs4/nodejs4/work/node-v4.7.2'
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_nodejs4/nodejs4/work/node-v4.7.2"
 && /usr/bin/make -w all CC=/usr/bin/clang CXX=/usr/bin/clang++
 CXX.host=/usr/bin/clang++ CPP=/usr/bin/cpp CFLAGS="-Os" CXXFLAGS="-Os
 -stdlib=libc++" LDFLAGS="-L/opt/local/lib
 -Wl,-headerpad_max_install_names" PYTHON=/opt/local/bin/python2.7 V=1
 Exit code: 2
 Error: Failed to build nodejs4: command execution failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_nodejs4/nodejs4/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets to report a bug.
 Error: Processing of port nodejs4 failed
 }}}

--

Comment:

 This was not a clean build attempt. Please clean and try again.

--
Ticket URL: <https://trac.macports.org/ticket/53418#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list