WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

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

Offline cochon

  • Newbie
  • *
  • Posts: 16
bind.tcz (x86 8.0) dependency list incorrect (libjson-c.tcz?)
« on: August 28, 2017, 08: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: 1020
Re: bind.tcz (x86 8.0) dependency list incorrect (libjson-c.tcz?)
« Reply #1 on: August 28, 2017, 08: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: 1217
Re: bind.tcz (x86 8.0) dependency list incorrect (libjson-c.tcz?)
« Reply #2 on: August 28, 2017, 10:24:30 AM »
bind needs xml nowadays? that seems so wrong!
perhaps somebody should make a djbdns package :D

Offline Rich

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

  • Newbie
  • *
  • Posts: 16
Re: bind.tcz (x86 8.0) dependency list incorrect (libjson-c.tcz?)
« Reply #4 on: August 28, 2017, 12: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: 1217
Re: bind.tcz (x86 8.0) dependency list incorrect (libjson-c.tcz?)
« Reply #5 on: August 28, 2017, 12: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: 1020
Re: bind.tcz (x86 8.0) dependency list incorrect (libjson-c.tcz?)
« Reply #6 on: August 28, 2017, 02: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: 14516
Re: bind.tcz (x86 8.0) dependency list incorrect (libjson-c.tcz?)
« Reply #7 on: August 28, 2017, 11:33:15 PM »
tc-8.x x86 bind dep file adjusted

Offline hiro

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