Gentoo Archives: gentoo-user

From: reader@×××××××.com
To: gentoo-user@l.g.o
Subject: [gentoo-user] [ebuild] make ebuild use custom ./configure arg
Date: Tue, 05 Sep 2006 06:08:57
Message-Id: 87bqpun995.fsf@newsguy.com
1 I'm trying to make my own ebuild of samba, jumping to latest release
2 23c. After creating the overlay and moving the current 23a there
3 renamed as 23c. I'd like to make ebuild use one custom ./conifigure
4 arg of my own creation.
5
6 When I step thru the ebuild process with:
7 digest
8 unpack
9 compile
10
11 The compile part breaks on a tool called `torture' which is an
12 antiquated and little used part of samba.
13 (The final protion of compile output is included at the end)
14
15 I'd like to just by pass building `torture' with ./configure
16 --without-torture or in some other way. (Perhaps by finding what is
17 breaking it initially.)
18
19 When I tested by just running
20 ./configure --without-torture
21
22 it seemed to be working but finally broke out with what looks like
23 stuff that expected torture to be built (partial error output at the
24 end)
25
26 Below are two separate pieces of compile error. First is the result
27 of running ebuild. Its kind of long but it was not apparent what was
28 important and the whole snippet is about `torture'
29
30 digest
31 unpack
32 compile
33 The error came at the end of compile. Below this snippet is a
34 separate snippet (thankfully shorter) where I tried to skirt
35 `torture'.
36
37 =======================
38 (From running ebuild [...] compile)
39
40 source -D_SAMBA_BUILD_
41 LIBS = -lcrypt -lcap -lresolv -lresolv -lnsl -ldl
42 LDSHFLAGS = -shared -Wl,-Bsymbolic
43 LDFLAGS =
44 PIE_CFLAGS = -fPIE
45 PIE_LDFLAGS = -pie
46 Compiling torture/rpctorture.c
47 torture/rpctorture.c:27: error: 'global_myname' redeclared as different kind of symbol
48 include/proto.h:1122: error: previous declaration of 'global_myname' was here
49 torture/rpctorture.c:57: warning: 'struct client_info' declared inside parameter list
50 torture/rpctorture.c:57: warning: its scope is only this definition or declaration, which is probably not what you want
51 torture/rpctorture.c: In function 'rpcclient_connect':
52 torture/rpctorture.c:62: error: dereferencing pointer to incomplete type
53 torture/rpctorture.c:62: error: dereferencing pointer to incomplete type
54 torture/rpctorture.c:63: error: dereferencing pointer to incomplete type
55 torture/rpctorture.c:66: error: dereferencing pointer to incomplete type
56 torture/rpctorture.c:66: error: dereferencing pointer to incomplete type
57 torture/rpctorture.c:68: error: dereferencing pointer to incomplete type
58 torture/rpctorture.c:68: error: dereferencing pointer to incomplete type
59 torture/rpctorture.c: At top level:
60 torture/rpctorture.c:90: warning: 'struct client_info' declared inside parameter list
61 torture/rpctorture.c: In function 'run_enums_test':
62 torture/rpctorture.c:96: warning: passing argument 1 of 'rpcclient_connect' from incompatible pointer type
63 torture/rpctorture.c:102: error: dereferencing pointer to incomplete type
64 torture/rpctorture.c:102: error: dereferencing pointer to incomplete type
65 torture/rpctorture.c: At top level:
66 torture/rpctorture.c:134: warning: 'struct client_info' declared inside parameter list
67 torture/rpctorture.c: In function 'run_ntlogin_test':
68 torture/rpctorture.c:140: warning: passing argument 1 of 'rpcclient_connect' from incompatible pointer type
69 torture/rpctorture.c:146: error: dereferencing pointer to incomplete type
70 torture/rpctorture.c:146: error: dereferencing pointer to incomplete type
71 torture/rpctorture.c: At top level:
72 torture/rpctorture.c:167: warning: 'struct client_info' declared inside parameter list
73 torture/rpctorture.c: In function 'main':
74 torture/rpctorture.c:233: error: storage size of 'cli_info' isn't known
75 torture/rpctorture.c:291: error: 'struct cli_state' has no member named 'pipes'
76 torture/rpctorture.c:377: error: 'scope' undeclared (first use in this function)
77 torture/rpctorture.c:377: error: (Each undeclared identifier is reported only once
78 torture/rpctorture.c:377: error: for each function it appears in.)
79 torture/rpctorture.c:535: warning: passing argument 5 of 'create_procs' from incompatible pointer type
80 torture/rpctorture.c:539: warning: passing argument 5 of 'create_procs' from incompatible pointer type
81 make: *** [torture/rpctorture.o] Error 1
82 * rpctorture didn't build
83 running build
84 running build_py
85 running build_ext
86 >>> Source compiled.
87
88 =============================================
89
90 Partial output from running ./configure --without-torture
91
92 [...]
93 Linking bin/locktest
94 Compiling torture/locktest2.c
95 torture/locktest2.c: In function 'test_one':
96 torture/locktest2.c:258: warning: passing argument 1 of 'brl_forall' from incompatible pointer type
97 torture/locktest2.c:273: warning: passing argument 1 of 'brl_forall' from incompatible pointer type
98 torture/locktest2.c:289: warning: passing argument 1 of 'brl_forall' from incompatible pointer type
99 Linking bin/locktest2
100 Compiling torture/nsstest.c
101 Linking bin/nsstest
102 Compiling torture/cmd_vfs.c
103 Compiling torture/vfstest.c
104 Linking bin/vfstest
105 Compiling utils/debug2html.c
106 Compiling utils/debugparse.c
107 Linking bin/debug2html
108 Compiling utils/smbfilter.c
109 Linking bin/smbfilter
110 Compiling lib/talloctort.c
111 Linking bin/talloctort
112 Compiling utils/log2pcaphex.c
113 Linking bin/log2pcap
114 Compiling client/mount.cifs.c
115 Linking bin/mount.cifs
116 Compiling client/umount.cifs.c
117 Linking bin/umount.cifs
118 make: *** No rule to make target `@EXTRA_SUBIN_PROGS@', needed by `all'. Stop.
119
120
121
122 --
123 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] [ebuild] make ebuild use custom ./configure arg Neil Bothwick <neil@××××××××××.uk>