Skip to content

Problems building on FreeBSD #1147

@pgiffuni

Description

@pgiffuni

I noticed two outstanding issues when I last triedto port this to FreeBSD:

  1. The shebang on file configure is wrong:
% file /bin/bash
/bin/bash: cannot open `/bin/bash' (No such file or directory)

You could use "!/usr/bin/env bash" or you could port it to bin/sh and run the checkbashism script, that Debian carries, on it.

% make configure
===>   scancode-toolkit-2.2.1 depends on executable: bash - found
===>   scancode-toolkit-2.2.1 depends on file: /usr/local/bin/python2.7 - found
===>  Configuring for scancode-toolkit-2.2.1
===>   FreeBSD 10 autotools fix applied to /usr/ports/devel/scancode-toolkit/work/scancode-toolkit-2.2.1/tests/textcode/data/hard_to_parse/configure
Traceback (most recent call last):
  File "/usr/ports/devel/scancode-toolkit/work/scancode-toolkit-2.2.1/etc/configure.py", line 79, in <module>
    raise Exception('Unsupported OS/platform %r' % sys_platform)
Exception: Unsupported OS/platform 'freebsd11'

...
Kai Knoblich has been working on a port much more diligently and his WIP is here:

https://reviews.freebsd.org/D16484

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions