Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 817998 - dev-lang/lazarus-1.8.4-r2 (stable) Fatal: (1018) Compilation aborted
Summary: dev-lang/lazarus-1.8.4-r2 (stable) Fatal: (1018) Compilation aborted
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Amy Liffey
URL:
Whiteboard:
Keywords:
Depends on: 732758
Blocks: 818139
  Show dependency tree
 
Reported: 2021-10-13 15:48 UTC by Teun Blok
Modified: 2021-10-14 19:17 UTC (History)
2 users (show)

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


Attachments
build.log dev-lang/lazarus-1.8.4-2 (lazarus_build.log,443.03 KB, text/x-log)
2021-10-13 15:52 UTC, Teun Blok
Details
ebuild.log dev-lang/fpc-3.0.4 (ebuild.log dev-lang fpc-2.0.3,27.64 KB, application/octet-stream)
2021-10-13 19:05 UTC, Teun Blok
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Teun Blok 2021-10-13 15:48:26 UTC
Compilation is aborted.There is no matching implementation for interface method "GetIDAsString:AnsiString;" and "GetIDAsWord:AnsiString;"

Reproducible: Always

Steps to Reproduce:
1. emerge --sync
2. emerge --update --newuse --deep --with-bdeps=y @world 
3. at a point lazarus get compiled
4. ERROR: dev-lang/lazarus-1.8.4-r2::gentoo failed (compile phase):
 [31;01m*[0m   emake failed
5. 
Actual Results:  
ERROR: dev-lang/lazarus-1.8.4-r2::gentoo failed (compile phase):
 [31;01m*[0m   emake failed

I can not rebuild dev-lang/lazarus-1.8.4-r2 and somehow with every emerge --sync and emerge --update --newuse --deep --with-bdeps=y @world this will happen.

Portage marked lazarus-1.8.4-r2 as stable, but not for me.

Expected Results:  
rebuild dev-lang/lazarus-1.8.4-r2

Portage 3.0.20 (python 3.9.6-final-0, default/linux/amd64/17.1/systemd, gcc-11.2.0, glibc-2.33-r1, 5.10.61-gentoo x86_64)
=================================================================
System uname: Linux-5.10.61-gentoo-x86_64-Intel-R-_Core-TM-_i5-4430_CPU_@_3.00GHz-with-glibc2.33
KiB Mem:     8077496 total,   2104968 free
KiB Swap:    4196348 total,   4062928 free
Timestamp of repository gentoo: Wed, 13 Oct 2021 15:00:01 +0000
Head commit of repository gentoo: ae7251a476e1ea18a429bf012dcdf45ec59662a6
sh bash 5.1_p8
ld GNU ld (Gentoo 2.36.1 p5) 2.36.1
app-shells/bash:          5.1_p8::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.34.0-r2::gentoo
dev-lang/python:          2.7.18_p13::gentoo, 3.8.12::gentoo, 3.9.6_p2::gentoo
dev-lang/rust:            1.53.0::gentoo
dev-util/cmake:           3.20.5::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/sandbox:         2.24::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.71-r1::gentoo
sys-devel/automake:       1.13.4-r2::gentoo, 1.16.4::gentoo
sys-devel/binutils:       2.36.1-r2::gentoo, 2.37_p1::gentoo
sys-devel/gcc:            11.2.0::gentoo
sys-devel/gcc-config:     2.4::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.10::gentoo (virtual/os-headers)
sys-libs/glibc:           2.33-r1::gentoo
Repositories:

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

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 0

ROKO__
    location: /var/lib/layman/ROKO__
    masters: gentoo
    priority: 50

ixit
    location: /var/lib/layman/ixit
    masters: gentoo
    priority: 50

jorgicio
    location: /var/lib/layman/jorgicio
    masters: gentoo
    priority: 50

localrepo
    location: /usr/local/portage
    masters: gentoo
    priority: 50

qsx
    location: /var/lib/layman/qsx
    masters: gentoo
    priority: 50

rich0
    location: /var/lib/layman/rich0
    masters: gentoo
    priority: 50

spikyatlinux
    location: /var/lib/layman/spikyatlinux
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
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/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"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY 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"
FCFLAGS="-march=native -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox 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="en_US.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
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"
USE="X acl alsa amd64 bzip2 cdr cli crypt cups dbus dri dvd fortran gdbm iconv ipv6 jpeg libglvnd libtirpc multilib ncurses nls nptl opengl openmp pam pcre png pulseaudio readline seccomp split-usr ssl systemd tcpd udev unicode usb xattr zlib" ABI_X86="64" ADA_TARGET="gnat_2019" ALSA_CARDS="virtuoso hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache 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="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="multiboot pc" INPUT_DEVICES="evdev" KERNEL="linux" L10N="en nl de" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9 python2_7 python3_8" RUBY_TARGETS="ruby26 ruby27" SANE_BACKENDS="hp" USERLAND="GNU" VIDEO_CARDS="nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS
Comment 1 Teun Blok 2021-10-13 15:52:31 UTC
Created attachment 744774 [details]
build.log dev-lang/lazarus-1.8.4-2
Comment 2 Tee KOBAYASHI 2021-10-13 16:07:09 UTC
Seems like you are using unstable dev-lang/fpc-3.2.2.

Related upstream issue: https://gitlab.com/freepascal.org/lazarus/lazarus/-/issues/34770
Comment 3 Teun Blok 2021-10-13 19:04:46 UTC
That is correct, I was using
I changed today from dev-lang/fpc-3.2.2 to dev-lang/fpc-3.0.4 by removing ~amd64 in package.accept_keyword.
When emerging dev-lang/fpc-3.0.4 (stable) I get an error.

/usr/bin/ld: warning: ./link.res contains output sections; did you forget -T?
make[5]: Leaving directory '/var/tmp/portage/dev-lang/fpc-3.0.4/work/fpcbuild-3.0.4/fpcsrc/compiler'
./msg2inc msg/errore.msg msg msg
make[4]: *** [Makefile:3858: msgtxt.inc] Segmentation fault
make[4]: Leaving directory '/var/tmp/portage/dev-lang/fpc-3.0.4/work/fpcbuild-3.0.4/fpcsrc/compiler'
make[3]: *** [Makefile:3971: next] Error 2
make[3]: Leaving directory '/var/tmp/portage/dev-lang/fpc-3.0.4/work/fpcbuild-3.0.4/fpcsrc/compiler'
make[2]: *** [Makefile:3975: ppc1] Error 2
make[2]: Leaving directory '/var/tmp/portage/dev-lang/fpc-3.0.4/work/fpcbuild-3.0.4/fpcsrc/compiler'
make[1]: *** [Makefile:3987: cycle] Error 2
make[1]: Leaving directory '/var/tmp/portage/dev-lang/fpc-3.0.4/work/fpcbuild-3.0.4/fpcsrc/compiler'
make: *** [Makefile:2780: compiler_cycle] Error 2
 * ERROR: dev-lang/fpc-3.0.4::gentoo failed (compile phase):
 *   emake failed

I have included the build.log of dev-lang/fpc-3.0.4

I really have no clue to solve this.
Comment 4 Teun Blok 2021-10-13 19:05:39 UTC
Created attachment 744780 [details]
ebuild.log dev-lang/fpc-3.0.4
Comment 5 Tee KOBAYASHI 2021-10-13 22:43:26 UTC
Build failure of dev-lang/fpc-3.0.4 is another issue which has already filed at https://bugs.gentoo.org/784512.

This may be off-topic but if you are going to emerge dev-lang/lazarus on a stable system then you will probably need to unmask BOTH =dev-lang/fpc-3.2.2 AND =dev-lang/lazarus-2.0.6.
Comment 6 Teun Blok 2021-10-14 10:33:46 UTC
I have marked fpc and lazarus unstable with ~amd64 in package.accept_keywords.
dev-lang/fpc-3.2.2 compiled fine but dev-lang/lazarus-2.0.6 gave me the same error as in my comment #1 above.

emerge -p of both packages gives the following:

Calculating dependencies... done!
[ebuild   R   ~] dev-lang/fpc-3.2.2 

Calculating dependencies... done!
[ebuild     U ~] dev-lang/lazarus-2.0.6 [1.8.4-r2]

The problem for me is lazarus stable and unstable version.
Is this a user configuration fault or a bug in lazarus?
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-10-14 10:42:17 UTC
I think stable Lazarus actually needs an older version of FPC. But let me try bump Lazarus.
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-10-14 10:56:52 UTC
(In reply to Sam James from comment #7)
> I think stable Lazarus actually needs an older version of FPC. But let me
> try bump Lazarus.

Meant to tag this bug when I closed bug 732758. Can you try the new version of Lazarus just added (.12)? May need to emerge --sync in a bit then try.
Comment 9 Teun Blok 2021-10-14 19:12:12 UTC
Hello both,

I have marked lazarus and fpc unstable with ~amd64 in package.accept_keywords
After your bump of lazarus in portage to .12 version I did a --emerge sync.
New version .12 ebuild available and I did emerge lazarus.

It all went OK, no compile error anymore. So now I have lazarus and fpc newest unstable version working.

FYI:

# emerge -p lazarus fpc

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ~] dev-lang/fpc-3.2.2 
[ebuild   R   ~] dev-lang/lazarus-2.0.12 

For me this case is solved now.

Many thanks for your help.

Teun
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-10-14 19:17:28 UTC
(In reply to Teun Blok from comment #9)
> Hello both,
> 
> I have marked lazarus and fpc unstable with ~amd64 in package.accept_keywords
> After your bump of lazarus in portage to .12 version I did a --emerge sync.
> New version .12 ebuild available and I did emerge lazarus.
> 
> It all went OK, no compile error anymore. So now I have lazarus and fpc
> newest unstable version working.
> 
> FYI:
> 
> # emerge -p lazarus fpc
> 
> These are the packages that would be merged, in order:
> 
> Calculating dependencies... done!
> [ebuild   R   ~] dev-lang/fpc-3.2.2 
> [ebuild   R   ~] dev-lang/lazarus-2.0.12 
> 
> For me this case is solved now.
> 
> Many thanks for your help.
> 
> Teun

Big thanks for getting back to me, always nice to hear feedback. I'll go ahead with the stablereq soon then given clearly fpc in stable is dodgy...