Port-atari archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: install image overflow
martin@ wrote:
> # create install/sysinst.fs
> Calculated size of `sysinst.fs.tmp': 1474560 bytes, 400 inodes
> Extent size set to 4096
> sysinst.fs.tmp: 1.4MB (2880 sectors) block size 4096, fragment size 512
> using 1 cylinder groups of 1.41MB, 360 blks, 416 inodes.
> super-block backups (for fsck -b #) at:
> 32,nbmakefs: Writing inode 392 (work/./usr/share/keymaps/atari/de.map), bytes 0 + 1279: No space left on device
>
>
> (the error is slightly hidden in the bulk build results, and a local build
> with a short source path works, so it must be pretty tight)
It looks there are so many assert(3) which includes real
absolute source file pathnames in libc:
---
% strings obj.atari/instbin | grep usr/src
/usr/src/bin/cp/cp.c
/usr/src/bin/df/df.c
/usr/src/sys/kern/vfs_wapbl.c
/usr/src/distrib/utils/x_ifconfig/../../../sbin/ifconfig/ieee80211.c
/usr/src/distrib/utils/x_ifconfig/../../../sbin/ifconfig/ifconfig.c
/usr/src/distrib/utils/x_ifconfig/../../../sbin/ifconfig/media.c
/usr/src/usr.bin/ftp/fetch.c
/usr/src/usr.bin/ftp/ftp.c
/usr/src/common/lib/libprop/prop_string.c
/usr/src/common/lib/libprop/prop_object.c
/usr/src/common/lib/libprop/prop_number.c
/usr/src/common/lib/libprop/prop_dictionary.c
/usr/src/common/lib/libprop/prop_data.c
/usr/src/common/lib/libprop/prop_bool.c
/usr/src/common/lib/libprop/prop_array.c
/usr/src/common/lib/libprop/prop_stack.c
/usr/src/lib/libc/termios/tcsetpgrp.c
/usr/src/lib/libc/termios/tcgetpgrp.c
/usr/src/lib/libc/termios/cfsetospeed.c
/usr/src/lib/libc/termios/cfsetispeed.c
/usr/src/lib/libc/termios/cfmakeraw.c
/usr/src/lib/libc/termios/cfgetospeed.c
/usr/src/lib/libc/termios/cfgetispeed.c
/usr/src/lib/libc/string/strmode.c
/usr/src/lib/libc/stdlib/unsetenv.c
/usr/src/lib/libc/../../common/lib/libc/stdlib/_strtoul.h
/usr/src/lib/libc/../../common/lib/libc/stdlib/_strtoi.h
/usr/src/lib/libc/stdlib/strsuftoll.c
/usr/src/lib/libc/stdlib/getopt_long.c
/usr/src/lib/libc/stdlib/getopt.c
/usr/src/lib/libc/stdlib/atol.c
/usr/src/lib/libc/stdlib/atof.c
/usr/src/lib/libc/stdio/setbuf.c
/usr/src/lib/libc/stdio/mkstemp.c
/usr/src/lib/libc/stdio/fpurge.c
/usr/src/lib/libc/stdio/fgetc.c
/usr/src/lib/libc/regex/engine.c
/usr/src/lib/libc/regex/regexec.c
/usr/src/lib/libc/regex/regerror.c
"s/usr/src/lib/libc/regex/regcomp.c
/usr/src/lib/libc/net/linkaddr.c
0123456789abcdef/usr/src/lib/libc/net/ethers.c
/usr/src/lib/libc/gen/times.c
/usr/src/lib/libc/gen/setmode.c
/usr/src/lib/libc/gen/sethostname.c
/usr/src/lib/libc/gen/popen.c
/usr/src/lib/libc/gen/humanize_number.c
/usr/src/lib/libc/gen/glob.c
/usr/src/lib/libc/gen/getpass.c
/usr/src/lib/libc/gen/getmntinfo.c
/usr/src/lib/libc/gen/fstab.c
/usr/src/lib/libc/gen/disklabel.c
/usr/src/lib/libc/termios/tcsetattr.c
/usr/src/lib/libc/string/wmemcpy.c
/usr/src/lib/libc/string/stresep.c
/usr/src/lib/libc/stdlib/setenv.c
/usr/src/lib/libc/stdio/sscanf.c
/usr/src/lib/libc/stdio/setvbuf.c
/usr/src/lib/libc/stdio/gettemp.c
/usr/src/lib/libc/stdio/fputwc.c
/usr/src/lib/libc/stdio/fgetwc.c
/usr/src/lib/libc/regex/regfree.c
/usr/src/lib/libc/inet/inet_network.c
/usr/src/lib/libc/gen/unvis.c
/usr/src/lib/libc/gen/pwcache.c
/usr/src/lib/libc/gen/getcap.c
/usr/src/lib/libc/gen/execvp.c
/usr/src/lib/libc/string/wmemchr.c
/usr/src/lib/libc/stdio/vsscanf.c
/usr/src/lib/libc/stdio/vfscanf.c
/usr/src/lib/libc/stdio/ungetc.c
/usr/src/lib/libc/gen/vis.c
/usr/src/lib/libc/gen/stringlist.c
/usr/src/lib/libc/gen/fts.c
/usr/src/lib/libc/gen/closedir.c
/usr/src/lib/libc/string/wcslen.c
/usr/src/lib/libc/string/wcschr.c
/usr/src/lib/libc/../../common/lib/libc/string/strsep.c
/usr/src/lib/libc/string/strcoll.c
/usr/src/lib/libc/../../common/lib/libc/stdlib/_strtol.h
/usr/src/lib/libc/locale/iswctype_mb.c
/usr/src/lib/libc/citrus/citrus_ctype.h
/usr/src/lib/libc/locale/multibyte.h
/usr/src/lib/libc/gen/opendir.c
/usr/src/lib/libc/gen/initdir.c
/usr/src/lib/libc/gen/alphasort.c
/usr/src/lib/libc/stdlib/merge.c
/usr/src/lib/libc/gen/telldir.c
/usr/src/lib/libc/gen/getdomainname.c
JanFebMarAprMayJunJulAugSepOctNovDecSunMonTueWedThuFriSat/usr/src/lib/libc/termios/tcgetattr.c
/usr/src/lib/libc/stdio/vsnprintf.c
/usr/src/lib/libc/../../common/lib/libc/string/strlcpy.c
/usr/src/lib/libc/../../common/lib/libc/string/strlcat.c
/usr/src/lib/libc/string/strdup.c
/usr/src/lib/libc/../../common/lib/libc/string/strncasecmp.c
/usr/src/lib/libc/stdlib/jemalloc.c
/usr/src/lib/libc/../../common/lib/libc/stdlib/random.c
/usr/src/lib/libc/stdlib/qsort.c
/usr/src/lib/libc/stdlib/getenv.c
/usr/src/lib/libc/stdlib/_env.c
/usr/src/lib/libc/stdio/vfwprintf.c
/usr/src/lib/libc/arch/m68k/gen/fpclassifyl.c
/usr/src/lib/libc/stdio/fprintf.c
/usr/src/lib/libc/gen/arc4random.c
expand 32-byte k/usr/src/lib/libc/string/strtok_r.c
/usr/src/lib/libc/gen/getpagesize.c
/usr/src/lib/libc/net/getnameinfo.c
/usr/src/lib/libc/net/getaddrinfo.c
/usr/src/lib/libc/net/getservbyname_r.c
/usr/src/lib/libc/stdio/vasprintf.c
/usr/src/lib/libc/net/getifaddrs.c
/usr/src/lib/libc/stdlib/atoi.c
/usr/src/lib/libc/stdio/fgets.c
/usr/src/lib/libc/resolv/res_debug.c
/usr/src/lib/libc/nameser/ns_print.c
/usr/src/lib/libc/nameser/ns_parse.c
/usr/src/lib/libc/net/base64.c
/usr/src/lib/libc/inet/nsap_addr.c
/usr/src/lib/libc/nameser/ns_ttl.c
/usr/src/lib/libc/stdio/rewind.c
/usr/src/lib/libc/net/gethnamaddr.c
/usr/src/lib/libc/inet/inet_pton.c
/usr/src/lib/libc/inet/inet_ntop.c
/usr/src/lib/libc/stdio/fseeko.c
/usr/src/lib/libc/stdio/fparseln.c
/usr/src/lib/libc/stdio/fgetstr.c
/usr/src/lib/libc/resolv/res_comp.c
/usr/src/lib/libc/nameser/ns_name.c
/usr/src/lib/libc/stdio/vsprintf.c
/usr/src/lib/libc/stdio/getdelim.c
/usr/src/lib/libc/net/nsdispatch.c
/usr/src/lib/libc/../../common/lib/libc/string/strcasecmp.c
/usr/src/lib/libc/stdlib/bsearch.c
/usr/src/lib/libc/stdlib/atexit.c
/usr/src/lib/libc/stdio/fread.c
/usr/src/lib/libc/stdio/fopen.c
/usr/src/lib/libc/stdio/ferror.c
/usr/src/lib/libc/stdio/wbuf.c
Q/usr/src/lib/libc/string/strndup.c
/usr/src/lib/libc/locale/_wctype.c
/usr/src/lib/libc/locale/_wctrans.c
/usr/src/lib/libc/gen/gethostname.c
/usr/src/lib/libc/citrus/citrus_none.c
/usr/src/lib/libc/stdio/fdopen.c
/usr/src/lib/libc/stdio/flags.c
/usr/src/lib/libc/stdio/fclose.c
/usr/src/lib/libc/stdio/rget.c
/usr/src/lib/libc/stdio/refill.c
/usr/src/lib/libc/stdio/makebuf.c
/usr/src/lib/libc/db/hash/hash.c
/usr/src/lib/libc/db/btree/bt_open.c
/usr/src/lib/libc/db/btree/btree.h
/usr/src/lib/libc/db/hash/hash_buf.c
/usr/src/lib/libc/db/btree/bt_split.c
/usr/src/lib/libc/stdio/fvwrite.c
/usr/src/lib/libc/stdio/fflush.c
/usr/src/lib/libc/dlfcn/dlfcn_elf.c
/usr/src/lib/libc/stdio/wsetup.c
/usr/src/lib/libc/stdio/vsnprintf_ss.c
/usr/src/lib/libc/stdio/stdio.c
/usr/src/lib/libc/stdio/fwalk.c
/usr/src/lib/libc/resolv/res_mkquery.c
/usr/src/lib/libc/stdio/fileno.c
/usr/src/lib/libc/../../common/lib/libc/md/md5c.c
/usr/src/lib/libc/net/sethostent.c
/usr/src/lib/libc/net/nsparser.y
/usr/src/lib/libc/stdio/clrerr.c
/usr/src/lib/libc/db/recno/rec_delete.c
/usr/src/lib/libc/db/recno/../btree/btree.h
/usr/src/lib/libc/stdio/getc.c
/usr/src/lib/libc/db/hash/hash_page.c
/usr/src/lib/libc/db/hash/hash_bigkey.c
---
(I'm not sure if MKREPRO handles __FILE__ pathnames in assert(3) though)
We can remove the first 8 assert(3) by adding -DNDEBUG in
src/distrib/atari/floppies/common/Makefile.inc, but
all other ones are pulled from ${DISTDIR}/usr/src/libc/libc.a.
I wonder if it's worth to move more functions from libc into
distrib/utils/libhack to disable assert(3) in installation binaries
for poor ports..
---
Izumi Tsutsui
Home |
Main Index |
Thread Index |
Old Index