From 1be510f9529cb082f802408b472a77d074b394c0 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Sun, 14 Apr 2013 13:46:12 +0000 Subject: Add zarb MLs html archives --- zarb-ml/mageia-dev/2012-August/018037.html | 143 +++++++++++++++++++++++++++++ 1 file changed, 143 insertions(+) create mode 100644 zarb-ml/mageia-dev/2012-August/018037.html (limited to 'zarb-ml/mageia-dev/2012-August/018037.html') diff --git a/zarb-ml/mageia-dev/2012-August/018037.html b/zarb-ml/mageia-dev/2012-August/018037.html new file mode 100644 index 000000000..cbef0ea53 --- /dev/null +++ b/zarb-ml/mageia-dev/2012-August/018037.html @@ -0,0 +1,143 @@ + + + + [Mageia-dev] Urpmi raise an erreur when installing a .spec file + + + + + + + + + +

[Mageia-dev] Urpmi raise an erreur when installing a .spec file

+ Olivier Thauvin + nanardon at nanardon.zarb.org +
+ Fri Aug 10 00:07:12 CEST 2012 +

+
+ +
* Thierry Vignaud (thierry.vignaud at gmail.com) wrote:
+> 
+> What's the link with "assume I'am installing a noarch rpm" and
+> "from spec file" ???
+> 
+> You asked urpmi to install missing BR from the spec, it tries
+> to do so, and one of the needed BR is provided by this perl-Forge
+> package of yours (so we can't check it) and it must do something
+> very weird (maybe silent error in %pre, I really can't tell w/o
+> looking at that package).
+
+There is no buidrequires related to perl-Forge in this spec and there is
+no error output (perl-Forge is the name of this package).
+
+Urpmi wrongly assumed the spec file as binary package:
+
+Example:
+
+QUOTE:
+    %define name toto
+    %define version 1
+    %define release %mkrel 1
+
+    Summary: test
+    Name: %{name}
+    Version: %{version}
+    Release: %{release}
+    License: GPL
+    Group: test
+    BuildRoot: %{_tmppath}/%{name}-buildroot
+
+    %description
+    test
+
+    %files
+    %defattr(-,root,root)
+END QUOTE
+
+$ urpmi toto.spec
+error: toto-1-1.mga3.x86_64: install failed
+
+Now if replace the name by prboom (installed):
+
+A requested package cannot be installed:
+prboom-1-1.mga3.x86_64 (in order to keep prboom-2.5.0-10.mga3.x86_64)
+
+So clearly the specfile is treat as a binary rpm and the error reported
+incorrectly.
+
+Regards.
+
+-- 
+
+Olivier Thauvin
+CNRS  -  LATMOS
+♖ ♘ ♗ ♕ ♔ ♗ ♘ ♖
+-------------- next part --------------
+A non-text attachment was scrubbed...
+Name: not available
+Type: application/pgp-signature
+Size: 197 bytes
+Desc: not available
+URL: </pipermail/mageia-dev/attachments/20120810/a59ebcc9/attachment.asc>
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

+ +
+More information about the Mageia-dev +mailing list
+ -- cgit v1.2.1