<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en" style='--code-editor-font: var(--default-mono-font, "GitLab Mono"), JetBrains Mono, Menlo, DejaVu Sans Mono, Liberation Mono, Consolas, Ubuntu Mono, Courier New, andale mono, lucida console, monospace;'>
<head>
<meta content="text/html; charset=US-ASCII" http-equiv="Content-Type">
<title>
GitLab
</title>
<style data-premailer="ignore" type="text/css">
a { color: #1068bf; }
</style>
<style>img {
max-width: 100%; height: auto;
}
body {
font-size: .875rem;
}
body {
-webkit-text-shadow: rgba(255,255,255,.01) 0 0 1px;
}
body {
font-family: "GitLab Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Noto Sans",Ubuntu,Cantarell,"Helvetica Neue",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"; font-size: inherit;
}
</style>
</head>
<body style='font-size: inherit; -webkit-text-shadow: rgba(255,255,255,.01) 0 0 1px; font-family: "GitLab Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Noto Sans",Ubuntu,Cantarell,"Helvetica Neue",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";'>
<div class="content">
<p style="color: #777777;">
<a href="https://gitlab.com/eschwartz">Eli Schwartz</a>
commented on a
<a href="https://gitlab.com/gnutls/gnutls/-/merge_requests/1908#note_2270875629">discussion</a>:
</p>
<div class="md" style="position: relative; z-index: 1; color: #3a383f; word-wrap: break-word;">
<blockquote dir="auto" style="font-size: inherit; color: #626168; padding-top: 0.5rem; padding-bottom: 0.5rem; padding-left: 1rem; border-left-style: solid; margin: 0 0 0.5rem; border-color: #bfbfc3; border-width: 0 0 0 4px;" align="initial">
<p style="color: inherit; line-height: 1.5; margin: 0;"><a href="https://gitlab.com/tal.regev" data-reference-type="user" data-user="2411664" data-container="body" data-placement="top" class="gfm gfm-project_member js-user-link" title="Tal Regev" style="color: #0b5cad; background-color: #cbe2f9; border-radius: .25rem; margin-top: 0; padding: 0 2px;">@tal.regev</a> I don't see any arguments about <em>why</em> this would be useful or needed? Seems it's following the trendy 'migrate Autotools to the X newfangled build system' hobby. The strongest arguments I've heard for CMake are "it auto-generates project files for Windows!", which leaves me wanting more, especially for a GNU package.</p>
</blockquote>
<p dir="auto" style="color: #3a383f; margin: 0 0 1rem;" align="initial">The linked issue suggests that speed of building gnutls is a motivation,
in particular due to the requirement of GNU autotools as being a
fork+exec-oriented programming language, in contrast to other
programming languages which are usually OOP or FP.</p>
<p dir="auto" style="color: #3a383f; margin: 0 0 1rem;" align="initial">Of course that's not necessarily a reason for the maintainers to switch
build systems. But <a href="https://gitlab.com/daiki" data-reference-type="user" data-user="257226" data-container="body" data-placement="top" class="gfm gfm-project_member js-user-link" title="masudadaiki" style="color: #0b5cad; background-color: #cbe2f9; border-radius: .25rem; margin-top: 0; padding: 0 2px;">@daiki</a> did suggest that meson is preferable over
cmake specifically because it avoids the turing tarpit of lengthy macros
hidden away in resource files.</p>
<p dir="auto" style="color: #3a383f; margin: 0 0 1rem;" align="initial">"This is important from the security point of view, after the XZ
incident, which was abusing the extensibility of Autotools macros."</p>
<p dir="auto" style="color: #3a383f; margin: 0 0 1rem;" align="initial">Naturally, autotools shares the same turing extensibility tarpit problem
that cmake has, so the argument for "meson > cmake" would also say
"meson > autotools".</p>
<p dir="auto" style="color: #3a383f; margin: 0 0 1rem;" align="initial"><gl-emoji title="person shrugging" data-name="shrug" data-unicode-version="9.0" style="margin-top: 0;">🤷</gl-emoji> It's very much a trend thing any way you slice it. Some would
argue a switch would be a "nice-to-have". I find it hard to accept it
being a "requirement" anyway.</p>
<p dir="auto" style="color: #3a383f; margin: 0;" align="initial"><a href="https://gitlab.com/tal.regev" data-reference-type="user" data-user="2411664" data-container="body" data-placement="top" class="gfm gfm-project_member js-user-link" title="Tal Regev" style="color: #0b5cad; background-color: #cbe2f9; border-radius: .25rem; margin-top: 0; padding: 0 2px;">@tal.regev</a> does contribute to Microsoft's vcpkg, and vcpkg has a gnutls
package -- but not one that builds on Windows, apparently, so that may
have something to do with it. It's definitely possible to build on
Windows via mingw, though -- e.g. MSYS2 manages it just fine, if perhaps
a bit slowly on their buildbots.</p>
</div>
</div>
<div class="footer" style="margin-top: 10px;">
<p style="font-size: small; color: #626168;">
—
<br>
Reply to this email directly or <a href="https://gitlab.com/gnutls/gnutls/-/merge_requests/1908#note_2270875629">view it on GitLab</a>.
<br>
You're receiving this email because of your account on <a target="_blank" rel="noopener noreferrer" href="https://gitlab.com">gitlab.com</a>. <a href="https://gitlab.com/-/sent_notifications/0f2c6f09c08409bd619aa908833354d0/unsubscribe" target="_blank" rel="noopener noreferrer">Unsubscribe</a> from this thread · <a href="https://gitlab.com/-/profile/notifications" target="_blank" rel="noopener noreferrer" class="mng-notif-link">Manage all notifications</a> · <a href="https://gitlab.com/help" target="_blank" rel="noopener noreferrer" class="help-link">Help</a>
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":"View Merge request","url":"https://gitlab.com/gnutls/gnutls/-/merge_requests/1908#note_2270875629"}}</script>
</p>
</div>
</body>
</html>