pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/56137: lang/mozjs78: error: failed to resolve patches



>Number:         56137
>Category:       pkg
>Synopsis:       lang/mozjs78: error: failed to resolve patches
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Apr 30 23:40:00 +0000 2021
>Originator:     David Shao
>Release:        pkgsrc current
>Organization:
>Environment:
NetBSD xxxxxx.xxx 9.99.82 NetBSD 9.99.82 (GENERIC) #1: Fri Apr 30 17:37:31 UTC 2021  xxx%xxxxxx.xxx@localhost:/usr/obj/sys/arch/amd64/compile/GENERIC amd64
>Description:
gmake[3]: Entering directory '/usr/pkgsrc/lang/mozjs78/work/firefox-78.4.0/js/src/build/js/src/rust'
js/src/rust/force-cargo-library-build
/usr/pkg/bin/cargo rustc  --release --manifest-path /usr/pkgsrc/lang/mozjs78/work/firefox-78.4.0/js/src/rust/Cargo.toml -vv --lib --target=x86_64-unknown-netbsd  --  -Clto
    Updating git repository `https://github.com/shravanrn/nix/`
error: failed to resolve patches for `https://github.com/rust-lang/crates.io-index`

Caused by:
  failed to load source for dependency `nix`

Caused by:
  Unable to update https://github.com/shravanrn/nix/?rev=4af6c367603869a30fddb5ffb0aba2b9477ba92e

Caused by:
  failed to clone into: /usr/pkgsrc/lang/mozjs78/work/.home/.cargo/git/db/nix-bcf9654e7f420cf5

Caused by:
  network failure seems to have happened
  if a proxy or similar is necessary `net.git-fetch-with-cli` may help here
  https://doc.rust-lang.org/cargo/reference/config.html#netgit-fetch-with-cli

Caused by:
  the SSL certificate is invalid; class=Ssl (16); code=Certificate (-17)
gmake[3]: *** [/usr/pkgsrc/lang/mozjs78/work/firefox-78.4.0/config/makefiles/rust.mk:299: force-cargo-library-build] Error 101
gmake[3]: Leaving directory '/usr/pkgsrc/lang/mozjs78/work/firefox-78.4.0/js/src/build/js/src/rust'
gmake[2]: *** [/usr/pkgsrc/lang/mozjs78/work/firefox-78.4.0/config/recurse.mk:74: js/src/rust/target] Error 2
gmake[2]: Leaving directory '/usr/pkgsrc/lang/mozjs78/work/firefox-78.4.0/js/src/build'
gmake[1]: *** [/usr/pkgsrc/lang/mozjs78/work/firefox-78.4.0/config/recurse.mk:34: compile] Error 2
gmake[1]: Leaving directory '/usr/pkgsrc/lang/mozjs78/work/firefox-78.4.0/js/src/build'
gmake: *** [/usr/pkgsrc/lang/mozjs78/work/firefox-78.4.0/config/rules.mk:390: all] Error 2
>How-To-Repeat:
Here is the /etc/mk.conf I use.  I have added my own option to gtk-doc to use its own configure option to not build source-highlight.

.ifdef BSD_PKG_MK   # begin pkgsrc settings

CURSES_DEFAULT=ncurses
READLINE_DEFAULT=readline

PREFER.libexecinfo=native

COPTS+= -g
INSTALL_UNSTRIPPED=yes
USE_DESTDIR=yes

ACCEPTABLE_LICENSES += vim-license lame-license vera-ttf-license gnu-agpl-v3
ALLOW_VULNERABLE_PACKAGES=yes

LIBRSVG_TYPE=c

PKG_OPTIONS.xfce4-thunar = -gvfs

PKG_OPTIONS.mpv = -pulseaudio -sdl2
PKG_OPTIONS.libdvdread = dvdcss

PKG_OPTIONS.rxvt-unicode = rxvt-term

DISTDIR = /usr/distfiles
PACKAGES = /usr/packages

## Patched for added option

PKG_OPTIONS.gtk-doc = -source-highlight

.endif              # end pkgsrc settings

>Fix:



Home | Main Index | Thread Index | Old Index