Giter VIP home page Giter VIP logo

cleanroom's People

Contributors

hunger avatar phunni avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

rw74

cleanroom's Issues

All builds fail with Assertion error

I'm honestly not sure what I've done, although I have exported the base directory as an NFS share in anticipation of future system updates. All my builds now fail with the following error:

Traceback (most recent call last):
  File "/home/paul/cleanroom/clrm", line 13, in <module>
    main.run()
  File "/home/paul/cleanroom/cleanroom/main.py", line 72, in run
    main(*sys.argv)
  File "/home/paul/cleanroom/cleanroom/main.py", line 127, in main
    with WorkDir(btrfs_helper,
  File "/home/paul/cleanroom/cleanroom/workdir.py", line 71, in __init__
    if not umount_all(work_directory):
  File "/home/paul/cleanroom/cleanroom/helper/mount.py", line 71, in umount_all
    umount(mp)
  File "/home/paul/cleanroom/cleanroom/helper/mount.py", line 58, in umount
    assert len(mount_points(directory)) == 1
AssertionError

Target not found: wireguard-arch

First github issue :-)

Have set up a new (but not at all new) machine which I'm hoping will serve as a build server and am currently just trying to get clrm build system-example again and will then document the process - including required packages.

Anyway - the build fails during type-bootable with:

++++++ Arguments  : /usr/bin/pacman --config /home/paul/base/work/scratch/meta/pacman/pacman.conf --root /home/paul/base/work/scratch/fs --cachedir /home/paul/base/work/scratch/cache/pacman --dbpath /home/paul/base/work/scratch/meta/pacman/db --hookdir /home/paul/base/work/scratch/meta/pacman/hooks --logfile /home/paul/base/work/scratch/cache/pacman/log --gpgdir /home/paul/base/work/scratch/meta/pacman/gpg --noconfirm -S --needed linux linux-firmware ipw2100-fw ipw2200-fw alsa-firmware btrfs-progs dosfstools squashfs-tools iputils iproute2 cryptsetup lvm2 mdadm efibootmgr pciutils sed tar usbutils wireguard-arch wireguard-tools 
++++++ Return Code: 1 
++++++ StdOut     : 
++++++ StdErr     : 
++++++     warning: cryptsetup-2.3.1-1 is up to date -- skipping 
++++++     warning: sed-4.8-1 is up to date -- skipping 
++++++     error: target not found: wireguard-arch 
++++++      
 FAIL  Generation of "type-bootable" failed: Error: Unexpected return value 1 (expected 0). 

>>>>>> End of Buffer <<<<<<


Traceback Information:
  File "/home/paul/cleanroom/cleanroom/generator.py", line 90, in generate_systems
    exe.run(system_name, base_system_name, exec_obj_list,
  File "/home/paul/cleanroom/cleanroom/executor.py", line 51, in run
    command.execute_func(exec_obj.location, system_context,
  File "/home/paul/cleanroom/cleanroom/commandmanager.py", line 102, in <lambda>
    __execute_func(command, loc, sc, *args, **kwargs))
  File "/home/paul/cleanroom/cleanroom/commandmanager.py", line 89, in __execute_func
    command(location, system_context, *args, **kwargs)
  File "/home/paul/cleanroom/cleanroom/commands/pacman.py", line 38, in __call__
    pacman(system_context, *args,
  File "/home/paul/cleanroom/cleanroom/helper/archlinux/pacman.py", line 237, in pacman
    _run_pacman(system_context, *action, *packages,
  File "/home/paul/cleanroom/cleanroom/helper/archlinux/pacman.py", line 151, in _run_pacman
    run(pacman_command, *all_args,
  File "/home/paul/cleanroom/cleanroom/helper/run.py", line 106, in run
    raise GenerateError('Unexpected return value {} (expected {}).'


>>>>>> END OF ERROR REPORT <<<<<<
Traceback (most recent call last):
  File "/home/paul/cleanroom/cleanroom/generator.py", line 90, in generate_systems
    exe.run(system_name, base_system_name, exec_obj_list,
  File "/home/paul/cleanroom/cleanroom/executor.py", line 51, in run
    command.execute_func(exec_obj.location, system_context,
  File "/home/paul/cleanroom/cleanroom/commandmanager.py", line 102, in <lambda>
    __execute_func(command, loc, sc, *args, **kwargs))
  File "/home/paul/cleanroom/cleanroom/commandmanager.py", line 89, in __execute_func
    command(location, system_context, *args, **kwargs)
  File "/home/paul/cleanroom/cleanroom/commands/pacman.py", line 38, in __call__
    pacman(system_context, *args,
  File "/home/paul/cleanroom/cleanroom/helper/archlinux/pacman.py", line 237, in pacman
    _run_pacman(system_context, *action, *packages,
  File "/home/paul/cleanroom/cleanroom/helper/archlinux/pacman.py", line 151, in _run_pacman
    run(pacman_command, *all_args,
  File "/home/paul/cleanroom/cleanroom/helper/run.py", line 106, in run
    raise GenerateError('Unexpected return value {} (expected {}).'
cleanroom.exceptions.GenerateError: Error: Unexpected return value 1 (expected 0).

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/paul/cleanroom/clrm", line 13, in <module>
    main.run()
  File "/home/paul/cleanroom/cleanroom/main.py", line 72, in run
    main(*sys.argv)
  File "/home/paul/cleanroom/cleanroom/main.py", line 139, in main
    generator.generate_systems(work_directory=work_directory,
  File "/home/paul/cleanroom/cleanroom/generator.py", line 93, in generate_systems
    self._report_error(system_name, e, ignore_errors=ignore_errors)
  File "/home/paul/cleanroom/cleanroom/generator.py", line 40, in _report_error
    self._report_error_details(system, exception,
  File "/home/paul/cleanroom/cleanroom/generator.py", line 57, in _report_error_details
    raise GenerateError('Generation failed.',
cleanroom.exceptions.GenerateError: Error: Generation failed.
    Trigger: Error: Unexpected return value 1 (expected 0).

Not a complete surprise since wireguard-arch seems to be q virtual package. I don't know if that 'a new thing or...?
I'm currently running a build with that package omitted from the list. Will update with how that goes.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.