[Bug 243850] lang/rust: fix some stage-qa problems

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Feb 3 17:01:34 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243850

            Bug ID: 243850
           Summary: lang/rust: fix some stage-qa problems
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: rust at FreeBSD.org
          Reporter: jcfyecrayz at liamekaens.com
          Assignee: rust at FreeBSD.org
             Flags: maintainer-feedback?(rust at FreeBSD.org)

Created attachment 211323
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=211323&action=edit
[patch] fix some stage-qa findings

as of the latest rust update, ports r524658 ...

====> Running Q/A tests (stage-qa)
Error: '/usr/bin/env python' is an invalid shebang you need USES=shebangfix for
'lib/rustlib/src/rust/src/libcore/unicode/unicode.py'
Error: '/usr/bin/env python' is an invalid shebang you need USES=shebangfix for
'lib/rustlib/src/rust/src/libcore/unicode/printable.py'
Warning: Possible REINPLACE_CMD issues
sed failed: file content unchanged from backup: src/librustc_llvm/build.rs
sed failed: file content unchanged from backup: src/bootstrap/native.rs
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/lang/rust



These are the options settings:

% make showconfig
===> The following configuration options are available for rust-1.41.0:
     DOCS=on: Build and/or install documentation
     GDB=on: Install ports gdb (necessary for debugging rust programs)
     SOURCES=on: Install source files
===> Use 'make config' to modify these settings



The attached patch adds knobs to do fix-shebang for the .py files and removes
the [now] unnecessary sed(1) from post-patch.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list