View previous topic :: View next topic |
Author |
Message |
Avg_Surfman n00b
Joined: 25 Dec 2021 Posts: 15
|
Posted: Wed Jun 26, 2024 10:43 am Post subject: app-misc/dateutils-0.4.10::gentoo failed (compile phase) |
|
|
Upgrading my system to a 23 profile(followed all instructions properly). This package fails to compile.
This looks like a regression, as I have the same version installed on my system that portage is trying to recompile.
Excerpt from the Build log ( complete build log here):
Code: | strptime.c: In function ‘main’:
strptime.c:167:38: error: passing argument 1 of ‘proc_lines’ from incompatible pointer type [-Wincompatible-pointer-types]
167 | rc |= proc_lines(argi->input_format_args, argi->input_format_nargs, outfmt, quietp);
| ~~~~^~~~~~~~~~~~~~~~~~~
| |
| char **
strptime.c:97:31: note: expected ‘const char * const*’ but argument is of type ‘char **’
97 | proc_lines(const char *const *fmt, size_t nfmt, const char *ofmt, int quietp)
| ~~~~~~~~~~~~~~~~~~~^~~
strptime.c:170:60: error: passing argument 2 of ‘proc_line’ from incompatible pointer type [-Wincompatible-pointer-types]
170 | rc |= proc_line(argi->args[i], argi->input_format_args, argi->input_format_nargs, outfmt, quietp);
| ~~~~^~~~~~~~~~~~~~~~~~~
| |
| char **
strptime.c:78:44: note: expected ‘const char * const*’ but argument is of type ‘char **’
78 | const char *ln, const char *const *fmt, size_t nfmt,
| ~~~~~~~~~~~~~~~~~~~^~~
dzone.yucc:373:30: warning: argument 1 of type ‘yuck_t[static 1]’ {aka ‘struct yuck_s[1]’} with mismatched bound [-Warray-parameter=]
373 | static void yuck_free(yuck_t tgt[static 1U])
| ~~~~~~~^~~~~~~~~~~~~~
dzone.yucc:51:51: note: previously declared as ‘yuck_t *’ {aka ‘struct yuck_s *’}
51 | static __attribute__((nonnull(1))) void yuck_free(yuck_t*);
| ^~~~~~~
dzone.yucc:403:42: warning: argument 1 of type ‘const yuck_t[static 1]’ {aka ‘const struct yuck_s[1]’} with mismatched bound [-Warray-parameter=]
403 | static void yuck_auto_usage(const yuck_t src[static 1U])
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~
dzone.yucc:54:57: note: previously declared as ‘const yuck_t *’ {aka ‘const struct yuck_s *’}
54 | static __attribute__((nonnull(1))) void yuck_auto_usage(const yuck_t*);
| ^~~~~~~~~~~~~
dzone.yucc:437:41: warning: argument 1 of type ‘const yuck_t[static 1]’ {aka ‘const struct yuck_s[1]’} with mismatched bound [-Warray-parameter=]
437 | static void yuck_auto_help(const yuck_t src[static 1U])
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~
dzone.yucc:53:56: note: previously declared as ‘const yuck_t *’ {aka ‘const struct yuck_s *’}
53 | static __attribute__((nonnull(1))) void yuck_auto_help(const yuck_t*);
| ^~~~~~~~~~~~~
dzone.yucc:495:44: warning: argument 1 of type ‘const yuck_t[static 1]’ {aka ‘const struct yuck_s[1]’} with mismatched bound [-Warray-parameter=]
495 | static void yuck_auto_version(const yuck_t src[static 1U])
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~
dzone.yucc:55:59: note: previously declared as ‘const yuck_t *’ {aka ‘const struct yuck_s *’}
55 | static __attribute__((nonnull(1))) void yuck_auto_version(const yuck_t*);
| ^~~~~~~~~~~~~
make[2]: *** [Makefile:970: strptime-strptime.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/var/tmp/portage/app-misc/dateutils-0.4.10/work/dateutils-0.4.10/src'
make[1]: *** [Makefile:534: all] Error 2
make[1]: Leaving directory '/var/tmp/portage/app-misc/dateutils-0.4.10/work/dateutils-0.4.10/src'
make: *** [Makefile:492: all-recursive] Error 1
* ERROR: app-misc/dateutils-0.4.10::gentoo failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=app-misc/dateutils-0.4.10::gentoo'`,
* the complete build log and the output of `emerge -pqv '=app-misc/dateutils-0.4.10::gentoo'`.
* The complete build log is located at '/var/tmp/portage/app-misc/dateutils-0.4.10/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/app-misc/dateutils-0.4.10/temp/environment'.
* Working directory: '/var/tmp/portage/app-misc/dateutils-0.4.10/work/dateutils-0.4.10'
* S: '/var/tmp/portage/app-misc/dateutils-0.4.10/work/dateutils-0.4.10'
|
emerge --info:
Code: | Portage 3.0.63 (python 3.11.4-final-0, default/linux/amd64/23.0/split-usr/desktop/plasma, gcc-14, glibc-2.38-r13, 6.8.5-gentoo-r1-x86_64 x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-6.8.5-gentoo-r1-x86_64-x86_64-Intel-R-_Core-TM-_i7-8550U_CPU_@_1.80GHz-with-glibc2.38
KiB Mem: 32619556 total, 3802492 free
KiB Swap: 67108860 total, 65511584 free
Timestamp of repository gentoo: Wed, 12 Jun 2024 23:00:00 +0000
Head commit of repository gentoo: 046b1e62732799f3c784058619cbe3e34085ffa3
sh bash 5.2_p26
ld GNU ld (Gentoo 2.42 p3) 2.42.0
ccache version 4.9.1 [disabled]
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
dev-build/automake: 1.16.5-r1::gentoo
dev-build/cmake: 3.27.1::gentoo
dev-build/libtool: 2.4.7-r4::gentoo
dev-build/make: 4.4.1-r1::gentoo
dev-build/meson: 1.3.1-r1::gentoo
dev-java/java-config: 2.3.3-r1::gentoo
dev-lang/perl: 5.38.0-r1::gentoo
dev-lang/python: 3.10.12::gentoo, 3.11.4::gentoo, 3.12.0_beta4_p1::gentoo
dev-lang/rust: 1.71.0::gentoo
dev-lang/rust-bin: 1.77.1::gentoo
dev-util/ccache: 4.9.1-r1::gentoo
sys-apps/baselayout: 2.15::gentoo
sys-apps/openrc: 0.53::gentoo
sys-apps/sandbox: 2.38::gentoo
sys-devel/binutils: 2.40-r7::gentoo, 2.42-r1::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang: 14.0.6-r4::gentoo, 16.0.6::gentoo
sys-devel/gcc: 13.2.0::gentoo, 14.1.1_p20240518::gentoo
sys-devel/gcc-config: 2.11::gentoo
sys-devel/lld: 16.0.6::gentoo
sys-devel/llvm: 14.0.6-r4::gentoo, 16.0.6::gentoo
sys-kernel/linux-headers: 6.9::gentoo (virtual/os-headers)
sys-libs/glibc: 2.38-r13::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-max-age: 24
sync-rsync-verify-metamanifest: yes
sync-rsync-verify-jobs: 1
sync-rsync-extra-opts:
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/lib64/libreoffice/program/sofficerc /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="--jobs=8"
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 buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch parallel-install pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms split-elog strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="https://mirror.eu.oneandone.net/linux/distributions/gentoo/gentoo/ http://mirror.eu.oneandone.net/linux/distributions/gentoo/gentoo/ rsync://mirror.eu.oneandone.net/gentoo/ http://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo rsync://ftp.wh2.tu-dresden.de/gentoo rsync://ftp.vectranet.pl/gentoo/ http://ftp.vectranet.pl/gentoo/ ftp://ftp.vectranet.pl/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
MAKEOPTS="-j8"
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/zsh"
USE="X a52 aac acl acpi activities alsa amd64 aptx bluetooth branding btrfs bzip2 cacert cairo cdda cdr cet crypt cups dbus declarative dri dts dvd dvdr elogind encode exif flac gdbm gif gpm gtk gui iconv icu ipv6 iwd jpeg kde kwallet lcms ldac libnotify libtirpc lvm mad mng mp3 mp4 mpeg mtp multilib ncurses networkmanager nls ogg opengl openmp pam pango pcre pdf pipewire plasma png policykit ppds pulseaudio qml qt5 readline reiserfs screencast sdl seccomp semantic-desktop sound spell split-usr ssl startup-notification svg test-rust thunderbolt tiff tk truetype udev udisks unicode upower usb vorbis vulkan wayland widgets wifi wxwidgets x264 xattr xcb xft xinerama xml xv xvid zeroconf zlib" ABI_X86="64" ADA_TARGET="gcc_12" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby31 ruby32" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
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
=================================================================
Package Settings
=================================================================
app-misc/dateutils-0.4.10::gentoo was built with the following:
USE="" ABI_X86="(64)"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch parallel-install pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms split-elog strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
|
|
|
Back to top |
|
|
Avg_Surfman n00b
Joined: 25 Dec 2021 Posts: 15
|
Posted: Wed Jun 26, 2024 11:02 am Post subject: |
|
|
Now I see that this is a bug related to gcc-14. The maintainer wasn't sure that the bug was related to the new version of gcc, but I think I can confirm that it's related to
switching to gcc-14. I've eselected the newer compiler, chances are it's related to this error. |
|
Back to top |
|
|
GDH-gentoo Veteran
Joined: 20 Jul 2019 Posts: 1701 Location: South America
|
Posted: Wed Jun 26, 2024 1:03 pm Post subject: |
|
|
Yes, it is. The "incompatible pointer types" warning is now treated as a fatal error by GCC 14.
The bug is in the package, tough, not GCC. _________________
NeddySeagoon wrote: | I'm not a witch, I'm a retired electronics engineer |
Ionen wrote: | As a packager I just don't want things to get messier with weird build systems and multiple toolchains requirements though |
|
|
Back to top |
|
|
grknight Retired Dev
Joined: 20 Feb 2015 Posts: 1921
|
Posted: Wed Jun 26, 2024 1:05 pm Post subject: |
|
|
Tracked as Bug 920453 |
|
Back to top |
|
|
Avg_Surfman n00b
Joined: 25 Dec 2021 Posts: 15
|
Posted: Wed Jun 26, 2024 1:27 pm Post subject: |
|
|
GDH-gentoo wrote: | Yes, it is. The "incompatible pointer types" warning is now treated as a fatal error by GCC 14.
The bug is in the package, though, not GCC. |
This is what I thought but I was unsure. Thanks for confirming my suspicions. :thumb_up:
Should I create an issue on the Github repository, where it is located? (upstream) |
|
Back to top |
|
|
grknight Retired Dev
Joined: 20 Feb 2015 Posts: 1921
|
Posted: Wed Jun 26, 2024 1:33 pm Post subject: |
|
|
Avg_Surfman wrote: | GDH-gentoo wrote: | Yes, it is. The "incompatible pointer types" warning is now treated as a fatal error by GCC 14.
The bug is in the package, though, not GCC. |
This is what I thought but I was unsure. Thanks for confirming my suspicions. :thumb_up:
Should I create an issue on the Github repository, where it is located? (upstream) |
This is likely fixed with the 0.4.11 release as noted in https://github.com/hroptatyr/dateutils/issues/143 |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|