Skip to content
This repository has been archived by the owner on Aug 12, 2022. It is now read-only.

Tag BinDeps.jl v0.7.0 #10288

Merged
merged 1 commit into from
Jul 21, 2017
Merged

Tag BinDeps.jl v0.7.0 #10288

merged 1 commit into from
Jul 21, 2017

Conversation

attobot
Copy link
Contributor

@attobot attobot commented Jul 16, 2017

Repository: JuliaLang/BinDeps.jl
Release: v0.7.0
Travis: Travis Build Status
Diff: vs v0.6.0
requires vs v0.6.0: no changes
cc: @vtjnash

Please make sure that:

  • CI passes for supported Julia versions (if applicable).
  • Version bounds reflect minimum requirements.

@tkelman
Copy link
Contributor

tkelman commented Jul 16, 2017

It would be much, much less risky if JuliaPackaging/BinDeps.jl#277 only used the BinDeps-local version of this code on nightly Julia.

@vtjnash
Copy link
Member

vtjnash commented Jul 16, 2017

This is moving code the code from C (where we know it occasionally fails silently, because it used to crash CI until we added code to make it fail silently), to Julia (where that failure should be much less likely, and also get reported correctly).

@tkelman
Copy link
Contributor

tkelman commented Jul 16, 2017

I've asked you three or four times now in JuliaPackaging/BinDeps.jl#277 how many packages you tested this against, and not gotten a clear answer. Simple question, simple answer.

@vtjnash
Copy link
Member

vtjnash commented Jul 17, 2017

Yes, I made sure it creates the same array from within BinDeps, so that packages that use it are unaffected:

julia> BinDeps.debug("HDF5")
INFO: Reading build script...
 - Library "libhdf5"
    - Satisfied by:
      - BinDeps.AptGet package hdf5-tools at /usr/lib/x86_64-linux-gnu/libhdf5_serial.so.10
    - Providers:
      - BinDeps.AptGet package hdf5-tools
      - BinDeps.Pacman package hdf5 (can't provide)
      - BinDeps.Yum package hdf5 (can't provide)
      - Autotools Build

@vtjnash vtjnash closed this Jul 17, 2017
@vtjnash vtjnash reopened this Jul 17, 2017
@tkelman
Copy link
Contributor

tkelman commented Jul 17, 2017

In how many cases? Please answer the question.

@vtjnash
Copy link
Member

vtjnash commented Jul 19, 2017

Several. Above I'm just showing the success of the latest test.

@vtjnash
Copy link
Member

vtjnash commented Jul 21, 2017

CI seems to have gotten confused by the accidental close. Do I need to make a new PR?

@vtjnash vtjnash closed this Jul 21, 2017
@vtjnash vtjnash reopened this Jul 21, 2017
@tkelman
Copy link
Contributor

tkelman commented Jul 21, 2017

The existing code isn't going anywhere on 0.5 or 0.6. Does this fix anything that didn't already work? It's rather risky that it could break in a situation you haven't tested, so I still think this change should be nightly only.

@vtjnash
Copy link
Member

vtjnash commented Jul 21, 2017

Does this fix anything that didn't already work?

Yes. This handles error reporting correctly and reliably, and removes one minor source of unpredictably and undetectable failures from BinDeps.

it could break in a situation you haven't tested

The existing code breaks in situations that I have encountered. As a bugfix, this improves the reliability of the ldconfig handling on all versions.

@tkelman
Copy link
Contributor

tkelman commented Jul 21, 2017

Can you give a concrete example of the old code doing the wrong thing? Should add tests for that if possible.

@tkelman tkelman merged commit d6f784b into JuliaLang:metadata-v2 Jul 21, 2017
@attobot attobot deleted the BinDeps/v0.7.0 branch July 21, 2017 17:53
@tkelman
Copy link
Contributor

tkelman commented Jul 21, 2017

If this breaks anything it's getting reverted. And I'd still appreciate a specific example of the old code doing the wrong thing. "Unpredictabl[e] and undetectable failures" and "situations that I have encountered" don't help anyone else understand what the problem is.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants