This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 270510

Summary: can't build qt project (ld: can't map file, errno=22 file '.')
Product: cnd Reporter: ramoo
Component: executionAssignee: ilia
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P3    
Version: 8.2   
Hardware: PC   
OS: Mac OS X   
Issue Type: DEFECT Exception Reporter:

Description ramoo 2017-04-28 06:23:20 UTC
"/Applications/Xcode.app/Contents/Developer/usr/bin/make" -f nbproject/qt-Debug.mk dist/Debug/GNU-MacOSX/QtApplication_1
g++ -c -pipe -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.9  -g -std=gnu++11 -Wall -W -fPIC -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -Inbproject -I. -I/usr/local/Cellar/qt/5.8.0_2/lib/QtWidgets.framework/Headers -I/usr/local/Cellar/qt/5.8.0_2/lib/QtGui.framework/Headers -I/usr/local/Cellar/qt/5.8.0_2/lib/QtCore.framework/Headers -I. -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/AGL.framework/Headers -I/usr/local/Cellar/qt/5.8.0_2/mkspecs/macx-g++ -F/usr/local/Cellar/qt/5.8.0_2/lib -o build/Debug/GNU-MacOSX/main.o main.cpp
/Applications/Xcode.app/Contents/Developer/usr/bin/g++ -headerpad_max_install_names -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -mmacosx-version-min=10.9  -o dist/Debug/GNU-MacOSX/QtApplication_1 build/Debug/GNU-MacOSX/main.o   -F/usr/local/Cellar/qt/5.8.0_2/lib . -framework QtWidgets -framework QtGui -framework QtCore -framework DiskArbitration -framework IOKit -framework OpenGL -framework AGL 
ld: can't map file, errno=22 file '.' for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [dist/Debug/GNU-MacOSX/QtApplication_1] Error 1
make[1]: *** [.build-conf] Error 2
make: *** [.build-impl] Error 2
Comment 1 Vladimir Kvashin 2017-04-30 15:55:08 UTC
This has been already fixed. The fix is available in daily NetBeans builds and will appear on update center soon.

*** This bug has been marked as a duplicate of bug 267371 ***