Summary: | sci-mathematics/octave-4.4.0 fails at build with Imagemagick: Quantum not declared in this scope | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | jorgicio <jpizarrocallejas> |
Component: | Current packages | Assignee: | Gentoo Science Mathematics related packages <sci-mathematics> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | dev, dschridde+gentoobugs, gienah, jfostiguy, toralf |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=661378 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 663390 | ||
Attachments: |
The log
emerge-info.txt emerge-history.txt environment etc.portage.tbz2 logs.tbz2 sci-mathematics:octave-4.4.0:20180704-102201.log.bz2 temp.tbz2 The log for octave 4.4.1 |
Description
jorgicio
2018-07-03 19:16:04 UTC
Created attachment 538280 [details]
The log
appeared recently at the tinderbox image 17.0-desktop_20180623-161021 Created attachment 538354 [details]
emerge-info.txt
Created attachment 538356 [details]
emerge-history.txt
Created attachment 538358 [details]
environment
Created attachment 538360 [details]
etc.portage.tbz2
Created attachment 538362 [details]
logs.tbz2
Created attachment 538364 [details]
sci-mathematics:octave-4.4.0:20180704-102201.log.bz2
Created attachment 538366 [details]
temp.tbz2
(In reply to jorgicio from comment #1) > Created attachment 538280 [details] > The log It fails to compile with GraphicsMagick-1.3.30, too (error: 'MAGICKCORE_QUANTUM_DEPTH' was not declared in this scope) (In reply to Helmut Jarausch from comment #10) > (In reply to jorgicio from comment #1) > > Created attachment 538280 [details] > > The log > > It fails to compile with GraphicsMagick-1.3.30, too > (error: 'MAGICKCORE_QUANTUM_DEPTH' was not declared in this scope) I believe that is a different bug, since it is caused by Gentoo's patches, not by upstream themselves: bug #661046 It compiles fine for me with media-gfx/imagemagick-7.0.8.11 Maybe only <7.0 is affected? (In reply to Andrius Štikonas from comment #12) > It compiles fine for me with media-gfx/imagemagick-7.0.8.11 > > Maybe only <7.0 is affected? I don't know, I can't install >7.0 because of libopenshot, which requires <7.0. (In reply to jorgicio from comment #13) > (In reply to Andrius Štikonas from comment #12) > > It compiles fine for me with media-gfx/imagemagick-7.0.8.11 > > > > Maybe only <7.0 is affected? > > I don't know, I can't install >7.0 because of libopenshot, which requires > <7.0. Can't you unmerge it, upgrade imagemagick, try to build octave, and then downgrade back and install libopenshot again. Although, that's a bit of work but then we would know for sure. (In reply to Andrius Štikonas from comment #14) > (In reply to jorgicio from comment #13) > > (In reply to Andrius Štikonas from comment #12) > > > It compiles fine for me with media-gfx/imagemagick-7.0.8.11 > > > > > > Maybe only <7.0 is affected? > > > > I don't know, I can't install >7.0 because of libopenshot, which requires > > <7.0. > > Can't you unmerge it, upgrade imagemagick, try to build octave, and then > downgrade back and install libopenshot again. > > Although, that's a bit of work but then we would know for sure. It may take lots of time, so I'll see when I may try it. Also, it affects the 4.4.1 version. Created attachment 547820 [details]
The log for octave 4.4.1
The same issue happens with 4.4.1
I confirm upgrading imagemagick to the 7.0 version fixes the issue. The libopenshot-0.2.2 now allows >=imagemagick-7.0, so now I can try that version. Now, octave build successfully. Consider to check that dependency (Imagemagick) for Octave. *** Bug 669930 has been marked as a duplicate of this bug. *** The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac0126c0d65ef0785c688b0027c4f3cbbc7c7a45 commit ac0126c0d65ef0785c688b0027c4f3cbbc7c7a45 Author: Pacho Ramos <pacho@gentoo.org> AuthorDate: 2019-06-24 07:01:37 +0000 Commit: Pacho Ramos <pacho@gentoo.org> CommitDate: 2019-06-24 07:01:37 +0000 sci-mathematics/octave: imagemagick-7 is needed Closes: https://bugs.gentoo.org/660298 Package-Manager: Portage-2.3.67, Repoman-2.3.14 Signed-off-by: Pacho Ramos <pacho@gentoo.org> sci-mathematics/octave/octave-4.4.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (In reply to Larry the Git Cow from comment #19) > The bug has been closed via the following commit(s): > > https://gitweb.gentoo.org/repo/gentoo.git/commit/ > ?id=ac0126c0d65ef0785c688b0027c4f3cbbc7c7a45 > > commit ac0126c0d65ef0785c688b0027c4f3cbbc7c7a45 > Author: Pacho Ramos <pacho@gentoo.org> > AuthorDate: 2019-06-24 07:01:37 +0000 > Commit: Pacho Ramos <pacho@gentoo.org> > CommitDate: 2019-06-24 07:01:37 +0000 > > sci-mathematics/octave: imagemagick-7 is needed > > Closes: https://bugs.gentoo.org/660298 > Package-Manager: Portage-2.3.67, Repoman-2.3.14 > Signed-off-by: Pacho Ramos <pacho@gentoo.org> > > sci-mathematics/octave/octave-4.4.1.ebuild | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) I do still run into this (few minutes ago) (In reply to Toralf Förster from comment #20) > I do still run into this (few minutes ago) gah - sry, just for 4.4.0 The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9bf0c5ed22569b38b971412c57fb17c08c2abc64 commit 9bf0c5ed22569b38b971412c57fb17c08c2abc64 Author: Michael Orlitzky <mjo@gentoo.org> AuthorDate: 2020-03-27 18:41:36 +0000 Commit: Michael Orlitzky <mjo@gentoo.org> CommitDate: 2020-03-27 18:42:04 +0000 sci-mathematics/octave: new version 5.2.0 sans imagemagick support. This new version drops two patches (zlib underlinking and qt-5.11 support) that have been fixed upstream in other ways. Unfortunately, it also temporarily disables USE=imagemagick, because the upstream support for imagemagick is broken. In the past, we have carried custom patches to fix that, but they no longer apply, and upstream has hinted that the approach they take will not be accepted. So to get this out the door, the simplest thing to do is to follow upstream and throw imagemagick under a bus. Bug: https://bugs.gentoo.org/401189 Bug: https://bugs.gentoo.org/660298 Closes: https://bugs.gentoo.org/709388 Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Michael Orlitzky <mjo@gentoo.org> sci-mathematics/octave/Manifest | 1 + sci-mathematics/octave/octave-5.2.0.ebuild | 201 +++++++++++++++++++++++++++++ 2 files changed, 202 insertions(+) |