On 7/20/19 9:21 PM, Ken Moffat via blfs-dev wrote:
On Sun, Jul 21, 2019 at 11:29:51AM +1000, Wayne Blaszczyk wrote:
On Sat, 2019-07-20 at 18:02 +0100, Ken Moffat via blfs-dev wrote:
On Sat, Jul 20, 2019 at 09:01:00AM -0400, Jean-Marc Pigeon via blfs-dev wrote:

Solution is to add
#include <linux/sockios.h>
within
qt-everywhere-src-5.13.0/qtserialbus/src/plugins/canbus/socketcan/socketcanbackend.cpp

Hoping this help.
(I guess the qt-5.13.0-upstream_fixes-1.patch, need
to be slightly updated  :) ).

Sounds as if this is more widespread :-(

https://lore.kernel.org/lkml/20190720174844.4b989d34@sf/T/#u

At a minimum, firefox, qemu, and something called linux-atm.

The problem appears to be caused by a change in a linux header. I am reluctant to include a long header for what is basically a devinition of a constant.

For a temporary workaround in qt/qtwebengine we can use:

sed -i 's/SIOCGSTAMP/0x8906/' \
  qtserialbus/src/plugins/canbus/socketcan/socketcanbackend.cpp \
  qtwebengine/src/3rdparty/chromium/net/base/network_interfaces_linux.cc

I don't really like this, but I like including a linux/ header even less. This is currently being tested, so I'm not 100% sure it will work.

We can probably do the same for firefox and qemu. I don't know about thunderbird or other packages. It is unfortunate that these required changes all affect very large packages.

  -- Bruce

That was only posted a few minutes ago, will be interesting to see
what is advised so that applications can build against old and new
headers.

The link for linux-atm looks like a good fix (include inux/sockios.h
if SIOCGSTAMP is not defined), but I suggest waiting for comments
from our 'betters' because this almost looks like userspace breakage
;-)



I've come across this issue with the dnsmasq package:

dhcp.c:182:17: error: ‘SIOCGSTAMP’ undeclared (first use in this function

and possible indirectly related, the libvirt-python package. Both are not in 
BLFS.

Earlier, I tried to reply to an lkml post about this, suggesting
that it seemed to be a regression.  But gmail (my normal address is
barred because I resubscribed after my upstream randomly rejected
some mails, as it does) fooled me into top-posting and sending
multipart html, so the message got explicitly rejected by some of
the addressees, and silently dropped by lkml.  Retried, set it to
plain text, but somehow it still gneerated multipart html.

I think I'll give up.  To quote Private Frazer in Dad's Army (which
probably means nothing to any of you guys) - "We're doomed!
Dooomed!"


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