Opened 8 years ago

Closed 6 years ago

#51835 closed defect (fixed)

nodejs6 @6.3.0 Fails to build: filename too long

Reported by: herrbischoff (Marcel Bischoff) Owned by: ci42
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc: iEFdev, chris.kief@…, mojca (Mojca Miklavec)
Port: nodejs6

Description

--->  Computing dependencies for nodejs6.
--->  Building nodejs6
make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_nodejs6/nodejs6/work/node-v6.3.0'
/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_release_tarballs_ports_devel_nodejs6/nodejs6/work/node-v6.3.0/out'
make[1]: stat: _opt_local_var_macports_build__opt_local_var_macports_sources_rsync_macports_org_release_tarballs_ports_devel_nodejs6_nodejs6_work_node_v6_3_0_deps_v8_inspector_platform_v8_inspector_v8_inspector_gyp_protocol_sources_target_generateV8InspectorProtocolBackendSources.intermediate: File name too long
  touch _opt_local_var_macports_build__opt_local_var_macports_sources_rsync_macports_org_release_tarballs_ports_devel_nodejs6_nodejs6_work_node_v6_3_0_deps_v8_inspector_platform_v8_inspector_v8_inspector_gyp_protocol_sources_target_generateV8InspectorProtocolBackendSources.intermediate
touch: _opt_local_var_macports_build__opt_local_var_macports_sources_rsync_macports_org_release_tarballs_ports_devel_nodejs6_nodejs6_work_node_v6_3_0_deps_v8_inspector_platform_v8_inspector_v8_inspector_gyp_protocol_sources_target_generateV8InspectorProtocolBackendSources.intermediate: File name too long
make[1]: *** [_opt_local_var_macports_build__opt_local_var_macports_sources_rsync_macports_org_release_tarballs_ports_devel_nodejs6_nodejs6_work_node_v6_3_0_deps_v8_inspector_platform_v8_inspector_v8_inspector_gyp_protocol_sources_target_generateV8InspectorProtocolBackendSources.intermediate] Error 1
rm _opt_local_var_macports_build__opt_local_var_macports_sources_rsync_macports_org_release_tarballs_ports_devel_nodejs6_nodejs6_work_node_v6_3_0_deps_v8_inspector_platform_v8_inspector_v8_inspector_gyp_protocol_sources_target_generateV8InspectorProtocolBackendSources.intermediatemake[1]: unlink: _opt_local_var_macports_build__opt_local_var_macports_sources_rsync_macports_org_release_tarballs_ports_devel_nodejs6_nodejs6_work_node_v6_3_0_deps_v8_inspector_platform_v8_inspector_v8_inspector_gyp_protocol_sources_target_generateV8InspectorProtocolBackendSources.intermediate: File name too long

make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_nodejs6/nodejs6/work/node-v6.3.0/out'
make: *** [node] Error 2
make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_nodejs6/nodejs6/work/node-v6.3.0'
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_nodejs6/nodejs6/work/node-v6.3.0" && /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" LDFLAGS="-L/opt/local/lib -Wl,-headerpad_max_install_names" PYTHON=/opt/local/bin/python2.7 V=1
Exit code: 2
Error: org.macports.build for port nodejs6 returned: command execution failed
Warning: targets not executed for nodejs6: org.macports.activate org.macports.build org.macports.destroot org.macports.install
Please see the log file for port nodejs6 for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_nodejs6/nodejs6/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port nodejs6 failed

Attachments (3)

nodejs6_main.log (2.6 MB) - added by iEFdev 8 years ago.
NodeJS6 main.log
nodejs6_main_6.3.1.log (1002.6 KB) - added by iEFdev 8 years ago.
nodejs6_main_6.3.1_another.log (1000.7 KB) - added by supplanter (Jim) 8 years ago.
Another main.log for a 6.3.1 version of nodejs6 illustrating failure due to too long filenames.

Change History (14)

comment:1 Changed 8 years ago by ci42

Cc: ciserlohn@… removed
Owner: changed from macports-tickets@… to ciserlohn@…

Please attach a complete log file of a clean build attempt.

comment:2 Changed 8 years ago by iEFdev

I got the same build error... so you can have my logfile.

---
OS X 10.7.5, MacPorts 2.3.4, Xcode 4.3.3

Changed 8 years ago by iEFdev

Attachment: nodejs6_main.log added

NodeJS6 main.log

comment:3 Changed 8 years ago by iEFdev

Cc: eric@… added

Cc Me!

Changed 8 years ago by iEFdev

Attachment: nodejs6_main_6.3.1.log added

comment:4 Changed 8 years ago by iEFdev

I saw 6.3.1 in the list… Tried that one, but it failed to. Attaching the main.log for that one as well, if it's to any help.

Will install nodejs5 now instead.

comment:5 Changed 8 years ago by chris.kief@…

Cc: chris.kief@… added

Cc Me!

comment:6 Changed 8 years ago by supplanter (Jim)

I'll go ahead and contribute my log file as well. System details: OS X 10.11.6, Xcode 7.3.1, MacPorts 2.3.4, HFS+ filesystem (255 character limit on filenames).

Changed 8 years ago by supplanter (Jim)

Another main.log for a 6.3.1 version of nodejs6 illustrating failure due to too long filenames.

comment:7 Changed 8 years ago by luisa.sample@…

Long Path tool can resolve error messages like: path too long, cannot delete file, too long path, destination path is too long, etc.

comment:8 Changed 8 years ago by mojca (Mojca Miklavec)

Cc: mojca added

comment:9 Changed 8 years ago by mojca (Mojca Miklavec)

Version 6.9.1 seems to build just fine on 10.7 after blacklisting the system compiler and using macports-clang-3.4. Is this still a problem for you?

comment:10 Changed 8 years ago by mojca (Mojca Miklavec)

I marked #51949 as a duplicate of this one, I don't see any major difference between the two.

In any case the port seems to build on all the build slaves now (from 10.7 on), so I would close this issue unless someone can confirm that this is still a problem with version 6.9.x.

Ticket #53026 is about updating nodejs6.

comment:11 Changed 6 years ago by kencu (Ken)

Resolution: fixed
Status: newclosed

confirmed that 6.9.1 builds through on all systems now without this issue.

Note: See TracTickets for help on using tickets.