WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: glibc_base-dev missing /usr/include/crypt.h  (Read 415 times)

Offline adb014

  • Newbie
  • *
  • Posts: 22
glibc_base-dev missing /usr/include/crypt.h
« 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.

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 15217
Re: glibc_base-dev missing /usr/include/crypt.h
« Reply #1 on: June 16, 2025, 07:40:34 AM »
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

Offline adb014

  • Newbie
  • *
  • Posts: 22
Re: glibc_base-dev missing /usr/include/crypt.h
« Reply #2 on: June 16, 2025, 08:04:29 AM »

Ok its not in the file you list, but it is in the provides.db

Code: [Select]
$ 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

Offline adb014

  • Newbie
  • *
  • Posts: 22
Re: glibc_base-dev missing /usr/include/crypt.h
« Reply #3 on: June 16, 2025, 08:09:13 AM »
libxcrypt_base-dev is not in provides.db so difficult to find

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 15217
Re: glibc_base-dev missing /usr/include/crypt.h
« Reply #4 on: June 16, 2025, 08:20:59 AM »
From:

http://tinycorelinux.net/16.x/x86/tcz/provides.db

Code: [Select]
libxcrypt_base-dev.tcz
/usr/include/crypt.h
/usr/include/xcrypt.h
/usr/lib/pkgconfig/libcrypt.pc
/usr/lib/pkgconfig/libxcrypt.pc

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 12196
Re: glibc_base-dev missing /usr/include/crypt.h
« Reply #5 on: June 16, 2025, 08:23:10 AM »
Hi adb014
I just tried your command, but added -C5 to grep:
Code: [Select]
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?

Offline adb014

  • Newbie
  • *
  • Posts: 22
Re: glibc_base-dev missing /usr/include/crypt.h
« Reply #6 on: June 16, 2025, 08:39:51 AM »
I rm'ed the provides.db and restarted and efefctively it found the libxcrypt-dev package