dart-lang / pub

The pub command line tool
https://dart.dev/tools/pub/cmd
BSD 3-Clause "New" or "Revised" License
1.04k stars 229 forks source link

pub run build_runner build does not work on armhf #2347

Closed guyluz11 closed 1 year ago

guyluz11 commented 4 years ago

Environment

Problem

Running pub run build_runner build on armhf stuck and does not retrieving any output to the console

This is my pubspec.yaml

name: appName
description: A sample command-line application.
version: 1.0.0
homepage: https://www.example.com
author: name

environment:
  sdk: '>=2.4.0 <3.0.0'

dependencies:
  firedart: ^0.6.1
  # Functional programming thingies, let you use multiple return types
  dartz: ^0.8.9
  # For the injection, allow accessing an object from anywhere in an App
  get_it: ^3.1.0
  # Convenient code generator for get_it
  injectable: ^0.2.2
  # Allow returning more than one type of object
  equatable: ^1.1.0

dev_dependencies:
  pedantic: ^1.7.0
  test: ^1.6.4
  # Library for mocks
  mockito: ^4.1.1
  build_runner:
  # A generator for injectable library
  injectable_generator: ^0.2.2
jonasfj commented 4 years ago

Check memory usage, I suspect that could be a problem we've seen before.

guyluz11 commented 4 years ago

When using top: When using top

When using free: When using free

guyluz11 commented 4 years ago

Tested again with NanoPi-Neo2 1GB ram same result Linux nanopineo2 5.4.35-sunxi64 aarch64 aarch64 aarch64 GNU/Linux free -m: image

guyluz11 commented 1 year ago

It worked in another project, probably will test it again for this project in the coming months but I think it is working now.

Tested on dart version 2.18.2

sigurdm commented 1 year ago

Closing assuming stale. Please open a new issue if this is still a problem.