hi,

i cannot seem to build a fairly simple rust port.

all goes fine until moving the crates:

===>  Extracting for hyperfine-1.9.0
[modcargo] moving crates to 
/home/f/src/ports/pobj/hyperfine-1.9.0/hyperfine-1.9.0/modcargo-crates
mv: rename /home/f/src/ports/pobj/hyperfine-1.9.0/hyperfine-1.9.0 to 
/home/f/src/ports/pobj/hyperfine-1.9.0/hyperfine-1.9.0/modcargo-crates/hyperfine-1.9.0:
 Invalid argument


is it trying to move itself inside `modcargo-crates` ?

please find attached the WIP makefile.

-f
-- 
# $OpenBSD$

COMMENT =               

GH_ACCOUNT =            sharkdp
GH_PROJECT =            hyperfine
GH_TAGNAME =            v1.9.0

CATEGORIES =            sysutils

# MIT/Apache-2.0
PERMIT_PACKAGE =        Yes

WANTLIB +=              c c++abi pthread

MODULES =               devel/cargo

CONFIGURE_STYLE =       cargo

SEPARATE_BUILD =        Yes

MODCARGO_CRATES +=      ansi_term       0.11.0
MODCARGO_CRATES +=      approx  0.3.2
MODCARGO_CRATES +=      atty    0.2.13
MODCARGO_CRATES +=      autocfg 0.1.7
MODCARGO_CRATES +=      bitflags        1.2.1
MODCARGO_CRATES +=      bstr    0.2.8
MODCARGO_CRATES +=      byteorder       1.3.2
MODCARGO_CRATES +=      cfg-if  0.1.10
MODCARGO_CRATES +=      clap    2.33.0
MODCARGO_CRATES +=      clicolors-control       1.0.1
MODCARGO_CRATES +=      cloudabi        0.0.3
MODCARGO_CRATES +=      colored 1.9.0
MODCARGO_CRATES +=      console 0.9.1
MODCARGO_CRATES +=      csv     1.1.1
MODCARGO_CRATES +=      csv-core        0.1.6
MODCARGO_CRATES +=      encode_unicode  0.3.6
MODCARGO_CRATES +=      fuchsia-cprng   0.1.1
MODCARGO_CRATES +=      hyperfine       1.9.0
MODCARGO_CRATES +=      indicatif       0.13.0
MODCARGO_CRATES +=      itoa    0.4.4
MODCARGO_CRATES +=      kernel32-sys    0.2.2
MODCARGO_CRATES +=      lazy_static     1.4.0
MODCARGO_CRATES +=      libc    0.2.65
MODCARGO_CRATES +=      memchr  2.2.1
MODCARGO_CRATES +=      num     0.2.0
MODCARGO_CRATES +=      num-bigint      0.2.3
MODCARGO_CRATES +=      num-complex     0.2.3
MODCARGO_CRATES +=      num-integer     0.1.41
MODCARGO_CRATES +=      num-iter        0.1.39
MODCARGO_CRATES +=      num-rational    0.2.2
MODCARGO_CRATES +=      num-traits      0.2.10
MODCARGO_CRATES +=      number_prefix   0.3.0
MODCARGO_CRATES +=      proc-macro2     1.0.6
MODCARGO_CRATES +=      quote   1.0.2
MODCARGO_CRATES +=      rand    0.6.5
MODCARGO_CRATES +=      rand_chacha     0.1.1
MODCARGO_CRATES +=      rand_core       0.3.1
MODCARGO_CRATES +=      rand_core       0.4.2
MODCARGO_CRATES +=      rand_hc 0.1.0
MODCARGO_CRATES +=      rand_isaac      0.1.1
MODCARGO_CRATES +=      rand_jitter     0.1.4
MODCARGO_CRATES +=      rand_os 0.1.3
MODCARGO_CRATES +=      rand_pcg        0.1.2
MODCARGO_CRATES +=      rand_xorshift   0.1.1
MODCARGO_CRATES +=      rdrand  0.4.0
MODCARGO_CRATES +=      regex   1.3.1
MODCARGO_CRATES +=      regex-automata  0.1.8
MODCARGO_CRATES +=      regex-syntax    0.6.12
MODCARGO_CRATES +=      rust_decimal    1.0.3
MODCARGO_CRATES +=      ryu     1.0.2
MODCARGO_CRATES +=      serde   1.0.103
MODCARGO_CRATES +=      serde_derive    1.0.103
MODCARGO_CRATES +=      serde_json      1.0.42
MODCARGO_CRATES +=      statistical     1.0.0
MODCARGO_CRATES +=      strsim  0.8.0
MODCARGO_CRATES +=      syn     1.0.8
MODCARGO_CRATES +=      term_size       0.3.1
MODCARGO_CRATES +=      termios 0.3.1
MODCARGO_CRATES +=      textwrap        0.11.0
MODCARGO_CRATES +=      unicode-width   0.1.6
MODCARGO_CRATES +=      unicode-xid     0.2.0
MODCARGO_CRATES +=      winapi  0.2.8
MODCARGO_CRATES +=      winapi  0.3.8
MODCARGO_CRATES +=      winapi-build    0.1.1
MODCARGO_CRATES +=      winapi-i686-pc-windows-gnu      0.4.0
MODCARGO_CRATES +=      winapi-x86_64-pc-windows-gnu    0.4.0

.include <bsd.port.mk>

Reply via email to