Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 599224

Summary: =dev-libs/libRocket-1.2.1_p20130110-r1: building w/gcc-6: error: cannot convert ‘bool’ to ‘void*’ in return
Product: Gentoo Linux Reporter: Petross404(Petros S) <petross404>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal CC: dschridde+gentoobugs, petross404
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard: masked only
Package list:
Runtime testing required: ---
Bug Depends on: 567392    
Bug Blocks: 582084    
Attachments: build.log
build.log-EN_LOCALE
emerge-info.txt
dev-libs:libRocket-1.2.1_p20130110-r1:20170618-093118.log
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
temp.tbz2

Description Petross404(Petros S) 2016-11-08 17:47:34 UTC
=dev-libs/libRocket-1.2.1_p20130110-r1 can't be compiled with GCC-6.2.

/tmp/portage/dev-libs/libRocket-1.2.1_p20130110-r1/work/libRocket-1.2.1_p20130110/Source/Core/FontDatabase.cpp: In member function βvoid* Rocket::Core::FontDatabase::LoadFace(const String&)β:
/tmp/portage/dev-libs/libRocket-1.2.1_p20130110-r1/work/libRocket-1.2.1_p20130110/Source/Core/FontDatabase.cpp:282:10: ΟΟάλμα: cannot convert βboolβ to βvoid*β in return
   return false;
          ^~~~~
make[2]: *** [CMakeFiles/RocketCore.dir/build.make:1575: CMakeFiles/RocketCore.dir/tmp/portage/dev-libs/libRocket-1.2.1_p20130110-r1/work/libRocket-1.2.1_p20130110/Source/Core/FontDatabase.cpp.o] Error 1
make[2]: Leaving directory '/tmp/portage/dev-libs/libRocket-1.2.1_p20130110-r1/work/libRocket-1.2.1_p20130110-abi_x86_64.amd64'
make[1]: *** [CMakeFiles/Makefile2:299: CMakeFiles/RocketCore.dir/all] Error 2
make[1]: Leaving directory '/tmp/portage/dev-libs/libRocket-1.2.1_p20130110-r1/work/libRocket-1.2.1_p20130110-abi_x86_64.amd64'
make: *** [Makefile:128: all] Error 2
 * ERROR: dev-libs/libRocket-1.2.1_p20130110-r1::gentoo failed (compile phase):
 *   emake failed
 * 



Compiled ok, with GCC-5.4


Reproducible: Always

Steps to Reproduce:
1.gcc-config X #Where X is GCC6 profile
2.emerge -v1 libRocket
3.boom
Comment 1 Petross404(Petros S) 2016-11-08 17:48:22 UTC
Created attachment 452734 [details]
build.log
Comment 2 Coacher 2016-11-09 22:09:33 UTC
(In reply to Petross404(Petros S) from comment #1)
> Created attachment 452734 [details]
> build.log
Please use english (e.g. en_US) locale for logs, it eases grepping for errors.
Comment 3 Petross404(Petros S) 2016-11-10 11:48:50 UTC
Created attachment 452888 [details]
build.log-EN_LOCALE

(In reply to Coacher from comment #2)
> Please use english (e.g. en_US) locale for logs, it eases grepping for
> errors.

I am sorry, I should have fixed this earlier.
Comment 4 Pacho Ramos gentoo-dev 2016-11-26 11:55:10 UTC
Does 1.3.0 build for you? Anyway we would need to wait for bug 567392 before being able to stabilize a newer version
Comment 5 Petross404(Petros S) 2016-11-26 13:42:57 UTC
(In reply to Pacho Ramos from comment #4)
> Does 1.3.0 build for you? 
Yes it does.

But if I try to upgrade libRocket without --nodeps, I get this:

emerge -v1u dev-libs/libRocket
Password: 

These are the packages that would be merged, in reverse order:

Calculating dependencies | 
... done!

Total: 0 packages, Size of downloads: 0 KiB

WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict:

dev-libs/libRocket:0

  (dev-libs/libRocket-1.3.0.0:0/1::gentoo, ebuild scheduled for merge) conflicts with
    <dev-libs/libRocket-1.3.0.0 required by (games-fps/warsow-1.5.1-r1:0/0::gentoo, installed)
    ^                   ^^^^^^^


Nothing to merge; quitting.

Should the warsow ebuild, have the ability to pull libRocket-1.3.0?
Comment 6 Toralf Förster gentoo-dev 2017-06-18 14:32:10 UTC
same at the tinderbox image 17.0-desktop-plasma_abi32+64_20170611-104510
Comment 7 Toralf Förster gentoo-dev 2017-06-18 14:32:13 UTC
Created attachment 476986 [details]
emerge-info.txt
Comment 8 Toralf Förster gentoo-dev 2017-06-18 14:32:16 UTC
Created attachment 476988 [details]
dev-libs:libRocket-1.2.1_p20130110-r1:20170618-093118.log
Comment 9 Toralf Förster gentoo-dev 2017-06-18 14:32:18 UTC
Created attachment 476990 [details]
emerge-history.txt
Comment 10 Toralf Förster gentoo-dev 2017-06-18 14:32:22 UTC
Created attachment 476992 [details]
environment
Comment 11 Toralf Förster gentoo-dev 2017-06-18 14:32:25 UTC
Created attachment 476994 [details]
etc.portage.tbz2
Comment 12 Toralf Förster gentoo-dev 2017-06-18 14:32:28 UTC
Created attachment 476996 [details]
logs.tbz2
Comment 13 Toralf Förster gentoo-dev 2017-06-18 14:32:30 UTC
Created attachment 476998 [details]
temp.tbz2
Comment 14 Larry the Git Cow gentoo-dev 2017-10-03 22:12:48 UTC
The bug has been closed via the following commit(s):

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

commit aab37023f705b100c60a118362ff20236970ad6e
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2017-10-03 21:54:57 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2017-10-03 22:12:22 +0000

    dev-libs/libRocket: Remove last-rited pkg
    
    Closes: https://bugs.gentoo.org/558698
    Closes: https://bugs.gentoo.org/599224
    Closes: https://bugs.gentoo.org/600680

 dev-libs/libRocket/Manifest                        |  2 -
 .../libRocket/libRocket-1.2.1_p20130110-r1.ebuild  | 96 ---------------------
 dev-libs/libRocket/libRocket-1.3.0.0.ebuild        | 98 ----------------------
 dev-libs/libRocket/libRocket-9999.ebuild           | 97 ---------------------
 dev-libs/libRocket/metadata.xml                    | 11 ---
 profiles/package.mask                              |  5 --
 6 files changed, 309 deletions(-)