Am 22.01.19 um 01:54 schrieb L A Walsh:
On 1/21/2019 6:47 AM, Andrei Borzenkov wrote:
If you want to rebuild packages from the source then do it. You do not build from source, you attempt to either install or rebuild SRPM (not sure whether rebuild does implicit install).
I am trying to rebuild the installable RPM (for tumbleweed) from the SRPM.
I'm using binary and source rpms from
http://download.opensuse.org/tumbleweed/repo/src-oss/src/ (src), and binary up 2 dirs starting from 'oss'.
The versions I have downloaded are from 3-4 months ago, but they shouldn't be for a completely different product.
I.e. I'm trying to install binaries from my last 'sync'/download with http://download.opensuse.org/tumbleweed/repo/oss/x86_64/, like http://download.opensuse.org/tumbleweed/repo/oss/x86_64/\ yast2-4.1.48-1.1.x86_64.rpm
and if I have too many conflicts with my local setup, then next try to rebuild from the package's source, (specifically: http://download.opensuse.org/tumbleweed/repo/src-oss/src/\ yast2-4.1.48-1.1.src.rpm
Use SRPM created for your distribution version. .... I [thought] I had srpm's + rpm's from tumbleweed.
you do not. ruby 2.1 was last included in Leap 42. It is not included even in Leap 15, not to mention TW. Any package created to require ruby 2.1 cannot be intended for TW. At least, for *today's* TW.
The above URL's are what I am using. While my specific version numbers are from last fall, trying to build yast2-4.1.48 instead of yast2-4.1.0 produces very similar errors and requirements (i.e: "rubygem(ruby:2.1.0:abstract_method)").
No. seife@seife:/dev/shm> wget https://download.opensuse.org/repositories/openSUSE:/Factory/standard/x86_64... --2019-01-22 08:42:14-- https://download.opensuse.org/repositories/openSUSE:/Factory/standard/x86_64... Resolving download.opensuse.org (download.opensuse.org)... 195.135.221.134, 2620:113:80c0:8::13 [...] HTTP request sent, awaiting response... 200 OK Length: 537100 (525K) [application/x-redhat-package-manager] Saving to: ‘yast2-4.1.48-1.1.x86_64.rpm’ yast2-4.1.48-1.1.x86_64.rpm 100%[====================================================>] 524.51K 926KB/s in 0.6s 2019-01-22 08:42:15 (926 KB/s) - ‘yast2-4.1.48-1.1.x86_64.rpm’ saved [537100/537100] seife@seife:/dev/shm> rpm -qp --requires yast2-4.1.48-1.1.x86_64.rpm /bin/bash /bin/sh /usr/bin/perl config(yast2) = 4.1.48-1.1 coreutils coreutils cpio diffutils fillup gpg2 grep perl-XML-Simple rpm rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(PayloadIsXz) <= 5.2-1 rubygem(ruby:2.5.0:abstract_method) rubygem(ruby:2.5.0:cfa) rubygem(ruby:2.5.0:cheetah) rubygem(ruby:2.5.0:simpleidn) sysconfig >= 0.80.0 yast2-core >= 2.23.0 yast2-hardware-detection yast2-logs yast2-perl-bindings yast2-pkg-bindings >= 2.20.3 yast2-ruby-bindings >= 3.2.10 yast2-xml yast2-ycp-ui-bindings >= 3.2.0 yui_backend
Were my details sufficient to make sense? I don't see where the ruby 2.1.0 part comes in/from either
There is no ruby 2.1.0 requirement.
rubygem(ruby:2.1.0:abstract_method) is needed by yast2-4.1.48-1.1.x86_64 rubygem(ruby:2.1.0:cfa) is needed by yast2-4.1.48-1.1.x86_64 rubygem(ruby:2.1.0:cheetah) is needed by yast2-4.1.48-1.1.x86_64 rubygem(ruby:2.1.0:rspec) is needed by yast2-4.1.48-1.1.x86_64 rubygem(ruby:2.1.0:simpleidn) is needed by yast2-4.1.48-1.1.x86_64
(and some rpm-styled deps, that I didn't detail in my 1st email)
yast2-ruby-bindings >= 3.2.8 is needed by yast2-4.1.48-1.1.x86_64 yast2-testsuite is needed by yast2-4.1.48-1.1.x86_64 yast2-ycp-ui-bindings >= 3.2.0 is needed by yast2-4.1.48-1.1.x86_64
-----
I don't feel updating my rpm by a few-several months is getting me that much closer to being able to build or understand the requirements for yast2-4.1.x.
(errors from attempt at yast2-4.1.0 srpms build:
error: Failed build dependencies: rubygem(ruby:2.1.0:abstract_method) is needed by yast2-4.1.0-1.1.x86_64 rubygem(ruby:2.1.0:cfa) is needed by yast2-4.1.0-1.1.x86_64 rubygem(ruby:2.1.0:cheetah) is needed by yast2-4.1.0-1.1.x86_64 rubygem(ruby:2.1.0:rspec) is needed by yast2-4.1.0-1.1.x86_64 rubygem(ruby:2.1.0:simpleidn) is needed by yast2-4.1.0-1.1.x86_64 ...)
Check the spec file and how these dependencies are generated. Probably it's a macro. Are you building on a current Tumbleweed machine? If not, you might need to update at least the RPM macros. This is why everyone but you uses "osc build" which creates a nice matching chroot environment that "just works"™ -- Stefan Seyfried "For a successful technology, reality must take precedence over public relations, for nature cannot be fooled." -- Richard Feynman -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org