On Mon, Sep 03, 2018 at 02:15:56PM -0500, Bruce Dubbs via blfs-dev wrote:
> I've been looking at glib-2.58.  They are moving to meson/ninja although the
> autotools build can still be made to work.
> 
> I have a couple of issues about the new build.
> 
> First, the latest package does not have the prebuilt man pages.  It does
> have an option:
> 
> option('man',
>        type : 'boolean',
>        value : false,
>        description : 'generate man pages (requires xsltproc)')
> 
> ninja does create the man pages and 'ninja install' installs them.
> 
> Should we make xsltproc recommended and use -Dman=yes?
> 

I doubt many people care about manpages from glib, so I would list
the dep as optional (required for the manpages) and comment
-Dman=yes in the explanations of options.

> ----------
> 
> Second, there is one test (ninja test) that fails: gdatetime.  This has a
> couple of issues.  First it assumes that /etc/localhost is a symbolic link.
> It fails if it is a regular file.  It appears that this is built into glib
> and is not a test issue.  If I set up localtime on /etc like:
> 
> lrwxrwxrwx 1 root root   13 Sep  3 12:35 /etc/localtime -> localtime.cdt
> -rw-r--r-- 1 root root 3585 Aug 13 13:15 /etc/localtime.cdt
> 
> then all the subtests in gdatetime except one pass.  I used cdt for right
> now since I'm in the CDT timezone.  If we change localhost to be like
> 
> localhost -> /usr/share/zoneinfo/<your TZ>
> 
> then it breaks our support of a separate /usr directory.  I've noticed this
> problem before in some display environments where the panel clock always
> seems to be at UTC unless the symlink hack above is used.
> 

e.g. plasma - I've got that symlink in one of my scripts for
installing the kf5 / plasma / kde packages.

Maybe a note that /etc/localtime needs to be a symlink for the
gdatetime test to pass, and that making it will prevent correct
booting if /usr is not mounted ?  I'm sorry, I don't recall exactly
what would happen, nor at what point in the boot, I've never made
/usr a separate partition.

> There is also one other line in the gdatetime.c file that needs to be
> commented out to get all glib tests to pass.
> 
> I'm inclined to just state that gdatetime fails.
> 
> Is that the best way to handle this test failure?
> 
>   -- Bruce

Or "fails, because /etc/localtime needs to be a symlink and BLFS
installs it as a real file, to allow a separate /usr filesystem."

ĸen
-- 
                     Also Spuke Zerothruster
                                     (Finnegans Wake)
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to