Summary: | dev-lang/lazarus-1.8.4-r2 (stable) Fatal: (1018) Compilation aborted | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Teun Blok <gomezloper> |
Component: | Current packages | Assignee: | Amy Liffey <amynka> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gomezloper, sam |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 732758 | ||
Bug Blocks: | 818139 | ||
Attachments: |
build.log dev-lang/lazarus-1.8.4-2
ebuild.log dev-lang/fpc-3.0.4 |
Description
Teun Blok
2021-10-13 15:48:26 UTC
Created attachment 744774 [details]
build.log dev-lang/lazarus-1.8.4-2
Seems like you are using unstable dev-lang/fpc-3.2.2. Related upstream issue: https://gitlab.com/freepascal.org/lazarus/lazarus/-/issues/34770 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. Created attachment 744780 [details]
ebuild.log dev-lang/fpc-3.0.4
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. 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? I think stable Lazarus actually needs an older version of FPC. But let me try bump Lazarus. (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. 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 (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... |