Some people may have seen my comments on the thunderbird-78.0.1
ticket, particularly about libxul.so failing to link to dbus-glib
right at the end of the build.

For those who didn't - I do not normally build t-bird, but I'm
considering proposing that we update rustc to 1.45.0 before our next
release (not yet certain if everything will be ok, I've built all
except t-bird using that but I didn't run the tests for librsvg, and
not entirely convinced if it will bring us anything concrete - the
last forced update was for librsvg, I guess the next one will be the
same).  Oh, and I'm using newer rust to be able to build non-ESR
firefoxes: 1.79.0 (candidate build 1) works ok with 1.45.0.

With past builds of t-bird I've used the mozconfig from the book,
even when I knew that I had already installed dbus-glib, without any
problems.

I wanted to build t-bird-78.0.1, so I tried with  what was in the book
for 78.0 but it fell over near the end (trying to link libxul.so),
with errors about functions from dbus-glib not being found.  I
started by using gcc and rustc-1.45.0, so I formed the impression
"book good, so problem with gcc or newer rust".  Wrong!

In the end I dropped back to rustc-1.42.0 with clang and got the
same failure.  I had thought the references to dbus in the includes
must be for dbus-glib, but in fact I now realise they were for
dbus itself.  So I moved all the libs, headers and pkgconfig from
dbus-glib out of the way.  Retried, no change.

Then I looked back at what I'd changed re dbus-glib in firefox: the
requirement for dbus-glib was new in firefox-69, and then in October
I moved the book to 68-esr (68.2.0) but kept the requirement to
avoid later breakage,  Sadly, that meant that the requirement for
dbus-glib when ff-78 was released was no longer noticeable as a
change from 68.

With t-bird 78 the option --disable-dbus is still accepted, but it
doesn't do anything useful and breaks the build.

I've now built and briefly tested thunderbird with clang and
rustc-1.42.0, so I propose to make dbus-glib required for
thunderbird.  I'll raise a ticket later.

Meanwhile, I'm back to looking at using gcc for it - first with
rustc-1.42.0 (I will again use -fstack-clash-protection in my
flags), and then gcc+1.45.0.

ĸen
-- 
+++ Divide By Cucumber Error. Please Reinstall Universe And Reboot +++
                          - Hogfather
-- 
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