[Pkg-rust-maintainers] Bug#796256: Bug#796256: Bug#796256: Bug#796256: Please consider packaging a Rust version that allows #![feature(...)]

Ximin Luo infinity0 at debian.org
Sun Aug 30 22:22:28 UTC 2015


On 30/08/15 21:42, Ximin Luo wrote:
> On 21/08/15 10:33, Josh Triplett wrote:
>>> Personally, I'm reluctant to break the release-channels experiment so close
>>> to the 1.0 release.  We may well declare it failed and do something
>>> different in future, but right now I think Debian has an important role to
>>> play in demonstrating what the "stable" Rust world looks like and providing
>>> pressure for upstreams to avoid unstable features.
>>
>> I don't think this would be breaking release-channels.  Rather, this
>> would be demonstrating the value of that model.  Debian unstable, and
>> thus testing and eventually stable, would get stable Rust releases.
>> Debian experimental would get Rust builds with experimental features
>> turned on.  Software uploaded to Debian unstable, for instance, would
>> still have to build with stable Rust.
>>
> 
> I'm trying this now, going to upload to mentors.debian.net if I succeed. Wish me luck!
> 

I built these source packages using the attached script:

Version 1.2.0.20150812.beta+dfsg1-1
Version 1.2.0.20150830.nightly+dfsg1-1
https://mentors.debian.net/package/rustc

I haven't yet built binary packages out of them, though - the tests keep failing. Next, I will play around with giving DEB_BUILD_OPTIONS=nocheck to cowbuilder.

Some notes:

- we could probably come up with a better system for the version strings
- for the nightly, I dropped debian/patches/fix-test-llvm-3.6.diff which seems to have been applied upstream
- for some reason we bundle a src/etc/snapshot.pyc in the .debian.tar.gz and force it to be ignored with debian/source/include-binaries, wtf?
- both beta and nightly have upgraded to jquery 2.1.4 but my upgrade script doesn't account for this
- pretty sure we can symlink jquery.js in debian/rust-doc.links instead of having debian/rules explicitly do it
- not sure what to do with the libstd-rust-xxxx stuff. I couldn't find the id anywhere in the upstream source, even in the current debian sid version. Also, will we continue to keep adding the old package versions to Replaces/Breaks? This seems unsustainable.

I'm sure there's lots of other things, have fun playing with what I have so far. It'll probably take me a couple of weeks to return to this.

X

-- 
GPG: 4096R/1318EFAC5FBBDBCE
git://github.com/infinity0/pubkeys.git
-------------- next part --------------
A non-text attachment was scrubbed...
Name: upgrade-rust.sh
Type: application/x-shellscript
Size: 1757 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-rust-maintainers/attachments/20150831/9dba43ef/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-rust-maintainers/attachments/20150831/9dba43ef/attachment.sig>


More information about the Pkg-rust-maintainers mailing list