Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 711042 - x11-misc/wmakerconf-2.12-r3 : error.h: error: macro G_STRINGIFY passed 3 arguments, but takes just 1
Summary: x11-misc/wmakerconf-2.12-r3 : error.h: error: macro G_STRINGIFY passed 3 argu...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Gnustep project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-28 17:13 UTC by Toralf Förster
Modified: 2020-03-07 22:29 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,18.00 KB, text/plain)
2020-02-28 17:13 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,271.08 KB, text/plain)
2020-02-28 17:13 UTC, Toralf Förster
Details
environment (environment,18.52 KB, text/plain)
2020-02-28 17:13 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,42.35 KB, application/x-bzip)
2020-02-28 17:13 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,13.33 KB, application/x-bzip)
2020-02-28 17:13 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,12.30 KB, application/x-bzip)
2020-02-28 17:13 UTC, Toralf Förster
Details
x11-misc:wmakerconf-2.12-r3:20200228-092949.log (x11-misc:wmakerconf-2.12-r3:20200228-092949.log,67.44 KB, text/plain)
2020-02-28 17:13 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-02-28 17:13:35 UTC
In file included from misc.c:74:
misc.c: In function copy_file:
error.h:41:50: error: macro "G_STRINGIFY" passed 3 arguments, but takes just 1
   41 | #define warning   error_line=__LINE__,error_file=__FILE__,_warning
      |                                                  ^~~~~~~~
/usr/include/glib-2.0/glib/gmacros.h:990:63: note: in expansion of macro warning

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_developer-20200221-171645

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.2.0 *

clang:
clang version 9.0.1 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/9/bin
llvm:
9.0.1
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.41.0 *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.14.0 [icedtea-bin-8]
2)	JamVM JDK 2.0.0 [jamvm]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm
  [2]   jamvm 
ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Fri, 28 Feb 2020 08:37:25 +0000

emerge -qpvO x11-misc/wmakerconf
[ebuild  N    ] x11-misc/wmakerconf-2.12-r3  USE="nls -perl"
Comment 1 Toralf Förster gentoo-dev 2020-02-28 17:13:37 UTC
Created attachment 616480 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-28 17:13:40 UTC
Created attachment 616482 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-02-28 17:13:42 UTC
Created attachment 616484 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-02-28 17:13:45 UTC
Created attachment 616486 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-02-28 17:13:48 UTC
Created attachment 616488 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-02-28 17:13:50 UTC
Created attachment 616490 [details]
temp.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-02-28 17:13:53 UTC
Created attachment 616492 [details]
x11-misc:wmakerconf-2.12-r3:20200228-092949.log
Comment 8 Charlie Gehlin 2020-03-06 14:08:25 UTC
Downgrading to dev-libs/glib-2.60.7-r2 helps this package to compile.
Comment 9 Bernard Cafarelli gentoo-dev 2020-03-07 22:24:00 UTC
I do not see obvious changes related to that failure in glib 2.61/2.62, the easiest way is just to drop the file/line error logging - this makes it compiling again and devs picking up wmakerconf (if that ever happens) can take a further look.
Comment 10 Larry the Git Cow gentoo-dev 2020-03-07 22:29:02 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61dabecd1f95240f6ae95e9a61b768c27b0aa72a

commit 61dabecd1f95240f6ae95e9a61b768c27b0aa72a
Author:     Bernard Cafarelli <voyageur@gentoo.org>
AuthorDate: 2020-03-07 22:25:07 +0000
Commit:     Bernard Cafarelli <voyageur@gentoo.org>
CommitDate: 2020-03-07 22:28:48 +0000

    x11-misc/wmakerconf: fix compilation with glib 2.62
    
    Closes: https://bugs.gentoo.org/711042
    Package-Manager: Portage-2.3.92, Repoman-2.3.20
    Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>

 x11-misc/wmakerconf/files/wmakerconf-2.12-glib-2.62.patch | 14 ++++++++++++++
 x11-misc/wmakerconf/wmakerconf-2.12-r3.ebuild             |  3 ++-
 2 files changed, 16 insertions(+), 1 deletion(-)