Gesendet: Donnerstag, 28. März 2019 um 12:11 Uhr Von: "Robert Paschedag"
An: "Robert Paschedag" Cc: "Cedric Bosdonnat" , uyuni-devel@opensuse.org Betreff: Aw: Re: [uyuni-devel] Build repositories for openSUSE 42.3 Gesendet: Donnerstag, 28. März 2019 um 11:28 Uhr Von: "Robert Paschedag"
An: "Robert Paschedag" Cc: "Cedric Bosdonnat" , uyuni-users@opensuse.org, uyuni-devel@opensuse.org Betreff: Aw: Re: [uyuni-devel] Build repositories for openSUSE 42.3 Gesendet: Donnerstag, 28. März 2019 um 09:53 Uhr Von: "Robert Paschedag"
An: "Cedric Bosdonnat" Cc: uyuni-users@opensuse.org, uyuni-devel@opensuse.org Betreff: Aw: Re: [uyuni-devel] Build repositories for openSUSE 42.3 Gesendet: Donnerstag, 28. März 2019 um 09:44 Uhr Von: "Cedric Bosdonnat"
An: "Robert Paschedag" , uyuni-users@opensuse.org Cc: uyuni-devel@opensuse.org Betreff: Re: [uyuni-devel] Build repositories for openSUSE 42.3 Hi Robert,
On Thu, 2019-03-28 at 09:18 +0100, Robert Paschedag wrote:
I have a test uyuni server (4.0.1) running on openSUSE 42.3.
Now I want to build new packages based on the "ubuntu-support" branch since there has been a lot of work in the last weeks and I want to test these improvements, since we are currently running Spacewalk 2.7 with a lot of Debian clients and are planning (or at least thinking about) migrating to Uyuni (to also get Salt).
Now I also have a "build system" also based on openSUSE 42.3. But it seems that at least one "build repository" seems to be missing.
Trying to build "spacewalk-backend" returns
uyuni-build:~/git/uyuni/backend # rpmbuild -bb spacewalk-backend.spec error: Failed build dependencies: python2-spacewalk-usix is needed by spacewalk-backend-4.0.7- 1.noarch python2-gzipstream is needed by spacewalk-backend-4.0.7- 1.noarch python2-rhn-client-tools is needed by spacewalk-backend- 4.0.7-1.noarch python2-rhnlib >= 2.5.74 is needed by spacewalk-backend- 4.0.7-1.noarch
Those are built in https://build.opensuse.org/project/show/systemsmanagement:spacewalk
You could add the 42.3 repo from there and get them.
Cedric,
ahh.....man...that was easy :-) I search below the "uyuni" "path".....
OK. But now I get an assertion error within tests....
F ====================================================================== FAIL: test_timestamp_3 (__main__.Tests) ---------------------------------------------------------------------- Traceback (most recent call last): File "test_rhnLib_timestamp.py", line 71, in test_timestamp_3 self.assertTrue(is_eq, "Failed: %s, %s" % (t1, t2)) AssertionError: Failed: 57739297, 57739297
---------------------------------------------------------------------- Ran 1 test in 0.002s
FAILED (failures=1) Makefile:23: recipe for target 'test-test_rhnLib_timestamp.py' failed make[1]: *** [test-test_rhnLib_timestamp.py] Error 1 make[1]: Leaving directory '/root/rpmbuild/BUILD/spacewalk-backend-4.0.7/server/test/unit-test'
Robert
I was able to fix this with
TZ="" rpmbuild -bb spacewalk-backend.spec
Turns out, that on my system (running in "CET") has a "dstshift" of "-3600" within that test.
Robert
Another question. Got another dependency problem with the new "spacewalk-backend-tools-4.0.7-1" package
uyuni-test:~/ubuntu-support # rpm -Uvh *.rpm error: Failed dependencies: python2-urlgrabber is needed by spacewalk-backend-tools-4.0.7-1.noarch
I only got "python-urlgrabber"
uyuni-test:~/ubuntu-support # rpm -q --info python-urlgrabber Name : python-urlgrabber Version : 3.9.1 Release : 16.4 Architecture: noarch Install Date: Fri Oct 5 11:33:06 2018 Group : Development/Languages/Python Size : 304495 License : LGPL-2.1 Signature : RSA/SHA256, Fri May 19 20:32:55 2017, Key ID b88b2fd43dbdc284 Source RPM : python-urlgrabber-3.9.1-16.4.src.rpm Build Date : Fri May 19 20:32:46 2017 Build Host : cloud103 Relocations : (not relocatable) Packager : http://bugs.opensuse.org Vendor : openSUSE URL : http://urlgrabber.baseurl.org Summary : A high-level cross-protocol url-grabber Description : A high-level cross-protocol url-grabber for python supporting HTTP, FTP and file locations. Features include keepalive, byte ranges, throttling, authentication, proxies and more. Distribution: openSUSE Leap 42.3
That dependency was introduced 2019-01-31
commit a839b867989a4275a0699283de25e82a21ef7af3 Author: Pablo Suárez Hernández
Date: Thu Jan 31 11:04:03 2019 +0000 Add urlgrabber as dependency of spacewalk-backend
diff --git a/backend/spacewalk-backend.spec b/backend/spacewalk-backend.spec index 7c8f95d91c..a7d2190adc 100644 --- a/backend/spacewalk-backend.spec +++ b/backend/spacewalk-backend.spec @@ -452,12 +452,14 @@ Requires: python3-python-dateutil Requires: python3-gzipstream Requires: python3-rhn-client-tools Requires: python3-solv +Requires: python3-urlgrabber %else Requires: python-dateutil Requires: python2-gzipstream Requires: python2-rhn-client-tools Requires: python-solv Requires: python-configparser +Requires: python2-urlgrabber %if 0%{?suse_version} Requires: python-pyliblzma %else
Is that *really* another (newer) package or a possible error within the spec?
Robert
Sorry.....got another question about repos. Found out, that I also have to rebuilt the "spacewalk-java" package. Here, I have further dependency problems. Can you tell me, which repo do I have to include on openSUSE42.3? uyuni-build:~/git/uyuni/java # rpmbuild -bb spacewalk-java.spec error: Failed build dependencies: apache-commons-lang3 is needed by spacewalk-java-4.0.7-1.noarch classmate is needed by spacewalk-java-4.0.7-1.noarch ehcache >= 2.10.1 is needed by spacewalk-java-4.0.7-1.noarch google-gson >= 2.2.4 is needed by spacewalk-java-4.0.7-1.noarch byte-buddy is needed by spacewalk-java-4.0.7-1.noarch jpa-api is needed by spacewalk-java-4.0.7-1.noarch hibernate-commons-annotations is needed by spacewalk-java-4.0.7-1.noarch hibernate5 is needed by spacewalk-java-4.0.7-1.noarch java-devel >= 11 is needed by spacewalk-java-4.0.7-1.noarch jboss-logging is needed by spacewalk-java-4.0.7-1.noarch snakeyaml is needed by spacewalk-java-4.0.7-1.noarch statistics is needed by spacewalk-java-4.0.7-1.noarch httpcomponents-client is needed by spacewalk-java-4.0.7-1.noarch httpcomponents-asyncclient is needed by spacewalk-java-4.0.7-1.noarch jade4j is needed by spacewalk-java-4.0.7-1.noarch jose4j is needed by spacewalk-java-4.0.7-1.noarch prometheus-client-java is needed by spacewalk-java-4.0.7-1.noarch salt-netapi-client >= 0.15.0 is needed by spacewalk-java-4.0.7-1.noarch spark-core is needed by spacewalk-java-4.0.7-1.noarch spark-template-jade is needed by spacewalk-java-4.0.7-1.noarch velocity is needed by spacewalk-java-4.0.7-1.noarch pgjdbc-ng is needed by spacewalk-java-4.0.7-1.noarch struts >= 1.2.9 is needed by spacewalk-java-4.0.7-1.noarch tomcat-taglibs-standard is needed by spacewalk-java-4.0.7-1.noarch c3p0 >= 0.9.1 is needed by spacewalk-java-4.0.7-1.noarch dwr >= 3 is needed by spacewalk-java-4.0.7-1.noarch jakarta-commons-el is needed by spacewalk-java-4.0.7-1.noarch quartz is needed by spacewalk-java-4.0.7-1.noarch redstone-xmlrpc is needed by spacewalk-java-4.0.7-1.noarch simple-core is needed by spacewalk-java-4.0.7-1.noarch simple-xml is needed by spacewalk-java-4.0.7-1.noarch sitemesh is needed by spacewalk-java-4.0.7-1.noarch stringtree-json is needed by spacewalk-java-4.0.7-1.noarch uyuni-build:~/git/uyuni/java # Thanks. Robert
-- Cedric
-- To unsubscribe, e-mail: uyuni-devel+unsubscribe@opensuse.org To contact the owner, e-mail: uyuni-devel+owner@opensuse.org
-- To unsubscribe, e-mail: uyuni-devel+unsubscribe@opensuse.org To contact the owner, e-mail: uyuni-devel+owner@opensuse.org
-- To unsubscribe, e-mail: uyuni-devel+unsubscribe@opensuse.org To contact the owner, e-mail: uyuni-devel+owner@opensuse.org
-- To unsubscribe, e-mail: uyuni-devel+unsubscribe@opensuse.org To contact the owner, e-mail: uyuni-devel+owner@opensuse.org