guix-patches
[Top][All Lists]
Advanced

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

[bug#64149] [PATCH 2/2] gnu: patman: Add python-u-boot-pylib to inputs.


From: Vagrant Cascadian
Subject: [bug#64149] [PATCH 2/2] gnu: patman: Add python-u-boot-pylib to inputs.
Date: Sat, 08 Jul 2023 19:36:19 -0700

On 2023-07-08, Vagrant Cascadian wrote:
> On 2023-07-08, Maxim Cournoyer wrote:
> starting phase `sanity-check'                                                 
>                                                       validating 
> 'patch-manager' 
> /gnu/store/d22rsfa7pr8ff6ai1hp72qjljiyayzrx-patman-2023.07-rc6/lib/python3.10/site-packages
> ...checking requirements: OK                                                  
>                                                       ...trying to load 
> module patman: OK                                                             
>                                     ...trying to load endpoint 
> console_scripts patman: ERROR:
> Traceback (most recent call last):                                            
>                                                         File 
> "/gnu/store/rlf99syqlc9kyf76rba3sbxsafszf017-python-u-boot-pylib-2023.07-rc6/lib/python3.10/site-packages/u_boot_pylib/command.py",
>  line 95, in run_pipe
>     last_pipe = cros_subprocess.Popen(cmd, cwd=cwd, **kwargs)                 
>                                                         File 
> "/gnu/store/rlf99syqlc9kyf76rba3sbxsafszf017-python-u-boot-pylib-2023.07-rc6/lib/python3.10/site-packages/u_boot_pylib/cros_subprocess.py",
>  line 83, in __init__
>     super(Popen, self).__init__(args, stdin=stdin,                            
>                                                         File 
> "/gnu/store/kj6wzba6p192baizq99b489rs8bynpn7-python-3.10.7/lib/python3.10/subprocess.py",
>  line 969, in __init__                  self._execute_child(args, executable, 
> preexec_fn, close_fds,
>   File 
> "/gnu/store/kj6wzba6p192baizq99b489rs8bynpn7-python-3.10.7/lib/python3.10/subprocess.py",
>  line 1845, in _execute_child
>     raise child_exception_type(errno_num, err_msg, err_filename)
> FileNotFoundError: [Errno 2] No such file or directory: 'git'

Adding git to inputs or native inputs avoided that part... but still
ends with an error:

...trying to load endpoint console_scripts patman: ERROR:
Traceback (most recent call last):
  File "/gnu/store/iqsjkp55pcx5bfcp2jm9yj5rlx9a0whd-sanity-check.py", line 89, 
in <module>
    ep.load()
  File 
"/gnu/store/dy3xh053ahkhrp2jamggq8cpsyvp8mg0-python-3.10.7/lib/python3.10/site-packages/pkg_resources/__init__.py",
 line 2471
, in load
    return self.resolve()
  File 
"/gnu/store/dy3xh053ahkhrp2jamggq8cpsyvp8mg0-python-3.10.7/lib/python3.10/site-packages/pkg_resources/__init__.py",
 line 2477
, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File 
"/gnu/store/v76an72qxvclc5qy46bddin3rcljka2f-patman-2023.07-rc6/lib/python3.10/site-packages/patman/__main__.py",
 line 47, in
 <module>
    parser.add_argument('-p', '--project', default=project.detect_project(),
  File 
"/gnu/store/v76an72qxvclc5qy46bddin3rcljka2f-patman-2023.07-rc6/lib/python3.10/site-packages/patman/project.py",
 line 19, in
detect_project
    top_level = gitutil.get_top_level()
  File 
"/gnu/store/v76an72qxvclc5qy46bddin3rcljka2f-patman-2023.07-rc6/lib/python3.10/site-packages/patman/gitutil.py",
 line 627, in
 get_top_level
    return command.output_one_line('git', 'rev-parse', '--show-toplevel')
  File 
"/gnu/store/rlf99syqlc9kyf76rba3sbxsafszf017-python-u-boot-pylib-2023.07-rc6/lib/python3.10/site-packages/u_boot_pylib/comman
d.py", line 128, in output_one_line
    result = run_pipe([cmd], capture=True, oneline=True,
  File 
"/gnu/store/rlf99syqlc9kyf76rba3sbxsafszf017-python-u-boot-pylib-2023.07-rc6/lib/python3.10/site-packages/u_boot_pylib/comman
d.py", line 112, in run_pipe
    raise Exception("Error running '%s'" % user_pipestr)
Exception: Error running 'git rev-parse --show-toplevel'
error: in phase 'sanity-check': uncaught exception:


It seems to be running git on some repository that presumably does not
exist?


live well,
  vagrant

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]