WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

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

Offline cochon

  • Newbie
  • *
  • Posts: 16
bind.tcz (x86 8.0) dependency list incorrect (libjson-c.tcz?)
« on: August 28, 2017, 11: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

  • Hero Member
  • *****
  • Posts: 1036
Re: bind.tcz (x86 8.0) dependency list incorrect (libjson-c.tcz?)
« Reply #1 on: August 28, 2017, 11: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: 1229
Re: bind.tcz (x86 8.0) dependency list incorrect (libjson-c.tcz?)
« Reply #2 on: August 28, 2017, 01:24:30 PM »
bind needs xml nowadays? that seems so wrong!
perhaps somebody should make a djbdns package :D

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11573
Re: bind.tcz (x86 8.0) dependency list incorrect (libjson-c.tcz?)
« Reply #3 on: August 28, 2017, 02:43:21 PM »
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

  • Newbie
  • *
  • Posts: 16
Re: bind.tcz (x86 8.0) dependency list incorrect (libjson-c.tcz?)
« Reply #4 on: August 28, 2017, 03:24:55 PM »
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: 1229
Re: bind.tcz (x86 8.0) dependency list incorrect (libjson-c.tcz?)
« Reply #5 on: August 28, 2017, 03:28:58 PM »
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

  • Hero Member
  • *****
  • Posts: 1036
Re: bind.tcz (x86 8.0) dependency list incorrect (libjson-c.tcz?)
« Reply #6 on: August 28, 2017, 05: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: 14790
Re: bind.tcz (x86 8.0) dependency list incorrect (libjson-c.tcz?)
« Reply #7 on: August 29, 2017, 02:33:15 AM »
tc-8.x x86 bind dep file adjusted

Offline hiro

  • Hero Member
  • *****
  • Posts: 1229
Re: bind.tcz (x86 8.0) dependency list incorrect (libjson-c.tcz?)
« Reply #8 on: August 29, 2017, 04: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.