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

Bug 878607

Summary: app-text/llpp-33 - link.c: error: mixing declarations and code is incompatible with
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
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: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
app-text:llpp-33:20221028-212311.log
emerge-history.txt
environment
etc.portage.tar.bz2
temp.tar.bz2

Description Toralf Förster gentoo-dev 2022-10-29 09:43:10 UTC
too long lines were shrinked:

Warning 70 [missing-mli]: Cannot find interface file.
ocamlopt -c -o cutils.o -g -w +a -safe-string -I +lablGL -cc clang -ccopt '-pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -std=c99 -pedantic -Wall -Wextra -Wshadow -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/u
ocamlopt -c -o keysym2ucs.o -g -w +a -safe-string -I +lablGL -cc clang -ccopt '-pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -std=c99 -pedantic -Wall -Wextra -Wshadow -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 
ocamlopt -c -o link.o -g -w +a -safe-string -I +lablGL -cc clang -ccopt '-pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -std=c99 -pedantic -Wall -Wextra -Wshadow -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr
link.c:841:16: error: mixing declarations and code is incompatible with
      standards before C99 [-Werror,-Wdeclaration-after-statement]
        size_t size = (state.pagedimcount + 1) * sizeof (*state.pagedims);

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop-j4-20221028-180004

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
clang version 15.0.3
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.3
Python 3.10.8
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.64.0 *
php cli (if any):
GNU Make 4.3

  HEAD of ::gentoo
commit 8116f5349c6d5f1a239a91308445a42a1186d6d1
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Oct 28 20:46:52 2022 +0000

    2022-10-28 20:46:52 UTC

emerge -qpvO app-text/llpp
[ebuild  N    ] app-text/llpp-33  USE="ocamlopt"
Comment 1 Toralf Förster gentoo-dev 2022-10-29 09:43:11 UTC
Created attachment 825799 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-29 09:43:12 UTC
Created attachment 825803 [details]
app-text:llpp-33:20221028-212311.log
Comment 3 Toralf Förster gentoo-dev 2022-10-29 09:43:13 UTC
Created attachment 825805 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-10-29 09:43:14 UTC
Created attachment 825807 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-10-29 09:43:15 UTC
Created attachment 825809 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-10-29 09:43:16 UTC
Created attachment 825811 [details]
temp.tar.bz2