-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bumping mircommon, miral, and mirserver sonames for mircookie work #3178
Bumping mircommon, miral, and mirserver sonames for mircookie work #3178
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for trying, but you're not done yet!
For the libs you've touched, there need to be changes to libmiral6.symbols
And there are more libs to touch: I think that mircore is the only ABI that isn't being broken.
For example, miroil
depends on mircommon
. So a process needs to be able to load a consistent versions of both libraries. That is only possible with a bump to the miroil .soname.
The same applies to, for example, platforms
@@ -81,7 +81,7 @@ def _report(publish, symbol): | |||
else: | |||
print('NOPUBLISH: {}'.format(symbol)) | |||
|
|||
OLD_STANZAS = '''MIRAL_4.0 { | |||
OLD_STANZAS = '''MIRAL_4.1 { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should be going to MIRAL_5.0
global:''' | ||
|
||
END_NEW_STANZA = ''' | ||
} MIRAL_4.0; | ||
} MIRAL_4.1; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to clear these symbols from the script and let it fill in the current stanza. See 8e3130d for an example
src/server/symbols.map
Outdated
MIR_SERVER_2.15 { | ||
MIR_SERVER_2.16 { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
MIR_SERVER_2.17
- 2.16 has already been released
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool! Why did it say 2.15? Because we didn't introduce any new symbols on the prev release?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Exactly - the stanza is the release the symbol was introduce to the current .soname
src/common/symbols.map
Outdated
@@ -1,4 +1,4 @@ | |||
MIR_COMMON_2.8 { | |||
MIR_COMMON_2.15 { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
MIR_SERVER_2.17
- 2.15 has already been released
src/CMakeLists.txt
Outdated
set(MIRAL_VERSION_MAJOR 4) | ||
set(MIRAL_VERSION_MINOR 1) | ||
set(MIRAL_VERSION_MINOR 2) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
5.0, not 4.2
Do I do this part by hand?
Kk makes sense! |
@AlanGriffiths does that include mirwayland? |
|
The check-and-update-debian-symbols.py (runs as part of a build) adds missing symbols. So just strip all the symbols and |
5e7bf68
to
4bc086e
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## feature/remove_mir_cookie #3178 +/- ##
==========================================================
Coverage 77.80% 77.81%
==========================================================
Files 1062 1062
Lines 74626 74650 +24
==========================================================
+ Hits 58063 58087 +24
Misses 16563 16563 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We also need to bump the platform ABIs
- MIR_SERVER_INPUT_PLATFORM_ABI
- MIR_SERVER_GRAPHICS_PLATFORM_ABI
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's a regenerate-miroil-symbols-map.py (and build target) too
I am confused by the failures here. It looks like miroil symbols used to be just ignored ( I'll have another look on Monday if this still fails. Hopefully I'll be fresher then! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think part of the problem is #3184
@mattkae leave this a bit. I'm debugging the helper stuff |
@mattkae I have to dive into #3185 now, so good luck. (I've fixed some things, but the proof will be in CI. ) Some useful incantations for running the symbol (re)generation scripts:
|
@AlanGriffiths Ok i think this is good to go again. The symbols that were bumped are:
Am I missing anything? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Am I missing anything?
target_link_libraries(mirplatform
PRIVATE
mircommon
${MIR_PLATFORM_REFERENCES}
PUBLIC
PkgConfig::EPOXY
)
So, libmirplatform
also needs an soname bump
34d87fd
into
feature/remove_mir_cookie
No description provided.