Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 779040 - dev-games/guichan-0.8.2 - openglimage.cpp:(.text+<snip>): undefined reference to gcn::Color::Color(int, int, int, int)
Summary: dev-games/guichan-0.8.2 - openglimage.cpp:(.text+<snip>): undefined reference...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: slibtool
  Show dependency tree
 
Reported: 2021-03-29 07:23 UTC by Toralf Förster
Modified: 2021-03-30 15:25 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.41 KB, text/plain)
2021-03-29 07:23 UTC, Toralf Förster
Details
dev-games:guichan-0.8.2:20210329-040612.log (dev-games:guichan-0.8.2:20210329-040612.log,113.45 KB, text/plain)
2021-03-29 07:23 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,450.89 KB, text/plain)
2021-03-29 07:23 UTC, Toralf Förster
Details
environment (environment,93.05 KB, text/plain)
2021-03-29 07:23 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,29.75 KB, application/x-bzip)
2021-03-29 07:23 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,7.80 KB, application/x-bzip)
2021-03-29 07:23 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,31.20 KB, application/x-bzip)
2021-03-29 07:23 UTC, Toralf Förster
Details
Patch to fix the undefined references. (guichan-undefined.patch,1.81 KB, patch)
2021-03-30 14:53 UTC, orbea
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-03-29 07:23:05 UTC
rdlibtool: link: x86_64-pc-linux-gnu-g++ .libs/opengl.o .libs/openglimage.o .libs/openglgraphics.o -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wall -Wno-unused -DGUICHAN_BUILD -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -shared -fPIC -Wl,--no-undefined -Wl,-soname -Wl,libguichan_opengl-0.8.1.so.1 -o .libs/libguichan_opengl-0.8.1.so.1.1.0
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: .libs/openglimage.o: in function `gcn::OpenGLImage::getPixel(int, int)':
openglimage.cpp:(.text+0x1ee): undefined reference to `gcn::Color::Color(int, int, int, int)'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: .libs/openglimage.o: in function `gcn::OpenGLImage::convertToDisplayFormat()':
openglimage.cpp:(.text+0x25c): undefined reference to `glGenTextures'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: openglimage.cpp:(.text+0x269): undefined reference to `glBindTexture'

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd-20210315-143628

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-10.2.0 *
clang version 11.1.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/11/bin
/usr/lib/llvm/11
11.1.0
Python 3.8.8
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.50.0 *
The following VMs are available for generation-2:
1)	IcedTea JDK 3.17.1 [icedtea-8]
2)	IcedTea JDK 3.16.0 [icedtea-bin-8]
3)	JamVM JDK 2.0.0 [jamvm]
4)	OpenJDK 8.282_p08 [openjdk-8]
*)	AdoptOpenJDK 8.282_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-8 
  [2]   icedtea-bin-8 
  [3]   jamvm 
  [4]   openjdk-8 
  [5]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Mon Mar 29 01:50:41 UTC 2021

emerge -qpvO dev-games/guichan
[ebuild  N    ] dev-games/guichan-0.8.2  USE="allegro opengl sdl -static-libs"
Comment 1 Toralf Förster gentoo-dev 2021-03-29 07:23:07 UTC
Created attachment 695835 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-03-29 07:23:08 UTC
Created attachment 695838 [details]
dev-games:guichan-0.8.2:20210329-040612.log
Comment 3 Toralf Förster gentoo-dev 2021-03-29 07:23:10 UTC
Created attachment 695841 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-03-29 07:23:11 UTC
Created attachment 695844 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-03-29 07:23:12 UTC
Created attachment 695847 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-03-29 07:23:13 UTC
Created attachment 695850 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2021-03-29 07:23:14 UTC
Created attachment 695853 [details]
temp.tar.bz2
Comment 8 orbea 2021-03-30 14:53:00 UTC
Created attachment 696231 [details, diff]
Patch to fix the undefined references.

-no-undefined strikes again...
Comment 9 Larry the Git Cow gentoo-dev 2021-03-30 15:25:08 UTC
The bug has been closed via the following commit(s):

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

commit 9565273ac9876e5709c7745b0b9feda0c8ea1d9c
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-03-30 15:07:04 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-03-30 15:24:59 +0000

    dev-games/guichan: EAPI 7, fix slibtool build
    
    Thanks-to: orbea <orbea@riseup.net>
    Closes: https://bugs.gentoo.org/779040
    Signed-off-by: Sam James <sam@gentoo.org>

 .../guichan/files/guichan-0.8.2-as-needed.patch    |  8 ++--
 .../files/guichan-0.8.2-automake-1.13.patch        |  4 +-
 ...ichan-0.8.2-slibtool-undefined-references.patch | 48 ++++++++++++++++++++++
 dev-games/guichan/guichan-0.8.2.ebuild             | 28 ++++++++-----
 4 files changed, 72 insertions(+), 16 deletions(-)