[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#893929: marked as done (libqt4-dev-bin: kopete FTBFS)



Your message dated Sun, 04 Aug 2024 10:02:39 -0700
with message-id <6e026f41062fe34c56aaf7fa9ef69b8b@carsoncit.xyz>
and subject line Greeting
has caused the Debian Bug report #893929,
regarding libqt4-dev-bin: kopete FTBFS
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
893929: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=893929
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: libqt4-dev-bin
Version: 4:4.8.7+dfsg-13
Severity: normal
Tags: patch
File: /usr/bin/moc-qt4

Dear Maintainer,

I tried to rebuild kopete from source and got errors such as these:

Generating s5b.moc
/mnt/extras/src/kopete-17.08.3/protocols/jabber/libiris/src/irisnet/noncore/cutestuff/bytestream.h:52: Parse error at "defined"

Apparently this is caused by a nonconformity of moc's preprocessor which
manifests itself when macro

major(arg)

is defined, as, unfortunately file <sys/sysmacros.h> does. The line 52
in the error message refers to a line in this particular file (not in
the file it reports, which is a bit confusing.

This has been noted before. I have found a rethat bugreprot of the same
problem here: https://bugzilla.redhat.com/show_bug.cgi?id=1396755. Their
solution is to work it around by a hack that filters that particular
include out. A proper fix would be to make the preprocessor correct, but
that would require too much work.

Therefore, I propose this patch, that, in line with redhat hacks it
around. I've checked that with the patch, kopete builds successfully.

Index: qt4-x11-4.8.7+dfsg/src/tools/moc/main.cpp
===================================================================
--- qt4-x11-4.8.7+dfsg.orig/src/tools/moc/main.cpp
+++ qt4-x11-4.8.7+dfsg/src/tools/moc/main.cpp
@@ -191,6 +191,7 @@ int runMoc(int _argc, char **_argv)
     // Workaround a bugs while parsing some boost headers. See QTBUG-22829 
     pp.macros["BOOST_TT_HAS_OPERATOR_HPP_INCLUDED"];
     pp.macros["BOOST_LEXICAL_CAST_INCLUDED"];
+    pp.macros["_SYS_SYSMACROS_H_OUTER"];
 
     QByteArray filename;
     QByteArray output;
Regards
    Jiri Palecek

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'unstable'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 4.14.0-rc3-bughunt (SMP w/2 CPU cores)
Locale: LANG=cs_CZ, LC_CTYPE=cs_CZ (charmap=ISO-8859-2), LANGUAGE=cs_CZ (charmap=ISO-8859-2)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libqt4-dev-bin depends on:
ii  libc6              2.27-2
ii  libgcc1            1:8-20180312-2
ii  libqt4-qt3support  4:4.8.7+dfsg-13.1
ii  libqt4-xml         4:4.8.7+dfsg-13.1
ii  libqtcore4         4:4.8.7+dfsg-13.1
ii  libqtdbus4         4:4.8.7+dfsg-13.1
ii  libqtgui4          4:4.8.7+dfsg-13.1
ii  libstdc++6         8-20180312-2
ii  qtchooser          64-ga1b6736-4
ii  zlib1g             1:1.2.8.dfsg-5

libqt4-dev-bin recommends no packages.

libqt4-dev-bin suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---


--
Greeting,

I have access to very vital information that can be used to
move huge amounts of money.

If it was possible for me to do it alone I would not
have bothered contacting you. Ultimately I need you to play an
important role in the completion of this business transaction.

Regards,
Mr Alexander Bulyanda

--- End Message ---

Reply to: