{"thread":{"id":"1854","subject":"Strange dependency problem installing GIT 0.99.7","startedAt":"2005-09-19T02:15:04Z","lastAt":"2005-09-19T19:23:59Z","messageCount":8,"participants":["Peter Williams","Junio C Hamano","Sean","H. Peter Anvin"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"8823","messageId":"432E1F28.9060909@bigpond.net.au","threadId":"1854","inReplyTo":null,"subject":"Strange dependency problem installing GIT 0.99.7","fromName":"Peter Williams","fromEmail":"pwil3058@bigpond.net.au","sentAt":"2005-09-19T02:15:04Z","receivedAt":"2005-09-19T02:15:04Z","isPatch":false,"sender":{"key":"pwil3058@bigpond.net.au","avatar":"https://gravatar.com/avatar/fc711ad9d9890c01c6ede5a99a62a8b8ca82a3eef0def8ef98e0ec7da7f99367?d=mp&s=160"},"body":"When I tried to install GIT 0.99.7 from the rpm package (on a Fedora \nCore 4 system) I got the following error message:\n\nerror: Failed dependencies:\n         perl(String::ShellQuote) is needed by git-core-0.99.7-1.i386\n\nSo I installed String::ShellQuote from CPAN and tried again with the \nsame result.  So I then rebuilt the rpm on my system and still got the \nsame error message.  So I've installed the rpm using the --nodeps option \nbut would like to test whether it is successfully finding \nString::ShellQuote.  Which command(s) would exercise this perl package?\n\nPeter\n-- \nPeter Williams                                   pwil3058@bigpond.net.au\n\n\"Learning, n. The kind of ignorance distinguishing the studious.\"\n  -- Ambrose Bierce\n"},{"id":"8829","messageId":"7v8xxtzmtl.fsf@assigned-by-dhcp.cox.net","threadId":"1854","inReplyTo":"432E1F28.9060909@bigpond.net.au","subject":"Re: Strange dependency problem installing GIT 0.99.7","fromName":"Junio C Hamano","fromEmail":"junkio@cox.net","sentAt":"2005-09-19T04:46:46Z","receivedAt":"2005-09-19T04:46:46Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Peter Williams <pwil3058@bigpond.net.au> writes:\n\n> So I installed String::ShellQuote from CPAN and tried again with the \n> same result.  So I then rebuilt the rpm on my system and still got the \n> same error message.  So I've installed the rpm using the --nodeps option \n> but would like to test whether it is successfully finding \n> String::ShellQuote.  Which command(s) would exercise this perl package?\n\n$ git grep ShellQuote\ngit-archimport.perl:42:use String::ShellQuote;\n\nSorry for the gotcha.  Any RPM experts to offer advice?\n"},{"id":"8830","messageId":"432E487C.7090309@bigpond.net.au","threadId":"1854","inReplyTo":"7v8xxtzmtl.fsf@assigned-by-dhcp.cox.net","subject":"Re: Strange dependency problem installing GIT 0.99.7","fromName":"Peter Williams","fromEmail":"pwil3058@bigpond.net.au","sentAt":"2005-09-19T05:11:24Z","receivedAt":"2005-09-19T05:11:24Z","isPatch":false,"sender":{"key":"pwil3058@bigpond.net.au","avatar":"https://gravatar.com/avatar/fc711ad9d9890c01c6ede5a99a62a8b8ca82a3eef0def8ef98e0ec7da7f99367?d=mp&s=160"},"body":"Junio C Hamano wrote:\n> Peter Williams <pwil3058@bigpond.net.au> writes:\n> \n> \n>>So I installed String::ShellQuote from CPAN and tried again with the \n>>same result.  So I then rebuilt the rpm on my system and still got the \n>>same error message.  So I've installed the rpm using the --nodeps option \n>>but would like to test whether it is successfully finding \n>>String::ShellQuote.  Which command(s) would exercise this perl package?\n> \n> \n> $ git grep ShellQuote\n> git-archimport.perl:42:use String::ShellQuote;\n\nThat command finds ShellQuote OK which more or less confirms that it's \njust an rpm problem.\n\nPeter\n-- \nPeter Williams                                   pwil3058@bigpond.net.au\n\n\"Learning, n. The kind of ignorance distinguishing the studious.\"\n  -- Ambrose Bierce\n"},{"id":"8831","messageId":"53717.10.10.10.28.1127107066.squirrel@linux1","threadId":"1854","inReplyTo":"7v8xxtzmtl.fsf@assigned-by-dhcp.cox.net","subject":"Re: Strange dependency problem installing GIT 0.99.7","fromName":"Sean","fromEmail":"seanlkml@sympatico.ca","sentAt":"2005-09-19T05:17:46Z","receivedAt":"2005-09-19T05:17:46Z","isPatch":false,"sender":{"key":"seanlkml@sympatico.ca","avatar":"https://gravatar.com/avatar/f92923f54fc08c401fc59b71829d4b89e9b8087fbba45ff87c82e6a83aee02ae?d=mp&s=160"},"body":"On Mon, September 19, 2005 12:46 am, Junio C Hamano said:\n> Peter Williams <pwil3058@bigpond.net.au> writes:\n>\n>> So I installed String::ShellQuote from CPAN and tried again with the\n>> same result.  So I then rebuilt the rpm on my system and still got the\n>> same error message.  So I've installed the rpm using the --nodeps option\n>> but would like to test whether it is successfully finding\n>> String::ShellQuote.  Which command(s) would exercise this perl package?\n>\n> $ git grep ShellQuote\n> git-archimport.perl:42:use String::ShellQuote;\n\n\nPeter,\n\nYou need to install ShellQuote with rpm rather than installing it directly\nfrom CPAN.  You can pick up a rpm version of ShellQuote from several\nplaces, here's one:  http://tinyurl.com/7p7ey\n\nCheers,\nSean\n"},{"id":"8834","messageId":"BAYC1-PASMTP030A084E1D3B3D9B324DAEAE920@cez.ice","threadId":"1854","inReplyTo":"7v8xxtzmtl.fsf@assigned-by-dhcp.cox.net","subject":"Re: Strange dependency problem installing GIT 0.99.7","fromName":"Sean","fromEmail":"seanlkml@sympatico.ca","sentAt":"2005-09-19T06:14:04Z","receivedAt":"2005-09-19T06:14:04Z","isPatch":false,"sender":{"key":"seanlkml@sympatico.ca","avatar":"https://gravatar.com/avatar/f92923f54fc08c401fc59b71829d4b89e9b8087fbba45ff87c82e6a83aee02ae?d=mp&s=160"},"body":"On Mon, September 19, 2005 12:46 am, Junio C Hamano said:\n> Peter Williams <pwil3058@bigpond.net.au> writes:\n>\n>> So I installed String::ShellQuote from CPAN and tried again with the\n>> same result.  So I then rebuilt the rpm on my system and still got the\n>> same error message.  So I've installed the rpm using the --nodeps option\n>> but would like to test whether it is successfully finding\n>> String::ShellQuote.  Which command(s) would exercise this perl package?\n>\n> $ git grep ShellQuote\n> git-archimport.perl:42:use String::ShellQuote;\n\nPeter,\n\nYou need to install ShellQuote with rpm rather than installing it directly\nfrom CPAN.  You can pick up a rpm version of ShellQuote from several\nplaces, here's one:  http://tinyurl.com/7p7ey\n\nCheers,\nSean\n"},{"id":"8836","messageId":"432E598A.7020306@bigpond.net.au","threadId":"1854","inReplyTo":"53717.10.10.10.28.1127107066.squirrel@linux1","subject":"Re: Strange dependency problem installing GIT 0.99.7","fromName":"Peter Williams","fromEmail":"pwil3058@bigpond.net.au","sentAt":"2005-09-19T06:24:10Z","receivedAt":"2005-09-19T06:24:10Z","isPatch":false,"sender":{"key":"pwil3058@bigpond.net.au","avatar":"https://gravatar.com/avatar/fc711ad9d9890c01c6ede5a99a62a8b8ca82a3eef0def8ef98e0ec7da7f99367?d=mp&s=160"},"body":"Sean wrote:\n> On Mon, September 19, 2005 12:46 am, Junio C Hamano said:\n> \n>>Peter Williams <pwil3058@bigpond.net.au> writes:\n>>\n>>\n>>>So I installed String::ShellQuote from CPAN and tried again with the\n>>>same result.  So I then rebuilt the rpm on my system and still got the\n>>>same error message.  So I've installed the rpm using the --nodeps option\n>>>but would like to test whether it is successfully finding\n>>>String::ShellQuote.  Which command(s) would exercise this perl package?\n>>\n>>$ git grep ShellQuote\n>>git-archimport.perl:42:use String::ShellQuote;\n> \n> \n> \n> Peter,\n> \n> You need to install ShellQuote with rpm rather than installing it directly\n> from CPAN.  You can pick up a rpm version of ShellQuote from several\n> places, here's one:  http://tinyurl.com/7p7ey\n\nIMHO rpm shouldn't care how ShellQuote got there unless it (how it got \nthere) is stated as an explicit dependency in the spec file (which it \nisn't).  So I still think this is a bug in rpm's (automatic) dependency \nmechanism that needs fixing.\n\nPeter\nPS I notice that perl isn't included in the explicit list of \ndependencies in the spec file even though other equally ubiquitous \npackages are.\n-- \nPeter Williams                                   pwil3058@bigpond.net.au\n\n\"Learning, n. The kind of ignorance distinguishing the studious.\"\n  -- Ambrose Bierce\n"},{"id":"8837","messageId":"BAYC1-PASMTP01B5899CE20655464E3DDFAE920@CEZ.ICE","threadId":"1854","inReplyTo":"432E598A.7020306@bigpond.net.au","subject":"Re: Strange dependency problem installing GIT 0.99.7","fromName":"Sean","fromEmail":"seanlkml@sympatico.ca","sentAt":"2005-09-19T07:16:31Z","receivedAt":"2005-09-19T07:16:31Z","isPatch":false,"sender":{"key":"seanlkml@sympatico.ca","avatar":"https://gravatar.com/avatar/f92923f54fc08c401fc59b71829d4b89e9b8087fbba45ff87c82e6a83aee02ae?d=mp&s=160"},"body":"On Mon, September 19, 2005 2:24 am, Peter Williams said:\n\n> IMHO rpm shouldn't care how ShellQuote got there unless it (how it got\n> there) is stated as an explicit dependency in the spec file (which it\n> isn't).  So I still think this is a bug in rpm's (automatic) dependency\n> mechanism that needs fixing.\n\nBut rpm resolves dependencies by looking in the rpm database not by\nchecking the filesystem.   You can actually disable the automatic perl\ndependency detection when creating the rpm, but that probably isn't\ndesirable.\n\nAt least on Red Hat/Fedora machines you can create your own rpms directly\nfrom CPAN so it's not too big a restriction:\n\n$ cpan2rpm String::ShellQuote\n$ cd ~/rpm/RPMS/noarch\n$ sudo rpm -ivh perl-String-ShellQuote-1.03-1.noarch.rpm\n\nWhich is all you need to download, package and install the perl module.\n\n> PS I notice that perl isn't included in the explicit list of\n> dependencies in the spec file even though other equally ubiquitous\n> packages are.\n\nThere is special handling for perl detection within the rpmbuild\nprocedure, so perl will be added automatically where many others won't be.\n\nSean\n"},{"id":"8895","messageId":"432F104F.8030206@zytor.com","threadId":"1854","inReplyTo":"432E598A.7020306@bigpond.net.au","subject":"Re: Strange dependency problem installing GIT 0.99.7","fromName":"H. Peter Anvin","fromEmail":"hpa@zytor.com","sentAt":"2005-09-19T19:23:59Z","receivedAt":"2005-09-19T19:23:59Z","isPatch":false,"sender":{"key":"hpa@zytor.com","avatar":null},"body":"Peter Williams wrote:\n> \n> IMHO rpm shouldn't care how ShellQuote got there unless it (how it got \n> there) is stated as an explicit dependency in the spec file (which it \n> isn't).  So I still think this is a bug in rpm's (automatic) dependency \n> mechanism that needs fixing.\n> \n\nUnfortunately it doesn't work that way (and this is the wrong mailing \nlist to discuss it on.)  Anyway, the best way to install CPAN modules on \nan RPM-based system is to use cpan2rpm.\n\n\t-hpa\n"}]}