Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 699350 - sci-electronics/kicad-5.1.4 - In file included from .../work/kicad-5.1.4/3d-viewer/3d_cache/sg/sg_node.cpp:31: /usr/include/glm/detail/type_vec4_simd.inl:156:11: error: ‘struct glm::tvec4<float, (glm::precision)5>’ has no member named ‘data’
Summary: sci-electronics/kicad-5.1.4 - In file included from .../work/kicad-5.1.4/3d-v...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Zoltan Puskas
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2019-11-05 07:33 UTC by Einstok Fair
Modified: 2019-11-17 07:45 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,233.45 KB, text/plain)
2019-11-05 07:37 UTC, Einstok Fair
Details
emerge --info sci-electronics/kicad media-libs/glm (file_699350.txt,11.35 KB, text/plain)
2019-11-05 13:26 UTC, Einstok Fair
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Einstok Fair 2019-11-05 07:33:17 UTC
USE="doc examples" emerge -v kicad

[ 30%] Built target kicad2step
make: *** [Makefile:163: all] Error 2
 * ERROR: sci-electronics/kicad-5.1.4::gentoo failed (compile phase):
 *   emake failed


Reproducible: Always
Comment 1 Einstok Fair 2019-11-05 07:37:12 UTC
Created attachment 595040 [details]
build.log
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2019-11-05 07:49:26 UTC
Please post your `emerge --info sci-electronics/kicad media-libs/glm' output in a comment.
Comment 3 Einstok Fair 2019-11-05 13:26:02 UTC
Created attachment 595048 [details]
emerge --info sci-electronics/kicad media-libs/glm
Comment 4 Zoltan Puskas 2019-11-14 07:51:34 UTC
You're using media-libs/glm-0.9.8.5-r1, which has been dropped from portage tree on 2019-04-02. sci-electronics/kicad-5.1.4 was introduced into portage tree on 2019-08-09, thus never was tested with that particular outdated GLM version. 

Please upgrade to at least media-libs/glm-0.9.9.2, which is stable. It shall be supported by kicad too (based on their CMakeLists.txt and upstream's repo history).
Comment 5 Zoltan Puskas 2019-11-16 09:10:37 UTC
I've spent some time debugging this further. There were a lot of fixes and refactors going into GLM. Looking at GLM's source I think only versions 0.9.9.1 and newer will work with recent compilers and KiCAD.

I'll update the ebuild to gate on the right version as well as submit a patch for upstream.
Comment 6 Larry the Git Cow gentoo-dev 2019-11-17 07:45:58 UTC
The bug has been closed via the following commit(s):

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

commit 1a534031708f50cb8486a619ba3eabfd5d0dac81
Author:     Zoltan Puskas <zoltan@sinustrom.info>
AuthorDate: 2019-11-16 09:22:39 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2019-11-17 07:45:47 +0000

    sci-electronics/kicad: Enforce non-deprecated media-libs/glm version
    
    Closes: https://bugs.gentoo.org/699350
    Package-Manager: Portage-2.3.79, Repoman-2.3.18
    Signed-off-by: Zoltan Puskas <zoltan@sinustrom.info>
    Closes: https://github.com/gentoo/gentoo/pull/13673
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 sci-electronics/kicad/kicad-5.1.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)