Bug 3108 - libcurl-devel needs rebuild with newer dependency
Summary: libcurl-devel needs rebuild with newer dependency
Status: RESOLVED WORKSFORME
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 1
Hardware: i586 Linux
Priority: Normal major
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: unconfirmed
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-19 07:37 CEST by Thomas Spuhler
Modified: 2014-05-08 18:05 CEST (History)
3 users (show)

See Also:
Source RPM: curl
CVE:
Status comment:


Attachments

Description Thomas Spuhler 2011-10-19 07:37:29 CEST
Description of problem:
The following package cannot be installed because it depends on packages
that are older than the installed ones:
libcurl-devel-7.21.5-1.1.mga1
This is needed for building clamav 

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
Comment 1 Nicolas Vigier 2011-10-19 11:44:37 CEST
I have no problem installing libcurl-devel on Mageia 1.

CC: (none) => boklm

Comment 2 Manuel Hiebel 2011-10-19 21:32:43 CEST
works here too

Source RPM: libcurl-devel => curl
Whiteboard: (none) => unconfirmed

Comment 3 Thomas Spuhler 2011-10-20 05:26:00 CEST
yes, you missed the upgrade of curl when we had version 7.21.6 in upgrades and before we reverted back to version 7.21.5
Index: curl.spec
===================================================================
--- curl.spec	(revision 114893)
+++ curl.spec	(revision 114905)
@@ -5,8 +5,8 @@
 
 Summary:	Gets a file from a FTP, GOPHER or HTTP server
 Name:		curl
-Version:	7.21.6
-Release:	%mkrel 2
+Version:	7.21.5
+Release:	%mkrel 1
 Epoch:		1
 License:	BSD-like
 Group:		Networking/Other
@@ -16,8 +16,14 @@
 Patch3:		%{name}-7.21.5-privlibs.patch
 Patch4:		%{name}-7.15.3-multilib.patch
 Patch6:		%{name}-7.18.2-do-not-build-examples.patch
+
 # Bug #1911 - CVE-2011-2192
 Patch7:		http://curl.haxx.se/curl-gssapi-delegation.patch
+
+# Bug #1910: fix --version
+# upstream commit 82ecc85d9ed0fc05931fb6d6893eda567a3c443f
+Patch8:		curl-7.21.5-fix-version.patch
+
 BuildRequires:	groff-for-man
 BuildRequires:	openssl-devel
 BuildRequires:	zlib-devel
@@ -85,6 +91,7 @@
 %patch4 -p1
 %patch6 -p1
 %patch7 -p1
+%patch8 -p1
 
 %build
 autoreconf -fiv


 rpm -qa |grep curl
libcurl4-7.21.6-1.1.mga1
curl-7.21.6-1.1.mga1


I guess upgrading the Epoch got missed. Since there is no mmaintainer, I will increase the Epoch
Comment 4 Thomas Spuhler 2011-10-20 05:35:54 CEST
and why was subrel removed from rev 112798?
Comment 5 Thomas Spuhler 2011-10-20 05:42:01 CEST
yes, because you forgot to upgrade when we had version  7.21.6 in upgrades.
The log says
Thomas Spuhler 2011-10-20 06:04:08 CEST

Assignee: bugsquad => qa-bugs

Comment 6 Nicolas Vigier 2011-10-20 10:36:47 CEST
(In reply to comment #3)
> yes, you missed the upgrade of curl when we had version 7.21.6 in upgrades and
> before we reverted back to version 7.21.5

When was there version 7.21.6 ? I don't think it's ever been in updates.
Comment 7 Nicolas Vigier 2011-10-20 10:57:46 CEST
Increasing epoch is a really bad idea. It should only be done when it's really necessary, and I'm not sure it is here.

And by the way, if epoch is increased in updates, it should also be in cauldron ...

But I don't think epoch should be increased here, so I have reverted commit and removed packages from updates_testing.
Comment 8 Nicolas Vigier 2011-10-20 11:06:55 CEST
After checking, version 7.21.6 was submitted in updates_testing for bug 1910, before being reverted to previous version. But this version was only in updates_testing, and was never moved to updates, so there is no need to increase Epoch. People with this package installed should install the version from updates by hand.
Comment 9 Dave Hodgins 2011-10-21 00:56:48 CEST
I noticed during installation of curl-examples that libssh2-devel
was obtained from the Core Release repository, so that will have
to be linked to updates, when curl is pushed.

CC: (none) => davidwhodgins

Comment 10 D Morgan 2011-10-21 01:01:58 CEST
you had curl-examples installed before or not ?  did you installed it just for the update QA ?

CC: (none) => dmorganec

Comment 11 Dave Hodgins 2011-10-21 10:21:39 CEST
$ urpmq --requires-recursive curl-examples|grep ssh
libssh2-devel
libssh2_1

The "urpmq --whatrequires-recursive libssh2_1" output
is massive.

The "urpmq --whatrequires-recursive libssh2-devel"
shows curl-examples as the only "non -devel" package
requiring it.

When I tried to install updates via mgaapplet,
it told me curl-examples could not be selected. When
I ran urpmi --auto-select, it pulled in libssh2-devel
from core release.

This was before the new version was removed from Core
Updates Testing.

$ grep curl-examples /var/log/syslog
Oct 20 00:24:35 hodgins perl: [RPM] curl-examples-2:7.21.5-1.2.mga1.i586 installed
Oct 20 00:24:40 hodgins perl: [RPM] curl-examples-1:7.21.6-1.1.mga1.i586 removed
Oct 20 18:47:35 hodgins rpm: [RPM] curl-examples-2:7.21.5-1.2.mga1.i586 removed
Oct 20 18:48:36 hodgins urpmi: called with: curl curl-examples
Oct 20 18:48:59 hodgins perl: [RPM] curl-examples-1:7.21.5-1.1.mga1.i586 installed

This shows I had curl-examples-1:7.21.6-1.1.mga1.i586 installed
prior to this update attempt.

My best guess at this point, is that we missed a dependency for
curl-examples, in the bug 1911 curl update.

Looks like libssh2-devel needs to be linked from Core Release to
Core Updates, for the existing curl update from bug 1911, even
though no-one has noticed it, yet (probably no-one has installed
curl-examples, other then testers like me).

Should I reopen bug 1911 to get libssh2-devel linked?
Comment 12 Nicolas Vigier 2011-10-21 10:38:25 CEST
Can we close this bug ?
Comment 13 claire robinson 2011-10-22 18:47:27 CEST
Did you do the linking?
Comment 14 Nicolas Vigier 2011-10-22 18:48:05 CEST
Which linking ?
Comment 15 claire robinson 2011-10-22 18:51:16 CEST
That was fast!

Dave found in comment 11 that libssh2-devel needs linking from core/release to core/updates
Comment 16 Samuel Verschelde 2011-10-22 19:04:43 CEST
I must admit I don't understand comment #11 and why there should be linking.

curl-example from Core Release already requires libssh2-devel.

[samuel@localhost mga_packages]$ urpmq -d --no-suggests curl-examples --excludemedia "Updates" | grep libssh2-devel
libssh2-devel

CC: (none) => stormi

Comment 17 Dave Hodgins 2011-10-22 19:39:21 CEST
(In reply to comment #16)
> I must admit I don't understand comment #11 and why there should be linking.
> curl-example from Core Release already requires libssh2-devel.

I have no idea now how I managed to have curl-examples-1:7.21.6-1.1.mga1.i586
previously installed, and not have libssh2-devel installed.

zgrep -e curl-examples -e libssh2-devel /var/log/sysl*
doesn't show anything other than what was shown in comment 11, so
however it happened is no longer in my syslog.

Time to wipe this install and start with a clean install again, I guess.

I'll close this bug report as worksforme.

Status: NEW => RESOLVED
Resolution: (none) => WORKSFORME

Nicolas Vigier 2014-05-08 18:05:11 CEST

CC: boklm => (none)


Note You need to log in before you can comment on or make changes to this bug.