Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 930713 - games-engines/love-0.8.0-r100 - libraries/.../luasocket.c: error: return type defaults to int [-Wimplicit-int]
Summary: games-engines/love-0.8.0-r100 - libraries/.../luasocket.c: error: return type...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2024-04-26 15:54 UTC by Toralf Förster
Modified: 2024-06-28 11:04 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.85 KB, text/plain)
2024-04-26 15:54 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,204.18 KB, text/plain)
2024-04-26 15:54 UTC, Toralf Förster
Details
environment (environment,92.71 KB, text/plain)
2024-04-26 15:54 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.19 KB, application/x-xz)
2024-04-26 15:54 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,32.17 KB, application/x-xz)
2024-04-26 15:54 UTC, Toralf Förster
Details
games-engines:love-0.8.0-r100:20240425-203927.log (games-engines:love-0.8.0-r100:20240425-203927.log,63.04 KB, text/plain)
2024-04-26 15:55 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,8.10 KB, application/x-xz)
2024-04-26 15:55 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,55.16 KB, application/x-xz)
2024-04-26 15:55 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,21.17 KB, application/x-xz)
2024-04-26 15:55 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 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 (RETIRED) 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.