Summary: | =dev-libs/gf2x-1.3.0 USE="custom-tune fft" tunefft.o:tunefft.c:function next_step: error: undefined reference to 'MIN' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Bernd <waebbl-gentoo> |
Component: | Current packages | Assignee: | Gentoo Science Mathematics related packages <sci-mathematics> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jstein, lssndrbarbieri, sam |
Priority: | Normal | Keywords: | PATCH, PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/gentoo/gentoo/pull/21137 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
gf2x-1.3.0:20200428-202155.log
emerge-info-gf2x.txt 0001-dev-libs/gf2x-add-include-for-MIN.patch |
Description
Bernd
2020-04-29 06:01:22 UTC
Created attachment 635130 [details]
gf2x-1.3.0:20200428-202155.log
Build log
Created attachment 635132 [details]
emerge-info-gf2x.txt
Output of emerge --info gf2x
Looks like including /usr/include/sys/param.h in src/tunefft.c has the definitons for MIN and MAX. The build is currently fine-tuning for fft, which might take some time, but the build of the tune-fft binary worked with the above. I'm providing a patch tomorrow morning, once the build is finished. Created attachment 635266 [details, diff]
0001-dev-libs/gf2x-add-include-for-MIN.patch
Patch which worked for me to solve this issue.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c7b2300d3e47284bbe33a18a20ae80ec5c334c1 commit 9c7b2300d3e47284bbe33a18a20ae80ec5c334c1 Author: Bernd Waibel <waebbl-gentoo@posteo.net> AuthorDate: 2021-06-05 20:53:44 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-06-05 21:26:58 +0000 dev-libs/gf2x: add missing includes Add include statement for MIN and MAX declarations Closes: https://bugs.gentoo.org/719982 Package-Manager: Portage-3.0.19, Repoman-3.0.3 Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net> Closes: https://github.com/gentoo/gentoo/pull/21137 Signed-off-by: Sam James <sam@gentoo.org> ...t.c-add-include-statement-for-MIN-and-MAX.patch | 29 ++++++++++++++++++++++ dev-libs/gf2x/gf2x-1.3.0.ebuild | 7 ++++-- 2 files changed, 34 insertions(+), 2 deletions(-) |