On 31/08/15 00:22, Ximin Luo wrote:
> 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.
> 

1.4.0~~nightly.20150901+dfsg1-1 built for amd64, all tests passing, uploaded 
here in experimental:

https://people.torproject.org/~infinity0/apt/ 

Note that it contains an incomplete debian/changelog which I can't be bothered 
fixing right now. I built it by running 

$ DEBDIR=./rust/debian CHANNEL=nightly ./upgrade-rust.sh 

using the attached script, against the current rust.git debian packaging repo, 
then fixing debian/copyright to remove obsolete references to valgrind, then:

$ sudo cowbuilder --build rustc_1.4.0~~nightly.20150901+dfsg1-1.dsc

If people like it, I can upload a version to Debian experimental tomorrow.

> 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.
> 

All these points have been fixed in the above package, as well as in git. I've 
kept the hash-based library name for now.

I also made a beta version here, but haven't yet had time to build it:

http://mentors.debian.net/debian/pool/main/r/rustc/rustc_1.3.0~beta.3.20150812+dfsg1-1.dsc

"It should work", though. Enjoy!

X

-- 
GPG: 4096R/1318EFAC5FBBDBCE
git://github.com/infinity0/pubkeys.git

Attachment: upgrade-rust.sh
Description: application/shellscript

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to