Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 716892 - app-misc/graphlcd-base-1.0.2 : font.c: error: uint was not declared in this scope
Summary: app-misc/graphlcd-base-1.0.2 : font.c: error: uint was not declared in this s...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Conrad Kostecki
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: missing-musl-includes
  Show dependency tree
 
Reported: 2020-04-10 07:52 UTC by Toralf Förster
Modified: 2020-08-27 20:59 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.21 KB, text/plain)
2020-04-10 07:52 UTC, Toralf Förster
Details
app-misc:graphlcd-base-1.0.2:20200410-072018.log (app-misc:graphlcd-base-1.0.2:20200410-072018.log,2.88 KB, text/plain)
2020-04-10 07:52 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,414.80 KB, text/plain)
2020-04-10 07:52 UTC, Toralf Förster
Details
environment (environment,70.86 KB, text/plain)
2020-04-10 07:52 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,30.81 KB, application/x-bzip)
2020-04-10 07:52 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,18.50 KB, application/x-bzip)
2020-04-10 07:52 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-04-10 07:52:38 UTC
x86_64-gentoo-linux-musl-g++  -O2 -pipe -march=native -MMD -MP -MMD -MP -fPIC -c -D_GNU_SOURCE  font.c
font.c: In member function bool GLCD::cFont::LoadFNT(const string&, const string&):
font.c:179:9: error: uint was not declared in this scope; did you mean int?
  179 |         uint dot; uint b;
      |         ^~~~
      |         int

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl_hardened-20200328-201618

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

  Please see the tracker bug for details.

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-9.3.0 *
clang version 10.0.0 
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.42.0
  [2]   rust-1.42.0 *
Available Java Virtual Machines:
  (none found)


timestamp of HEAD at this tinderbox image:
/var/db/repos/gentoo	Fri Apr 10 00:08:11 UTC 2020
/var/db/repos/musl	Wed Apr  8 18:15:58 UTC 2020

emerge -qpvO app-misc/graphlcd-base
[ebuild  N    ] app-misc/graphlcd-base-1.0.2  USE="-fontconfig -freetype -g15 -graphicsmagick -imagemagick" LCD_DEVICES="-ax206dpf -picolcd_256x64 -vnc"
Comment 1 Toralf Förster gentoo-dev 2020-04-10 07:52:42 UTC
Created attachment 631836 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-04-10 07:52:45 UTC
Created attachment 631838 [details]
app-misc:graphlcd-base-1.0.2:20200410-072018.log
Comment 3 Toralf Förster gentoo-dev 2020-04-10 07:52:48 UTC
Created attachment 631840 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-04-10 07:52:51 UTC
Created attachment 631842 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-04-10 07:52:54 UTC
Created attachment 631844 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-04-10 07:52:57 UTC
Created attachment 631846 [details]
temp.tbz2
Comment 7 Larry the Git Cow gentoo-dev 2020-08-27 20:59:55 UTC
The bug has been closed via the following commit(s):

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

commit 032956f34b3775d3aa50e9d77139396c6a2138b7
Author:     Conrad Kostecki <conikost@gentoo.org>
AuthorDate: 2020-08-27 20:19:50 +0000
Commit:     Conrad Kostecki <conikost@gentoo.org>
CommitDate: 2020-08-27 20:59:13 +0000

    app-misc/graphlcd-base: fix compilation with musl
    
    Closes: https://bugs.gentoo.org/716892
    Package-Manager: Portage-3.0.4, Repoman-3.0.1
    Signed-off-by: Conrad Kostecki <conikost@gentoo.org>

 app-misc/graphlcd-base/files/graphlcd-base-2.0.0-musl.patch | 11 +++++++++++
 app-misc/graphlcd-base/graphlcd-base-1.0.2-r1.ebuild        |  2 ++
 app-misc/graphlcd-base/graphlcd-base-2.0.0.ebuild           |  2 ++
 3 files changed, 15 insertions(+)