Discussion:
[users] plugin flash wants libcurl...
John Doe
2013-12-17 09:48:28 UTC
Permalink
Hi,

1. the flash-plugin-11.2.202.327-0.1.el5.rf.i386.rpm updates wants libcurl (while the previous version does not)...

# rpm -qp -R flash-plugin-11.2.202.327-0.1.el5.rf.i386.rpm | grep -i curl
libcurl?
#
# rpm -q -R flash-plugin | grep -i curl
#

2. While libcurl is present, yum complains it is not...

flash-plugin-11.2.202.327-0.1.el5.rf.i386 from rpmforge has depsolving problems
? --> Missing Dependency: libcurl is needed by package flash-plugin-11.2.202.327-0.1.el5.rf.i386 (rpmforge)
# rpm -q --provides curl | grep -i libcurl
libcurl.so.3?
#

Is it because of the extra ".so.3"...?

Thx,
JD
Nico Kadel-Garcia
2013-12-17 11:59:56 UTC
Permalink
I'll bet thatyou're on a 64-bit system. Try using "yum install
flash-plugin-11.2.202.327-0.1.
el5.rf.i386.rpm"., and see if it gets the necessary dependencies.

Also, it's looking for a package called "libcurl". This not the same
as " a package that provides the libcurl library". What does "rpm -q
libcurl" say?
Post by John Doe
Hi,
1. the flash-plugin-11.2.202.327-0.1.el5.rf.i386.rpm updates wants libcurl (while the previous version does not)...
# rpm -qp -R flash-plugin-11.2.202.327-0.1.el5.rf.i386.rpm | grep -i curl
libcurl
#
# rpm -q -R flash-plugin | grep -i curl
#
2. While libcurl is present, yum complains it is not...
flash-plugin-11.2.202.327-0.1.el5.rf.i386 from rpmforge has depsolving problems
--> Missing Dependency: libcurl is needed by package flash-plugin-11.2.202.327-0.1.el5.rf.i386 (rpmforge)
# rpm -q --provides curl | grep -i libcurl
libcurl.so.3
#
Is it because of the extra ".so.3"...?
Thx,
JD
_______________________________________________
users mailing list
users at lists.repoforge.org
http://lists.repoforge.org/mailman/listinfo/users
John Doe
2013-12-17 13:38:36 UTC
Permalink
From: Nico Kadel-Garcia <nkadel at gmail.com>
Post by John Doe
Post by John Doe
1. the flash-plugin-11.2.202.327-0.1.el5.rf.i386.rpm updates wants libcurl
(while the previous version does not)...
Post by John Doe
# rpm -qp -R flash-plugin-11.2.202.327-0.1.el5.rf.i386.rpm | grep -i curl
libcurl
#
# rpm -q -R flash-plugin | grep -i curl
#
2. While libcurl is present, yum complains it is not...
flash-plugin-11.2.202.327-0.1.el5.rf.i386 from rpmforge has depsolving
problems
Post by John Doe
? --> Missing Dependency: libcurl is needed by package
flash-plugin-11.2.202.327-0.1.el5.rf.i386 (rpmforge)
Post by John Doe
# rpm -q --provides curl | grep -i libcurl
libcurl.so.3
#
Is it because of the extra ".so.3"...?
I'll bet thatyou're on a 64-bit system. Try using "yum install
flash-plugin-11.2.202.327-0.1.
el5.rf.i386.rpm"., and see if it gets the necessary dependencies.
Also, it's looking for a package called "libcurl". This not the
same as " a package that provides the libcurl library". What
does "rpm -q libcurl" say?
# uname -m
i686

Disabling the priorities plugin to look everywhere:
# yum list | grep -i libcurl
#

Again, the previous flash version does not depend on "libcurl" or even
curl at all...

# rpm -qR flash-plugin | grep -i curl
#

It's weird that going from 11.2.202.310 to 11.2.202.327 implies such a
big change (adding curl)...

JD
Nicolas Thierry-Mieg
2013-12-17 17:17:01 UTC
Permalink
Post by John Doe
From: Nico Kadel-Garcia <nkadel at gmail.com>
Post by John Doe
Post by John Doe
1. the flash-plugin-11.2.202.327-0.1.el5.rf.i386.rpm updates wants libcurl
(while the previous version does not)...
Post by John Doe
# rpm -qp -R flash-plugin-11.2.202.327-0.1.el5.rf.i386.rpm | grep -i curl
libcurl
#
# rpm -q -R flash-plugin | grep -i curl
#
2. While libcurl is present, yum complains it is not...
flash-plugin-11.2.202.327-0.1.el5.rf.i386 from rpmforge has depsolving
problems
Post by John Doe
--> Missing Dependency: libcurl is needed by package
flash-plugin-11.2.202.327-0.1.el5.rf.i386 (rpmforge)
Post by John Doe
# rpm -q --provides curl | grep -i libcurl
libcurl.so.3
#
Is it because of the extra ".so.3"...?
I'll bet thatyou're on a 64-bit system. Try using "yum install
flash-plugin-11.2.202.327-0.1.
el5.rf.i386.rpm"., and see if it gets the necessary dependencies.
Also, it's looking for a package called "libcurl". This not the
same as " a package that provides the libcurl library". What
does "rpm -q libcurl" say?
# uname -m
i686
# yum list | grep -i libcurl
#
Again, the previous flash version does not depend on "libcurl" or even
curl at all...
# rpm -qR flash-plugin | grep -i curl
#
It's weird that going from 11.2.202.310 to 11.2.202.327 implies such a
big change (adding curl)...
FWIW, I can confirm that this issue exists on x86_64 (centos 5).

I'ld say it's clearly a packaging bug in repoforge, the dep cannot be
satisfied with centos + rf repos AFAICT.
Nico Kadel-Garcia
2013-12-18 01:38:34 UTC
Permalink
Install the RPM with "yum install filenme.rpm", stop trying to install
it directly wtth the "rpm" command if you want the dependencies to be
resolved.

In RHEL 6, and Scientific Linux 6, the "libcurl" package is part of
the basic distribution. There is very little reason left to use RHEL
5: upgrade if feasible.

On Tue, Dec 17, 2013 at 12:17 PM, Nicolas Thierry-Mieg
Post by Nicolas Thierry-Mieg
Post by John Doe
From: Nico Kadel-Garcia <nkadel at gmail.com>
Post by John Doe
Post by John Doe
1. the flash-plugin-11.2.202.327-0.1.el5.rf.i386.rpm updates wants libcurl
(while the previous version does not)...
Post by John Doe
# rpm -qp -R flash-plugin-11.2.202.327-0.1.el5.rf.i386.rpm | grep -i curl
libcurl
#
# rpm -q -R flash-plugin | grep -i curl
#
2. While libcurl is present, yum complains it is not...
flash-plugin-11.2.202.327-0.1.el5.rf.i386 from rpmforge has depsolving
problems
Post by John Doe
--> Missing Dependency: libcurl is needed by package
flash-plugin-11.2.202.327-0.1.el5.rf.i386 (rpmforge)
Post by John Doe
# rpm -q --provides curl | grep -i libcurl
libcurl.so.3
#
Is it because of the extra ".so.3"...?
I'll bet thatyou're on a 64-bit system. Try using "yum install
flash-plugin-11.2.202.327-0.1.
el5.rf.i386.rpm"., and see if it gets the necessary dependencies.
Also, it's looking for a package called "libcurl". This not the
same as " a package that provides the libcurl library". What
does "rpm -q libcurl" say?
# uname -m
i686
# yum list | grep -i libcurl
#
Again, the previous flash version does not depend on "libcurl" or even
curl at all...
# rpm -qR flash-plugin | grep -i curl
#
It's weird that going from 11.2.202.310 to 11.2.202.327 implies such a
big change (adding curl)...
FWIW, I can confirm that this issue exists on x86_64 (centos 5).
I'ld say it's clearly a packaging bug in repoforge, the dep cannot be
satisfied with centos + rf repos AFAICT.
_______________________________________________
users mailing list
users at lists.repoforge.org
http://lists.repoforge.org/mailman/listinfo/users
Nicolas Thierry-Mieg
2013-12-18 08:40:02 UTC
Permalink
Post by Nico Kadel-Garcia
On Tue, Dec 17, 2013 at 12:17 PM, Nicolas Thierry-Mieg
Post by Nicolas Thierry-Mieg
Post by John Doe
From: Nico Kadel-Garcia <nkadel at gmail.com>
Post by John Doe
Post by John Doe
1. the flash-plugin-11.2.202.327-0.1.el5.rf.i386.rpm updates wants libcurl
(while the previous version does not)...
Post by John Doe
# rpm -qp -R flash-plugin-11.2.202.327-0.1.el5.rf.i386.rpm | grep -i curl
libcurl
#
# rpm -q -R flash-plugin | grep -i curl
#
2. While libcurl is present, yum complains it is not...
flash-plugin-11.2.202.327-0.1.el5.rf.i386 from rpmforge has depsolving
problems
Post by John Doe
--> Missing Dependency: libcurl is needed by package
flash-plugin-11.2.202.327-0.1.el5.rf.i386 (rpmforge)
Post by John Doe
# rpm -q --provides curl | grep -i libcurl
libcurl.so.3
#
Is it because of the extra ".so.3"...?
I'll bet thatyou're on a 64-bit system. Try using "yum install
flash-plugin-11.2.202.327-0.1.
el5.rf.i386.rpm"., and see if it gets the necessary dependencies.
Also, it's looking for a package called "libcurl". This not the
same as " a package that provides the libcurl library". What
does "rpm -q libcurl" say?
# uname -m
i686
# yum list | grep -i libcurl
#
Again, the previous flash version does not depend on "libcurl" or even
curl at all...
# rpm -qR flash-plugin | grep -i curl
#
It's weird that going from 11.2.202.310 to 11.2.202.327 implies such a
big change (adding curl)...
FWIW, I can confirm that this issue exists on x86_64 (centos 5).
I'ld say it's clearly a packaging bug in repoforge, the dep cannot be
satisfied with centos + rf repos AFAICT.
Install the RPM with "yum install filenme.rpm", stop trying to install
it directly wtth the "rpm" command if you want the dependencies to be
resolved.
In RHEL 6, and Scientific Linux 6, the "libcurl" package is part of
the basic distribution. There is very little reason left to use RHEL
5: upgrade if feasible.
Nico you know better than to top-post here...

The OP is obviously trying to install with yum, and it fails. The rpm
commands he uses are to show the deps, not to install, and they are
correct and useful.
I've confirmed that the deps cannot be satisfied.
It is a packaging bug in the el5 RF repo.

There can be many reasons tu use rhel5/C5. In any case RF has
historically supported several EL version in parallel (for as long as
each version was supported upstream if I remember well). If the new RF
policy is "only support the latest EL", it should be clearly stated.

Otherwise, the bug needs fixing. Can't help or figure out why the dep on
libcurl was added, since there's nothing less than 9 months old here:
https://github.com/repoforge/rpms/tree/master/specs/flash-plugin

One thing I can see on an el6 system is that the latest rf-packaged
flash plugin doesn't seem to really require libcurl:
$ rpm -q flash-plugin
flash-plugin-11.2.202.327-0.1.el6.rf.x86_64
$ ldd /usr/lib64/flash-plugin/libflashplayer.so | grep curl
$

So as the OP suggested, this dep in the latest rf SPEC may well be useless.
Nico Kadel-Garcia
2013-12-18 13:44:21 UTC
Permalink
On Wed, Dec 18, 2013 at 3:40 AM, Nicolas Thierry-Mieg
Post by Nicolas Thierry-Mieg
Post by Nico Kadel-Garcia
On Tue, Dec 17, 2013 at 12:17 PM, Nicolas Thierry-Mieg
Post by John Doe
From: Nico Kadel-Garcia <nkadel at gmail.com>
Post by John Doe
Post by John Doe
1. the flash-plugin-11.2.202.327-0.1.el5.rf.i386.rpm updates wants libcurl
(while the previous version does not)...
Post by John Doe
# rpm -qp -R flash-plugin-11.2.202.327-0.1.el5.rf.i386.rpm | grep
-i
curl
libcurl
#
# rpm -q -R flash-plugin | grep -i curl
#
2. While libcurl is present, yum complains it is not...
flash-plugin-11.2.202.327-0.1.el5.rf.i386 from rpmforge has depsolving
problems
Post by John Doe
--> Missing Dependency: libcurl is needed by package
flash-plugin-11.2.202.327-0.1.el5.rf.i386 (rpmforge)
Post by John Doe
# rpm -q --provides curl | grep -i libcurl
libcurl.so.3
#
Is it because of the extra ".so.3"...?
I'll bet thatyou're on a 64-bit system. Try using "yum install
flash-plugin-11.2.202.327-0.1.
el5.rf.i386.rpm"., and see if it gets the necessary dependencies.
Also, it's looking for a package called "libcurl". This not the
same as " a package that provides the libcurl library". What
does "rpm -q libcurl" say?
Nico you know better than to top-post here...
In my day job, I wind up dealing with a lot of top posters. It was a
couple of lines, I hope we can survive the scars of my abusive
behavior. I can probably find you flail if you need to give me 10
lashes.
Post by Nicolas Thierry-Mieg
The OP is obviously trying to install with yum, and it fails. The rpm
commands he uses are to show the deps, not to install, and they are correct
and useful.
I've confirmed that the deps cannot be satisfied.
It is a packaging bug in the el5 RF repo.
OK, cool. It was *not* clear he'd ever tried installing with yum. I
can easily believe that In fact, reviewing the contents of the
Scientific Linux 5 repository at my fingertips, it's clear that RHEL
5, contains "curl", not "libcurl". The "rpm" commands run show the
contents of what *provides* curl, not the contents of a "libcurl"
package! The problem is that RHEL standards changed between RHEL 5
and RHEL 6, and more and more packages were written put the libraries
in "libpkg" rather than in "pkg" with the binaries. So yes, for RHEL
5, the dependency should be on "curl".

But our original poster's research shows tht he didn't understand the
distinction between "the RPM demands a package that provides 'curl'
having a library named 'libcurl'", and "a package that provides
something labeled as "libcurl". And there's little sign that he was
trying yum first to install the package.
Post by Nicolas Thierry-Mieg
There can be many reasons tu use rhel5/C5. In any case RF has historically
supported several EL version in parallel (for as long as each version was
supported upstream if I remember well). If the new RF policy is "only
support the latest EL", it should be clearly stated.
Otherwise, the bug needs fixing. Can't help or figure out why the dep on
https://github.com/repoforge/rpms/tree/master/specs/flash-plugin
One thing I can see on an el6 system is that the latest rf-packaged flash
$ rpm -q flash-plugin
flash-plugin-11.2.202.327-0.1.el6.rf.x86_64
$ ldd /usr/lib64/flash-plugin/libflashplayer.so | grep curl
$
So as the OP suggested, this dep in the latest rf SPEC may well be useless.
In which case, the SRPM can be downloaded, the libcurl requirement
commented out, and a fresh RPM tested.
John Doe
2013-12-18 15:51:51 UTC
Permalink
I reported a bug, that's it.? End of the story.
Nico, feel free to ignore my posts...
And thx Nicolas for translating my cryptic bug report? ^_^

JD
Nico Kadel-Garcia
2013-12-18 23:03:05 UTC
Permalink
I reported a bug, that's it. End of the story.
Nico, feel free to ignore my posts...
And thx Nicolas for translating my cryptic bug report ^_^
JD
John, do you have the time to rebuild the SRPM with the dependency
changed, and test the new RPM?
John Doe
2013-12-24 11:08:18 UTC
Permalink
From: Nico Kadel-Garcia <nkadel at gmail.com>
Post by Nico Kadel-Garcia
John, do you have the time to rebuild the SRPM with the dependency
changed, and test the new RPM?
I tried but I have almost no experience with rpm dev and it fails at the beginning:

$ wget http://pkgs.repoforge.org/flash-plugin/flash-plugin-11.2.202.327-0.1.rf.src.rpm
...
2013-12-24 11:54:26 (368 KB/s) - `flash-plugin-11.2.202.327-0.1.rf.src.rpm' saved [13953323/13953323]

$ sha256sum flash-plugin-11.2.202.327-0.1.rf.src.rpm
c123fd0ec273b7302b670d12db538647ec2722ed6a0124385666df1df854a726? flash-plugin-11.2.202.327-0.1.rf.src.rpm

$ rpmbuild --rebuild flash-plugin-11.2.202.327-0.1.rf.src.rpm
Installing flash-plugin-11.2.202.327-0.1.rf.src.rpm
warning: user dag does not exist - using root
warning: group dag does not exist - using root
error: unpacking of archive failed on file /home/test/rpmbuild/SOURCES/LICENSE;52b9682b: cpio: MD5 sum mismatch
error: flash-plugin-11.2.202.327-0.1.rf.src.rpm cannot be installed

JD
Nicolas Thierry-Mieg
2013-12-24 20:54:39 UTC
Permalink
Post by John Doe
From: Nico Kadel-Garcia <nkadel at gmail.com>
Post by Nico Kadel-Garcia
John, do you have the time to rebuild the SRPM with the dependency
changed, and test the new RPM?
$ wget http://pkgs.repoforge.org/flash-plugin/flash-plugin-11.2.202.327-0.1.rf.src.rpm
...
2013-12-24 11:54:26 (368 KB/s) - `flash-plugin-11.2.202.327-0.1.rf.src.rpm' saved [13953323/13953323]
$ sha256sum flash-plugin-11.2.202.327-0.1.rf.src.rpm
c123fd0ec273b7302b670d12db538647ec2722ed6a0124385666df1df854a726 flash-plugin-11.2.202.327-0.1.rf.src.rpm
$ rpmbuild --rebuild flash-plugin-11.2.202.327-0.1.rf.src.rpm
Installing flash-plugin-11.2.202.327-0.1.rf.src.rpm
warning: user dag does not exist - using root
warning: group dag does not exist - using root
error: unpacking of archive failed on file /home/test/rpmbuild/SOURCES/LICENSE;52b9682b: cpio: MD5 sum mismatch
error: flash-plugin-11.2.202.327-0.1.rf.src.rpm cannot be installed
I can confirm, and it's not a download problem: the srpm tests fine (rpm
-K), but cannot be installed.

[nthierry at localhost rpms]$ rpm -K flash-plugin-11.2.202.327-0.1.rf.src.rpm
flash-plugin-11.2.202.327-0.1.rf.src.rpm: (sha1) dsa sha1 md5 gpg OK
[nthierry at localhost rpms]$ rpm -ivh
flash-plugin-11.2.202.327-0.1.rf.src.rpm
1:flash-plugin warning: user dag does not exist - using root
warning: group dag does not exist - using root
########################################### [100%]
error: unpacking of archive failed on file
/home/nthierry/rpms/Build/SOURCES/LICENSE;52b9f3db: cpio: MD5 sum mismatch
Jeffrey Johnson
2013-12-24 21:18:28 UTC
Permalink
Sorry wrong address the 1st time ...

This error is usually because some library (or DSO module) has been prelinked.
Post by John Doe
From: Nico Kadel-Garcia <nkadel at gmail.com>
Post by Nico Kadel-Garcia
John, do you have the time to rebuild the SRPM with the dependency
changed, and test the new RPM?
$ wget http://pkgs.repoforge.org/flash-plugin/flash-plugin-11.2.202.327-0.1.rf.src.rpm
...
2013-12-24 11:54:26 (368 KB/s) - `flash-plugin-11.2.202.327-0.1.rf.src.rpm' saved [13953323/13953323]
$ sha256sum flash-plugin-11.2.202.327-0.1.rf.src.rpm
c123fd0ec273b7302b670d12db538647ec2722ed6a0124385666df1df854a726 flash-plugin-11.2.202.327-0.1.rf.src.rpm
$ rpmbuild --rebuild flash-plugin-11.2.202.327-0.1.rf.src.rpm
Installing flash-plugin-11.2.202.327-0.1.rf.src.rpm
warning: user dag does not exist - using root
warning: group dag does not exist - using root
error: unpacking of archive failed on file /home/test/rpmbuild/SOURCES/LICENSE;52b9682b: cpio: MD5 sum mismatch
error: flash-plugin-11.2.202.327-0.1.rf.src.rpm cannot be installed
I can confirm, and it's not a download problem: the srpm tests fine (rpm -K), but cannot be installed.
[nthierry at localhost rpms]$ rpm -K flash-plugin-11.2.202.327-0.1.rf.src.rpm
flash-plugin-11.2.202.327-0.1.rf.src.rpm: (sha1) dsa sha1 md5 gpg OK
[nthierry at localhost rpms]$ rpm -ivh flash-plugin-11.2.202.327-0.1.rf.src.rpm
1:flash-plugin warning: user dag does not exist - using root
warning: group dag does not exist - using root
########################################### [100%]
error: unpacking of archive failed on file /home/nthierry/rpms/Build/SOURCES/LICENSE;52b9f3db: cpio: MD5 sum mismatch
This error is usually because some library (or DSO module) has been prelinked.
73 de Jeff
_______________________________________________
users mailing list
users at lists.repoforge.org
http://lists.repoforge.org/mailman/listinfo/users
Nico Kadel-Garcia
2013-12-27 19:29:59 UTC
Permalink
What in the *devil* ????

Taking it apart with "rpm2cpio", dumping the SOURCE files in
~/rpmbuild/SOURCES and the SPEC file in ~/rpmbuild/SPEC leads me to a
broken "%files" setting looking for a "debugfiles.list" To compile it
successfully, either disable building debugs in our local environmentt
or add this line in the beginning:

rpm2cpio [file].src.rpm
mv flash-plugin.spec ~/rpmbuild/SRPMS
mv * ~/rpmbuild ~/SOURCES
vi ~/rpmbuild/SPECS/flash-plugin.spec
# Add this line in the beginning
%define debug_package %{nil}

# Replace the Requires: libcurl with this
%if %{?el5}0
Requires: curl
%else
Requires: libcurl
%endif

rpmbuild -ba ~/rpmbuild/SPEC/flash-plugin.spec

And that looks like it could work for a buildable package.
Post by John Doe
From: Nico Kadel-Garcia <nkadel at gmail.com>
Post by Nico Kadel-Garcia
John, do you have the time to rebuild the SRPM with the dependency
changed, and test the new RPM?
$ wget http://pkgs.repoforge.org/flash-plugin/flash-plugin-11.2.202.327-0.1.rf.src.rpm
...
2013-12-24 11:54:26 (368 KB/s) - `flash-plugin-11.2.202.327-0.1.rf.src.rpm' saved [13953323/13953323]
$ sha256sum flash-plugin-11.2.202.327-0.1.rf.src.rpm
c123fd0ec273b7302b670d12db538647ec2722ed6a0124385666df1df854a726 flash-plugin-11.2.202.327-0.1.rf.src.rpm
$ rpmbuild --rebuild flash-plugin-11.2.202.327-0.1.rf.src.rpm
Installing flash-plugin-11.2.202.327-0.1.rf.src.rpm
warning: user dag does not exist - using root
warning: group dag does not exist - using root
error: unpacking of archive failed on file /home/test/rpmbuild/SOURCES/LICENSE;52b9682b: cpio: MD5 sum mismatch
error: flash-plugin-11.2.202.327-0.1.rf.src.rpm cannot be installed
JD
_______________________________________________
users mailing list
users at lists.repoforge.org
http://lists.repoforge.org/mailman/listinfo/users
Loading...