Re: how does somobeody install perl(ExtUtils::Embed)

2014-02-18 Thread Nico Kadel-Garcia
Put quotes around each requirement.

sudo yum install perl(ExtUtils::Embed) rubygem(minitest)

And if you're building Subversion from scratch for RHEL 6, do look at
my tools at

   https://github.com/nkadel/subversion-1.8.x-srpm

On Mon, Feb 17, 2014 at 6:08 AM, Reindl Harald h.rei...@thelounge.net wrote:

 [builduser@buildserver64:/rpmbuild/SPECS]$ rpmbuild -bb subversion.spec
 error: Failed build dependencies:
 perl(ExtUtils::Embed) is needed by 
 subversion-1.8.5-2.fc20.20140217.rh.x86_64
 rubygem(minitest) is needed by 
 subversion-1.8.5-2.fc20.20140217.rh.x86_64
 [builduser@buildserver64:/rpmbuild/SPECS]$ sudo yum install 
 perl(ExtUtils::Embed) rubygem(minitest)
 -bash: syntax error near unexpected token `('
 _

 how is somebody expected to translate such Require / Build-Requires
 to a package name yum understands?


 --
 devel mailing list
 devel@lists.fedoraproject.org
 https://admin.fedoraproject.org/mailman/listinfo/devel
 Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

how does somobeody install perl(ExtUtils::Embed)

2014-02-17 Thread Reindl Harald

[builduser@buildserver64:/rpmbuild/SPECS]$ rpmbuild -bb subversion.spec
error: Failed build dependencies:
perl(ExtUtils::Embed) is needed by 
subversion-1.8.5-2.fc20.20140217.rh.x86_64
rubygem(minitest) is needed by 
subversion-1.8.5-2.fc20.20140217.rh.x86_64
[builduser@buildserver64:/rpmbuild/SPECS]$ sudo yum install 
perl(ExtUtils::Embed) rubygem(minitest)
-bash: syntax error near unexpected token `('
_

how is somebody expected to translate such Require / Build-Requires
to a package name yum understands?



signature.asc
Description: OpenPGP digital signature
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Re: how does somobeody install perl(ExtUtils::Embed)

2014-02-17 Thread Paul Howarth

On 17/02/14 11:08, Reindl Harald wrote:


[builduser@buildserver64:/rpmbuild/SPECS]$ rpmbuild -bb subversion.spec
error: Failed build dependencies:
 perl(ExtUtils::Embed) is needed by 
subversion-1.8.5-2.fc20.20140217.rh.x86_64
 rubygem(minitest) is needed by 
subversion-1.8.5-2.fc20.20140217.rh.x86_64
[builduser@buildserver64:/rpmbuild/SPECS]$ sudo yum install 
perl(ExtUtils::Embed) rubygem(minitest)
-bash: syntax error near unexpected token `('
_

how is somebody expected to translate such Require / Build-Requires
to a package name yum understands?


By quoting them:

$ sudo yum install 'perl(ExtUtils::Embed)' 'rubygem(minitest)'

Paul.
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Re: how does somobeody install perl(ExtUtils::Embed)

2014-02-17 Thread Tom Hughes

On 17/02/14 11:08, Reindl Harald wrote:


[builduser@buildserver64:/rpmbuild/SPECS]$ rpmbuild -bb subversion.spec
error: Failed build dependencies:
 perl(ExtUtils::Embed) is needed by 
subversion-1.8.5-2.fc20.20140217.rh.x86_64
 rubygem(minitest) is needed by 
subversion-1.8.5-2.fc20.20140217.rh.x86_64
[builduser@buildserver64:/rpmbuild/SPECS]$ sudo yum install 
perl(ExtUtils::Embed) rubygem(minitest)
-bash: syntax error near unexpected token `('
_

how is somebody expected to translate such Require / Build-Requires
to a package name yum understands?


You have to quote it, to stop the shell interpreting the parenthesis:

sudo yum install 'perl(ExtUtils::Embed)' 'rubygem(minitest)'

Tom

--
Tom Hughes (t...@compton.nu)
http://compton.nu/
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Re: how does somobeody install perl(ExtUtils::Embed)

2014-02-17 Thread Martin Briza
On Mon, 17 Feb 2014 12:08:53 +0100, Reindl Harald h.rei...@thelounge.net  
wrote:




[builduser@buildserver64:/rpmbuild/SPECS]$ rpmbuild -bb subversion.spec
error: Failed build dependencies:
perl(ExtUtils::Embed) is needed by  
subversion-1.8.5-2.fc20.20140217.rh.x86_64
rubygem(minitest) is needed by  
subversion-1.8.5-2.fc20.20140217.rh.x86_64
[builduser@buildserver64:/rpmbuild/SPECS]$ sudo yum install  
perl(ExtUtils::Embed) rubygem(minitest)

-bash: syntax error near unexpected token `('
_

how is somebody expected to translate such Require / Build-Requires
to a package name yum understands?



Hi, use

 yum-builddep subversion

or

 yum install perl(ExtUtils::Embed)

to avoid treating the parentheses as control symbols
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Re: how does somobeody install perl(ExtUtils::Embed)

2014-02-17 Thread Reindl Harald


Am 17.02.2014 12:10, schrieb Paul Howarth:
 On 17/02/14 11:08, Reindl Harald wrote:

 [builduser@buildserver64:/rpmbuild/SPECS]$ rpmbuild -bb subversion.spec
 error: Failed build dependencies:
  perl(ExtUtils::Embed) is needed by 
 subversion-1.8.5-2.fc20.20140217.rh.x86_64
  rubygem(minitest) is needed by 
 subversion-1.8.5-2.fc20.20140217.rh.x86_64
 [builduser@buildserver64:/rpmbuild/SPECS]$ sudo yum install 
 perl(ExtUtils::Embed) rubygem(minitest)
 -bash: syntax error near unexpected token `('
 _

 how is somebody expected to translate such Require / Build-Requires
 to a package name yum understands?
 
 By quoting them:
 
 $ sudo yum install 'perl(ExtUtils::Embed)' 'rubygem(minitest)'

oh, thanks

Build-Requires: perl-ExtUtils-Embed rubygem-minitest

would do the same without special chars, no idea why
things are done the hard way here and there



signature.asc
Description: OpenPGP digital signature
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Re: how does somobeody install perl(ExtUtils::Embed)

2014-02-17 Thread Paul Howarth

On 17/02/14 11:13, Reindl Harald wrote:



Am 17.02.2014 12:10, schrieb Paul Howarth:

On 17/02/14 11:08, Reindl Harald wrote:


[builduser@buildserver64:/rpmbuild/SPECS]$ rpmbuild -bb subversion.spec
error: Failed build dependencies:
  perl(ExtUtils::Embed) is needed by 
subversion-1.8.5-2.fc20.20140217.rh.x86_64
  rubygem(minitest) is needed by 
subversion-1.8.5-2.fc20.20140217.rh.x86_64
[builduser@buildserver64:/rpmbuild/SPECS]$ sudo yum install 
perl(ExtUtils::Embed) rubygem(minitest)
-bash: syntax error near unexpected token `('
_

how is somebody expected to translate such Require / Build-Requires
to a package name yum understands?


By quoting them:

$ sudo yum install 'perl(ExtUtils::Embed)' 'rubygem(minitest)'


oh, thanks

Build-Requires: perl-ExtUtils-Embed rubygem-minitest

would do the same without special chars, no idea why
things are done the hard way here and there


Because modules sometimes move between packages. Using the virtual 
provide means that the dependency works regardless of which package 
provides it.


Paul.

--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Re: how does somobeody install perl(ExtUtils::Embed)

2014-02-17 Thread Ralf Corsepius

On 02/17/2014 12:13 PM, Reindl Harald wrote:



Am 17.02.2014 12:10, schrieb Paul Howarth:

On 17/02/14 11:08, Reindl Harald wrote:


[builduser@buildserver64:/rpmbuild/SPECS]$ rpmbuild -bb subversion.spec
error: Failed build dependencies:
  perl(ExtUtils::Embed) is needed by 
subversion-1.8.5-2.fc20.20140217.rh.x86_64
  rubygem(minitest) is needed by 
subversion-1.8.5-2.fc20.20140217.rh.x86_64
[builduser@buildserver64:/rpmbuild/SPECS]$ sudo yum install 
perl(ExtUtils::Embed) rubygem(minitest)
-bash: syntax error near unexpected token `('
_

how is somebody expected to translate such Require / Build-Requires
to a package name yum understands?


By quoting them:

$ sudo yum install 'perl(ExtUtils::Embed)' 'rubygem(minitest)'


oh, thanks

Build-Requires: perl-ExtUtils-Embed rubygem-minitest

would do the same without special chars, no idea why
things are done the hard way here and there

perl-ExtUtils-Embed and perl(ExtUtils::Embed)
are not the same thing:

* perl-ExtUtils-Embed refers to a package named perl-ExtUtils-Embed

* perl(ExtUtils::Embed) refers to the perl module providing 
ExtUtils::Embed.


As perl modules may move between packages at any time, there is no 
strict connection between a perl module and a package (which happens to 
temporarily provide a module).


That said, it's Fedora perl-packaging convention not use perl packages 
but to use perl module names for BuildRequires/Requires/Provides.
Furthermore, rpm automatically adds many (theoretically all) 
Provides/Requires based on perl modules.


Ralf


--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Re: how does somobeody install perl(ExtUtils::Embed)

2014-02-17 Thread Richard W.M. Jones
On Mon, Feb 17, 2014 at 12:11:54PM +0100, Martin Briza wrote:
 On Mon, 17 Feb 2014 12:08:53 +0100, Reindl Harald
 h.rei...@thelounge.net wrote:
 
 
 [builduser@buildserver64:/rpmbuild/SPECS]$ rpmbuild -bb subversion.spec
 error: Failed build dependencies:
 perl(ExtUtils::Embed) is needed by
 subversion-1.8.5-2.fc20.20140217.rh.x86_64
 rubygem(minitest) is needed by
 subversion-1.8.5-2.fc20.20140217.rh.x86_64
 [builduser@buildserver64:/rpmbuild/SPECS]$ sudo yum install
 perl(ExtUtils::Embed) rubygem(minitest)
 -bash: syntax error near unexpected token `('
 _
 
 how is somebody expected to translate such Require / Build-Requires
 to a package name yum understands?
 
 
 Hi, use
 
  yum-builddep subversion

or even better in this case:

yum-builddep ./subversion.spec

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://people.redhat.com/~rjones/virt-top
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Re: how does somobeody install perl(ExtUtils::Embed)

2014-02-17 Thread Reindl Harald


Am 17.02.2014 17:42, schrieb Richard W.M. Jones:
 On Mon, Feb 17, 2014 at 12:11:54PM +0100, Martin Briza wrote:
 On Mon, 17 Feb 2014 12:08:53 +0100, Reindl Harald
 h.rei...@thelounge.net wrote:


 [builduser@buildserver64:/rpmbuild/SPECS]$ rpmbuild -bb subversion.spec
 error: Failed build dependencies:
perl(ExtUtils::Embed) is needed by
 subversion-1.8.5-2.fc20.20140217.rh.x86_64
rubygem(minitest) is needed by
 subversion-1.8.5-2.fc20.20140217.rh.x86_64
 [builduser@buildserver64:/rpmbuild/SPECS]$ sudo yum install
 perl(ExtUtils::Embed) rubygem(minitest)
 -bash: syntax error near unexpected token `('
 _

 how is somebody expected to translate such Require / Build-Requires
 to a package name yum understands?


  yum-builddep subversion
 
 or even better in this case:
 
 yum-builddep ./subversion.spec

*that* is cool - thanks!



signature.asc
Description: OpenPGP digital signature
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct