Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 693044 - sci-libs/xkaapi-2.2 with sys-apps/hwloc-2 - .../work/xkaapi-2.2/src/machine/common/kaapi_hwtopo.c:226:28: error: ‘HWLOC_OBJ_CACHE’ undeclared (first use in this function); did you mean ‘HWLOC_OBJ_L5CACHE’?
Summary: sci-libs/xkaapi-2.2 with sys-apps/hwloc-2 - .../work/xkaapi-2.2/src/machine/c...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-29 02:36 UTC by Alessandro Barbieri
Modified: 2021-01-19 08:24 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alessandro Barbieri 2019-08-29 02:36:00 UTC
after patching https://bugs.gentoo.org/685056 I got this issue

/var/tmp/portage/sci-libs/xkaapi-2.2/work/xkaapi-2.2/src/machine/common/kaapi_hwtopo.c: In function ‘kaapi_hw_init’:
/var/tmp/portage/sci-libs/xkaapi-2.2/work/xkaapi-2.2/src/machine/common/kaapi_hwtopo.c:226:28: error: ‘HWLOC_OBJ_CACHE’ undeclared (first use in this function); did you mean ‘HWLOC_OBJ_L5CACHE’?
  226 |     else if ((obj->type == HWLOC_OBJ_CACHE) && ((obj->attr && (obj->attr->cache.depth == 3))))
      |                            ^~~~~~~~~~~~~~~
      |                            HWLOC_OBJ_L5CACHE
/var/tmp/portage/sci-libs/xkaapi-2.2/work/xkaapi-2.2/src/machine/common/kaapi_hwtopo.c:226:28: note: each undeclared identifier is reported only once for each function it appears in
/var/tmp/portage/sci-libs/xkaapi-2.2/work/xkaapi-2.2/src/machine/common/kaapi_hwtopo.c:250:26: error: ‘struct hwloc_obj’ has no member named ‘memory’
  250 |             = (size_t)obj->memory.total_memory;
      |                          ^~
/var/tmp/portage/sci-libs/xkaapi-2.2/work/xkaapi-2.2/src/machine/common/kaapi_hwtopo.c:313:28: error: ‘struct hwloc_obj’ has no member named ‘memory’
  313 |               = (size_t)obj->memory.total_memory;
      |                            ^~
/var/tmp/portage/sci-libs/xkaapi-2.2/work/xkaapi-2.2/src/machine/common/kaapi_hwtopo.c:324:28: error: ‘struct hwloc_obj’ has no member named ‘memory’

currently I can't downgrade hwloc and test if it build with version 1 (because of other packages needing version 2)
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2021-01-19 08:24:18 UTC
Package removed.