diff options
Diffstat (limited to 'zarb-ml/mageia-dev/2012-December/020602.html')
-rw-r--r-- | zarb-ml/mageia-dev/2012-December/020602.html | 117 |
1 files changed, 117 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2012-December/020602.html b/zarb-ml/mageia-dev/2012-December/020602.html new file mode 100644 index 000000000..38d398be1 --- /dev/null +++ b/zarb-ml/mageia-dev/2012-December/020602.html @@ -0,0 +1,117 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-dev] failure to install a src.rpm in a user build directory + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20failure%20to%20install%20a%20src.rpm%20in%20a%20user%20build%20directory&In-Reply-To=%3C30114171.2407.1354747805233.JavaMail.www%40wsfrf1135%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="020586.html"> + <LINK REL="Next" HREF="020606.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-dev] failure to install a src.rpm in a user build directory</H1> + <B>sardine</B> + <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20failure%20to%20install%20a%20src.rpm%20in%20a%20user%20build%20directory&In-Reply-To=%3C30114171.2407.1354747805233.JavaMail.www%40wsfrf1135%3E" + TITLE="[Mageia-dev] failure to install a src.rpm in a user build directory">sardine213 at sfr.fr + </A><BR> + <I>Wed Dec 5 23:50:05 CET 2012</I> + <P><UL> + <LI>Previous message: <A HREF="020586.html">[Mageia-dev] [soft-commits] [6583] use Test::Compile for more automation +</A></li> + <LI>Next message: <A HREF="020606.html">[Mageia-dev] failure to install a src.rpm in a user build directory +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#20602">[ date ]</a> + <a href="thread.html#20602">[ thread ]</a> + <a href="subject.html#20602">[ subject ]</a> + <a href="author.html#20602">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE> + + +Hi, + +I've installed cauldron in a vmware vm, and wanting to rebuild a rpm as a user in my /home I've setup the build environment as usual (I've done that a lot of times in the past and even a few weeks ago). For me everything is OK but a src.rpm install gives this output : + + +[<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">jerome at localhost</A> Téléchargements]$ LC_ALL=C rpm -i getmail-4.35.0-1.mga3.src.rpm +error: failed to create directory %{_topdir}: / /home/jerome/rpm: Permission denied +error: getmail-4.35.0-1.mga3.src.rpm cannot be installed + + + +The topdir is correctly defined in the .rpmmacros file : + + +[<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">jerome at localhost</A> ~]$ rpm --showrc | grep topdir +-14: _builddir %{_topdir}/BUILD +-14: _buildrootdir %{_topdir}/BUILDROOT +-14: _rpmdir %{_topdir}/RPMS +-14: _sourcedir %{_topdir}/SOURCES +-14: _specdir %{_topdir}/SPECS +-14: _srcrpmdir %{_topdir}/SRPMS +-14: _topdir /home/jerome/rpm +-14: git_repository_cache %_topdir/%{name}.git + + + +The build tree is correctly created with the correct permissions : + + +[<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">jerome at localhost</A> ~]$ ls -l /home/jerome | grep rpm +drwxr-xr-x 9 jerome jerome     4096 déc.   5 23:02 rpm/ +[<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">jerome at localhost</A> ~]$ ls -l /home/jerome/rpm +total 28 +drwxr-xr-x 2 jerome jerome 4096 déc.   5 23:02 BUILD/ +drwxr-xr-x 2 jerome jerome 4096 déc.   5 23:02 BUILDROOT/ +drwxr-xr-x 4 jerome jerome 4096 déc.   5 23:02 RPMS/ +drwxr-xr-x 2 jerome jerome 4096 déc.   5 23:02 SOURCES/ +drwxr-xr-x 2 jerome jerome 4096 déc.   5 23:02 SPECS/ +drwxr-xr-x 2 jerome jerome 4096 déc.   5 23:02 SRPMS/ +drwxr-xr-x 2 jerome jerome 4096 déc.   5 23:02 tmp/ + + + +So I don't understand what is wrong. Any idea ? + + +Thanks.  +</PRE> + + + + + + + + + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="020586.html">[Mageia-dev] [soft-commits] [6583] use Test::Compile for more automation +</A></li> + <LI>Next message: <A HREF="020606.html">[Mageia-dev] failure to install a src.rpm in a user build directory +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#20602">[ date ]</a> + <a href="thread.html#20602">[ thread ]</a> + <a href="subject.html#20602">[ subject ]</a> + <a href="author.html#20602">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev +mailing list</a><br> +</body></html> |