Opened 8 years ago

Closed 8 years ago

#3493 closed defect (fixed)

Need package pkg-config on Debian Unstable

Reported by: humitos Owned by: sascha_silbe
Priority: Unspecified by Maintainer Milestone: Unspecified
Component: sugar-jhbuild Version: Git as of bugdate
Severity: Unspecified Keywords: easy-hack
Cc: humitos Distribution/OS: Unspecified
Bug Status: Unconfirmed

Description

Steps to reproduce the error:

  1. Install Debian Unstable
  2. Install "git python subversion lsb-release"
  3. Clone jhbuild repository
  4. Run "./sugar-jhbuild update"
humitos@eulogia:~/sugar-jhbuild$ ./sugar-jhbuild update
Updating sugar-jhbuild...
Already up-to-date.
Updating upstream jhbuild...
Already up-to-date.
Traceback (most recent call last):
  File "./sugar-jhbuild", line 62, in <module>
    sys.exit(main.main(base_dir, sys.argv[1:]))
  File "/home/humitos/sugar-jhbuild/sjhbuild/main.py", line 111, in main
    rc = jhbuild.commands.run(command, config, args, help=lambda: jhbuild.main.print_help(parser))
  File "/home/humitos/sugar-jhbuild/jhbuild/jhbuild/commands/__init__.py", line 129, in run
    return cmd.execute(config, args, help)
  File "/home/humitos/sugar-jhbuild/jhbuild/jhbuild/commands/__init__.py", line 52, in execute
    return self.run(config, options, args, help)
  File "/home/humitos/sugar-jhbuild/jhbuild/jhbuild/commands/base.py", line 66, in run
    ignore_suggests=config.ignore_suggests)
  File "/home/humitos/sugar-jhbuild/jhbuild/jhbuild/moduleset.py", line 146, in get_module_list
    system_module_state = self.get_system_modules(all_modules)
  File "/home/humitos/sugar-jhbuild/jhbuild/jhbuild/moduleset.py", line 259, in get_system_modules
    installed_pkgconfig = systeminstall.get_installed_pkgconfigs(self.config)
  File "/home/humitos/sugar-jhbuild/jhbuild/jhbuild/utils/systeminstall.py", line 31, in get_installed_pkgconfigs
    proc = subprocess.Popen(['pkg-config', '--list-all'], stdout=subprocess.PIPE, env=config.get_original_environment(), close_fds=True)
  File "/usr/lib/python2.6/subprocess.py", line 623, in __init__
    errread, errwrite)
  File "/usr/lib/python2.6/subprocess.py", line 1141, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

How to fix?

  • Install "pkg-config" running:
    apt-get install pkg-config
    

Change History (2)

comment:1 Changed 8 years ago by humitos

This package should be in the Debian specific wiki page.

PS: I'm not being able to login on the wiki

comment:2 Changed 8 years ago by humitos

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.