Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Native stubbing, multiple versions of a package #32

Open
jheiss opened this issue Sep 10, 2012 · 0 comments
Open

Native stubbing, multiple versions of a package #32

jheiss opened this issue Sep 10, 2012 · 0 comments
Labels

Comments

@jheiss
Copy link
Member

jheiss commented Sep 10, 2012

If you attempt to install two versions of the same package which both depend on native packages then the stubbing code collides with itself. It should incorporate the version of the tpkg in the name or version of the native package to avoid this conflict.

% tpkg -q python
python-2.7.2-1-redhat6-x86_64.tpkg

% tpkg -i python=3.2.2
Executing with sudo
The following packages will be installed:
python-3.2.2-1-redhat6-x86_64.tpkg
Confirm? [Y/n]
Skipping bzip2, already installed
Skipping gdbm, already installed
Processing files: stub_for_python-1-1.noarch
Checking for unpackaged file(s): /usr/lib/rpm/check-files /tmp/rpmbuild20120910-8230-164886d-0/BUILDROOT/stub_for_python-1-1.x86_64
Wrote: /tmp/rpmbuild20120910-8230-164886d-0/RPMS/noarch/stub_for_python-1-1.noarch.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.fRKBcR

  • umask 022
  • cd /tmp/rpmbuild20120910-8230-164886d-0/BUILD
  • /bin/rm -rf /tmp/rpmbuild20120910-8230-164886d-0/BUILDROOT/stub_for_python-1-1.x86_64
  • exit 0
    package stub_for_python-1-1.noarch is already installed
    Warning: Failed to install native stub package for python
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant