Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Oct 2022 16:52:51 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 267474] www/deno: Wrong i386 broken message
Message-ID:  <bug-267474-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 267474
           Summary: www/deno: Wrong i386 broken message
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: mikael@FreeBSD.org
          Reporter: eduardo@FreeBSD.org
             Flags: maintainer-feedback?(mikael@FreeBSD.org)
          Assignee: mikael@FreeBSD.org

Hello Mikael,

i386 broken message:
"BROKEN_i386=3D cargo:warning=3Dc/freebsd.c:31:10: error: conflicting types=
 for
'get_cpu_speed'" isn't valid because build fails for other reason (see bell=
ow).

sys-info-0.9.1 crate are being fixed in:
---
devel/git-delta         # 267290
devel/gitui             # 267469
devel/libdatadog        # 267470
devel/wrangler          # 267471
security/solana         # BROKEN with rust 1.61.0+
sysutils/topgrade       # 267447
textproc/bat            # Not affected, sys-info crate removed from Cargo.l=
ock
www/deno

# sys-info-0.9.1 crate fix: https://github.com/FillZpp/sys-info-rs/issues/80
post-patch:
        @${REINPLACE_CMD} \
        -e '/get_cpu/s|unsigned long|uint64_t|' \
        -e '/get_proc_total/s|unsigned long|uint64_t|' \
                ${WRKSRC}/cargo-crates/sys-info-0.9.1/c/*.[ch]


---
Running `CARGO=3D/usr/local/bin/cargo CARGO_CRATE_NAME=3Dlibloading
CARGO_MANIFEST_DIR=3D/wrkdirs/usr/ports/www/deno/work/deno-1.26.1/cargo-cra=
tes/libloading-0.7.3
CARGO_PKG_AUTHORS=3D'Simonas Kazlauskas <libloading@kazlauskas.me>'
CARGO_PKG_DESCRIPTION=3D'Bindings around the platform'\''s dynamic library
loading primitives with greatly improved memory safety.' CARGO_PKG_HOMEPAGE=
=3D''
CARGO_PKG_LICENSE=3DISC CARGO_PKG_LICENSE_FILE=3D'' CARGO_PKG_NAME=3Dlibloa=
ding
CARGO_PKG_REPOSITORY=3D'https://github.com/nagisa/rust_libloading/'
CARGO_PKG_RUST_VERSION=3D1.40.0 CARGO_PKG_VERSION=3D0.7.3 CARGO_PKG_VERSION=
_MAJOR=3D0
CARGO_PKG_VERSION_MINOR=3D7 CARGO_PKG_VERSION_PATCH=3D3 CARGO_PKG_VERSION_P=
RE=3D''
LD_LIBRARY_PATH=3D'/wrkdirs/usr/ports/www/deno/work/target/release/deps:/us=
r/local/lib'
/usr/local/bin/rustc --crate-name libloading
/wrkdirs/usr/ports/www/deno/work/deno-1.26.1/cargo-crates/libloading-0.7.3/=
src/lib.rs
--error-format=3Djson --json=3Ddiagnostic-rendered-ansi,artifacts,future-in=
compat
--crate-type lib --emit=3Ddep-info,metadata,link -C opt-level=3Dz -C
linker-plugin-lto -C codegen-units=3D1 -C metadata=3D0429e72df2844a90 -C
extra-filename=3D-0429e72df2844a90 --out-dir
/wrkdirs/usr/ports/www/deno/work/target/i686-unknown-freebsd/release/deps
--target i686-unknown-freebsd -C linker=3Dcc -L
dependency=3D/wrkdirs/usr/ports/www/deno/work/target/i686-unknown-freebsd/r=
elease/deps
-L dependency=3D/wrkdirs/usr/ports/www/deno/work/target/release/deps --exte=
rn
cfg_if=3D/wrkdirs/usr/ports/www/deno/work/target/i686-unknown-freebsd/relea=
se/deps/libcfg_if-a44b87faeec30454.rmeta
--cap-lints warn -C link-arg=3D-fstack-protector-strong`
error: literal out of range for `usize`
   --> test_ffi/src/lib.rs:408:3
    |
408 |   18446744073709551615
    |   ^^^^^^^^^^^^^^^^^^^^
    |
    =3D note: `#[deny(overflowing_literals)]` on by default
    =3D note: the literal `18446744073709551615` does not fit into the type
`usize` whose range is `0..=3D4294967295`

error: literal out of range for `isize`
   --> test_ffi/src/lib.rs:413:4
    |
413 |   -9223372036854775808
    |    ^^^^^^^^^^^^^^^^^^^
    |
    =3D note: the literal `9223372036854775808` does not fit into the type
`isize` whose range is `-2147483648..=3D2147483647`

error: could not compile `test_ffi` due to 2 previous errors
---

Thanks

--=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-267474-7788>