 |
 |
 |
 |
| Programming & Packaging A place to discuss programming and packaging. |

16th August 2012, 11:41 AM
|
|
Registered User
|
|
Join Date: Mar 2008
Location: Germany
Posts: 225

|
|
|
bohdi AutoQA: depcheck test FAILED
hi,
i don't know if this is the place to discuss about package building ....
i built the speed-dreams package for fc16 fc17 fc18 and rawhide, but the
Quality of bohdi fails with the following error message:
AutoQA: depcheck test FAILED on x86_64.
Result log: http://autoqa.fedoraproject.org/report/bnzk (results are informative only)
can someone help me ?
Moreover, the review bug in a bad state
|

16th August 2012, 12:07 PM
|
|
Guest
|
|
Posts: n/a

|
|
|
Re: bohdi AutoQA: depcheck test FAILED
Can you explain the need to declare any requirement for libenet or enet as rpm already declares it with autorequires.
Quote:
* Wed Aug 15 2012 Martin Gansser <linux4martin@gmx.de> 2.1.0-6.trunk_r4810
- changed requirement to enet, libenet is wrong
|
https://koji.fedoraproject.org/koji/...?rpmID=3301384
Code:
Requires
enet # your wrongly added requirement
libFreeSOLID.so.0()(64bit)
libGL.so.1()(64bit)
libGLU.so.1()(64bit)
libICE.so.6()(64bit)
libSDL-1.2.so.0()(64bit)
libSM.so.6()(64bit)
libX11.so.6()(64bit)
libXext.so.6()(64bit)
libXrandr.so.2()(64bit)
libc.so.6()(64bit)
libc.so.6(GLIBC_2.11)(64bit)
libc.so.6(GLIBC_2.14)(64bit)
libc.so.6(GLIBC_2.2.5)(64bit)
libc.so.6(GLIBC_2.3.4)(64bit)
libc.so.6(GLIBC_2.4)(64bit)
libdl.so.2()(64bit)
libdl.so.2(GLIBC_2.2.5)(64bit)
libenet-1.3.3.so()(64bit)#autorequires
libexpat.so.1()(64bit)
libgcc_s.so.1()(64bit)
libgcc_s.so.1(GCC_3.0)(64bit)
libjpeg.so.62()(64bit)
libjpeg.so.62(LIBJPEG_6.2)(64bit)
libm.so.6()(64bit)
libm.so.6(GLIBC_2.2.5)(64bit)
libopenal.so.1()(64bit)
libplibjs.so.1.8.5()(64bit)
libplibsg.so.1.8.5()(64bit)
libplibsl.so.1.8.5()(64bit)
libplibssg.so.1.8.5()(64bit)
libplibssgaux.so.1.8.5()(64bit)
libplibul.so.1.8.5()(64bit)
libpng15.so.15()(64bit)
libpng15.so.15(PNG15_0)(64bit)
libpthread.so.0()(64bit)
libpthread.so.0(GLIBC_2.2.5)(64bit)
libpthread.so.0(GLIBC_2.3.4)(64bit)
libstdc++.so.6()(64bit)
libstdc++.so.6(CXXABI_1.3)(64bit)
libstdc++.so.6(GLIBCXX_3.4)(64bit)
libstdc++.so.6(GLIBCXX_3.4.11)(64bit)
libstdc++.so.6(GLIBCXX_3.4.15)(64bit)
libstdc++.so.6(GLIBCXX_3.4.9)(64bit)
libz.so.1()(64bit)
opengl-games-utils
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1
rtld(GNU_HASH)
|

16th August 2012, 12:35 PM
|
|
Registered User
|
|
Join Date: Mar 2008
Location: Germany
Posts: 225

|
|
|
Re: bohdi AutoQA: depcheck test FAILED
I've just added enet as a requirement , as "AutoQA: DepCheck" reported test has FAILED.
What should i do ?
|

16th August 2012, 01:00 PM
|
|
Guest
|
|
Posts: n/a

|
|
|
Re: bohdi AutoQA: depcheck test FAILED
Quote:
Originally Posted by TheBigRed
I've just added enet as a requirement , as "AutoQA: DepCheck" reported test has FAILED.
What should i do ?
|
Remove the requirement, AutoQA isn't always right,
By the way you have broken the upgrade path ( the f18 and f19 package versions need to be equal or greater than 2.1.0-6.trunk_r4810 ).
|

16th August 2012, 10:20 PM
|
|
Registered User
|
|
Join Date: Mar 2008
Location: Germany
Posts: 225

|
|
|
Re: bohdi AutoQA: depcheck test FAILED
AutoQA fails again
https://admin.fedoraproject.org/upda...7751652d7d44e6
I performed the following steps
Code:
[martin@fc17-64 speed-dreams (f18)]$ fedpkg switch-branch f17
[martin@fc17-64 speed-dreams (f17)]$ fedpkg upload ~/rpmbuild/SPECS/speed-dreams.spec
[martin@fc17-64 speed-dreams (f17)]$ fedpkg srpm
[martin@fc17-64 speed-dreams (f17)]$ fedpkg diff
[martin@fc17-64 speed-dreams (f17)]$ fedpkg commit -m "Update to 2.1.0-7.trunk_r4810" -p
[martin@fc17-64 speed-dreams (f17)]$ fedpkg build
Building speed-dreams-2.1.0-7.trunk_r4810.fc17 for f17-candidate
Created task: 4396755
Task info: http://koji.fedoraproject.org/koji/taskinfo?taskID=4396755
|

16th August 2012, 10:35 PM
|
|
Guest
|
|
Posts: n/a

|
|
|
Re: bohdi AutoQA: depcheck test FAILED
Have you tried adding a isa tag to the requires on the robots-base sub-package? eg:
from
Code:
Requires: speed-dreams = %{version}-%{release}
to
Code:
Requires: %{name}%{?_isa} = %{version}-%{release}
Code:
Checking deps for speed-dreams-robots-base.noarch 0:2.1.0-7.trunk_r4810.fc17 - u
looking for ('speed-dreams', 'EQ', ('0', '2.1.0', '7.trunk_r4810.fc17')) as a requirement of speed-dreams-robots-base.noarch 0:2.1.0-7.trunk_r4810.fc17 - u
--> Finished Dependency Resolution
Dependency Process ending
SKIPBROKEN: speed-dreams-2.1.0-7.trunk_r4810.fc17.i686 from pending has depsolving problems
SKIPBROKEN: --> Package: speed-dreams-2.1.0-7.trunk_r4810.fc17.i686 (pending)
Last edited by Yellowman; 16th August 2012 at 10:38 PM.
|

16th August 2012, 10:54 PM
|
|
Guest
|
|
Posts: n/a

|
|
|
Re: bohdi AutoQA: depcheck test FAILED
you could also add a isa to
Code:
Requires: opengl-games-utils
|

16th August 2012, 11:01 PM
|
|
Registered User
|
|
Join Date: Mar 2008
Location: Germany
Posts: 225

|
|
|
Re: bohdi AutoQA: depcheck test FAILED
Quote:
Originally Posted by Yellowman
you could also add a isa to
Code:
Requires: opengl-games-utils
|
sorry before we misunderstand each other, what should I do exactly ?
do you mean something like this ?
Code:
Requires: opengl-games-utils%{_isa}
Last edited by TheBigRed; 16th August 2012 at 11:12 PM.
|

17th August 2012, 01:06 AM
|
|
Guest
|
|
Posts: n/a

|
|
|
Re: bohdi AutoQA: depcheck test FAILED
Quote:
Originally Posted by TheBigRed
sorry before we misunderstand each other, what should I do exactly ?
do you mean something like this ?
Code:
Requires: opengl-games-utils%{_isa}
|
Yes that's right.
---------- Post added 17th August 2012 at 12:50 AM ---------- Previous post was 16th August 2012 at 11:17 PM ----------
I note that your last build failed
Code:
BuildError: mismatch when analyzing speed-dreams-robots-base-2.1.0-8.trunk_r4810.fc19.noarch.rpm, rpmdiff output was:
removed REQUIRES speed-dreams(x86-64) = 2.1.0-8.trunk_r4810.fc19
added REQUIRES speed-dreams(x86-32) = 2.1.0-8.trunk_r4810.fc19
I wonder if adding this to the main package would sort it, I have also reversed the changes to the robots-base sub-package
Provides: %{name} = %{version}-%{release}
Code:
# Set sf_release to 1 to use released sources on sourceforge
%global sf_release 0
# Versions are like 2.0.0-rc1-r4601. The first part (2.0.0 in this example)
# goes into the Version: field, the rest (rc1-r4601 here) into %%src_release.
%global src_release trunk-r4810
%global src_version %{version}-%{src_release}
%if 0%{?sf_release}
%global repo_url http://downloads.sourceforge.net/project/%{name}/%{version}/
%endif
Summary: The Open Racing Car Simulator
Name: speed-dreams
Version: 2.1.0
Release: 7.%(echo %{src_release} | tr '-' '_')%{?dist}
# Contains LGPLv2 files also published under GPLv2+
License: GPLv2+
Group: Amusements/Games
URL: http://speed-dreams.org/
# When making a post release (%%sf_release is 0), build
# source using something like:
# svnroot=https://speed-dreams.svn.sourceforge.net/svnroot
# svn co -r 4810 $svnroot/speed-dreams/trunk speed-dreams
# cd speed-dreams
# packaging/sources/build.sh 2.1.0-trunk-r4810
# As of r4810, the download is ~7G.
# See https://sourceforge.net/apps/trac/speed-dreams/ticket/731,
# patch needed before running build.sh
Source0: %{?repo_url}%{name}-src-base-%{src_version}.tar.xz
Source1: %{?repo_url}%{name}-src-wip-cars-and-tracks-%{src_version}.tar.xz
Source2: %{?repo_url}%{name}-src-hq-cars-and-tracks-%{src_version}.tar.xz
Source3: %{?repo_url}%{name}-src-more-hq-cars-and-tracks-%{src_version}.tar.xz
Source4: %{?repo_url}%{name}-src-unmaintained-%{src_version}.tar.xz
Source5: %{name}.desktop
Provides: %{name} = %{version}-%{release}
Requires: opengl-games-utils%{?_isa}
BuildRequires: cmake
BuildRequires: chrpath
BuildRequires: desktop-file-utils
BuildRequires: enet-devel
BuildRequires: expat-devel
BuildRequires: freealut-devel
BuildRequires: freeglut-devel
BuildRequires: FreeSOLID-devel
BuildRequires: libGL-devel
BuildRequires: libjpeg-devel
BuildRequires: libpng-devel
BuildRequires: libXi-devel
BuildRequires: libXmu-devel
BuildRequires: libXrandr-devel
BuildRequires: plib-devel
BuildRequires: SDL-devel
# Dont provide or require internal libs. Using new rpm builtin filtering,
# see http://www.rpm.org/wiki/PackagerDocs/DependencyGenerator
%global __requires_exclude liblearning.so
%global __requires_exclude %{__requires_exclude}|libnetworking.so
%global __requires_exclude %{__requires_exclude}|libraceengine.so
%global __requires_exclude %{__requires_exclude}|librobottools.so
%global __requires_exclude %{__requires_exclude}|libtgf.so
%global __requires_exclude %{__requires_exclude}|libtgfclient.so
%global __requires_exclude %{__requires_exclude}|libtgfdata.so
%global __provides_exclude_from %{_libdir}/games/speed-dreams-2/.*\\.so
%description
Speed-Dreams is a 3D racing cars simulator using OpenGL. A Fork of TORCS.
The goal is to have programmed robots drivers racing against each others.
You can also drive yourself with either a wheel, keyboard or mouse.
%package robots-base
Summary: The Open Racing Car Simulator additional dirt tracks
Group: Amusements/Games
BuildArch: noarch
Requires: %{name} = %{version}-%{release}
%description robots-base
This package contains additional tracks for the game.
%package devel
Summary: The Open Racing Car Simulator development files
Group: Amusements/Games
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
This package contains the development files for the game.
Last edited by Yellowman; 17th August 2012 at 01:10 AM.
|

17th August 2012, 06:25 PM
|
|
Guest
|
|
Posts: n/a

|
|
|
Re: bohdi AutoQA: depcheck test FAILED
Quote:
Originally Posted by TheBigRed
|
2.1.0-7.trunk_r4810.fc17 would have been removed anyway when you pushed 2.1.0-9.trunk_r4810.fc17
|

16th August 2012, 10:38 PM
|
|
Registered User
|
|
Join Date: Mar 2008
Location: Germany
Posts: 225

|
|
|
Re: bohdi AutoQA: depcheck test FAILED
Ralf has instructed me to use the following patch, as you can see, the isa tag was
used before.
Code:
diff --git a/speed-dreams.spec b/speed-dreams.spec
index 5861f70..34dc267 100644
--- a/speed-dreams.spec
+++ b/speed-dreams.spec
@@ -75,8 +75,8 @@ You can also drive yourself with either a wheel,
keyboard or mouse.
%package robots-base
Summary: The Open Racing Car Simulator additional dirt tracks
Group: Amusements/Games
-Requires: speed-dreams
-Requires: %{name}%{?_isa} = %{version}-%{release}
+BuildArch: noarch
+Requires: speed-dreams = %{version}-%{release}
%description robots-base
This package contains additional tracks for the game.
what should i do ?
|

16th August 2012, 10:43 PM
|
|
Guest
|
|
Posts: n/a

|
|
|
Re: bohdi AutoQA: depcheck test FAILED
Quote:
Originally Posted by TheBigRed
Ralf has instructed me to use the following patch, as you can see, the isa tag was
used before.
Code:
diff --git a/speed-dreams.spec b/speed-dreams.spec
index 5861f70..34dc267 100644
--- a/speed-dreams.spec
+++ b/speed-dreams.spec
@@ -75,8 +75,8 @@ You can also drive yourself with either a wheel,
keyboard or mouse.
%package robots-base
Summary: The Open Racing Car Simulator additional dirt tracks
Group: Amusements/Games
-Requires: speed-dreams
-Requires: %{name}%{?_isa} = %{version}-%{release}
+BuildArch: noarch
+Requires: speed-dreams = %{version}-%{release}
%description robots-base
This package contains additional tracks for the game.
what should i do ?
|
Well Ralf is wrong as usual
Look at what is occurring
Code:
Checking deps for speed-dreams-robots-base.noarch 0:2.1.0-7.trunk_r4810.fc17 - u
looking for ('speed-dreams', 'EQ', ('0', '2.1.0', '7.trunk_r4810.fc17')) as a requirement of speed-dreams-robots-base.noarch 0:2.1.0-7.trunk_r4810.fc17 - u
--> Finished Dependency Resolution
Dependency Process ending
SKIPBROKEN: speed-dreams-2.1.0-7.trunk_r4810.fc17.i686 from pending has depsolving problems
SKIPBROKEN: --> Package: speed-dreams-2.1.0-7.trunk_r4810.fc17.i686 (pending)
speed-dreams-robots is calling for it's speed-dreams requirement, as there is no isa the i686 package is being wrongly matched.
Last edited by Yellowman; 16th August 2012 at 10:45 PM.
|

16th August 2012, 10:47 PM
|
|
Registered User
|
|
Join Date: Mar 2008
Location: Germany
Posts: 225

|
|
|
Re: bohdi AutoQA: depcheck test FAILED
ok, i will change the req. back to:
Code:
Requires: %{name}%{?_isa} = %{version}-%{release}
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Hybrid Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 00:24 (Monday, 20-05-2013)
|
|
 |
 |
 |
 |
|
|