On Mon, Sep 09, 2019 at 06:34:29PM +0800, Kevin Buckley via lfs-dev wrote: > On Mon, 9 Sep 2019 at 01:19, Bruce Dubbs via lfs-dev > <[email protected]> wrote: > > > We are using the public version of gdbm, not the proprietary Oracle > > version. We use gdbm.xml in LFS and not the db.xml file. > > > > See http://wiki.linuxfromscratch.org/blfs/ticket/10989#ticket > > > > The only reason that db.xml is there is for historical reasons. After > > looking a bit, I can't find when that was actually in the book. On my > > system the file is dated May 2016. > > > > -- Bruce > > > > So, going back into "the dim and distant past ... so long ago it's > nearly in the year one", > I found > > http://www.linuxfromscratch.org/lfs/view/6.4/chapter06/db.html >
Nowhere near LFS's year one ;-) > which mentiones the patch > > ---------------------------------------------- > 6.15. Berkeley DB-4.7.25 > ... > Apply an upstream patch so that replication clients can open a sequence: > > patch -Np1 -i ../db-4.7.25-upstream_fixes-1.patch > ... > ---------------------------------------------- > > and, indeed, that patch is still in the > > linuxfromscratch.org/patches/lfs/6.4 > > area of the dowloads, but no version of it is in the 6.5 area, Yes, why wouldn't it be ? In both LFS and BLFS we don't remove patches from the patches repo, and when something has been put in a release we don't remove it. > and indeed in the 6.5 book's "Removed" section we read > > * db-4.7.25 > * db-4.7.25-upstream_fixes-1.patch > > and in "Added: > > * GDBM-1.8.3 > > and that was back in 2009! > > Would appear then, that someone has been updating the chapter06/db.xml file > (or perhaps just the entity strings?) as newer versions of B-DB came out but > at some point also removed what would have been the &db-patch-fixes; entity > from packages.ent without altering the text in the section file. > I disagree. Now that I'm back online I've had a look at where db-version is referenced in trunk and I don't see it defined anywhere, the only references are in db.xml : ./chapter01/whatsnew.xml: <para>Man-DB-&man-db-version;</para> ./chapter03/packages.xml: <term>Man-DB (&man-db-version;) - <token>&man-db-size;</token>:</term> ./packages.ent:<!ENTITY libthread_db-version "1.0"> ./packages.ent:<!ENTITY man-db-version "2.8.7"> ./packages.ent:<!ENTITY man-db-url "&savannah;/releases/man-db/man-db-&man-db-version;.tar.xz"> ./chapter06/db.xml: <productnumber>&db-version;</productnumber> ./chapter06/db.xml: <title>Berkeley DB-&db-version;</title> ./chapter06/db.xml:<screen><userinput remap="install">make docdir=/usr/share/doc/db-&db-version; install</userinput></screen> ./chapter06/db.xml:<screen><userinput remap="install">chown -Rv root:root /usr/share/doc/db-&db-version;</userinput></screen> ./chapter06/man-db.xml: <productnumber>&man-db-version;</productnumber> ./chapter06/man-db.xml: <title>Man-DB-&man-db-version;</title> ./chapter06/man-db.xml: --docdir=/usr/share/doc/man-db-&man-db-version; \ ./chapter06/man-db.xml: --docdir=/usr/share/doc/man-db-&man-db-version; \ ./chapter06/man-db.xml: and /usr/share/doc/man-db-&man-db-version;</seg> ./chapter06/strippingagain.xml:<screen><userinput>save_lib="ld-&glibc-version;.so libc-&glibc-version;.so libpthread-&glibc-version;.so libthread_db-&libthread_db-version;.so" > Just for completeness, I'll see if the patch still applies (is still > needed) but, as > you say, it may be time to remove chapter06/db.xml from the repo, especially > as it hasn't seemingky been rendered for 10 years ! > > What fun, > Kevin Sounds like book archaeology, and in general Berkeley DB is deprecated. ĸen -- thread 'main' panicked at 'giraffe', /tmp/rustc-1.32.0-src/src/test/run-fail/while-panic.rs:17:13 -- http://lists.linuxfromscratch.org/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
