I see the file in ./Frameworks/ns/src/ns.h, perhaps that framework needs to be built first? I am sure I can haxor it to work, but would rather not get onto that slippery slope, have been using mate for like 9 years now, and there are some things I would like to fix in 2.0rc4 or at least test to see if they are fixed in master.
Output:
UpLk Prod[textmate] $ ./configure && ninja rm /Users/gplayer/build/TextMate/Frameworks/SoftwareUpdate/fixtures/secret.pem bin/gen_build:477: warning: Insecure world writable dir /Applications/microchip/xc16/v1.22/bin in PATH, mode 040777 [1/1] Generate ‘build.ninja’… bin/gen_build:477: warning: Insecure world writable dir /Applications/microchip/xc16/v1.22/bin in PATH, mode 040777 ninja: no work to do. ninja: no work to do. [1/9] Compile ‘Frameworks/OakFoundation/src/OakFoundation.mm’… FAILED: /Users/gplayer/build/TextMate/Frameworks/OakFoundation/src/OakFoundation.o xcrun clang++ -include /Users/gplayer/build/TextMate/Shared/PCH/prelude.mm -c -pipe -fPIC -gdwarf-2 -m64 -mmacosx-version-min=10.9 -funsigned-char -D'NULL_STR="\uFFFF"' -DREST_API='"https://api.textmate.org"' -Wall -Wwrite-strings -Wformat -Winit-self -Wmissing-include-dirs -Wno-parentheses -Wno-sign-compare -Wno-switch -IShared/include -fcolor-diagnostics -DNDEBUG -Os -flto=thin -I"/usr/local/opt/libressl/include" -I"/usr/local/include" -fvisibility=hidden -std=c++14 -fobjc-abi-version=3 -fobjc-arc -fobjc-call-cxx-cdtors -o /Users/gplayer/build/TextMate/Frameworks/OakFoundation/src/OakFoundation.o -MMD -MF /Users/gplayer/build/TextMate/Frameworks/OakFoundation/src/OakFoundation.o.d -I/Users/gplayer/build/TextMate/include Frameworks/OakFoundation/src/OakFoundation.mm Frameworks/OakFoundation/src/OakFoundation.mm:3:9: fatal error: 'ns/ns.h' file not found #import <ns/ns.h> ^ 1 error generated. [8/9] Compile ‘Frameworks/updater/src/updater.cc’… ninja: build stopped: subcommand failed.
On Sat, Nov 11, 2017 at 10:36 AM, Grady Player gradyplayer@gmail.com wrote:
I see the file in ./Frameworks/ns/src/ns.h, perhaps that framework needs to be built first?
Probably. IIRC, sometime the custom build system fails to copy of over headers before they're needed. Try starting from a clean build:
`ninja -t clean` `./configure && ninja`
If you get the error for missing headers just issue `ninja` again and it should eventually build that Framework.
I am sure I can haxor it to work, but would rather not get onto that slippery slope, have been using mate for like 9 years now, and there are some things I would like to fix in 2.0rc4 or at least test to see if they are fixed in master.
Output:
UpLk Prod[textmate] $ ./configure && ninja rm /Users/gplayer/build/TextMate/Frameworks/SoftwareUpdate/fixtures/secret.pem bin/gen_build:477: warning: Insecure world writable dir /Applications/microchip/xc16/v1.22/bin in PATH, mode 040777 [1/1] Generate ‘build.ninja’… bin/gen_build:477: warning: Insecure world writable dir /Applications/microchip/xc16/v1.22/bin in PATH, mode 040777 ninja: no work to do. ninja: no work to do. [1/9] Compile ‘Frameworks/OakFoundation/src/OakFoundation.mm’… FAILED: /Users/gplayer/build/TextMate/Frameworks/OakFoundation/src/OakFoundation.o xcrun clang++ -include /Users/gplayer/build/TextMate/Shared/PCH/prelude.mm -c -pipe -fPIC -gdwarf-2 -m64 -mmacosx-version-min=10.9 -funsigned-char -D'NULL_STR="\uFFFF"' -DREST_API='"https://api.textmate.org"' -Wall -Wwrite-strings -Wformat -Winit-self -Wmissing-include-dirs -Wno-parentheses -Wno-sign-compare -Wno-switch -IShared/include -fcolor-diagnostics -DNDEBUG -Os -flto=thin -I"/usr/local/opt/libressl/include" -I"/usr/local/include" -fvisibility=hidden -std=c++14 -fobjc-abi-version=3 -fobjc-arc -fobjc-call-cxx-cdtors -o /Users/gplayer/build/TextMate/Frameworks/OakFoundation/src/OakFoundation.o -MMD -MF /Users/gplayer/build/TextMate/Frameworks/OakFoundation/src/OakFoundation.o.d -I/Users/gplayer/build/TextMate/include Frameworks/OakFoundation/src/OakFoundation.mm Frameworks/OakFoundation/src/OakFoundation.mm:3:9: fatal error: 'ns/ns.h' file not found #import <ns/ns.h> ^ 1 error generated. [8/9] Compile ‘Frameworks/updater/src/updater.cc’… ninja: build stopped: subcommand failed.
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
On 12 Nov 2017, at 7:07, Ronald Wampler wrote:
Probably. IIRC, sometime the custom build system fails to copy of over headers before they're needed […]
This should only happen when the target (that uses the headers) forget to declare them as a dependency¹.
I’ve corrected this in https://github.com/textmate/textmate/commit/75e8723e64c695e464dc78f5b9d84681...
¹ In the past there has been cases where a framework used only headers from another framework, but could not declare it a dependency because it would cause circular dependencies, I _think_ we don’t have any of those ATM though.
ninja now completes, thank you.
On Nov 11, 2017, at 5:07 PM, Ronald Wampler rdwampler@gmail.com wrote:
On Sat, Nov 11, 2017 at 10:36 AM, Grady Player <gradyplayer@gmail.com mailto:gradyplayer@gmail.com> wrote:
I see the file in ./Frameworks/ns/src/ns.h, perhaps that framework needs to be built first?
Probably. IIRC, sometime the custom build system fails to copy of over headers before they're needed. Try starting from a clean build:
`ninja -t clean` `./configure && ninja`
If you get the error for missing headers just issue `ninja` again and it should eventually build that Framework.
I am sure I can haxor it to work, but would rather not get onto that slippery slope, have been using mate for like 9 years now, and there are some things I would like to fix in 2.0rc4 or at least test to see if they are fixed in master.
Output:
UpLk Prod[textmate] $ ./configure && ninja rm /Users/gplayer/build/TextMate/Frameworks/SoftwareUpdate/fixtures/secret.pem bin/gen_build:477: warning: Insecure world writable dir /Applications/microchip/xc16/v1.22/bin in PATH, mode 040777 [1/1] Generate ‘build.ninja’… bin/gen_build:477: warning: Insecure world writable dir /Applications/microchip/xc16/v1.22/bin in PATH, mode 040777 ninja: no work to do. ninja: no work to do. [1/9] Compile ‘Frameworks/OakFoundation/src/OakFoundation.mm’… FAILED: /Users/gplayer/build/TextMate/Frameworks/OakFoundation/src/OakFoundation.o xcrun clang++ -include /Users/gplayer/build/TextMate/Shared/PCH/prelude.mm -c -pipe -fPIC -gdwarf-2 -m64 -mmacosx-version-min=10.9 -funsigned-char -D'NULL_STR="\uFFFF"' -DREST_API='"https://api.textmate.org"' -Wall -Wwrite-strings -Wformat -Winit-self -Wmissing-include-dirs -Wno-parentheses -Wno-sign-compare -Wno-switch -IShared/include -fcolor-diagnostics -DNDEBUG -Os -flto=thin -I"/usr/local/opt/libressl/include" -I"/usr/local/include" -fvisibility=hidden -std=c++14 -fobjc-abi-version=3 -fobjc-arc -fobjc-call-cxx-cdtors -o /Users/gplayer/build/TextMate/Frameworks/OakFoundation/src/OakFoundation.o -MMD -MF /Users/gplayer/build/TextMate/Frameworks/OakFoundation/src/OakFoundation.o.d -I/Users/gplayer/build/TextMate/include Frameworks/OakFoundation/src/OakFoundation.mm Frameworks/OakFoundation/src/OakFoundation.mm:3:9: fatal error: 'ns/ns.h' file not found #import <ns/ns.h> ^ 1 error generated. [8/9] Compile ‘Frameworks/updater/src/updater.cc’… ninja: build stopped: subcommand failed.
textmate mailing list textmate@lists.macromates.com mailto:textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate http://lists.macromates.com/listinfo/textmate
textmate mailing list textmate@lists.macromates.com mailto:textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate http://lists.macromates.com/listinfo/textmate