Opened 8 years ago
Closed 8 years ago
#53418 closed defect (duplicate)
Failed to build nodejs4: command execution failed
Reported by: | ajdalshov (Anders Johan Dalshov) | Owned by: | ci42 |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.4.0 |
Keywords: | Cc: | gerritgriebel (Gerrit Griebel), lesinigo (Luca Lesinigo) | |
Port: | nodejs4 |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
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
Change History (4)
comment:1 Changed 8 years ago by gerritgriebel (Gerrit Griebel)
Cc: | gerritgriebel added |
---|
comment:2 Changed 8 years ago by lesinigo (Luca Lesinigo)
Cc: | lesinigo added |
---|
comment:3 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Owner: | set to ci42 |
Priority: | High → Normal |
Status: | new → assigned |
comment:4 Changed 8 years ago by jmroot (Joshua Root)
Resolution: | → duplicate |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
This was not a clean build attempt. Please clean and try again.