After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 654315 - __init__.py sets destdir to /etc/pkcs11 and then fails
__init__.py sets destdir to /etc/pkcs11 and then fails
Status: RESOLVED DUPLICATE of bug 653156
Product: jhbuild
Classification: Infrastructure
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Jhbuild maintainers
Jhbuild QA
Depends on:
Blocks:
 
 
Reported: 2011-07-09 21:11 UTC by chernoff
Modified: 2011-07-10 19:18 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
make file listing for install of gnome-keyring (53.29 KB, application/octet-stream)
2011-07-09 21:11 UTC, chernoff
Details

Description chernoff 2011-07-09 21:11:44 UTC
Created attachment 191597 [details]
make file listing for install of gnome-keyring

jhbuild build fails to build gnome-keyring

prefix=/opt/gnome in .jhbuildr

jhbuild tries to place the certificates in the system directory /etc/pkcs11
and fails

Traceback follows (complete make file listing as an attachement below)

Traceback (most recent call last):
  • File "/home/dfc/.local/bin/jhbuild", line 31 in <module>
    jhbuild.main.main(sys.argv[1:])
  • File "/home/dfc/.local/lib/python2.7/site-packages/jhbuild/main.py", line 147 in main
    rc = jhbuild.commands.run(command, config, args, help=lambda: print_help(parser))
  • File "/home/dfc/.local/lib/python2.7/site-packages/jhbuild/commands/__init__.py", line 123 in run
    return cmd.execute(config, args, help)
  • File "/home/dfc/.local/lib/python2.7/site-packages/jhbuild/commands/__init__.py", line 52 in execute
    return self.run(config, options, args, help)
  • File "/home/dfc/.local/lib/python2.7/site-packages/jhbuild/commands/base.py", line 293 in run
    return build.build()
  • File "/home/dfc/.local/lib/python2.7/site-packages/jhbuild/frontends/buildscript.py", line 146 in build
    error, altphases = module.run_phase(self, phase)
  • File "/home/dfc/.local/lib/python2.7/site-packages/jhbuild/modtypes/__init__.py", line 230 in run_phase
    method(buildscript)
  • File "/home/dfc/.local/lib/python2.7/site-packages/jhbuild/modtypes/autotools.py", line 276 in do_install
    self.process_install(buildscript, self.get_revision())
  • File "/home/dfc/.local/lib/python2.7/site-packages/jhbuild/modtypes/__init__.py", line 206 in process_install
    self._process_install_files(destdir, destdir, buildscript.config.prefix)
  • File "/home/dfc/.local/lib/python2.7/site-packages/jhbuild/modtypes/__init__.py", line 196 in _process_install_files
    self._process_install_files(installroot, src_path, prefix)
  • File "/home/dfc/.local/lib/python2.7/site-packages/jhbuild/modtypes/__init__.py", line 195 in _process_install_files
    os.mkdir(dest_path)
OSError: [Errno 13] Permission denied: '/etc/pkcs11'

Comment 1 Colin Walters 2011-07-10 19:18:59 UTC
The gnome-keyring build is broken, but jhbuild should be more robust against this.

*** This bug has been marked as a duplicate of bug 653156 ***