Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 880987 - media-libs/quesoglc-0.7.2-r1 fails to compile: unicode.c:653:42: error: incompatible function pointer types passing 'void (*)(GLenum)' (aka 'void (*)(unsigned int)') to parameter of type '_GLUfuncptr' (aka 'void (*)(void)') [-Werror,-Win
Summary: media-libs/quesoglc-0.7.2-r1 fails to compile: unicode.c:653:42: error: incom...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Games
URL:
Whiteboard: patch
Keywords: PATCH
Depends on:
Blocks: c99-porting gcc-14-stable
  Show dependency tree
 
Reported: 2022-11-11 13:48 UTC by Toralf Förster
Modified: 2024-10-21 11:40 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.08 KB, text/plain)
2022-11-11 13:48 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,150.70 KB, text/plain)
2022-11-11 13:48 UTC, Toralf Förster
Details
environment (environment,28.49 KB, text/plain)
2022-11-11 13:48 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,696 bytes, application/x-bzip)
2022-11-11 13:48 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,48.57 KB, application/x-bzip)
2022-11-11 13:48 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,9.58 KB, application/x-bzip)
2022-11-11 13:48 UTC, Toralf Förster
Details
media-libs:quesoglc-0.7.2-r1:20221111-134748.log (media-libs:quesoglc-0.7.2-r1:20221111-134748.log,21.44 KB, text/plain)
2022-11-11 13:48 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,17.22 KB, application/x-bzip)
2022-11-11 13:48 UTC, Toralf Förster
Details
var.tmp.clang.tar.bz2 (var.tmp.clang.tar.bz2,2.61 KB, application/x-bzip)
2022-11-11 13:49 UTC, Toralf Förster
Details
patch from Fedora (quesoglc-0.7.2-buildfix.patch,1.94 KB, patch)
2024-07-20 02:22 UTC, Michael Cook
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 2022-11-11 13:48:50 UTC
too long lines were shrinked:

/bin/sh ../libtool --tag=CC   --mode=compile clang -DHAVE_CONFIG_H -I. -I../include    -I../src -D_REENTRANT -DGLEW_MX -I/usr/include/freetype2 -I/usr/include/freetype2 -I/usr/include/fribidi  -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I../include -I../src -D_REENTRANT -DGLEW_MX -I/usr/include/freetype2 -I/usr/include/freetype2 -I/usr/include/fribidi -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c ../src/oarray.c  -fPIC -DPIC
libtool: compile:  clang -DHAVE_CONFIG_H -I. -I../include -I../src -D_REENTRANT -DGLEW_MX -I/usr/include/freetype2 -I/usr/include/freetype2 -I/usr/include/fribidi -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c ../src/scalable.c  -fPIC -DP
../src/scalable.c/bin/sh ../libtool --tag=CC   --mode=compile clang -DHAVE_CONFIG_H -I. -I../include    -I../src -D_REENTRANT -DGLEW_MX -I/usr/include/freetype2 -I/usr/include/freetype2 -I/usr/include/fribidi  -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werr
:600:4: error: incompatible function pointer types passing
      'void (*)(GLenum)' (aka 'void (*)(unsigned int)') to parameter of type
      '_GLUfuncptr' (aka 'void (*)(void)')

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome_systemd-j4-20221110-100005

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

GNUMAKEFLAGS="$GNUMAKEFLAGS --shuffle"
CC=clang
CXX=clang++
gcc-config -l:
 [1] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
clang version 15.0.4
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.4
Python 3.10.8
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.65.0 *
The following VMs are available for generation-2:
1)	OpenJDK 17.0.5_p5 [openjdk-17]
2)	Eclipse Temurin JDK 11.0.16.1_p1 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.5_p8 [openjdk-bin-17]
4)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-17 
  [2]   openjdk-bin-8 
  [3]   openjdk-bin-11 
  [4]   openjdk-bin-17  system-vm

php cli (if any):

  HEAD of ::gentoo
commit 1f2e8c8f1ba430d55fe0ee16fba422d99766c50d
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Nov 11 12:46:53 2022 +0000

    2022-11-11 12:46:52 UTC

emerge -qpvO media-libs/quesoglc
[ebuild  N    ] media-libs/quesoglc-0.7.2-r1  USE="-doc"
Comment 1 Toralf Förster gentoo-dev 2022-11-11 13:48:51 UTC
Created attachment 831437 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-11-11 13:48:52 UTC
Created attachment 831439 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-11-11 13:48:54 UTC
Created attachment 831441 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-11-11 13:48:54 UTC
Created attachment 831443 [details]
etc.clang.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-11-11 13:48:56 UTC
Created attachment 831445 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-11-11 13:48:57 UTC
Created attachment 831447 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-11-11 13:48:58 UTC
Created attachment 831449 [details]
media-libs:quesoglc-0.7.2-r1:20221111-134748.log
Comment 8 Toralf Förster gentoo-dev 2022-11-11 13:48:59 UTC
Created attachment 831451 [details]
temp.tar.bz2
Comment 9 Toralf Förster gentoo-dev 2022-11-11 13:49:00 UTC
Created attachment 831453 [details]
var.tmp.clang.tar.bz2
Comment 10 Michael Cook 2024-07-20 02:22:58 UTC
Created attachment 898008 [details, diff]
patch from Fedora

This appears to work for me.