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?

----------

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.

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
--
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