Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 560982 - lxqt-base/lxqt-config-0.9.0 - lxqt-config-monitor/monitor.h:29:39: error: expected class-name before ‘{’ token
Summary: lxqt-base/lxqt-config-0.9.0 - lxqt-config-monitor/monitor.h:29:39: error: exp...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: LxQt maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-21 08:53 UTC by James Dominy
Modified: 2016-08-07 08:27 UTC (History)
4 users (show)

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


Attachments
Build log (file_560982.txt,201.11 KB, text/plain)
2015-09-21 08:56 UTC, James Dominy
Details
Emerge info (emerge.info,5.83 KB, application/x-info)
2015-09-21 08:56 UTC, James Dominy
Details
New build log with gcc-4.8 and -j1 (file_560982.txt,160.80 KB, text/plain)
2015-09-28 11:52 UTC, James Dominy
Details
New emerge info (file_560982.txt,6.29 KB, text/plain)
2015-09-28 11:53 UTC, James Dominy
Details
Output of emerge -pqv '=lxqt-base/lxqt-config-0.9.0::gentoo' (file_560982.txt,46 bytes, text/plain)
2015-09-28 11:54 UTC, James Dominy
Details
New build log with gcc-4.8 and -j1 (having actually switched gcc) (file_560982.txt,46.85 KB, text/plain)
2015-10-12 09:25 UTC, James Dominy
Details
New emerge info (file_560982.txt,6.29 KB, text/plain)
2015-10-12 09:27 UTC, James Dominy
Details
info.txt (info.txt,6.55 KB, text/plain)
2015-10-21 12:48 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,674.86 KB, text/plain)
2015-10-21 12:48 UTC, Toralf Förster
Details
environment (environment,104.30 KB, text/plain)
2015-10-21 12:48 UTC, Toralf Förster
Details
lxqt-base:lxqt-config-0.9.0:20151021-001618.log (lxqt-base:lxqt-config-0.9.0:20151021-001618.log,269.66 KB, text/plain)
2015-10-21 12:48 UTC, Toralf Förster
Details
Fix (1.patch,287 bytes, patch)
2015-10-23 09:10 UTC, Yuriy
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description James Dominy 2015-09-21 08:53:28 UTC
During an "emerge -uNDav @world" lxqt-base/lxqt-config-0.9.0 should have been emerged but instead the compile broke apparently dur to errors in the source code. I've attached the build log and the emerge info
Comment 1 James Dominy 2015-09-21 08:56:25 UTC
Created attachment 412404 [details]
Build log
Comment 2 James Dominy 2015-09-21 08:56:54 UTC
Created attachment 412408 [details]
Emerge info
Comment 3 Jauhien Piatlicki (RETIRED) gentoo-dev 2015-09-27 18:28:22 UTC
Please, submit build logs for compilation with '-j1' option. This makes reading them a way easier.
Comment 4 Jauhien Piatlicki (RETIRED) gentoo-dev 2015-09-27 18:31:54 UTC
Please, try to compile with the stable GCC (4.8.*) and show the results.
Comment 5 James Dominy 2015-09-28 11:52:36 UTC
Created attachment 413156 [details]
New build log with gcc-4.8 and -j1

I downgraded to gcc-4.8, as requested, and re-emerged. I still get the same error. I ran `emerge -j1 -1 lxqt-config`
Comment 6 James Dominy 2015-09-28 11:53:30 UTC
Created attachment 413158 [details]
New emerge info

An updated emerge info
Comment 7 James Dominy 2015-09-28 11:54:56 UTC
Created attachment 413160 [details]
Output of emerge -pqv '=lxqt-base/lxqt-config-0.9.0::gentoo'

Just in case
Comment 8 Jauhien Piatlicki (RETIRED) gentoo-dev 2015-09-30 21:43:03 UTC
(In reply to James Dominy from comment #5)
> Created attachment 413156 [details]
> New build log with gcc-4.8 and -j1
> 
> I downgraded to gcc-4.8, as requested, and re-emerged. I still get the same
> error. I ran `emerge -j1 -1 lxqt-config`

Citation from your build log:

> make -j5 VERBOSE=1 

Please, read some documentation and add '-j1' option to your make.conf file.

Namely, add MAKEOPTS="-j1" to /etc/portage/make.conf. Then, rebuild, please and post here the log.
Comment 9 Jauhien Piatlicki (RETIRED) gentoo-dev 2015-09-30 21:52:39 UTC
(In reply to James Dominy from comment #5)
> Created attachment 413156 [details]
> New build log with gcc-4.8 and -j1
> 
> I downgraded to gcc-4.8, as requested, and re-emerged. I still get the same
> error. I ran `emerge -j1 -1 lxqt-config`

Another citation from yopur build log:

> -- The C compiler identification is GNU 4.9.3
> -- The CXX compiler identification is GNU 4.9.3

Please, consider reading some documentation about switching gcc in Gentoo.

Use gcc-config for switching.
Comment 10 James Dominy 2015-10-12 09:25:56 UTC
Created attachment 414414 [details]
New build log with gcc-4.8 and -j1 (having actually switched gcc)

Sorry, I forgot to actually switch gcc profiles. Done now, here's the output of `gcc-config -l`

$ gcc-config -l
 [1] x86_64-pc-linux-gnu-4.8.5 *
 [2] x86_64-pc-linux-gnu-4.9.3

Also, here's the updated build log
Comment 11 James Dominy 2015-10-12 09:27:29 UTC
Created attachment 414416 [details]
New emerge info

And here's the updated emerge info
Comment 12 Jauhien Piatlicki (RETIRED) gentoo-dev 2015-10-14 20:30:08 UTC
Thank you for update. Sorry for long reply, I'll look at this issue in the nearest time (should be this weekend).
Comment 13 Jauhien Piatlicki (RETIRED) gentoo-dev 2015-10-17 20:29:38 UTC
Ok, I've looked at your logs for gcc-4.8, build failed because of other problems: failure probably is caused by switch to the old version of gcc without rebuilding libraries, but gcc-4.9.3 is stable now and I have it on my machine, so I'm going to investigate the original issue.

For now I suggest you switching back to gcc-4.9.3 also I suggest you not to use unstable versions of the base system packages (like gcc) until you really understand what you are doing -- you'll have less failures. You'd better use the latest stable version of libc, gcc and other similar stuff until you have really good reasons to use something unstable.
Comment 14 Jauhien Piatlicki (RETIRED) gentoo-dev 2015-10-17 21:14:02 UTC
I can't reproduce the original error for gcc-4.9.3. Could you, please, try to reproduce it once again with this version of compiler and post here the log for -j1.
Comment 15 Toralf Förster gentoo-dev 2015-10-21 12:48:22 UTC
Created attachment 415090 [details]
info.txt

confirmed here at the tindebox with -j1
  -----------------------------------------------------------------

  This is an unstable amd64 chroot image (named amd64-desktop-unstable_20151004-161203) at a hardened host acting as a tinderbox.

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

  Portage 2.2.23 (python 3.4.3-final-0, default/linux/amd64/13.0/desktop, gcc-4.8.5, glibc-2.22-r1, 4.2.3-hardened-r4 x86_64)
Comment 16 Toralf Förster gentoo-dev 2015-10-21 12:48:25 UTC
Created attachment 415094 [details]
emerge-history.txt
Comment 17 Toralf Förster gentoo-dev 2015-10-21 12:48:28 UTC
Created attachment 415096 [details]
environment
Comment 18 Toralf Förster gentoo-dev 2015-10-21 12:48:30 UTC
Created attachment 415098 [details]
lxqt-base:lxqt-config-0.9.0:20151021-001618.log
Comment 19 Yuriy 2015-10-23 09:10:56 UTC
Created attachment 415238 [details, diff]
Fix

This patch fix it for me
Comment 20 Account removed 2015-11-08 08:21:20 UTC
I can confirm the patch from #19 fixes the issue.
thanks Yuriy!
Comment 21 Ettore Di Giacinto (RETIRED) gentoo-dev 2015-11-11 13:48:14 UTC
I can confirm too that the patch from #19 fixes the issue.

https://github.com/Sabayon/for-gentoo/commit/686bf376bc85573b0e262f3279bb16b2055a5cf2

tested it on arm
Comment 22 Michael Palimaka (kensington) gentoo-dev 2015-11-11 14:24:58 UTC
It's fixed upstream in 0.10