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

Bug 880503

Summary: dev-lua/luaossl-20220711 - /.../openssl.c: error: passing arguments to a function without a prototype is deprecated in all version
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Matthias Hauber <crito>
Status: CONFIRMED ---    
Severity: normal CC: conikost, proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/wahern/luaossl/issues/206
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 880545    
Attachments: emerge-info.txt
dev-lua:luaossl-20220711:20221108-204053.log
emerge-history.txt
environment
etc.clang.tar.bz2
etc.portage.tar.bz2
temp.tar.bz2

Description Toralf Förster gentoo-dev 2022-11-08 21:01:42 UTC
too long lines were shrinked:

mkdir -p /var/tmp/portage/dev-lua/luaossl-20220711/work/luaossl-rel-20220711-lua5-1/src/5.1
mkdir -p /var/tmp/portage/dev-lua/luaossl-20220711/work/luaossl-rel-20220711-lua5-1/src/5.1
clang -std=gnu99 -fPIC -g -Wall -Wextra -Wno-missing-field-initializers -Wno-initializer-overrides -Wno-unused -Wno-dollar-in-identifier-extension -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int  -I/usr/include/lua5.1  -DHAVE_CONFIG_H -DCOMPA
clang -std=gnu99 -fPIC -g -Wall -Wextra -Wno-missing-field-initializers -Wno-initializer-overrides -Wno-unused -Wno-dollar-in-identifier-extension -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int  -I/usr/include/lua5.1  -DHAVE_CONFIG_H -DCOMPA
/var/tmp/portage/dev-lua/luaossl-20220711/work/luaossl-rel-20220711-lua5-1/src/openssl.c:1188:18: error: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Werror,-Wdeprecated-non-prototype]
                if (0 == optcmp(optlist[i], optname))
                               ^

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib-j4-20221108-023017

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

GNUMAKEFLAGS="$GNUMAKEFLAGS --jobserver-style=pipe"
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 Rust versions:
  [1]   rust-bin-1.64.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
Available Java Virtual Machines:
  [1]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.6
php cli (if any):

  HEAD of ::gentoo
commit 01bcecb6150e3df576568f2050291d4e5bf3e344
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Nov 8 20:16:54 2022 +0000

    2022-11-08 20:16:54 UTC

emerge -qpvO dev-lua/luaossl
[ebuild  N    ] dev-lua/luaossl-20220711  USE="-examples" LUA_TARGETS="lua5-1 -lua5-3 -lua5-4 -luajit"
Comment 1 Toralf Förster gentoo-dev 2022-11-08 21:01:44 UTC
Created attachment 829665 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-11-08 21:01:45 UTC
Created attachment 829667 [details]
dev-lua:luaossl-20220711:20221108-204053.log
Comment 3 Toralf Förster gentoo-dev 2022-11-08 21:01:47 UTC
Created attachment 829669 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-11-08 21:01:48 UTC
Created attachment 829671 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-11-08 21:01:49 UTC
Created attachment 829673 [details]
etc.clang.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-11-08 21:01:51 UTC
Created attachment 829675 [details]
etc.portage.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-11-08 21:01:52 UTC
Created attachment 829677 [details]
temp.tar.bz2