Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 806980 - games-sports/speed-dreams-2.2.3_rc1 - /.../application.cpp: error: expected ) before SD_LOCALDIR
Summary: games-sports/speed-dreams-2.2.3_rc1 - /.../application.cpp: error: expected )...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-07 12:58 UTC by Toralf Förster
Modified: 2021-08-07 18:57 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.62 KB, text/plain)
2021-08-07 12:58 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,498.16 KB, text/plain)
2021-08-07 12:58 UTC, Toralf Förster
Details
environment (environment,102.71 KB, text/plain)
2021-08-07 12:58 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,41.06 KB, application/x-bzip)
2021-08-07 12:58 UTC, Toralf Förster
Details
games-sports:speed-dreams-2.2.3_rc1:20210807-095021.log (games-sports:speed-dreams-2.2.3_rc1:20210807-095021.log,15.96 KB, text/plain)
2021-08-07 12:58 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,6.52 KB, application/x-bzip)
2021-08-07 12:58 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,27.33 KB, application/x-bzip)
2021-08-07 12:58 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 2021-08-07 12:58:21 UTC
/var/tmp/portage/games-sports/speed-dreams-2.2.3_rc1/work/src/libs/tgf/application.cpp: In member function ‘virtual void GfApplication::initialize(bool, int, char**)’:
/var/tmp/portage/games-sports/speed-dreams-2.2.3_rc1/work/src/libs/tgf/application.cpp:130:33: error: expected ‘)’ before ‘SD_LOCALDIR’
  130 |         ("            (default=" SD_LOCALDIR ")");
      |         ~                       ^~~~~~~~~~~~
      |                                 )
/var/tmp/portage/games-sports/speed-dreams-2.2.3_rc1/work/src/libs/tgf/application.cpp:134:33: error: expected ‘)’ before ‘SD_LIBDIR’

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome-j3-20210729-194103

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.2.0 *
clang version 12.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/12/bin
/usr/lib/llvm/12
12.0.1
Python 3.9.6
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.54.0 *
The Glorious Glasgow Haskell Compilation System, version 8.10.4
  (none found)

  HEAD of ::gentoo
commit 6627ed05396ad64a982df55df08ec33e033977dd
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Aug 7 09:21:25 2021 +0000

    2021-08-07 09:21:24 UTC

emerge -qpvO games-sports/speed-dreams
[ebuild     U ] games-sports/speed-dreams-2.2.3_rc1 [1.4.0-r1] USE="-debug% -osggraph% -webstats% (-xrandr%)"
Comment 1 Toralf Förster gentoo-dev 2021-08-07 12:58:22 UTC
Created attachment 731071 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-08-07 12:58:24 UTC
Created attachment 731074 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-08-07 12:58:25 UTC
Created attachment 731077 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-08-07 12:58:27 UTC
Created attachment 731080 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-08-07 12:58:28 UTC
Created attachment 731083 [details]
games-sports:speed-dreams-2.2.3_rc1:20210807-095021.log
Comment 6 Toralf Förster gentoo-dev 2021-08-07 12:58:29 UTC
Created attachment 731086 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2021-08-07 12:58:30 UTC
Created attachment 731089 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2021-08-07 15:14:17 UTC
The bug has been closed via the following commit(s):

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

commit cd5bfd643af2ebed8ab342f62fd3b492d528a9c9
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2021-08-07 14:52:45 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2021-08-07 15:12:27 +0000

    games-sports/speed-dreams: add -I. to workaround system config.h
    
    If for some reason /usr/include/config.h exists, this package uses it.
    
    Closes: https://bugs.gentoo.org/806980
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 games-sports/speed-dreams/speed-dreams-2.2.3_rc1.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-08-07 17:48:13 UTC
Which package is providing config.h for you here toralf?
Comment 10 Ionen Wolkens gentoo-dev 2021-08-07 18:06:17 UTC
Good point, should probably figure that out too.

It'd pickup /usr/local/include/config.h too, although doubtful it went there.
Comment 11 Ionen Wolkens gentoo-dev 2021-08-07 18:16:57 UTC
(In reply to Sam James from comment #9)
> Which package is providing config.h for you here toralf?
Actually, I see it.

$ qfile -v /usr/include/config.h 
sci-electronics/ngspice-34: /usr/include/config.h

2021-08-05T04:25:44 >>> sci-electronics/ngspice-34
Comment 12 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-08-07 18:18:04 UTC
(In reply to Ionen Wolkens from comment #11)
> (In reply to Sam James from comment #9)
> > Which package is providing config.h for you here toralf?
> Actually, I see it.
> 
> $ qfile -v /usr/include/config.h 
> sci-electronics/ngspice-34: /usr/include/config.h
> 
> 2021-08-05T04:25:44 >>> sci-electronics/ngspice-34

… why am I not surprised? :(

It’s such a troublemaker.
Comment 13 Toralf Förster gentoo-dev 2021-08-07 18:57:40 UTC
(In reply to Ionen Wolkens from comment #11)
> (In reply to Sam James from comment #9)
> > Which package is providing config.h for you here toralf?
> Actually, I see it.
> 
> $ qfile -v /usr/include/config.h 
> sci-electronics/ngspice-34: /usr/include/config.h
> 
> 2021-08-05T04:25:44 >>> sci-electronics/ngspice-34


much more worse:

tinderbox@mr-fox ~ $ e-file /usr/include/config.h 
 *  sci-electronics/ngspice
        Available Versions:     34 
        Homepage:               http://ngspice.sourceforge.net
        Description:            The Next Generation Spice (Electronic Circuit Simulator)
        Matched Files:          /usr/include/config.h; 

 *  app-admin/rasdaemon
        Available Versions:     0.6.1-r1 
        Homepage:               http://www.infradead.org/~mchehab/rasdaemon/
        Description:            Reliability, Availability and Serviceability logging tool
        Matched Files:          /usr/include/config.h; 

 *  dev-util/ragel
        Available Versions:     7.0.0.9 
        Homepage:               https://www.colm.net/open-source/ragel/
        Description:            Compiles finite state machines from regular languages into executable code
        Matched Files:          /usr/include/config.h; 





(FWIW the tinderbox feeds the PFL since few years)