Package Details: abstreet-git r8262.ffb1f3a8cc-1

Git Clone URL: https://aur.archlinux.org/abstreet-git.git (read-only, click to copy)
Package Base: abstreet-git
Description: A traffic simulation game exploring how small changes to roads affect everyone
Upstream URL: https://github.com/a-b-street/abstreet
Keywords: game road simulation traffic
Licenses: Apache
Submitter: egore911
Maintainer: None
Last Packager: Mr.Smith1974
Votes: 2
Popularity: 0.000030
First Submitted: 2020-06-23 21:43 (UTC)
Last Updated: 2023-07-25 07:36 (UTC)

Latest Comments

Mr.Smith1974 commented on 2023-07-29 12:41 (UTC)

Bin-version here: https://aur.archlinux.org/packages/abstreet-bin

kleintux commented on 2022-12-19 14:32 (UTC)

Hi there

git is needed as a make dependency because the source is from git.

thank you for fixing and maintaining

dreieck commented on 2021-04-29 17:48 (UTC)

The installation as it is carried out currently cannot be used by normal users (and probably would change files in directories where it should not when run as root).

To start, I have to cd /usr/share/abstreet for the software to find it's data.

Then I can run ./game/game.

This fails, because it cannot create directories somewhere:

setup widgetry...
[2021-04-29T17:44:35Z WARN  winit::platform_impl::platform::x11::util::randr] XRandR reported that the display's 0mm in size, which is certifiably insane
[2021-04-29T17:44:35Z INFO  winit::platform_impl::platform::x11::window] Guessed window scale factor: 1
load textures...
[2021-04-29T17:44:35Z INFO  widgetry::backend_glow] img_size: 896x896px (802816 px), sprite_size: 64x64px, sprites: 14x14 (196 sprites)
load textures took 0.0545s
setup app...
[2021-04-29T17:44:35Z INFO  map_gui::render::map] static DrawMap consumes 0 MB on the GPU
setup app took 0.0006s
setup widgetry... plus 0.2521s
setup widgetry took 0.3072s

- setup widgetry took 0.3072s
  - load textures took 0.0545s
  - setup app took 0.0006s
  - ... plus 0.2521s
load data/system/us/seattle/maps/montlake.bin...
Read data/system/us/seattle/maps/montlake.bin (4)... 0.1041s
thread 'main' panicked at 'Creating parent dir failed: Os { code: 13, kind: PermissionDenied, message: "Permission denied" }', /[compilation-source-directory]/abstreet-git/src/abstreet/abstio/src/io_native.rs:62:10
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
load data/system/us/seattle/maps/montlake.bin... plus 0.0268s
load data/system/us/seattle/maps/montlake.bin took 0.1309s

- load data/system/us/seattle/maps/montlake.bin took 0.1309s
  - Read data/system/us/seattle/maps/montlake.bin (4)... 0.1041s
  - ... plus 0.0268s




!!! The program panicked, look above for the stack trace !!!

********************************************************************************
thread 'main' panicked at 'Creating parent dir failed: Os { code: 13, kind: PermissionDenied, message: "Permission denied" }', /[compilation-source-directory]/abstreet-git/src/abstreet/abstio/src/io_native.rs:62:10

When run with RUST_BACKTRACE=full /usr/share/abstreet/game/game:

setup widgetry...
[2021-04-29T17:44:26Z WARN  winit::platform_impl::platform::x11::util::randr] XRandR reported that the display's 0mm in size, which is certifiably insane
[2021-04-29T17:44:26Z INFO  winit::platform_impl::platform::x11::window] Guessed window scale factor: 1
load textures...
[2021-04-29T17:44:26Z INFO  widgetry::backend_glow] img_size: 896x896px (802816 px), sprite_size: 64x64px, sprites: 14x14 (196 sprites)
load textures took 0.0540s
setup app...
[2021-04-29T17:44:26Z INFO  map_gui::render::map] static DrawMap consumes 0 MB on the GPU
setup app took 0.0006s
setup widgetry... plus 0.2531s
setup widgetry took 0.3077s

- setup widgetry took 0.3077s
  - load textures took 0.0540s
  - setup app took 0.0006s
  - ... plus 0.2531s
load data/system/us/seattle/maps/montlake.bin...
Read data/system/us/seattle/maps/montlake.bin (4)... 0.1044s
thread 'main' panicked at 'Creating parent dir failed: Os { code: 13, kind: PermissionDenied, message: "Permission denied" }', /[compilation-source-directory]/abstreet-git/src/abstreet/abstio/src/io_native.rs:62:10
stack backtrace:
   0:     0x55fa41486b30 - <unknown>
   1:     0x55fa414abfac - <unknown>
   2:     0x55fa4147f435 - <unknown>
   3:     0x55fa41488e85 - <unknown>
   4:     0x55fa414889e3 - <unknown>
   5:     0x55fa41489621 - <unknown>
   6:     0x55fa41489167 - <unknown>
   7:     0x55fa41486fcc - <unknown>
   8:     0x55fa414890c9 - <unknown>
   9:     0x55fa414a9c21 - <unknown>
  10:     0x55fa414a9a43 - <unknown>
  11:     0x55fa40a5a485 - <unknown>
  12:     0x55fa40ab069e - <unknown>
  13:     0x55fa4082a2ad - <unknown>
  14:     0x55fa406aa378 - <unknown>
  15:     0x55fa40741715 - <unknown>
  16:     0x55fa405c17b5 - <unknown>
felics-pocket[101,0]felics(yakuake,10,19:44)/usr/share/abstreet$ RUST_BACKTRACE=full /usr/share/abstreet/game/game 
setup widgetry...
[2021-04-29T17:47:15Z WARN  winit::platform_impl::platform::x11::util::randr] XRandR reported that the display's 0mm in size, which is certifiably insane
[2021-04-29T17:47:15Z INFO  winit::platform_impl::platform::x11::window] Guessed window scale factor: 1
load textures...
[2021-04-29T17:47:15Z INFO  widgetry::backend_glow] img_size: 896x896px (802816 px), sprite_size: 64x64px, sprites: 14x14 (196 sprites)
load textures took 0.0547s
setup app...
[2021-04-29T17:47:15Z INFO  map_gui::render::map] static DrawMap consumes 0 MB on the GPU
setup app took 0.0006s
setup widgetry... plus 0.2604s
setup widgetry took 0.3158s

- setup widgetry took 0.3158s
  - load textures took 0.0547s
  - setup app took 0.0006s
  - ... plus 0.2604s
load data/system/us/seattle/maps/montlake.bin...
Read data/system/us/seattle/maps/montlake.bin (4)... 0.1040s
thread 'main' panicked at 'Creating parent dir failed: Os { code: 13, kind: PermissionDenied, message: "Permission denied" }', /[compilation-source-directory]/abstreet-git/src/abstreet/abstio/src/io_native.rs:62:10
stack backtrace:
   0:     0x5582206ecb30 - <unknown>
   1:     0x558220711fac - <unknown>
   2:     0x5582206e5435 - <unknown>
   3:     0x5582206eee85 - <unknown>
   4:     0x5582206ee9e3 - <unknown>
   5:     0x5582206ef621 - <unknown>
   6:     0x5582206ef167 - <unknown>
   7:     0x5582206ecfcc - <unknown>
   8:     0x5582206ef0c9 - <unknown>
   9:     0x55822070fc21 - <unknown>
  10:     0x55822070fa43 - <unknown>
  11:     0x55821fcc0485 - <unknown>
  12:     0x55821fd1669e - <unknown>
  13:     0x55821fa902ad - <unknown>
  14:     0x55821f910378 - <unknown>
  15:     0x55821f9a7715 - <unknown>
  16:     0x55821f8277b5 - <unknown>
  17:     0x55821fa6fc83 - <unknown>
  18:     0x55821fa8542e - <unknown>
  19:     0x55821f81f7a8 - <unknown>
  20:     0x55821f81908e - <unknown>
  21:     0x55821f8a775d - <unknown>
  22:     0x55821f819378 - <unknown>
  23:     0x55821f818f48 - <unknown>
  24:     0x55821fa82300 - <unknown>
  25:     0x55821fa867c7 - <unknown>
  26:     0x55821f84d09a - <unknown>
  27:     0x55821f800183 - <unknown>
  28:     0x55821f800199 - <unknown>
  29:     0x5582206efb37 - <unknown>
  30:     0x55821f8001f2 - <unknown>
  31:     0x7f76acf90b25 - __libc_start_main
  32:     0x55821f8000ae - <unknown>
  33:                0x0 - <unknown>
load data/system/us/seattle/maps/montlake.bin... plus 0.0300s
load data/system/us/seattle/maps/montlake.bin took 0.1340s

- load data/system/us/seattle/maps/montlake.bin took 0.1340s
  - Read data/system/us/seattle/maps/montlake.bin (4)... 0.1040s
  - ... plus 0.0300s




!!! The program panicked, look above for the stack trace !!!

********************************************************************************
thread 'main' panicked at 'Creating parent dir failed: Os { code: 13, kind: PermissionDenied, message: "Permission denied" }', /[compilation-source-directory]/abstreet-git/src/abstreet/abstio/src/io_native.rs:62:10
stack backtrace:
   0:     0x5582206ecb30 - <unknown>
   1:     0x558220711fac - <unknown>
   2:     0x5582206e5435 - <unknown>
   3:     0x5582206eee85 - <unknown>
   4:     0x5582206ee9e3 - <unknown>
   5:     0x5582206ef621 - <unknown>
   6:     0x5582206ef167 - <unknown>
   7:     0x5582206ecfcc - <unknown>
   8:     0x5582206ef0c9 - <unknown>
   9:     0x55822070fc21 - <unknown>
  10:     0x55822070fa43 - <unknown>
  11:     0x55821fcc0485 - <unknown>
  12:     0x55821fd1669e - <unknown>
  13:     0x55821fa92b0c - <unknown>
  14:     0x55821fa854d5 - <unknown>
  15:     0x55821f81f7a8 - <unknown>
  16:     0x55821f81908e - <unknown>
  17:     0x55821f8a775d - <unknown>
  18:     0x55821f819378 - <unknown>
  19:     0x55821f818f48 - <unknown>
  20:     0x55821fa82300 - <unknown>
  21:     0x55821fa867c7 - <unknown>
  22:     0x55821f84d09a - <unknown>
  23:     0x55821f800183 - <unknown>
  24:     0x55821f800199 - <unknown>
  25:     0x5582206efb37 - <unknown>
  26:     0x55821f8001f2 - <unknown>
  27:     0x7f76acf90b25 - __libc_start_main
  28:     0x55821f8000ae - <unknown>
  29:                0x0 - <unknown>

Thanks in advance for fixing installation, run wrappers, and maintanance work!

dreieck commented on 2021-04-29 17:43 (UTC)

The executable seems to be installed to /usr/share/abstreet/game/game.

Please provide a wrapper script as /usr/bin/abstreet or similar, which performs the necessary steps to execute /usr/share/abstreet/game/game (including changing to the correct working directory).

Thanks for maintaining!

dreieck commented on 2021-04-29 17:40 (UTC)

Fails to check() for me:

==> Starting check()...
   Compiling traffic_signal_data v0.1.0 (/[...]/abstreet-git/src/abstreet/traffic_signal_data)
   Compiling abstutil v0.1.0 (/[...]/abstreet-git/src/abstreet/abstutil)
   Compiling geom v0.1.0 (/[...]/abstreet-git/src/abstreet/geom)
   Compiling abstio v0.1.0 (/[...]/abstreet-git/src/abstreet/abstio)
   Compiling widgetry v0.1.0 (/[...]/abstreet-git/src/abstreet/widgetry)
   Compiling updater v0.1.0 (/[...]/abstreet-git/src/abstreet/updater)
   Compiling map_model v0.1.0 (/[...]/abstreet-git/src/abstreet/map_model)
   Compiling kml v0.1.0 (/[...]/abstreet-git/src/abstreet/kml)
   Compiling widgetry_demo v0.1.0 (/[...]/abstreet-git/src/abstreet/widgetry_demo)
error[E0433]: failed to resolve: use of undeclared type `Distance`
   --> map_model/src/make/initial/lane_specs.rs:529:45
    |
529 |                 street_parking_spot_length: Distance::meters(8.0),
    |                                             ^^^^^^^^ not found in this scope
    |
help: consider importing one of these items
    |
358 |     use crate::Distance;
    |
358 |     use geom::Distance;
    |

   Compiling sumo v0.1.0 (/[...]/abstreet-git/src/abstreet/sumo)
   Compiling sim v0.1.0 (/[...]/abstreet-git/src/abstreet/sim)
   Compiling collisions v0.1.0 (/[...]/abstreet-git/src/abstreet/collisions)
   Compiling convert_osm v0.1.0 (/[...]/abstreet-git/src/abstreet/convert_osm)
   Compiling map_gui v0.1.0 (/[...]/abstreet-git/src/abstreet/map_gui)
   Compiling traffic_seitan v0.1.0 (/[...]/abstreet-git/src/abstreet/traffic_seitan)
error: aborting due to previous error

For more information about this error, try `rustc --explain E0433`.
error: could not compile `map_model`

To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: build failed
==> ERROR: A failure occurred in check().
    Aborting...

xiretza commented on 2020-10-01 15:46 (UTC) (edited on 2020-10-01 16:39 (UTC) by xiretza)

Requires makedepends=(git desktop-file-utils).

j.r commented on 2020-06-24 19:14 (UTC)

I get

thread 'main' panicked at 'Creating parent dir failed: Os { code: 13, kind: PermissionDenied, message: "Permission denied" }', /tmp/makepkg/abstreet-git/src/abstreet/abstutil/src/io.rs:27:5

When I try to edit and save something... this has probably something todo with no writing permissions in the game dir.