ios builds failing, again

53 views
Skip to first unread message

Dave Dyer

unread,
Nov 10, 2016, 2:44:31 AM11/10/16
to CodenameOne Discussions


CompileC build/Build/Intermediates/ArchiveIntermediates/Develop/IntermediateBuildFilesPath/Develop.build/Release-iphoneos/Develop.build/Objects-normal/armv7/com_codename1_ui_Component.o Develop-src/com_codename1_ui_Component.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
    cd /var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcm0000gn/T/build3834360684307989244xxx/dist
    export LANG=en_US.US-ASCII
    export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch armv7 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=c99 -Wno-trigraphs -fpascal-strings -O3 -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -Wno-implicit-atomic-properties -Werror=deprecated-objc-isa-usage -Werror=objc-root-class -Wno-arc-repeated-use-of-weak -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wno-int-conversion -Wbool-conversion -Wno-enum-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -DCOCOAPODS=1 -DNS_BLOCK_ASSERTIONS=1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -miphoneos-version-min=6.0 -g -fvisibility=hidden -Wno-sign-conversion -iquote /var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcm0000gn/T/build3834360684307989244xxx/dist/build/Build/Intermediates/ArchiveIntermediates/Develop/IntermediateBuildFilesPath/Develop.build/Release-iphoneos/Develop.build/Develop-generated-files.hmap -I/var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcm0000gn/T/build3834360684307989244xxx/dist/build/Build/Intermediates/ArchiveIntermediates/Develop/IntermediateBuildFilesPath/Develop.build/Release-iphoneos/Develop.build/Develop-own-target-headers.hmap -I/var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcm0000gn/T/build3834360684307989244xxx/dist/build/Build/Intermediates/ArchiveIntermediates/Develop/IntermediateBuildFilesPath/Develop.build/Release-iphoneos/Develop.build/Develop-all-target-headers.hmap -iquote /var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcm0000gn/T/build3834360684307989244xxx/dist/build/Build/Intermediates/ArchiveIntermediates/Develop/IntermediateBuildFilesPath/Develop.build/Release-iphoneos/Develop.build/Develop-project-headers.hmap -I/var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcm0000gn/T/build3834360684307989244xxx/dist/build/Build/Intermediates/ArchiveIntermediates/Develop/BuildProductsPath/Release-iphoneos/include -I/var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcm0000gn/T/build3834360684307989244xxx/dist/Pods/Headers/Public -I/var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcm0000gn/T/build3834360684307989244xxx/dist/build/Build/Intermediates/ArchiveIntermediates/Develop/IntermediateBuildFilesPath/Develop.build/Release-iphoneos/Develop.build/DerivedSources/armv7 -I/var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcm0000gn/T/build3834360684307989244xxx/dist/build/Build/Intermediates/ArchiveIntermediates/Develop/IntermediateBuildFilesPath/Develop.build/Release-iphoneos/Develop.build/DerivedSources -F/var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcm0000gn/T/build3834360684307989244xxx/dist/build/Build/Intermediates/ArchiveIntermediates/Develop/BuildProductsPath/Release-iphoneos -isystem /var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcm0000gn/T/build3834360684307989244xxx/dist/Pods/Headers/Public -include /var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcm0000gn/T/build3834360684307989244xxx/dist/build/Build/Intermediates/ArchiveIntermediates/Develop/PrecompiledHeaders/Develop-Prefix-drzvswrlzzplyfaovoewrfyalshx/Develop-Prefix.pch -MMD -MT dependencies -MF /var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcm0000gn/T/build3834360684307989244xxx/dist/build/Build/Intermediates/ArchiveIntermediates/Develop/IntermediateBuildFilesPath/Develop.build/Release-iphoneos/Develop.build/Objects-normal/armv7/com_codename1_ui_Component.d --serialize-diagnostics /var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcm0000gn/T/build3834360684307989244xxx/dist/build/Build/Intermediates/ArchiveIntermediates/Develop/IntermediateBuildFilesPath/Develop.build/Release-iphoneos/Develop.build/Objects-normal/armv7/com_codename1_ui_Component.dia -c /var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcm0000gn/T/build3834360684307989244xxx/dist/Develop-src/com_codename1_ui_Component.m -o /var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcm0000gn/T/build3834360684307989244xxx/dist/build/Build/Intermediates/ArchiveIntermediates/Develop/IntermediateBuildFilesPath/Develop.build/Release-iphoneos/Develop.build/Objects-normal/armv7/com_codename1_ui_Component.o
/var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcm0000gn/T/build3834360684307989244xxx/dist/Develop-src/com_codename1_ui_Component.m:11217:1: error: expected statement
}
^
1 error generated.

this looks similar to a previous episode of failed builds.
i made several successful builds from the same project earlier today


If you are experiencing an issue please mention the full platform your issue applies to:
IDE: NetBeans/Eclipse/IDEA
Desktop OS
Simulator
Device

Shai Almog

unread,
Nov 11, 2016, 12:31:36 AM11/11/16
to CodenameOne Discussions
I'll need some way to reproduce this...

Dave Dyer

unread,
Nov 11, 2016, 2:18:34 PM11/11/16
to CodenameOne Discussions

There's no way to reproduce it from here.  These build failures come in clusters; repeating the
exact same build seems to eventually succeed.   My working hypothesis is that there's a
resource exhaustion problem, which is resolved when the server gets spun down and replaced.

Shai Almog

unread,
Nov 12, 2016, 12:21:08 AM11/12/16
to CodenameOne Discussions
Unfortunately I can't see this in the logs by the time I see these messages.
Message has been deleted

Dave Dyer

unread,
Nov 12, 2016, 6:34:17 PM11/12/16
to CodenameOne Discussions
I assume you're referring to some other log than the one I have access to. 

You ought to keep your logs long enough for them to be useful, but in this case I assume
the most useful information would be to retrieve the culprit com_codename1_ui_Component.m
which would be long gone.

Dave Dyer

unread,
Nov 12, 2016, 6:36:14 PM11/12/16
to CodenameOne Discussions
Assuming you have multiple servers, is there any information that would identify
which one was used in this particular case?   An obvious piece of information to
look for would be if the failed builds were all on the same server.


Shai Almog

unread,
Nov 12, 2016, 10:31:43 PM11/12/16
to CodenameOne Discussions
If they were long enough we would run out of storage space, there is some information but it's not immediately available.

Dave Dyer

unread,
Nov 12, 2016, 10:52:27 PM11/12/16
to CodenameOne Discussions

If you kept the logs but not the builds, you'd have a lot more headroom.

Also, it would be useful (in this case) if the "save sources" went ahead even if the build failed.

Shai Almog

unread,
Nov 14, 2016, 12:18:28 AM11/14/16
to CodenameOne Discussions
I am talking about the logs and not the builds. They are huge.
One of the reasons we don't return them by default is that they will slow the build process for everyone.

Dave Dyer

unread,
Nov 14, 2016, 1:24:07 AM11/14/16
to CodenameOne Discussions

Sometimes when you're looking for a problem you have to do something you don't
intend to be permanant.  If you could do it only for my account, I'd gladly take
the performance hit while we collect data.

Shai Almog

unread,
Nov 14, 2016, 11:59:00 PM11/14/16
to CodenameOne Discussions
It's priorities. This is a problem that exists in one outlier case to one developer.

If you look thru our open issues you will see that there alone we have a lot of things to fix that are crucial to everyone.
There are also quite a lot of tasks for enterprise developers that aren't public but get done.
Reply all
Reply to author
Forward
0 new messages