Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 May 2021 13:38:37 +0200
From:      Jakob Alvermark <jakob@alvermark.net>
To:        current@freebsd.org
Subject:   Re: Build fails with Filesize limit exceeded
Message-ID:  <06d59c7e-9d85-5594-615a-3ed98aef6ab7@alvermark.net>
In-Reply-To: <YLDTuQCOwZf6t%2BnM@albert.catwhisker.org>
References:  <49db89ac-a564-dd76-145b-b5f94abdc1ab@alvermark.net> <YLDTuQCOwZf6t%2BnM@albert.catwhisker.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On 5/28/21 1:27 PM, David Wolfskill wrote:
> On Fri, May 28, 2021 at 01:11:06PM +0200, Jakob Alvermark wrote:
>> Hi,
>>
>>
>> Building -current fails like this:
>>
>> --- kerberos5/lib/libasn1__L ---
>> Building
>> /usr/obj/usr/src/amd64.amd64/kerberos5/lib/libasn1/asn1_kx509_asn1.x
>> Building
>> /usr/obj/usr/src/amd64.amd64/kerberos5/lib/libasn1/asn1_rfc2459_asn1.c
>> Building /usr/obj/usr/src/amd64.amd64/kerberos5/lib/libasn1/rfc2459_asn1.h
>> Building
>> /usr/obj/usr/src/amd64.amd64/kerberos5/lib/libasn1/rfc2459_asn1-priv.h
>> --- rfc2459_asn1-priv.h ---
>> Filesize limit exceeded
>> *** [rfc2459_asn1-priv.h] Error code 153
>> make[4]: *** rfc2459_asn1-priv.h removed
>>
>> make[4]: stopped in /usr/src/kerberos5/lib/libasn1
>> .ERROR_TARGET='rfc2459_asn1-priv.h'
>> .ERROR_META_FILE='/usr/obj/usr/src/amd64.amd64/kerberos5/lib/libasn1/rfc2459_asn1-priv.h.meta'
>> .MAKE.LEVEL='4'
>> MAKEFILE=''
>> .MAKE.MODE='meta missing-filemon=yes missing-meta=yes silent=yes verbose'
>> _ERROR_CMD='cp -f rfc2459_asn1-priv.hx rfc2459_asn1-priv.h;'
>> .CURDIR='/usr/src/kerberos5/lib/libasn1'
>> ...
>>
>> make: stopped in /usr/src
>>
>>
>>
>> I have tried clearing /usr/obj and restarting the build. I does not help.
>>
>> I checked out c235059bb7e, which is what I'm currently running, but
>> that's not building either, same error, which I find strange since I
>> obviously build it before.
>>
>> What's going on here?
>> ....
> Not sure; I don't see that, and I just finished doing in-place source
> updates from main-n246951-38e7025a60b2 to main-n246995-c0f171736a70 on 3
> machines without issue -- also using META_MODE, as you are.
>
> You might want to see if that .ERROR_META_FILE has any useful hints in
> it.
>
> FWIW, looks as if c235059bb7e corresponds to main-n246842-c235059bb7e6;
> checking my update history, I updated from main-n246829-42881526d401 to
> main-n246861-ef0f7ae934b0 last Sunday (23 May).


The .ERROR_META_FILE looks like this:

# Meta data file 
/usr/obj/usr/src/amd64.amd64/kerberos5/lib/libasn1/rfc2459_asn1
-priv.h.meta
CMD cp -f rfc2459_asn1-priv.hx rfc2459_asn1-priv.h
CWD /usr/obj/usr/src/amd64.amd64/kerberos5/lib/libasn1
TARGET rfc2459_asn1-priv.h
OODATE rfc2459_asn1-priv.hx
-- command output --
Filesize limit exceeded

*** Error code 153

-- filemon acquired metadata --
# filemon version 5
# Target pid 2712
# Start 1622199976.763651
V 5
E 2739 /bin/sh
R 2739 /etc/libmap.conf
R 2739 /var/run/ld-elf.so.hints
R 2739 /lib/libedit.so.8
R 2739 /lib/libc.so.7
R 2739 /lib/libncursesw.so.9
R 2739 /usr/share/locale/C.UTF-8/LC_CTYPE
F 2739 2740
E 2740 /usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/sbin/cp
R 2740 /etc/libmap.conf
R 2740 /var/run/ld-elf.so.hints
R 2740 /lib/libc.so.7
R 2740 rfc2459_asn1-priv.hx
W 2740 rfc2459_asn1-priv.h
X 2740 0 25
X 2739 153 0
# Stop 1622199976.768649
# Bye bye



Doing:

# cd /usr/obj/usr/src/amd64.amd64/kerberos5/lib/libasn1

and:

# cp -f rfc2459_asn1-priv.hx rfc2459_asn1-priv.h

Gives me:

Filesize limit exceeded

# ls -l rfc2459_asn1-priv.hx rfc2459_asn1-priv.h
-rw-r--r--  1 root  wheel  0 May 28 13:29 rfc2459_asn1-priv.h
-rw-r--r--  1 root  wheel  0 May 28 13:06 rfc2459_asn1-priv.hx

Hmmm...?


Jakob




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?06d59c7e-9d85-5594-615a-3ed98aef6ab7>