summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2013-March/023370.html
blob: cf72604fd64a19cd3bf21aa28d0a689177e9a029 (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
118
119
120
121
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Mageia-dev] A question about BuildRequires and other RPM questions.
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20A%20question%20about%20BuildRequires%20and%20other%20RPM%0A%20questions.&In-Reply-To=%3Caa7f29deb71a7874554639a6083ef76b.squirrel%40mail.rmail.be%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="023368.html">
   <LINK REL="Next"  HREF="023502.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-dev] A question about BuildRequires and other RPM questions.</H1>
    <B>AL13N</B> 
    <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20A%20question%20about%20BuildRequires%20and%20other%20RPM%0A%20questions.&In-Reply-To=%3Caa7f29deb71a7874554639a6083ef76b.squirrel%40mail.rmail.be%3E"
       TITLE="[Mageia-dev] A question about BuildRequires and other RPM questions.">alien at rmail.be
       </A><BR>
    <I>Fri Mar  8 13:06:44 CET 2013</I>
    <P><UL>
        <LI>Previous message: <A HREF="023368.html">[Mageia-dev] A question about BuildRequires and other RPM	questions.
</A></li>
        <LI>Next message: <A HREF="023502.html">[Mageia-dev] A question about BuildRequires and other RPM	questions.
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#23370">[ date ]</a>
              <a href="thread.html#23370">[ thread ]</a>
              <a href="subject.html#23370">[ subject ]</a>
              <a href="author.html#23370">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>&gt;<i> On 08/03/13 11:18, Robert Wood wrote:
</I>[...]
&gt;&gt;<i> I still don't get this whole trial and error thing. It seems that you
</I>&gt;&gt;<i> might submit something to the repositories that someone finds doesn't
</I>&gt;&gt;<i> install because of a missing dependency and you redo it. Then you can
</I>&gt;&gt;<i> retry that for up to five goes before it finally works? That seems
</I>&gt;&gt;<i> crazy. I must have misunderstood.
</I>
well, if we submit packages, the buildsystem uses the buildrequires and
such to build the packages. if the package fails to build (due to missing
buildrequire) the package is never submitted and we get an email back to
us or we can follow the built packages on the buildsystem: see
<A HREF="http://pkgsubmit.mageia.org/">http://pkgsubmit.mageia.org/</A> for examples.

also, buildrequires have nothing to do with regular requires or what
normal users come into contact with.

thus finding buildrequires is trial and error for the packager if he's
making a new package, but only the first time and even then, after you
acquire the skillset, this only takes maximum a few hours (unless it's
java :-) ).

but the best way to understand is to just try it.

the simplest way to start making a package is to first make a src.rpm out
of a tarball (with a spec in it) and then rebuild it.

1. find a tarball which includes a spec file. (or put one in it)
2. rpmbuild -ts file.tar.gz
3. rpmbuild --rebuild file.src.rpm

starting small is the way to get there.

&gt;&gt;<i> I have no problem learning stuff, I do it every single day in my work
</I>&gt;&gt;<i> and it's what makes it so enjoyable, but maybe I need to take smaller
</I>&gt;&gt;<i> steps first? No idea where to start or how to go about doing that
</I>&gt;&gt;<i> though. As I might not have any work in a week's time it would
</I>&gt;&gt;<i> potentially be an ideal time to learn, but maybe I'm just not the right
</I>&gt;&gt;<i> person to do this?
</I>
a mentor would definately help, i assume noone has stepped forward for you
yet?

</PRE>
























<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="023368.html">[Mageia-dev] A question about BuildRequires and other RPM	questions.
</A></li>
	<LI>Next message: <A HREF="023502.html">[Mageia-dev] A question about BuildRequires and other RPM	questions.
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#23370">[ date ]</a>
              <a href="thread.html#23370">[ thread ]</a>
              <a href="subject.html#23370">[ subject ]</a>
              <a href="author.html#23370">[ 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>