Tiny Core Linux
Tiny Core Base => TCB Bugs => Topic started by: adb014 on June 16, 2025, 07:19:05 AM
-
While trying to rebuild busybox I note that the glibc_base_dev package in TC16 is missing the /usr/include/crypt.h file which causes the build to fail. This file is however mentioned in the provides.db file for TC16 in this file.
-
If you look here:
http://tinycorelinux.net/16.x/x86/tcz/glibc_base-dev.tcz.list
crypt.h is not listed.
libxcrypt_base-dev provides crypt.h and is a recursive dep of compiletc
-
Ok its not in the file you list, but it is in the provides.db
$ curl http://tinycorelinux.net/16.x/x86/tcz/provides.db | grep /usr/include/crypt.h
/usr/include/crypt.h
$less provides.db
...
glibc_base-dev.tcz
...
/usr/include/crypt.h
and it is needed for a rebuild of busybox. So either its missing from the TC16 version of glibc_base-dev (it was in TC15) or its moved and is not listed in provides.db
-
libxcrypt_base-dev is not in provides.db so difficult to find
-
From:
http://tinycorelinux.net/16.x/x86/tcz/provides.db
libxcrypt_base-dev.tcz
/usr/include/crypt.h
/usr/include/xcrypt.h
/usr/lib/pkgconfig/libcrypt.pc
/usr/lib/pkgconfig/libxcrypt.pc
-
Hi adb014
I just tried your command, but added -C5 to grep:
tc@E310:~$ curl http://tinycorelinux.net/16.x/x86/tcz/provides.db | grep -C5 /usr/include/crypt.h
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
1 19.0M 1 296k 0 0 389k 0 0:00:50 --:--:-- 0:00:50 389k/usr/local/lib/libXcomposite.so
/usr/local/lib/libXcomposite.so.1
/usr/local/lib/libXcomposite.so.1.0.0
libxcrypt_base-dev.tcz
/usr/include/crypt.h
/usr/include/xcrypt.h
/usr/lib/pkgconfig/libcrypt.pc
/usr/lib/pkgconfig/libxcrypt.pc
libXcursor-dev.tcz
100 19.0M 100 19.0M 0 0 7421k 0 0:00:02 0:00:02 --:--:-- 7424k
tc@E310:~$
It shows "/usr/include/crypt.h" was found exactly once
and it is part of "libxcrypt_base-dev.tcz".
I also checked the time stamp of provides.db, it's Jun 14 15:16.
Is it possible your system is caching an older version of provides.db?
-
I rm'ed the provides.db and restarted and efefctively it found the libxcrypt-dev package