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)"). Were my details sufficient to make sense? I don't see where the ruby 2.1.0 part comes in/from either, which is why I was asking for both releases, since I've seen similar version specs in a some other products that I did find matches for and was able to build, but this nomenclature was more challenging, thus my need to ask for help. 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 ...)
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org