[opensuse-buildservice] MemoryCrash with rpmlint (32bit)

Hi, At this moment I am receiving a memorycrash for rpmlint when building chromium. The buildlog shows: [ 9524s] + rpmlint_logfile=/home/abuild/rpmbuild/OTHER/rpmlint.log [ 9524s] + rm -f //home/abuild/rpmbuild/OTHER/rpmlint.log [ 9524s] + ret=0 [ 9524s] + mount -n -tproc none //proc [ 9524s] + su -s /opt/testing/bin/rpmlint abuild -- --info //home/abuild/rpmbuild/RPMS/i586/chromium-beta- ffmpegsumo-39.0.2171.42-1.3.i586.rpm //home/abuild/rpmbuild/RPMS/i586/chromium- beta-39.0.2171.42-1.3.i586.rpm //home/abuild/rpmbuild/RPMS/i586/chromium-beta- desktop-gnome-39.0.2171.42-1.3.i586.rpm //home/abuild/rpmbuild/RPMS/i586/chromedriver-39.0.2171.42-1.3.i586.rpm //home/abuild/rpmbuild/RPMS/i586/chromium-beta-desktop- kde-39.0.2171.42-1.3.i586.rpm //home/abuild/rpmbuild/SRPMS/chromium- beta-39.0.2171.42-1.3.src.rpm [ 9745s] Traceback (most recent call last): [ 9745s] File "rpmlint.py", line 384, in <module> [ 9745s] File "rpmlint.py", line 169, in main [ 9745s] File "rpmlint.py", line 231, in runChecks [ 9745s] File "BinariesCheck.py", line 382, in check [ 9745s] File "BinariesCheck.py", line 179, in __init__ [ 9745s] File "Pkg.py", line 93, in getstatusoutput [ 9745s] MemoryError [ 9745s] + ret=1 [ 9745s] + cat //home/abuild/rpmbuild/OTHER/rpmlint.log [ 9745s] 1 packages and 0 specfiles checked; 0 errors, 2 warnings. This is however only for the i586 buildhosts and I would like to know how I can resolve this ? I already have a _constraints file that is requesting 4Gb of memory, but I can't imagine that rpmlint requires more. The 64bit builds goes fine. Thanks Regards Raymond ----------------------------------------- -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org

On Mittwoch, 5. November 2014, 12:52:10 wrote Raymond Wooninck:
Hi,
At this moment I am receiving a memorycrash for rpmlint when building chromium. The buildlog shows:
[ 9524s] + rpmlint_logfile=/home/abuild/rpmbuild/OTHER/rpmlint.log [ 9524s] + rm -f //home/abuild/rpmbuild/OTHER/rpmlint.log [ 9524s] + ret=0 [ 9524s] + mount -n -tproc none //proc [ 9524s] + su -s /opt/testing/bin/rpmlint abuild -- --info //home/abuild/rpmbuild/RPMS/i586/chromium-beta- ffmpegsumo-39.0.2171.42-1.3.i586.rpm //home/abuild/rpmbuild/RPMS/i586/chromium- beta-39.0.2171.42-1.3.i586.rpm //home/abuild/rpmbuild/RPMS/i586/chromium-beta- desktop-gnome-39.0.2171.42-1.3.i586.rpm //home/abuild/rpmbuild/RPMS/i586/chromedriver-39.0.2171.42-1.3.i586.rpm //home/abuild/rpmbuild/RPMS/i586/chromium-beta-desktop- kde-39.0.2171.42-1.3.i586.rpm //home/abuild/rpmbuild/SRPMS/chromium- beta-39.0.2171.42-1.3.src.rpm [ 9745s] Traceback (most recent call last): [ 9745s] File "rpmlint.py", line 384, in <module> [ 9745s] File "rpmlint.py", line 169, in main [ 9745s] File "rpmlint.py", line 231, in runChecks [ 9745s] File "BinariesCheck.py", line 382, in check [ 9745s] File "BinariesCheck.py", line 179, in __init__ [ 9745s] File "Pkg.py", line 93, in getstatusoutput [ 9745s] MemoryError [ 9745s] + ret=1 [ 9745s] + cat //home/abuild/rpmbuild/OTHER/rpmlint.log [ 9745s] 1 packages and 0 specfiles checked; 0 errors, 2 warnings.
This is however only for the i586 buildhosts and I would like to know how I can resolve this ? I already have a _constraints file that is requesting 4Gb of memory, but I can't imagine that rpmlint requires more. The 64bit builds goes fine.
Since all of this is inside the build root, it depends heavily on the distribution. It is the distribution which comes with these checks. Do you observe it only on some of them? -- Adrian Schroeter email: adrian@suse.de SUSE LINUX GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 21284 (AG Nürnberg) Maxfeldstraße 5 90409 Nürnberg Germany -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org

On Wednesday 2014-11-05 12:52, Raymond Wooninck wrote:
[ 9524s] + rpmlint_logfile=/home/abuild/rpmbuild/OTHER/rpmlint.log [ 9524s] + rm -f //home/abuild/rpmbuild/OTHER/rpmlint.log [ 9524s] + ret=0 [ 9524s] + mount -n -tproc none //proc [ 9524s] + su -s /opt/testing/bin/rpmlint abuild -- --info //home/abuild/rpmbuild/RPMS/i586/chromium-beta- ffmpegsumo-39.0.2171.42-1.3.i586.rpm //home/abuild/rpmbuild/RPMS/i586/chromium- beta-39.0.2171.42-1.3.i586.rpm //home/abuild/rpmbuild/RPMS/i586/chromium-beta- desktop-gnome-39.0.2171.42-1.3.i586.rpm //home/abuild/rpmbuild/RPMS/i586/chromedriver-39.0.2171.42-1.3.i586.rpm //home/abuild/rpmbuild/RPMS/i586/chromium-beta-desktop- kde-39.0.2171.42-1.3.i586.rpm //home/abuild/rpmbuild/SRPMS/chromium- beta-39.0.2171.42-1.3.src.rpm [ 9745s] Traceback (most recent call last): [ 9745s] File "rpmlint.py", line 384, in <module> [ 9745s] File "rpmlint.py", line 169, in main [ 9745s] File "rpmlint.py", line 231, in runChecks [ 9745s] File "BinariesCheck.py", line 382, in check [ 9745s] File "BinariesCheck.py", line 179, in __init__ [ 9745s] File "Pkg.py", line 93, in getstatusoutput [ 9745s] MemoryError [ 9745s] + ret=1 [ 9745s] + cat //home/abuild/rpmbuild/OTHER/rpmlint.log [ 9745s] 1 packages and 0 specfiles checked; 0 errors, 2 warnings.
This is however only for the i586 buildhosts and I would like to know how I can resolve this ? I
I've seen something very recently, too: When Chromium is built with -ggdb3 and the default (bfd) linker in a 4GB (32-b) environment, I get a memory allocation failure in ld already - it does not even get to rpmlint. Yes, it's that big. Possible workarounds is using gcc's -gsplit-dwarf, but RPM does not support handling the so-generated files yet. [ http://www.rpm.org/ticket/879 ] -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org

On Wednesday 05 November 2014 13:34:44 Jan Engelhardt wrote:
I've seen something very recently, too: When Chromium is built with -ggdb3 and the default (bfd) linker in a 4GB (32-b) environment, I get a memory allocation failure in ld already - it does not even get to rpmlint. Yes, it's that big.
I know as that I am maintaining the chromium packages for openSUSE. For the chromium build itself the solution is to build with shared libraries which drops the memory requirements for the link process or to use the gold linker.
Possible workarounds is using gcc's -gsplit-dwarf, but RPM does not support handling the so-generated files yet. [ http://www.rpm.org/ticket/879 ]
This error occurs when the full build process is finished and rpmlint is started to show what errors/warnings it has detected. So Chromium is already build, installed, etc. It is just rpmlint going through logfiles and then crashing. I have this for all openSUSE releases (12.3, 13.1 and Factory) in the network:chromium repository. Regards Raymond -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (3)
-
Adrian Schröter
-
Jan Engelhardt
-
Raymond Wooninck