[MacPorts] #51679: yum-createrepo @0.9.8_2 The createrepo command fails after installation
#51679: yum-createrepo @0.9.8_2 The createrepo command fails after installation ------------------------+-------------------------------- Reporter: aszostak@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: | Port: yum-createrepo ------------------------+-------------------------------- The createrepo command fails to run after a fresh install of the yum- createrepo port. See the error message below: {{{ macosx-10-9:~ vagrant$ createrepo --help Traceback (most recent call last): File "/opt/local/share/createrepo/genpkgmetadata.py", line 28, in <module> import createrepo File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/createrepo/__init__.py", line 22, in <module> import yumbased File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/createrepo/yumbased.py", line 19, in <module> import rpm ImportError: No module named rpm }}} This is likely related to ticket #51678. -- Ticket URL: <https://trac.macports.org/ticket/51679> MacPorts <https://www.macports.org/> Ports system for OS X
#51679: yum-createrepo @0.9.8_2 The createrepo command fails after installation -----------------------------+------------------- Reporter: aszostak@… | Owner: afb@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: yum-createrepo | -----------------------------+------------------- Changes (by mf2k@…): * cc: afb@… (removed) * owner: macports-tickets@… => afb@… -- Ticket URL: <https://trac.macports.org/ticket/51679#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#51679: yum-createrepo @0.9.8_2 The createrepo command fails after installation -----------------------------+------------------- Reporter: aszostak@… | Owner: afb@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: yum-createrepo | -----------------------------+------------------- Comment (by afb@…): Not sure it is worth it to maintain yum-createrepo any more. Can you use the "stable" rpm createrepo (0.4.11) instead ? -- Ticket URL: <https://trac.macports.org/ticket/51679#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#51679: yum-createrepo @0.9.8_2 The createrepo command fails after installation -----------------------------+------------------- Reporter: aszostak@… | Owner: afb@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: yum-createrepo | -----------------------------+------------------- Comment (by aszostak@…): Well, what is the philosophy for this port? Does it have a special purpose for MacPorts, or is there to provide some of the tools as would be found on a RedHat/Fedora machine? My assumption was the latter, in which case the newer version should be made available. But if that was not the purpose of this port (e.g. used for something specific to MacPorts), then you can argue that yum- createrepo should be dropped. -- Ticket URL: <https://trac.macports.org/ticket/51679#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#51679: yum-createrepo @0.9.8_2 The createrepo command fails after installation -----------------------------+------------------- Reporter: aszostak@… | Owner: afb@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: yum-createrepo | -----------------------------+------------------- Comment (by afb@…): When MacPorts was still creating .rpm files, there could be a need to create repodata. But the Fedora version is only compatible with Fedora, and keeping it working on other platforms is a hassle. And since yum itself is obsolete, it seems even less worthwhile. Supposedly someone else _could_ update it to 0.10.4, if they find there is a need for it. After all, FreeBSD did find such a maintainer*. But there has been no interest in MacPorts for it - until now (?). * https://svnweb.freebsd.org/ports/head/sysutils/createrepo/ * https://svnweb.freebsd.org/ports/head/sysutils/yum/ -- Ticket URL: <https://trac.macports.org/ticket/51679#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts