Skip to content

Commit

Permalink
Revert "games/jaggedalliance2: update to 0.18.0"
Browse files Browse the repository at this point in the history
This reverts commit 5ec940f.

It tries to fetch things during the build.

===>  Configuring for ja2-0.18.0
    Updating git repository `https://github.com/selaux/android-ndk-rs`
warning: spurious network error (2 tries remaining): failed to connect to github.com: Can't assign requested address; class=Os (2)
warning: spurious network error (1 tries remaining): failed to connect to github.com: Can't assign requested address; class=Os (2)
error: failed to get `ndk` as a dependency of package `stracciatella v0.1.0 (/wrkdirs/usr/ports/games/jaggedalliance2/work/ja2-stracciatella-0.18.0/rust/stracciatella)`

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

Caused by:
  Unable to update https://github.com/selaux/android-ndk-rs

Caused by:
  failed to clone into: /wrkdirs/usr/ports/games/jaggedalliance2/work/cargo-home/git/db/android-ndk-rs-8a286ebb858b1942

Caused by:
  failed to connect to github.com: Can't assign requested address; class=Os (2)
*** Error code 101

If we fix that error it still tries to fetch things later:

-- Using src='https://github.com/mackron/miniaudio/archive/634cdb028f340075ae8e8a1126620695688d2ac3.zip'
-- Retrying...
-- Using src='https://github.com/mackron/miniaudio/archive/634cdb028f340075ae8e8a1126620695688d2ac3.zip'
-- Retry after 5 seconds (attempt #2) ...
-- Using src='https://github.com/mackron/miniaudio/archive/634cdb028f340075ae8e8a1126620695688d2ac3.zip'
-- Retry after 5 seconds (attempt #3) ...
-- Using src='https://github.com/mackron/miniaudio/archive/634cdb028f340075ae8e8a1126620695688d2ac3.zip'
-- Retry after 15 seconds (attempt #4) ...
-- Using src='https://github.com/mackron/miniaudio/archive/634cdb028f340075ae8e8a1126620695688d2ac3.zip'
-- Retry after 60 seconds (attempt #5) ...
-- Using src='https://github.com/mackron/miniaudio/archive/634cdb028f340075ae8e8a1126620695688d2ac3.zip'
CMake Error at /wrkdirs/usr/ports/games/jaggedalliance2/work/.build/dependencies/lib-miniaudio/getter/get-miniaudio-prefix/src/get-miniaudio-stamp/download-get-miniaudio.
cmake:170 (message):
  Each download failed!

    error: downloading 'https://github.com/mackron/miniaudio/archive/634cdb028f340075ae8e8a1126620695688d2ac3.zip' failed
          status_code: 6
          status_string: "Couldn't resolve host name"
          log:
          --- LOG BEGIN ---
          Could not resolve host: github.com

PR:		255399
  • Loading branch information
Tobias Kortkamp authored and Tobias Kortkamp committed May 8, 2021
1 parent ce63990 commit 47bc8ce
Show file tree
Hide file tree
Showing 3 changed files with 138 additions and 255 deletions.
121 changes: 45 additions & 76 deletions games/jaggedalliance2/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

PORTNAME= ja2
DISTVERSIONPREFIX= v
DISTVERSION= 0.18.0
DISTVERSION= 0.17.0
PORTREVISION= 6
CATEGORIES= games

MAINTAINER= timp87@gmail.com
Expand All @@ -26,24 +27,19 @@ USES= cargo cmake compiler:c++11-lang pkgconfig sdl
USE_GITHUB= yes
GH_ACCOUNT= ja2-stracciatella
GH_PROJECT= ja2-stracciatella
USE_LDCONFIG= yes
USE_SDL= sdl2

CMAKE_ARGS= -DEXTRA_DATA_DIR:PATH="${DATADIR}"
CMAKE_OFF= LOCAL_STRING_THEORY_LIB WITH_UNITTESTS

CARGO_CRATES= addr2line-0.13.0 \
adler-0.2.3 \
aho-corasick-0.7.13 \
android_log-sys-0.2.0 \
android_logger-0.9.0 \
CARGO_CRATES= aho-corasick-0.7.10 \
ansi_term-0.11.0 \
arrayref-0.3.6 \
arrayvec-0.5.1 \
ascii-0.9.3 \
atty-0.2.14 \
autocfg-1.0.1 \
backtrace-0.3.50 \
base64-0.12.3 \
autocfg-1.0.0 \
base64-0.11.0 \
bitflags-1.2.1 \
blake2b_simd-0.5.10 \
block-buffer-0.7.3 \
Expand All @@ -52,103 +48,76 @@ CARGO_CRATES= addr2line-0.13.0 \
byteorder-1.3.4 \
caseless-0.2.1 \
cbindgen-0.13.2 \
cesu8-1.1.0 \
cfg-if-0.1.10 \
chrono-0.4.15 \
clap-2.33.3 \
combine-3.8.1 \
chrono-0.4.11 \
clap-2.33.0 \
constant_time_eq-0.1.5 \
crossbeam-channel-0.4.4 \
crossbeam-deque-0.7.3 \
crossbeam-epoch-0.8.2 \
crossbeam-queue-0.2.1 \
crossbeam-utils-0.7.2 \
derivative-2.1.1 \
digest-0.8.1 \
dirs-1.0.5 \
dunce-1.0.1 \
either-1.6.1 \
env_logger-0.7.1 \
error-chain-0.12.4 \
dunce-1.0.0 \
either-1.5.3 \
generic-array-0.12.3 \
getopts-0.2.21 \
getrandom-0.1.15 \
gimli-0.22.0 \
hashbrown-0.9.0 \
hermit-abi-0.1.15 \
getrandom-0.1.14 \
hermit-abi-0.1.10 \
hex-0.3.2 \
indexmap-1.6.0 \
itoa-0.4.6 \
jni-0.14.0 \
jni-sys-0.3.0 \
indexmap-1.3.2 \
itoa-0.4.5 \
json_comments-0.2.0 \
lazy_static-1.4.0 \
libc-0.2.77 \
log-0.4.11 \
libc-0.2.68 \
log-0.4.8 \
maybe-uninit-2.0.0 \
md-5-0.8.0 \
memchr-2.3.3 \
memoffset-0.5.5 \
miniz_oxide-0.4.2 \
ndk-0.2.0 \
ndk-sys-0.2.0 \
num-integer-0.1.43 \
num-traits-0.2.12 \
num_cpus-1.13.0 \
num_enum-0.4.3 \
num_enum_derive-0.4.3 \
object-0.20.0 \
memoffset-0.5.4 \
num-integer-0.1.42 \
num-traits-0.2.11 \
num_cpus-1.12.0 \
opaque-debug-0.2.3 \
ppv-lite86-0.2.9 \
proc-macro-crate-0.1.5 \
proc-macro2-1.0.21 \
quote-1.0.7 \
ppv-lite86-0.2.6 \
proc-macro2-1.0.10 \
quote-1.0.3 \
rand-0.7.3 \
rand_chacha-0.2.2 \
rand_core-0.5.1 \
rand_hc-0.2.0 \
rayon-1.4.0 \
rayon-core-1.8.0 \
redox_syscall-0.1.57 \
redox_users-0.3.5 \
regex-1.3.9 \
regex-syntax-0.6.18 \
remove_dir_all-0.5.3 \
rust-argon2-0.8.2 \
rustc-demangle-0.1.16 \
ryu-1.0.5 \
same-file-1.0.6 \
rayon-1.3.0 \
rayon-core-1.7.0 \
redox_syscall-0.1.56 \
redox_users-0.3.4 \
regex-1.3.6 \
regex-syntax-0.6.17 \
remove_dir_all-0.5.2 \
rust-argon2-0.7.0 \
ryu-1.0.3 \
scopeguard-1.1.0 \
serde-1.0.116 \
serde_derive-1.0.116 \
serde_json-1.0.57 \
serde-1.0.105 \
serde_derive-1.0.105 \
serde_json-1.0.50 \
simplelog-0.6.0 \
smallvec-1.2.0 \
strsim-0.8.0 \
syn-1.0.41 \
syn-1.0.17 \
tempfile-3.1.0 \
term-0.5.2 \
textwrap-0.11.0 \
thiserror-1.0.20 \
thiserror-impl-1.0.20 \
thread_local-1.0.1 \
time-0.1.44 \
tinyvec-0.3.4 \
time-0.1.42 \
toml-0.5.6 \
typenum-1.12.0 \
unicode-normalization-0.1.13 \
unicode-width-0.1.8 \
unicode-xid-0.2.1 \
unreachable-1.0.0 \
vec_map-0.8.2 \
version_check-0.9.2 \
void-1.0.2 \
walkdir-2.3.1 \
wasi-0.10.0+wasi-snapshot-preview1 \
typenum-1.11.2 \
unicode-normalization-0.1.12 \
unicode-width-0.1.7 \
unicode-xid-0.2.0 \
vec_map-0.8.1 \
wasi-0.9.0+wasi-snapshot-preview1 \
winapi-0.3.9 \
winapi-0.3.8 \
winapi-i686-pc-windows-gnu-0.4.0 \
winapi-util-0.1.5 \
winapi-x86_64-pc-windows-gnu-0.4.0

CARGO_CARGOLOCK= ${WRKSRC}/rust/Cargo.lock
CARGO_CARGOTOML= ${WRKSRC}/rust/Cargo.toml
CARGO_BUILD= no
Expand Down
Loading

0 comments on commit 47bc8ce

Please sign in to comment.