<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>Folks,</div>
<div><br>
</div>
<div>Sorry for taking long to reply, but I also believe I was added by mistake to this thread. I still own the LLVM launchpad project and used to maintain an updated PPA there a
<span style="font-weight: bold;">long</span> time ago, but I have not worked on this since (and no one contacted me about stepping in). </div>
<div><br>
</div>
<div>Best regards,</div>
<div>Luis Strano</div>
<div><br>
</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>Brian Anderson <<a href="mailto:banderson@mozilla.com">banderson@mozilla.com</a>><br>
<span style="font-weight:bold">Date: </span>Tuesday, August 30, 2016 at 5:18 PM<br>
<span style="font-weight:bold">To: </span>Sylvestre Ledru <<a href="mailto:s@mozilla.com">s@mozilla.com</a>><br>
<span style="font-weight:bold">Cc: </span>Henri Sivonen <<a href="mailto:hsivonen@mozilla.com">hsivonen@mozilla.com</a>>, Ximin Luo <<a href="mailto:infinity0@debian.org">infinity0@debian.org</a>>, Mike Hommey <<a href="mailto:mh@glandium.org">mh@glandium.org</a>>,
 Angus Lees <<a href="mailto:gus@debian.org">gus@debian.org</a>>, "<a href="mailto:pkg-mozilla-maintainers@lists.alioth.debian.org">pkg-mozilla-maintainers@lists.alioth.debian.org</a>" <<a href="mailto:pkg-mozilla-maintainers@lists.alioth.debian.org">pkg-mozilla-maintainers@lists.alioth.debian.org</a>>,
 "<a href="mailto:pkg-rust-maintainers@lists.alioth.debian.org">pkg-rust-maintainers@lists.alioth.debian.org</a>" <<a href="mailto:pkg-rust-maintainers@lists.alioth.debian.org">pkg-rust-maintainers@lists.alioth.debian.org</a>>, Chris Coulson <<a href="mailto:chrisccoulson@ubuntu.com">chrisccoulson@ubuntu.com</a>>,
 Hans Jørgen Hoel <<a href="mailto:hansjorg@gmail.com">hansjorg@gmail.com</a>>, Luis Strano <<a href="mailto:luis.strano@intel.com">luis.strano@intel.com</a>>, Lars Bergstrom <<a href="mailto:larsberg@mozilla.com">larsberg@mozilla.com</a>>, "Crichton, Alexander"
 <<a href="mailto:acrichton@mozilla.com">acrichton@mozilla.com</a>>, Jonathan Turner <<a href="mailto:jturner@mozilla.com">jturner@mozilla.com</a>>, Gregory Szorc <<a href="mailto:gps@mozilla.com">gps@mozilla.com</a>>, Ted Mielczarek <<a href="mailto:ted@mozilla.com">ted@mozilla.com</a>>,
 Luca BRUNO <<a href="mailto:lucab@debian.org">lucab@debian.org</a>>, "Jones, Anthony" <<a href="mailto:ajones@mozilla.com">ajones@mozilla.com</a>><br>
<span style="font-weight:bold">Subject: </span>Re: Facilitating Firefox+Rust Linux distro packaging<br>
</div>
<div><br>
</div>
<div>
<div>
<div dir="ltr"><br>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Tue, Aug 30, 2016 at 7:27 AM, Sylvestre Ledru <span dir="ltr">
<<a href="mailto:s@mozilla.com" target="_blank">s@mozilla.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class="">Le 30/08/2016 à 16:18, Henri Sivonen a écrit :<br>
><br>
> On Fri, Aug 26, 2016 at 1:48 PM, Mike Hommey <<a href="mailto:mh@glandium.org">mh@glandium.org</a>> wrote:<br>
>> - By the time ESR requires rustc, it will require a very much more<br>
>>   recent version of rustc than the one in Debian stable. Rustc currently<br>
>>   only be compiled, at best, by the previous version. Which means either<br>
>>   building every released version of rustc between the one shipped in<br>
>>   Debian stable and the one required by ESR in sequence, or<br>
>>   bootstrapping rustc from scratch. (and same again a year later, when<br>
>>   the ESR version bumps)<br>
><br>
> This would be neatly solved by Debian stable updating both Firefox and<br>
> rustc every six weeks like Debian stable updates our competitor<br>
> Chromium. (This would nicely also eliminate the complication of people<br>
> who want to write Rust code having to know to avoid from main and to<br>
> go to backports or to <a href="http://rustup.rs" rel="noreferrer" target="_blank">
rustup.rs</a> instead.)<br>
</span>If we are talking about Firefox ESR, my expectation from my release manager pov<br>
is that we will use the same version of the rust compiler for the whole cycle.<br>
I don't want rust changing versions impacting a product that we want to be stable...<br>
<br>
Once an ESR cycle ends (they are shorter than Debian stable), well, bumping the rust<br>
dependency is going to be a pain because of the LLVM dependency...<br>
This is the core of the issue...<br>
</blockquote>
<div><br>
</div>
<div>Is this implying that upgrading the Rust package alongside the new Firefox ESR, within the Debian stable cycle, is doable? It's only upgrading the LLVM dependency that is going to be problematic (and presumably libclang)?</div>
<div><br>
</div>
<div>If I understand how this is looking to play out, late 2017 Debian stable will need to upgrade to its first Firefox ESR that depends on Rust. At that time it will need to introduce rustc and cargo packages, that have dependencies on _some version of LLVM_;
 it's also likely that at that time m-c will depend on or vendor rust-bindgen and in turn creating a libclang dependency. Is that right? Does introducing the rustc and cargo packages mid-cycle pose a problem? If not, is figuring out how to accommodate the Debian-stable
 LLVM and libclang the only major problem?<br>
<br>
</div>
<div>I might suggest we can solve the problem with LLVM by promising compatibility with whatever LLVM Debian stable lands on, but I know LLVM has some major IR changes coming that are likely to make that difficult.</div>
<div><br>
</div>
<div>With Thunderbird taking on a Rust dependency does that impact Debian's anti-bundling policies? Do Thunderbird and Firefox share a gecko package?<br>
</div>
<div><br>
</div>
<div><br>
</div>
<div> </div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class=""><br>
<br>
>> At this point, I'm thinking we might as well have a separate archive for<br>
>> Firefox only, that would autobuild the latest uploads of llvm, clang,<br>
>> rustc and Firefox in a Debian stable build environment.<br>
</span></blockquote>
<div><br>
</div>
<div>Mike, does "separate archive" mean people would need to get their Firefox debs from an unofficial source? Is this scheme problematic either technically or politically?</div>
<div> </div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class="">><br>
> Building a dependency constellation of the latest (non-ESR) Firefox,<br>
> rustc, cargo, llvm and libclang appears to solve the problems, so it<br>
> seems like a reasonable solution. Why would it need to be in a<br>
> separate archive, though? Chromium already updates every six weeks in<br>
> main as opposed to a separate archive.<br>
</span>AFAIK, Chromium doesn't have a dependency like Rust.<br>
</blockquote>
<div><br>
</div>
<div>Can you expand on what you mean by "like Rust"? Is it that Rust is large, that it's a compiler? How does the 6-week Chromium update scheme work with their deps - are they bundled or do they have their own "constellation" of packages only used by Chromium?<br>
</div>
<div> </div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class=""><br>
<br>
> Old Ubuntu LTS seems to be able<br>
> to package a newer GCC within their main archive in order to build<br>
> non-ESR Firefox: <a href="http://packages.ubuntu.com/precise/gcc-mozilla" rel="noreferrer" target="_blank">
http://packages.ubuntu.com/<wbr>precise/gcc-mozilla</a> .<br>
</span>Ubuntu is not Debian ;)<br>
<span class="HOEnZb"><font color="#888888"><br>
S<br>
</font></span></blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</span>
</body>
</html>