Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 924997 - app-crypt/seahorse-43.0-r3: (GCC-14-SYSTEM) error: returning ‘void *’ from a function with return type ‘gboolean’ [-Wint-conversion]
Summary: app-crypt/seahorse-43.0-r3: (GCC-14-SYSTEM) error: returning ‘void *’ from a ...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2024-02-19 19:01 UTC by tdr
Modified: 2024-04-16 22:07 UTC (History)
3 users (show)

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


Attachments
emerge_info (emerge.info.txt,5.35 KB, text/plain)
2024-02-19 19:02 UTC, tdr
Details
make.conf (make.conf,1.10 KB, text/plain)
2024-02-19 19:02 UTC, tdr
Details
app-crypt:seahorse-43.0-r3:20240219-175547.log (app-crypt:seahorse-43.0-r3:20240219-175547.log,330.66 KB, text/plain)
2024-02-19 19:03 UTC, tdr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tdr 2024-02-19 19:01:30 UTC
app-crypt/seahorse-43.0-r3 fails to build with sys-devel/gcc-14.0.1_pre20240218

Reproducible: Always

Steps to Reproduce:
(clean install from stage3-amd64-desktop-openrc-20240218T170410Z.tar.xz)
(set profile to layers hardened + desktop + gnome + plasma)
set gcc:14 as active compiler
emerge -e @world
emerge -vaDNu  --keep-going gnome plasma-meta

 

Actual Results:  
[ebuild  N     ] =app-crypt/seahorse-43.0-r3::gentoo  USE="-ldap -zeroconf" 0 KiB

failed emerge:
emerge =app-crypt/seahorse-43.0-r3::gentoo

ssh/libseahorse-ssh.a.p/key.c: In function ‘seahorse_ssh_key_parse_co’:
/usr/include/glib-2.0/glib/gmessages.h:647:9: error: ‘return’ with no value, in function returning non-void [-Wreturn-mismatch]
  647 |         return; \
      |         ^~~~~~
fails to build (build log will be attached)


Expected Results:  
successful emerge

# resolve-march-native
-march=sapphirerapids -mabm -mno-sgx -mrtm -mshstk --param=l1-cache-line-size=64 --param=l1-cache-size=48 --param=l2-cache-size=76800

$ cat default-linux-amd64-17.1-hardened-desktop-plasma-gnome/parent
/var/db/repos/gentoo/profiles/default/linux/amd64/17.1/hardened
/var/db/repos/gentoo/profiles/targets/desktop
/var/db/repos/gentoo/profiles/targets/desktop/plasma
/var/db/repos/gentoo/profiles/targets/desktop/gnome

# emerge --info
Portage 3.0.61 (python 3.11.8-final-0, default/linux/amd64/17.1/hardened, gcc-14, glibc-2.38-r10, 6.6.2-gentoo-test x86_64)
=================================================================
System uname: Linux-6.6.2-gentoo-test-x86_64-Intel-R-_Xeon-R-_w7-3465X-with-glibc2.38
KiB Mem:   263425180 total, 238942004 free
KiB Swap:   10485756 total,  10485756 free
Timestamp of repository gentoo: Mon, 19 Feb 2024 03:30:01 +0000
Head commit of repository gentoo: c32024df3186a3fad3c24dba13f9d5612ee698bb
sh bash 5.2_p26
ld GNU ld (Gentoo 2.42 p3) 2.42.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p26::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.71-r7::gentoo, 2.72-r1::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.28.3::gentoo
dev-build/libtool:         2.4.7-r2::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.3.2::gentoo
dev-lang/perl:             5.38.2-r1::gentoo
dev-lang/python:           3.11.8_p1::gentoo, 3.12.2_p1::gentoo
dev-lang/rust-bin:         1.75.0::gentoo
sys-apps/baselayout:       2.14-r2::gentoo
sys-apps/openrc:           0.53::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-devel/binutils:        2.42-r1::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           16.0.6::gentoo, 17.0.6::gentoo
sys-devel/gcc:             14.0.1_pre20240218::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/llvm:            16.0.6::gentoo, 17.0.6::gentoo
sys-kernel/linux-headers:  6.7::gentoo (virtual/os-headers)
sys-libs/glibc:            2.38-r10::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts:
    sync-rsync-verify-max-age: 3
    sync-rsync-verify-jobs: 1

local
    location: /usr/local/portage
    masters: gentoo
    volatile: True

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=n"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-march=native -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="C.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
MAKEOPTS="-j56"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X a52 aac acl acpi activities alsa amd64 bluetooth branding bzip2 cairo caps cdda cdr cet cli colord crypt cups dbus declarative dri dts dvd dvdr eds elogind encode evo exif flac fortran gdbm gif gnome gnome-keyring gnome-online-accounts gnome-shell gpm gstreamer gtk gui hardened iconv icu introspection ipv6 jpeg kde keyring kwallet lcms libnotify libtirpc mad mng mp3 mp4 mpeg multilib nautilus ncurses networkmanager nls ogg opengl openmp pam pango pcre pdf pic pie pipewire plasma png policykit ppds pulseaudio qml qt5 readline screencast sdl seccomp semantic-desktop sound spell split-usr ssl ssp startup-notification svg sysprof test-rust tiff tracker truetype udev udisks unicode upower usb vorbis vulkan wayland widgets wxwidgets x264 xattr xcb xft xml xtpax xv xvid zlib" ABI_X86="64" CPU_FLAGS_X86="aes avx avx2 avx512f avx512dq avx512cd avx512bw avx512vl avx512vbmi f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en" LLVM_TARGETS="X86 AArch64" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" QEMU_SOFTMMU_TARGETS="aarch64 arm i386 hppa ppc ppc64 x86_64" QEMU_USER_TARGETS="aarch64 arm i386 hppa ppc ppc64 x86_64" RUBY_TARGETS="ruby31" VIDEO_CARDS="intel"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 1 tdr 2024-02-19 19:02:18 UTC
Created attachment 885432 [details]
emerge_info
Comment 2 tdr 2024-02-19 19:02:48 UTC
Created attachment 885433 [details]
make.conf
Comment 3 tdr 2024-02-19 19:03:16 UTC
Created attachment 885434 [details]
app-crypt:seahorse-43.0-r3:20240219-175547.log
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-02-19 19:07:36 UTC
This is ~the same as bug 919458 but that one is with Clang and the error message is slightly different.