Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't compile on gentoo via emerge #170

Open
UnknownSuperficialNight opened this issue Apr 24, 2024 · 1 comment
Open

can't compile on gentoo via emerge #170

UnknownSuperficialNight opened this issue Apr 24, 2024 · 1 comment

Comments

@UnknownSuperficialNight

Recently it stopped compiling successfully on gentoo

here is the output:

Calculating dependencies... done!
Dependency resolution took 4.13 s (backtrack: 0/20).


>>> Verifying ebuild manifests

>>> Emerging (1 of 1) games-util/samrewritten-202008::guru
 * samrewritten-202008.tar.gz BLAKE2B SHA512 size ;-) ...                                                                                                                                [ ok ]
>>> Unpacking source...
>>> Unpacking samrewritten-202008.tar.gz to /var/tmp/portage/games-util/samrewritten-202008/work
>>> Source unpacked in /var/tmp/portage/games-util/samrewritten-202008/work
>>> Preparing source in /var/tmp/portage/games-util/samrewritten-202008/work/SamRewritten-202008 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/games-util/samrewritten-202008/work/SamRewritten-202008 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/games-util/samrewritten-202008/work/SamRewritten-202008 ...
make -j6 
g++ -std=c++17 -c -o obj/src/sockets/MyClientSocket.o src/sockets/MyClientSocket.cpp -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -L/var/tmp/portage/games-util/samrewritten-202008/work/SamRewritten-202008/bin -march=native -O2 -pipe -I/usr/include/gtkmm-3.0 -I/usr/lib64/gtkmm-3.0/include -I/usr/include/gtk-3.0 -pthread -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I/usr/include/atkmm-1.6 -I/usr/lib64/atkmm-1.6/include -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include -I/usr/include/gtk-3.0/unix-print -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdkmm-3.0 -I/usr/lib64/gdkmm-3.0/include -I/usr/include/giomm-2.4 -I/usr/lib64/giomm-2.4/include -I/usr/include/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include -I/usr/include/pangomm-1.4 -I/usr/lib64/pangomm-1.4/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/lib64/libffi/include -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/elogind -I/usr/include/fribidi -I/usr/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/gio-unix-2.0 -lgtkmm-3.0 -lgdk-3 -lharfbuzz -lpango-1.0 -lglib-2.0 -lgobject-2.0 -lsigc-2.0 -lpangocairo-1.0 -latkmm-1.6 -lglibmm-2.4 -latk-1.0 -lcairo -lcairo-gobject -lgio-2.0 -lgdkmm-3.0 -lgiomm-2.4 -lgtk-3 -lcairomm-1.0 -lpangomm-1.4 -lgdk_pixbuf-2.0 -Wall -lsteam_api -lcurl -lyajl -ldl
g++ -std=c++17 -c -o obj/src/sockets/MySocket.o src/sockets/MySocket.cpp -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -L/var/tmp/portage/games-util/samrewritten-202008/work/SamRewritten-202008/bin -march=native -O2 -pipe -I/usr/include/gtkmm-3.0 -I/usr/lib64/gtkmm-3.0/include -I/usr/include/gtk-3.0 -pthread -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I/usr/include/atkmm-1.6 -I/usr/lib64/atkmm-1.6/include -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include -I/usr/include/gtk-3.0/unix-print -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdkmm-3.0 -I/usr/lib64/gdkmm-3.0/include -I/usr/include/giomm-2.4 -I/usr/lib64/giomm-2.4/include -I/usr/include/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include -I/usr/include/pangomm-1.4 -I/usr/lib64/pangomm-1.4/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/lib64/libffi/include -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/elogind -I/usr/include/fribidi -I/usr/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/gio-unix-2.0 -lgtkmm-3.0 -lgdk-3 -lharfbuzz -lpango-1.0 -lglib-2.0 -lgobject-2.0 -lsigc-2.0 -lpangocairo-1.0 -latkmm-1.6 -lglibmm-2.4 -latk-1.0 -lcairo -lcairo-gobject -lgio-2.0 -lgdkmm-3.0 -lgiomm-2.4 -lgtk-3 -lcairomm-1.0 -lpangomm-1.4 -lgdk_pixbuf-2.0 -Wall -lsteam_api -lcurl -lyajl -ldl
g++ -std=c++17 -c -o obj/src/sockets/MyServerSocket.o src/sockets/MyServerSocket.cpp -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -L/var/tmp/portage/games-util/samrewritten-202008/work/SamRewritten-202008/bin -march=native -O2 -pipe -I/usr/include/gtkmm-3.0 -I/usr/lib64/gtkmm-3.0/include -I/usr/include/gtk-3.0 -pthread -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I/usr/include/atkmm-1.6 -I/usr/lib64/atkmm-1.6/include -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include -I/usr/include/gtk-3.0/unix-print -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdkmm-3.0 -I/usr/lib64/gdkmm-3.0/include -I/usr/include/giomm-2.4 -I/usr/lib64/giomm-2.4/include -I/usr/include/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include -I/usr/include/pangomm-1.4 -I/usr/lib64/pangomm-1.4/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/lib64/libffi/include -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/elogind -I/usr/include/fribidi -I/usr/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/gio-unix-2.0 -lgtkmm-3.0 -lgdk-3 -lharfbuzz -lpango-1.0 -lglib-2.0 -lgobject-2.0 -lsigc-2.0 -lpangocairo-1.0 -latkmm-1.6 -lglibmm-2.4 -latk-1.0 -lcairo -lcairo-gobject -lgio-2.0 -lgdkmm-3.0 -lgiomm-2.4 -lgtk-3 -lcairomm-1.0 -lpangomm-1.4 -lgdk_pixbuf-2.0 -Wall -lsteam_api -lcurl -lyajl -ldl
g++ -std=c++17 -c -o obj/src/sockets/MyGameSocket.o src/sockets/MyGameSocket.cpp -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -L/var/tmp/portage/games-util/samrewritten-202008/work/SamRewritten-202008/bin -march=native -O2 -pipe -I/usr/include/gtkmm-3.0 -I/usr/lib64/gtkmm-3.0/include -I/usr/include/gtk-3.0 -pthread -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I/usr/include/atkmm-1.6 -I/usr/lib64/atkmm-1.6/include -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include -I/usr/include/gtk-3.0/unix-print -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdkmm-3.0 -I/usr/lib64/gdkmm-3.0/include -I/usr/include/giomm-2.4 -I/usr/lib64/giomm-2.4/include -I/usr/include/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include -I/usr/include/pangomm-1.4 -I/usr/lib64/pangomm-1.4/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/lib64/libffi/include -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/elogind -I/usr/include/fribidi -I/usr/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/gio-unix-2.0 -lgtkmm-3.0 -lgdk-3 -lharfbuzz -lpango-1.0 -lglib-2.0 -lgobject-2.0 -lsigc-2.0 -lpangocairo-1.0 -latkmm-1.6 -lglibmm-2.4 -latk-1.0 -lcairo -lcairo-gobject -lgio-2.0 -lgdkmm-3.0 -lgiomm-2.4 -lgtk-3 -lcairomm-1.0 -lpangomm-1.4 -lgdk_pixbuf-2.0 -Wall -lsteam_api -lcurl -lyajl -ldl
g++ -std=c++17 -c -o obj/src/json/yajlHelpers.o src/json/yajlHelpers.cpp -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -L/var/tmp/portage/games-util/samrewritten-202008/work/SamRewritten-202008/bin -march=native -O2 -pipe -I/usr/include/gtkmm-3.0 -I/usr/lib64/gtkmm-3.0/include -I/usr/include/gtk-3.0 -pthread -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I/usr/include/atkmm-1.6 -I/usr/lib64/atkmm-1.6/include -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include -I/usr/include/gtk-3.0/unix-print -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdkmm-3.0 -I/usr/lib64/gdkmm-3.0/include -I/usr/include/giomm-2.4 -I/usr/lib64/giomm-2.4/include -I/usr/include/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include -I/usr/include/pangomm-1.4 -I/usr/lib64/pangomm-1.4/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/lib64/libffi/include -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/elogind -I/usr/include/fribidi -I/usr/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/gio-unix-2.0 -lgtkmm-3.0 -lgdk-3 -lharfbuzz -lpango-1.0 -lglib-2.0 -lgobject-2.0 -lsigc-2.0 -lpangocairo-1.0 -latkmm-1.6 -lglibmm-2.4 -latk-1.0 -lcairo -lcairo-gobject -lgio-2.0 -lgdkmm-3.0 -lgiomm-2.4 -lgtk-3 -lcairomm-1.0 -lpangomm-1.4 -lgdk_pixbuf-2.0 -Wall -lsteam_api -lcurl -lyajl -ldl
g++ -std=c++17 -c -o obj/src/json/ProcessedGameServerRequest.o src/json/ProcessedGameServerRequest.cpp -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -L/var/tmp/portage/games-util/samrewritten-202008/work/SamRewritten-202008/bin -march=native -O2 -pipe -I/usr/include/gtkmm-3.0 -I/usr/lib64/gtkmm-3.0/include -I/usr/include/gtk-3.0 -pthread -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I/usr/include/atkmm-1.6 -I/usr/lib64/atkmm-1.6/include -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include -I/usr/include/gtk-3.0/unix-print -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdkmm-3.0 -I/usr/lib64/gdkmm-3.0/include -I/usr/include/giomm-2.4 -I/usr/lib64/giomm-2.4/include -I/usr/include/cairomm-1.0 -I/usr/lib64/cairomm-1.0/include -I/usr/include/pangomm-1.4 -I/usr/lib64/pangomm-1.4/include -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/lib64/libffi/include -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/elogind -I/usr/include/fribidi -I/usr/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/gio-unix-2.0 -lgtkmm-3.0 -lgdk-3 -lharfbuzz -lpango-1.0 -lglib-2.0 -lgobject-2.0 -lsigc-2.0 -lpangocairo-1.0 -latkmm-1.6 -lglibmm-2.4 -latk-1.0 -lcairo -lcairo-gobject -lgio-2.0 -lgdkmm-3.0 -lgiomm-2.4 -lgtk-3 -lcairomm-1.0 -lpangomm-1.4 -lgdk_pixbuf-2.0 -Wall -lsteam_api -lcurl -lyajl -ldl
In file included from src/json/ProcessedGameServerRequest.h:5,
                 from src/json/ProcessedGameServerRequest.cpp:1:
src/json/../types/Achievement.h:54:5: error: ‘uint64_t’ does not name a type
   54 |     uint64_t selection_num;
      |     ^~~~~~~~
src/json/../types/Achievement.h:4:1: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
    3 | #include <string>
  +++ |+#include <cstdint>
    4 | 
In file included from src/json/yajlHelpers.h:7,
                 from src/json/yajlHelpers.cpp:2:
src/json/../types/Achievement.h:54:5: error: ‘uint64_t’ does not name a type
   54 |     uint64_t selection_num;
      |     ^~~~~~~~
src/json/../types/Achievement.h:1:1: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
  +++ |+#include <cstdint>
    1 | #pragma once
In file included from src/sockets/../json/yajlHelpers.h:7,
                 from src/sockets/MyClientSocket.cpp:3:
src/sockets/../json/../types/Achievement.h:54:5: error: ‘uint64_t’ does not name a type
   54 |     uint64_t selection_num;
      |     ^~~~~~~~
src/sockets/../json/../types/Achievement.h:1:1: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
  +++ |+#include <cstdint>
    1 | #pragma once
In file included from src/sockets/../controller/MySteam.h:3,
                 from src/sockets/MySocket.cpp:5:
src/sockets/../controller/../types/Achievement.h:54:5: error: ‘uint64_t’ does not name a type
   54 |     uint64_t selection_num;
      |     ^~~~~~~~
src/sockets/../controller/../types/Achievement.h:1:1: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
  +++ |+#include <cstdint>
    1 | #pragma once
src/sockets/../controller/MySteam.h:161:17: error: ‘uint64_t’ was not declared in this scope
  161 |     std::vector<uint64_t> setup_timed_modifications(uint64_t time, MODIFICATION_SPACING spacing, MODIFICATION_ORDER order);
      |                 ^~~~~~~~
src/sockets/../controller/MySteam.h:10:1: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
    9 | #include <map>
  +++ |+#include <cstdint>
   10 | 
src/sockets/../controller/MySteam.h:161:25: error: template argument 1 is invalid
  161 |     std::vector<uint64_t> setup_timed_modifications(uint64_t time, MODIFICATION_SPACING spacing, MODIFICATION_ORDER order);
      |                         ^
src/sockets/../controller/MySteam.h:161:25: error: template argument 2 is invalid
src/sockets/../controller/MySteam.h:161:53: error: ‘uint64_t’ has not been declared
  161 |     std::vector<uint64_t> setup_timed_modifications(uint64_t time, MODIFICATION_SPACING spacing, MODIFICATION_ORDER order);
      |                                                     ^~~~~~~~
make: *** [Makefile:45: obj/src/json/ProcessedGameServerRequest.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [Makefile:45: obj/src/sockets/MyClientSocket.o] Error 1
make: *** [Makefile:45: obj/src/json/yajlHelpers.o] Error 1
make: *** [Makefile:45: obj/src/sockets/MySocket.o] Error 1
 * ERROR: games-util/samrewritten-202008::guru failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=games-util/samrewritten-202008::guru'`,
 * the complete build log and the output of `emerge -pqv '=games-util/samrewritten-202008::guru'`.
 * The complete build log is located at '/var/tmp/portage/games-util/samrewritten-202008/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/games-util/samrewritten-202008/temp/environment'.
 * Working directory: '/var/tmp/portage/games-util/samrewritten-202008/work/SamRewritten-202008'
 * S: '/var/tmp/portage/games-util/samrewritten-202008/work/SamRewritten-202008'

>>> Failed to emerge games-util/samrewritten-202008, Log file:

>>>  '/var/tmp/portage/games-util/samrewritten-202008/temp/build.log'

 * Messages for package games-util/samrewritten-202008:

 * ERROR: games-util/samrewritten-202008::guru failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=games-util/samrewritten-202008::guru'`,
 * the complete build log and the output of `emerge -pqv '=games-util/samrewritten-202008::guru'`.
 * The complete build log is located at '/var/tmp/portage/games-util/samrewritten-202008/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/games-util/samrewritten-202008/temp/environment'.
 * Working directory: '/var/tmp/portage/games-util/samrewritten-202008/work/SamRewritten-202008'
 * S: '/var/tmp/portage/games-util/samrewritten-202008/work/SamRewritten-202008'
@PaulCombal
Copy link
Owner

This looks like a compiler issue.. I wouldn't be against adding the cstdint headers, feel free to make a pull request to add them if you wish :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants