Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 717112 - sci-mathematics/gfan fails to compile
Summary: sci-mathematics/gfan fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Science Mathematics related packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 716362
  Show dependency tree
 
Reported: 2020-04-11 16:07 UTC by Agostino Sarubbo
Modified: 2024-08-29 17:33 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,54.82 KB, text/plain)
2020-04-11 16:07 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2020-04-11 16:07:11 UTC
This is an auto-filled bug because sci-mathematics/gfan fails to compile on x86. Feel free to adjust the summary to clarify the exact issue. Attached build log and emerge --info
Comment 1 Agostino Sarubbo gentoo-dev 2020-04-11 16:07:18 UTC
Created attachment 632270 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2020-04-11 16:09:36 UTC
it hangs here:

x86 (CHROOT) ~ $ ls -la /var/tmp/portage/sci-mathematics/gfan-0.6.2/temp/build.log 
lrwxrwxrwx 1 portage portage 72 Apr 10 17:56 /var/tmp/portage/sci-mathematics/gfan-0.6.2/temp/build.log -> /var/log/emerge-log/build/sci-mathematics/gfan-0.6.2:20200410-155650.log
x86 (CHROOT) ~ $ date
Sat 11 Apr 2020 06:06:10 PM CEST
Comment 3 Michael Orlitzky gentoo-dev 2020-04-11 19:41:53 UTC
ago: Does it reliably hang in that same test every time? (Can you try with -j1 to be sure which test it is?)

I guess as a workaround we can disable the problematic test.
Comment 4 Agostino Sarubbo gentoo-dev 2020-04-13 09:59:34 UTC
(In reply to Michael Orlitzky from comment #3)
> ago: Does it reliably hang in that same test every time? (Can you try with
> -j1 to be sure which test it is?)
> 
> I guess as a workaround we can disable the problematic test.

Yes it hangs every time with the same test:
Running command:"cat <testsuite/0602ResultantFanProjection/input|./gfan _resultantfan --vectorinput --projection| grep F_VECTOR -A1>testsuite/0602ResultantFanProjection/outputNew"
Comment 5 Michael Orlitzky gentoo-dev 2020-04-14 15:30:52 UTC
Thanks. There's no upstream bug tracker, so I emailed the author directly about the issue. When I get further down my TODO list I'll just comment out that test.
Comment 6 Larry the Git Cow gentoo-dev 2020-04-15 13:50:46 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee4164ea823436d8d4ba9f9f3ee0ca517de4141e

commit ee4164ea823436d8d4ba9f9f3ee0ca517de4141e
Author:     Michael Orlitzky <mjo@gentoo.org>
AuthorDate: 2020-04-15 13:34:01 +0000
Commit:     Michael Orlitzky <mjo@gentoo.org>
CommitDate: 2020-04-15 13:49:45 +0000

    sci-mathematics/gfan: disable test that hangs on x86.
    
    The "0602ResultantFanProjection" test hangs on x86, leading to a build
    failure. Disabling this test looks as simple as deleting it from the
    source tree, which the ebuild now does in src_prepare().
    
    Bug: https://bugs.gentoo.org/717112
    Package-Manager: Portage-2.3.89, Repoman-2.3.20
    Signed-off-by: Michael Orlitzky <mjo@gentoo.org>

 sci-mathematics/gfan/gfan-0.6.2.ebuild | 11 +++++++++++
 1 file changed, 11 insertions(+)
Comment 7 Michael Orlitzky gentoo-dev 2020-04-15 13:51:40 UTC
All it took was an "rm" of the test, so I fixed the ebuild in place. Please try again and resolve this if it works.
Comment 8 Michael Orlitzky gentoo-dev 2021-07-17 21:15:08 UTC
--enable-optimism
Comment 9 Larry the Git Cow gentoo-dev 2024-08-29 17:33:07 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c2a6e7fb4fb1d9205bca1556dd1a63b398d2244

commit 1c2a6e7fb4fb1d9205bca1556dd1a63b398d2244
Author:     Michael Orlitzky <mjo@gentoo.org>
AuthorDate: 2024-08-29 16:36:57 +0000
Commit:     Michael Orlitzky <mjo@gentoo.org>
CommitDate: 2024-08-29 17:30:59 +0000

    sci-mathematics/gfan: fix startup crash, other improvements
    
    AKA steal a few Debian patches.
    
    Bug: https://bugs.gentoo.org/717112
    Signed-off-by: Michael Orlitzky <mjo@gentoo.org>

 .../gfan/files/gfan-0.6.2-find-name.patch          | 18 +++++
 ...gfan-0.6.2-fix-0602ResultantFanProjection.patch | 27 ++++++++
 .../files/gfan-0.6.2-fix-spelling-errors.patch     | 50 ++++++++++++++
 sci-mathematics/gfan/gfan-0.6.2-r5.ebuild          | 78 ++++++++++++++++++++++
 4 files changed, 173 insertions(+)