Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 03 Feb 2020 17:01:32 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 243850] lang/rust: fix some stage-qa problems
Message-ID:  <bug-243850-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D243850

            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@FreeBSD.org
          Reporter: jcfyecrayz@liamekaens.com
          Assignee: rust@FreeBSD.org
             Flags: maintainer-feedback?(rust@FreeBSD.org)

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

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

=3D=3D=3D=3D> Running Q/A tests (stage-qa)
Error: '/usr/bin/env python' is an invalid shebang you need USES=3Dshebangf=
ix for
'lib/rustlib/src/rust/src/libcore/unicode/unicode.py'
Error: '/usr/bin/env python' is an invalid shebang you need USES=3Dshebangf=
ix 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
=3D=3D=3D> The following configuration options are available for rust-1.41.=
0:
     DOCS=3Don: Build and/or install documentation
     GDB=3Don: Install ports gdb (necessary for debugging rust programs)
     SOURCES=3Don: Install source files
=3D=3D=3D> Use 'make config' to modify these settings



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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-243850-7788>