Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 650530 - [gnome overlay] dev-libs/atk-2.26.1[abi_x86_32] - Header files have changed between ABIs
Summary: [gnome overlay] dev-libs/atk-2.26.1[abi_x86_32] - Header files have changed b...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: https://bugzilla.gnome.org/show_bug.c...
Whiteboard:
Keywords:
Depends on:
Blocks: gnome-3.30
  Show dependency tree
 
Reported: 2018-03-14 22:27 UTC by Dennis Schridde
Modified: 2019-02-24 10:04 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,114.30 KB, text/x-log)
2018-03-14 22:27 UTC, Dennis Schridde
Details
emerge --info dev-libs/atk (emerge-info-atk.log,9.23 KB, text/x-log)
2018-03-14 22:28 UTC, Dennis Schridde
Details
patch to resolve header difference caused by glib-mkenums (atk-enum.patch,754 bytes, patch)
2018-04-22 12:39 UTC, Mike Auty (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Schridde 2018-03-14 22:27:39 UTC
Created attachment 523968 [details]
build.log

The build of dev-libs/atk-2.26.1[abi_x86_32] aborts with the multilib error message "Header files have changed between ABIs".
Comment 1 Dennis Schridde 2018-03-14 22:28:52 UTC
Created attachment 523970 [details]
emerge --info dev-libs/atk
Comment 2 Mart Raudsepp gentoo-dev 2018-03-14 22:39:16 UTC
sounds like a general issue with the meson eclass builds; please don't file a bug for each..
Comment 3 Dennis Schridde 2018-03-16 09:27:03 UTC
(In reply to Mart Raudsepp from comment #2)
> sounds like a general issue with the meson eclass builds; please don't file
> a bug for each..

Maybe dev-libs/glib-2.54.3-r4::gnome also plays a role in this?  I didn't notice such issues before switching to gnome overlay (and thus dev-libs/glib-2.54.3-r4::gnome).
Comment 4 Dennis Schridde 2018-03-16 09:33:03 UTC
(In reply to Mart Raudsepp from comment #2)
> sounds like a general issue with the meson eclass builds; please don't file
> a bug for each..

P.S. Do you have a hint on how to debug this further (and eventually fix it)?  This (and bug #650536) currently blocks building my desktop machine's operating system and I want to get the hardware operational within the next days, so I can continue hacking on fun things again.
Comment 5 Dennis Schridde 2018-03-18 13:27:08 UTC
The same fix from bug #650532 comment #2 can also be applied to the atk ebuild to fix this issue.
Comment 6 Mike Auty (RETIRED) gentoo-dev 2018-04-22 12:39:22 UTC
Created attachment 528216 [details, diff]
patch to resolve header difference caused by glib-mkenums

Here's a patch which changes the enum generation templates to use @basename@ rather than @filename@, which doesn't therefore include the build directories whilst still maintaining the useful information.  It should resolve the mismatched header issue.
Comment 7 Mart Raudsepp gentoo-dev 2018-12-13 23:06:40 UTC
This manifests as a problem with meson only, as there the enum types file gets renegerated. With autotools, as still used in 2.28.1 in main tree, it doesn't regenerate them per ABI (a pregenerated one comes from tarballs) and is not a problem.
We'll have to see that the version we eventually move over to using meson is good about this, but as 2.28.1 is there, which is for 3.28, I'm retargeting this bug to 3.30 tracker, as we won't be moving main tree over to meson before then. Maybe it's fixed upstream already too in 2.30.x, we'll see then.

The gnome overlay 3.26 ebuild remained just as an initial work to move to meson, which maybe can be drawn as inspiration when doing it for main tree or updating to 2.30 in overlay.
Comment 8 Matt Turner gentoo-dev 2019-02-07 07:58:56 UTC
This has been fixed upstream. I've cherry-picked the upstream patch into my atk-2.30.0 bump (https://github.com/gentoo/gentoo/pull/10996)
Comment 9 Mart Raudsepp gentoo-dev 2019-02-24 10:04:20 UTC
That bump with patch was merged to main tree, and the problematic old meson ebuild in overlay has been removed by now. So considering this as fully fixed now