summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2012-December/020602.html
blob: 38d398be1fded4241aae94d31dab0a687e4f7e71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
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&#233;l&#233;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 &#160; &#160; 4096 d&#233;c. &#160; 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&#233;c. &#160; 5 23:02 BUILD/
drwxr-xr-x 2 jerome jerome 4096 d&#233;c. &#160; 5 23:02 BUILDROOT/
drwxr-xr-x 4 jerome jerome 4096 d&#233;c. &#160; 5 23:02 RPMS/
drwxr-xr-x 2 jerome jerome 4096 d&#233;c. &#160; 5 23:02 SOURCES/
drwxr-xr-x 2 jerome jerome 4096 d&#233;c. &#160; 5 23:02 SPECS/
drwxr-xr-x 2 jerome jerome 4096 d&#233;c. &#160; 5 23:02 SRPMS/
drwxr-xr-x 2 jerome jerome 4096 d&#233;c. &#160; 5 23:02 tmp/



So I don't understand what is wrong. Any idea ?


Thanks.&#160;
</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>