WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: bind.tcz (x86 8.0) dependency list incorrect (libjson-c.tcz?)  (Read 180 times)

Offline cochon

  • WikiUser
  • *
  • Posts: 11
bind.tcz (x86 8.0) dependency list incorrect (libjson-c.tcz?)
« on: August 28, 2017, 07:03:09 AM »
As per subject, the x86 8.0 dependency list for bind.tcz includes non-existent libjson-c.tcz, the x86_64 branch seems to be correct.

[cochon@host ~]$ curl http://repo.tinycorelinux.net/8.x/x86/tcz/bind.tcz.dep
libcap.tcz
openssl.tcz
libxml2.tcz
libjson-c.tcz
[cochon@host ~]$ curl http://repo.tinycorelinux.net/8.x/x86_64/tcz/bind.tcz.dep
libcap.tcz
openssl.tcz
libxml2.tcz
json-c.tcz

I'm not sure which, if any, bind components actually needs the json libraries at all, but that's another matter.


Offline andyj

  • Sr. Member
  • ****
  • Posts: 462
Re: bind.tcz (x86 8.0) dependency list incorrect (libjson-c.tcz?)
« Reply #1 on: August 28, 2017, 07:27:56 AM »
You are correct, libxml2 and libjson-c are not required for bind on 32-bit. I don't recall off the top of my head but probably because the build failed and I haven't had the time to research it. On 64-bit they add the ability to dump live status info in xml or json formats.

Offline hiro

  • Hero Member
  • *****
  • Posts: 1065
Re: bind.tcz (x86 8.0) dependency list incorrect (libjson-c.tcz?)
« Reply #2 on: August 28, 2017, 09:24:30 AM »
bind needs xml nowadays? that seems so wrong!
perhaps somebody should make a djbdns package :D

Offline Rich

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 5385
Re: bind.tcz (x86 8.0) dependency list incorrect (libjson-c.tcz?)
« Reply #3 on: August 28, 2017, 10:43:21 AM »
Hi hiro
According to this:
http://www.linuxfromscratch.org/blfs/view/cvs/server/bind.html
all the dependencies are optional, except  json-c  which is not even mentioned.

Offline cochon

  • WikiUser
  • *
  • Posts: 11
Re: bind.tcz (x86 8.0) dependency list incorrect (libjson-c.tcz?)
« Reply #4 on: August 28, 2017, 11:24:55 AM »
I suppose it depends on whether the xml/json functionality is 'optionally' linked in to the build by the package maintainer.

The purpose of my post was more to point out that the package name in the x86 dependency list needs changing from libjson-c.tcz to json-c.tcz in any event, even if it's temporarily not actually needed.

At the moment it's not possible to install the bind package under 8.0 x86 without manual intervention, as tce-load fails the dependency check looking for the misnamed json package, which does actually exist as json-c.tcz in the x86 repo.

Offline hiro

  • Hero Member
  • *****
  • Posts: 1065
Re: bind.tcz (x86 8.0) dependency list incorrect (libjson-c.tcz?)
« Reply #5 on: August 28, 2017, 11:28:58 AM »
i guess that makes the x86 branch the more correct one. thanks, rich.

for the time being you might want to take the older bind package that got compiled for tc5...

Offline andyj

  • Sr. Member
  • ****
  • Posts: 462
Re: bind.tcz (x86 8.0) dependency list incorrect (libjson-c.tcz?)
« Reply #6 on: August 28, 2017, 01:45:07 PM »
Is the ability to get status from named while it's running that much of a problem? If nobody wants it I'll drop it.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 9452
Re: bind.tcz (x86 8.0) dependency list incorrect (libjson-c.tcz?)
« Reply #7 on: August 28, 2017, 10:33:15 PM »
tc-8.x x86 bind dep file adjusted

Offline hiro

  • Hero Member
  • *****
  • Posts: 1065
Re: bind.tcz (x86 8.0) dependency list incorrect (libjson-c.tcz?)
« Reply #8 on: August 29, 2017, 12:25:22 AM »
andyj, personally i'd disable non-essential options for the default extension.
it used to be common here to make a second extension with all kinds of bells and whistles in cases where some bloated features were anyway really needed by some few people.