Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 739212 - games-emulation/ppsspp-1.5.4-r2 fails to compile
Summary: games-emulation/ppsspp-1.5.4-r2 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-27 05:26 UTC by Agostino Sarubbo
Modified: 2020-11-28 08:45 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,264.82 KB, text/plain)
2020-08-27 05:26 UTC, Agostino Sarubbo
Details
1-CMakeError.log (1-CMakeError.log,4.13 KB, text/plain)
2020-08-27 05:26 UTC, Agostino Sarubbo
Details
1-CMakeOutput.log (1-CMakeOutput.log,37.54 KB, text/plain)
2020-08-27 05:26 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2020-08-27 05:26:33 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: games-emulation/ppsspp-1.5.4-r2 fails to compile.
Discovered on: amd64 (internal ref: tinderbox)

NOTE:
This machine uses a clang/LLVM toolchain.
If you think that this issue is strictly related to clang/LLVM please block bug 408963. If you think that this issue is strictly related to the LLD linker, please block bug 731004.
This machine uses also GLIBC-2.32. If you think that this issue is strictly related to GLIBC please block bug 736174.
Comment 1 Agostino Sarubbo gentoo-dev 2020-08-27 05:26:35 UTC
Created attachment 657032 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2020-08-27 05:26:36 UTC
Created attachment 657034 [details]
1-CMakeError.log

1-CMakeError.log
Comment 3 Agostino Sarubbo gentoo-dev 2020-08-27 05:26:37 UTC
Created attachment 657038 [details]
1-CMakeOutput.log

1-CMakeOutput.log
Comment 4 Joonas Niilola gentoo-dev 2020-11-18 17:42:37 UTC
This doesn't work even with gcc.

/usr/include/GLES3/gl32.h:1819:93: error: 'void __glewTexBuffer(GLenum, GLenum, GLuint)' redeclared as different kind of entity
 1819 | APICALL void GL_APIENTRY glTexBuffer (GLenum target, GLenum internalformat, GLuint buffer);
      |                                       

/usr/include/GLES3/gl32.h:1820:132: error: 'void __glewTexBufferRange(GLenum, GLenum, GLuint, GLintptr, GLsizeiptr)' redeclared as different kind of entity
 1820 | ge (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
      |                                                                        

/usr/include/GLES3/gl32.h:1821:187: error: 'void __glewTexStorage3DMultisample(GLenum, GLsizei, GLenum, GLsizei, GLsizei, GLsizei, GLboolean)' redeclared as different kind of entity
 1821 | ernalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
      |                                                                                          ^

In file included from /var/tmp/portage/gpm/portage/games-emulation/ppsspp-1.5.4-r2/work/ppsspp-1.5.4/ext/native/gfx/gl_common.h:14,
                 from /var/tmp/portage/gpm/portage/games-emulation/ppsspp-1.5.4-r2/work/ppsspp-1.5.4/ext/native/gfx_es2/glsl_program.h:11,
                 from /var/tmp/portage/gpm/portage/games-emulation/ppsspp-1.5.4-r2/work/ppsspp-1.5.4/ext/native/base/QtMain.h:7,
                 from /var/tmp/portage/gpm/portage/games-emulation/ppsspp-1.5.4-r2/work/ppsspp-1.5.4/Qt/mainwindow.h:17,
                 from /var/tmp/portage/gpm/portage/games-emulation/ppsspp-1.5.4-r2/work/ppsspp-1.5.4/UI/HostTypes.h:25,
                 from /var/tmp/portage/gpm/portage/games-emulation/ppsspp-1.5.4-r2/work/ppsspp-1.5.4/UI/NativeApp.cpp:93:
/usr/include/GL/glew.h:23324:50: note: previous declaration 'void (* __glewTexStorage3DMultisample)(GLenum, GLsizei, GLenum, GLsizei, GLsizei, GLsizei, GLboolean)'
23324 | GLEW_FUN_EXPORT PFNGLTEXSTORAGE3DMULTISAMPLEPROC __glewTexStorage3DMultisample;
      |                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1plus: note: unrecognized command-line option '-Wno-deprecated-register' may have been intended to silence earlier diagnostics
make[2]: *** [CMakeFiles/PPSSPPQt.dir/build.make:245: CMakeFiles/PPSSPPQt.dir/Qt/Debugger/debugger_vfpu.cpp.o] Error 1
cc1plus: note: unrecognized command-line option '-Wno-deprecated-register' may have been intended to silence earlier diagnostics
make[2]: *** [CMakeFiles/PPSSPPQt.dir/build.make:271: CMakeFiles/PPSSPPQt.dir/UI/NativeApp.cpp.o] Error 1
make[2]: Leaving directory '/var/tmp/portage/gpm/portage/games-emulation/ppsspp-1.5.4-r2/work/ppsspp-1.5.4_build'
make[1]: *** [CMakeFiles/Makefile2:823: CMakeFiles/PPSSPPQt.dir/all] Error 2
make[1]: Leaving directory '/var/tmp/portage/gpm/portage/games-emulation/ppsspp-1.5.4-r2/work/ppsspp-1.5.4_build'
make: *** [Makefile:149: all] Error 2
 * ERROR: games-emulation/ppsspp-1.5.4-r2::gentoo failed (compile phase):
 *   emake failed
Comment 5 Larry the Git Cow gentoo-dev 2020-11-18 17:46:53 UTC
The bug has been referenced in the following commit(s):

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

commit ecb8486c828b74af1aa693cf8bbc5e7283c22cab
Author:     Joonas Niilola <juippis@gentoo.org>
AuthorDate: 2020-11-18 17:46:18 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2020-11-18 17:46:46 +0000

    package.mask: mask games-emulation/ppsspp
    
    Bug: https://bugs.gentoo.org/739212
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 profiles/package.mask | 5 +++++
 1 file changed, 5 insertions(+)
Comment 6 Maciej Barć gentoo-dev 2020-11-20 16:44:06 UTC
Version 1.10.3 from my following PR compiles for me
https://github.com/gentoo/gentoo/pull/18336/commits/f49914241bdf79aa82a4223a031a23a05351937d
Comment 7 jorgicio 2020-11-23 22:53:28 UTC
I maintain the 1.10.3 version of PPSSPP in my overlay (jorgicio) and it builds fine here. You can take it as a reference if you want it.
Comment 8 Larry the Git Cow gentoo-dev 2020-11-28 08:45:41 UTC
The bug has been closed via the following commit(s):

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

commit 9a7fc28d92805d500bb0e324c1574970b7cdad80
Author:     Maciej Barć <xgqt@protonmail.com>
AuthorDate: 2020-11-28 08:40:41 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2020-11-28 08:45:33 +0000

    games-emulation/ppsspp: bump to 1.10.3, become maintainer
    
    Closes: https://bugs.gentoo.org/739212
    Package-Manager: Portage-3.0.9, Repoman-3.0.2
    Signed-off-by: Maciej Barć <xgqt@protonmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/18336
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 games-emulation/ppsspp/Manifest             |   9 +++
 games-emulation/ppsspp/metadata.xml         |  25 +++---
 games-emulation/ppsspp/ppsspp-1.10.3.ebuild | 114 ++++++++++++++++++++++++++++
 3 files changed, 139 insertions(+), 9 deletions(-)

Additionally, it has been referenced in the following commit(s):

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

commit b5d0b66eb82c452b9f63e206e362439057de8158
Author:     Joonas Niilola <juippis@gentoo.org>
AuthorDate: 2020-11-28 08:44:14 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2020-11-28 08:45:34 +0000

    package.mask: unmask ppsspp, issues have been resolved
    
    Bug: https://bugs.gentoo.org/739212
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 profiles/package.mask | 5 -----
 1 file changed, 5 deletions(-)