Git Product home page Git Product logo

Comments (1)

steveej avatar steveej commented on May 31, 2024

Narrowing it down, this is the relevant part from install.sh after set -x. It shows that the performed [ -n "$_file" ] check doesn't use the full string. This error repeats throughout the script and will eventually lead to the install failure.

+echo file:lib/rustlib/src/rust/src/llvm/test/DebugInfo/Inputs/dwarfdump-test3.elf-x86-64 space
+cut -f1 -d:
+local _command=file
+echo file:lib/rustlib/src/rust/src/llvm/test/DebugInfo/Inputs/dwarfdump-test3.elf-x86-64 space
+cut -f2 -d:
+local _file=lib/rustlib/src/rust/src/llvm/test/DebugInfo/Inputs/dwarfdump-test3.elf-x86-64 space
+[ ! -n file ]
+[ ! -n lib/rustlib/src/rust/src/llvm/test/DebugInfo/Inputs/dwarfdump-test3.elf-x86-64 ]
+local _file_install_path=/nix/store/mx29z711csf2hf0fs67405qlc8mha7gd-rust-src-1.16.0-2017-03-10-30cf806ef/lib/rustlib/src/rust/src/llvm/test/DebugInfo/Inputs/dwarfdump-test3.elf-x86-64

The shell installed at /bin/sh on travis is dash, and the install.sh uses the header #!/bin/sh. If I manually edit this within a debug session on travis and have it call #!/usr/bin/env bash instead, things work fine.

from nixpkgs-mozilla.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.