On 13/02/2016 18:21, Wolfgang Rosenauer wrote:
Am 13.02.2016 um 16:43 schrieb Dave Plater:
On 12/02/2016 20:32, Wolfgang Rosenauer wrote:
Hi,
since Firefox 44 I have severe issues building it in OBS. Currently I'm trying to prepare 44.0.2 and it basically fails everywhere for reasons not totally clear to me. There are different build failures not always reproducible. If it's not an out of memory as below it is a very strange other error you find at the bottom:
Examples: https://build.opensuse.org/build/mozilla:Factory/openSUSE_Factory/i586/Mozil...
[ 1130s] [ 1115.084681] Out of memory: Kill process 23582 (cc1plus) score 146 or sacrifice child [ 1130s] [ 1115.086356] Killed process 23582 (cc1plus) total-vm:787324kB, anon-rss:205252kB, file-rss:0kB [ 1134s] {standard input}: Assembler messages: [ 1134s] {standard input}:493902: Warning: end of file not at end of a line; newline inserted [ 1134s] {standard input}:493962: Error: unbalanced parenthesis in operand 1. [ 1169s] {standard input}: Error: open CFI at the end of file; missing .cfi_endproc directive [ 1171s] c++: internal compiler error: Killed (program cc1plus) [ 1171s] Please submit a full bug report, [ 1171s] with preprocessed source if appropriate.
https://build.opensuse.org/build/mozilla:Factory/openSUSE_Factory/x86_64/Moz...
[ 3179s] ERROR: link target doesn't exist (neither in build root nor in installed system): [ 3179s] /usr/lib/debug/.build-id/32/872edd419c96970ed2daa4c0a4f6a04f94c0dc.debug -> /usr/lib/debug/usr/lib64/firefox/libxul.so.debug [ 3179s] Add the package providing the target to BuildRequires and Requires [ 3179s] INFO: relinking /usr/bin/firefox -> ../lib64/firefox/firefox.sh (was ../../usr/lib64/firefox/firefox.sh) [ 3179s] INFO: relinking /usr/share/pixmaps/firefox.png -> ../../lib64/firefox/browser/icons/mozicon128.png (was /usr/lib64/firefox/browser/icons/mozicon128.png) [ 3179s] INFO: relinking /usr/share/pixmaps/firefox-gnome.png -> ../../lib64/firefox/browser/icons/mozicon128.png (was /usr/lib64/firefox/browser/icons/mozicon128.png) [ 3179s] error: Bad exit status from /var/tmp/rpm-tmp.1i9Jyt (%install) [ 3179s]
Retriggering builds fixes them eventually. But it's like really working 1 time out of 6 or something like this which is quite annoying.
Somehow it seems related to memory usage. I could try to disable debuginfo but not sure if that is appropriate. Any other ideas?
Wolfgang You need to add a _constraints file to get more memory for the build, I was having similar problems with blender a while ago.
There is already one:
I even increased the size from 5000 to 6000 when it started to fail:
<memory> <size unit="M">6000</size> </memory>
Somehow I think 6GB should be enough, shouldn't it?
Wolfgang
sorry I missed a part: # A further attempt to stop out of memory failures. export jobs=$(getconf _NPROCESSORS_ONLN) %define jobs %(echo $jobs) %if 0%{?jobs} > 2 %define _smp_mflags -j2 %endif make %{?_smp_mflags} -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org