Skip to content

faust2lv2 is broken outside of nix-shell #34062

@magnetophon

Description

@magnetophon

Issue description

When I run:

git clone https://github.com/magnetophon/faustCompressors.git
cd faustCompressors
faust2lv2 FFcompressor.dsp

I get:

lv2.cpp:292:37: fatal error: boost/circular_buffer.hpp: No such file or directory

When I run this inside that repo:

nix-shell $NIXPKGS -A magnetophonDSP.faustCompressors
faust2lv2 FFcompressor.dsp

it just works.

It used to work outside of nix-shell too, for the last 2 years.

faust2lv2 is a wrapped shell-script.
I tried to debug by adding some relevant echo statements to it, echoing the exact gcc command being called, and echoing env | grep boost.
It outputs the exact same thing if I run it from normal shell or nix-shell.
See: https://hastebin.com/owiyamowot.php (save to /tmp/ to work with the wrapper)
The echo commands I added are from line 190 trough line 198.

In nix-shell it finishes, and in normal shell it gets till line 195.
Here is the wrapper: https://hastebin.com/jirojujifa.bash

I also tried reverting the last few faust commits and rebuilding from there. No dice.

Probably related to: #33495

cc @pmahoney

Technical details

  • system: "x86_64-linux"
  • host os: Linux 4.14.12-rt10, NixOS, 18.03.git.70d6e3c (Impala)
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 1.11.16
  • channels(bart): ""
  • channels(root): "nixos-18.03pre125750.a6dca042722"
  • nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions