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

Bug 930713

Summary: games-engines/love-0.8.0-r100 - libraries/.../luasocket.c: error: return type defaults to int [-Wimplicit-int]
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Marek Szuba <marecki>
Status: CONFIRMED ---    
Severity: normal CC: brahmajit.xyz, marecki
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.clang.tar.xz
etc.portage.tar.xz
games-engines:love-0.8.0-r100:20240425-203927.log
logs.tar.xz
qlist-info.txt.xz
temp.tar.xz

Description Toralf Förster gentoo-dev 2024-04-26 15:54:53 UTC
too long lines were shrinked:

x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -I. -I./modules -I./libraries -I/usr/include/AL -I/usr/include/freetype2  -I/usr/include/lua5.1 -I/usr/include/SDL -D_FILE_OFFSET_BITS=64 -DLUA_COMPAT_OPENLIB  -O2 -pipe -march=native -fno-diagnostics-color -c -o libraries/luasocket/libluasocket/tcp.
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -I. -I./modules -I./libraries -I/usr/include/AL -I/usr/include/freetype2  -I/usr/include/lua5.1 -I/usr/include/SDL -D_FILE_OFFSET_BITS=64 -DLUA_COMPAT_OPENLIB  -O2 -pipe -march=native -fno-diagnostics-color -c -o libraries/luasocket/libluasocket/sele
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -I. -I./modules -I./libraries -I/usr/include/AL -I/usr/include/freetype2  -I/usr/include/lua5.1 -I/usr/include/SDL -D_FILE_OFFSET_BITS=64 -DLUA_COMPAT_OPENLIB  -O2 -pipe -march=native -fno-diagnostics-color -c -o libraries/luasocket/libluasocket/opti
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -I. -I./modules -I./libraries -I/usr/include/AL -I/usr/include/freetype2  -I/usr/include/lua5.1 -I/usr/include/SDL -D_FILE_OFFSET_BITS=64 -DLUA_COMPAT_OPENLIB  -O2 -pipe -march=native -fno-diagnostics-color -c -o libraries/luasocket/libluasocket/mime
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -I. -I./modules -I./libraries -I/usr/include/AL -I/usr/include/freetype2  -I/usr/include/lua5.1 -I/usr/include/SDL -D_FILE_OFFSET_BITS=64 -DLUA_COMPAT_OPENLIB  -O2 -pipe -march=native -fno-diagnostics-color -c -o libraries/luasocket/libluasocket/luas
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -I. -I./modules -I./libraries -I/usr/include/AL -I/usr/include/freetype2  -I/usr/include/lua5.1 -I/usr/include/SDL -D_FILE_OFFSET_BITS=64 -DLUA_COMPAT_OPENLIB  -O2 -pipe -march=native -fno-diagnostics-color -c -o libraries/luasocket/libluasocket/io.o
libraries/luasocket/libluasocket/luasocket.c:113:15: error: return type defaults to 'int' [-Wimplicit-int]
  113 | LUASOCKET_API luaopen_socket_core(lua_State *L) {
      |               ^~~~~~~~~~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_plasma_test-20240419-193003

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-14 *
clang/llvm (if any):
clang version 18.1.4
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/18/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/18
18.1.4
Python 3.11.9
Available Rust versions:
  [1]   rust-bin-1.77.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.10_p7 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.2_p13 [openjdk-bin-21]
Available Java Virtual Machines:
  [1]   openjdk-bin-17 
  [2]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.22.2 linux/amd64

  HEAD of ::gentoo
commit 8b0edca3acd3480a5bc0c078cf569e0aa14579fb
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Apr 25 19:34:08 2024 +0000

    2024-04-25 19:34:07 UTC

emerge -qpvO games-engines/love
[ebuild  N    ] games-engines/love-11.5  USE="-gme" LUA_SINGLE_TARGET="lua5-1 -lua5-3 -lua5-4 -luajit"
Comment 1 Toralf Förster gentoo-dev 2024-04-26 15:54:54 UTC
Created attachment 891766 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-04-26 15:54:56 UTC
Created attachment 891767 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-04-26 15:54:57 UTC
Created attachment 891768 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-04-26 15:54:58 UTC
Created attachment 891769 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-04-26 15:54:59 UTC
Created attachment 891770 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-04-26 15:55:00 UTC
Created attachment 891771 [details]
games-engines:love-0.8.0-r100:20240425-203927.log
Comment 7 Toralf Förster gentoo-dev 2024-04-26 15:55:01 UTC
Created attachment 891772 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2024-04-26 15:55:02 UTC
Created attachment 891773 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2024-04-26 15:55:03 UTC
Created attachment 891774 [details]
temp.tar.xz
Comment 10 Brahmajit Das 2024-04-28 07:32:39 UTC
Toralf, Marek
Does it make sense to fix love-0.8.0 since we already have love-11.5 which already has the fix?
Comment 11 Marek Szuba archtester gentoo-dev 2024-04-29 10:47:15 UTC
Alas, we probably have to fix this in 0.8 (and 0.7?). There are packages in the tree which depend specifically on these old branches, and they do not appear to be going anywhere.