Gentoo Archives: gentoo-proxy-maint

From: Joonas Niilola <juippis@g.o>
To: gentoo-proxy-maint@l.g.o
Subject: Re: [gentoo-proxy-maint] [PATCH v2] net-nntp/tin: add 2.6.2
Date: Fri, 13 Jan 2023 13:45:19
Message-Id: 366ed2f6-2cc7-4acc-83a9-cb71c0c647d5@gentoo.org
In Reply to: [gentoo-proxy-maint] [PATCH v2] net-nntp/tin: add 2.6.2 by Anna Vyalkova
1 I've merged your rssguard contributions, thanks! Some problems with tin
2 below:
3
4 On 12.1.2023 12.32, Anna Vyalkova wrote:
5 > In this episode:
6 >
7 > net-nntp/tin/Manifest | 1 +
8 > net-nntp/tin/metadata.xml | 19 +++---
9 > net-nntp/tin/tin-2.6.2.ebuild | 108 ++++++++++++++++++++++++++++++++++
10 > 3 files changed, 120 insertions(+), 8 deletions(-)
11 > create mode 100644 net-nntp/tin/tin-2.6.2.ebuild
12 >
13 > +
14 > +src_configure() {
15 > + tc-export AR CC RANLIB
16 > + tc-export_build_env
17 > +
18 > + local myeconfargs=(
19 > + $(use_enable cancel-locks) $(use_with cancel-locks canlock)
20
21 Can we single-line this please?
22
23 > + $(use_enable debug)
24 > + $(use_enable gpg pgp-gpg)
25 > + $(use_enable nls)
26 > + $(use_with pcre2 pcre2-config)
27 > + $(use_with !pcre2 pcre "${ESYSROOT}"/usr)
28 > + $(use_with socks5 socks) $(use_with socks5)
29
30 This too. I don't mind if you separate these from the others via
31 newlines, e.g.
32
33 $(use_enable cancel-locks)
34 $(use_with cancel-locks canlock)
35
36 $(use_enable debug)
37 $(use_enable gpg pgp-gpg)
38 $(use_enable nls)
39 ...
40
41 but this current way was surprisingly hard to read (since I've never
42 seen such being used).
43
44 > + --disable-mime-strict-charset
45 > + --enable-nntp-only
46 > + --enable-prototypes
47 > + --with-coffee # easter egg :)
48 > + --with-nntp-default-server="${TIN_DEFAULT_SERVER:-${NNTPSERVER:-news.gmane.io}}"
49 > + --with-screen=ncursesw
50 > + )
51 > +
52
53 I had a build failure with
54 USE="cancel-locks gnutls sasl socks5 ssl -debug -gpg -libtls -nls
55 -openssl -pcre2":
56
57 >>> Install net-nntp/tin-2.6.2 into
58 /var/tmp/portage/net-nntp/tin-2.6.2/image
59 make -j32 DESTDIR=/var/tmp/portage/net-nntp/tin-2.6.2/image install
60 make[1]: Entering directory
61 '/var/tmp/portage/net-nntp/tin-2.6.2/work/tin-2.6.2/src'
62 mkdir -p /var/tmp/portage/net-nntp/tin-2.6.2/image/usr/bin
63 make[2]: Entering directory
64 '/var/tmp/portage/net-nntp/tin-2.6.2/work/tin-2.6.2/src'
65 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I/usr/include
66 -DLOCALEDIR=\"/usr/share/locale\" -I../include -D_DEFAULT_SOURCE
67 -D_XOPEN_SOURCE=600 -I/usr/include/ncursesw -D_XOPEN_SOURCE_EXTENDED
68 -I/usr/include/libcanlock-3 -march=native -O2 -pipe
69 -frecord-gcc-switches -c ./nntps.c
70 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I/usr/include
71 -DLOCALEDIR=\"/usr/share/locale\" -I../include -D_DEFAULT_SOURCE
72 -D_XOPEN_SOURCE=600 -I/usr/include/ncursesw -D_XOPEN_SOURCE_EXTENDED
73 -I/usr/include/libcanlock-3 -march=native -O2 -pipe
74 -frecord-gcc-switches -c ./sigfile.c
75 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I/usr/include
76 -DLOCALEDIR=\"/usr/share/locale\" -I../include -D_DEFAULT_SOURCE
77 -D_XOPEN_SOURCE=600 -I/usr/include/ncursesw -D_XOPEN_SOURCE_EXTENDED
78 -I/usr/include/libcanlock-3 -march=native -O2 -pipe
79 -frecord-gcc-switches -c ./signal.c
80 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I/usr/include
81 -DLOCALEDIR=\"/usr/share/locale\" -I../include -D_DEFAULT_SOURCE
82 -D_XOPEN_SOURCE=600 -I/usr/include/ncursesw -D_XOPEN_SOURCE_EXTENDED
83 -I/usr/include/libcanlock-3 -march=native -O2 -pipe
84 -frecord-gcc-switches -c ./strftime.c
85 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I/usr/include
86 -DLOCALEDIR=\"/usr/share/locale\" -I../include -D_DEFAULT_SOURCE
87 -D_XOPEN_SOURCE=600 -I/usr/include/ncursesw -D_XOPEN_SOURCE_EXTENDED
88 -I/usr/include/libcanlock-3 -march=native -O2 -pipe
89 -frecord-gcc-switches -c ./string.c
90 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I/usr/include
91 -DLOCALEDIR=\"/usr/share/locale\" -I../include -D_DEFAULT_SOURCE
92 -D_XOPEN_SOURCE=600 -I/usr/include/ncursesw -D_XOPEN_SOURCE_EXTENDED
93 -I/usr/include/libcanlock-3 -march=native -O2 -pipe
94 -frecord-gcc-switches -c ./tags.c
95 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I/usr/include
96 -DLOCALEDIR=\"/usr/share/locale\" -I../include -D_DEFAULT_SOURCE
97 -D_XOPEN_SOURCE=600 -I/usr/include/ncursesw -D_XOPEN_SOURCE_EXTENDED
98 -I/usr/include/libcanlock-3 -march=native -O2 -pipe
99 -frecord-gcc-switches -c ./tcurses.c
100 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I/usr/include
101 -DLOCALEDIR=\"/usr/share/locale\" -I../include -D_DEFAULT_SOURCE
102 -D_XOPEN_SOURCE=600 -I/usr/include/ncursesw -D_XOPEN_SOURCE_EXTENDED
103 -I/usr/include/libcanlock-3 -march=native -O2 -pipe
104 -frecord-gcc-switches -c ./tmpfile.c
105 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I/usr/include
106 -DLOCALEDIR=\"/usr/share/locale\" -I../include -D_DEFAULT_SOURCE
107 -D_XOPEN_SOURCE=600 -I/usr/include/ncursesw -D_XOPEN_SOURCE_EXTENDED
108 -I/usr/include/libcanlock-3 -march=native -O2 -pipe
109 -frecord-gcc-switches -c ./thread.c
110 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I/usr/include
111 -DLOCALEDIR=\"/usr/share/locale\" -I../include -D_DEFAULT_SOURCE
112 -D_XOPEN_SOURCE=600 -I/usr/include/ncursesw -D_XOPEN_SOURCE_EXTENDED
113 -I/usr/include/libcanlock-3 -march=native -O2 -pipe
114 -frecord-gcc-switches -c ./version.c
115 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I/usr/include
116 -DLOCALEDIR=\"/usr/share/locale\" -I../include -D_DEFAULT_SOURCE
117 -D_XOPEN_SOURCE=600 -I/usr/include/ncursesw -D_XOPEN_SOURCE_EXTENDED
118 -I/usr/include/libcanlock-3 -march=native -O2 -pipe
119 -frecord-gcc-switches -c ./wildmat.c
120 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -I/usr/include
121 -DLOCALEDIR=\"/usr/share/locale\" -I../include -D_DEFAULT_SOURCE
122 -D_XOPEN_SOURCE=600 -I/usr/include/ncursesw -D_XOPEN_SOURCE_EXTENDED
123 -I/usr/include/libcanlock-3 -march=native -O2 -pipe
124 -frecord-gcc-switches -c ./xref.c
125 ./nntps.c: In function 'tintls_open':
126 ./nntps.c:281:53: error: 'verification_func' undeclared (first use in
127 this function)
128 281 | gnutls_session_set_verify_function(client,
129 &verification_func);
130 |
131 ^~~~~~~~~~~~~~~~~
132 ./nntps.c:281:53: note: each undeclared identifier is reported only once
133 for each function it appears in
134 make[2]: *** [Makefile:301: nntps.o] Error 1
135 make[2]: *** Waiting for unfinished jobs....
136 make[2]: Leaving directory
137 '/var/tmp/portage/net-nntp/tin-2.6.2/work/tin-2.6.2/src'
138 make[1]: *** [Makefile:417: install] Error 2
139 make[1]: Leaving directory
140 '/var/tmp/portage/net-nntp/tin-2.6.2/work/tin-2.6.2/src'
141 make: *** [Makefile:415: install] Error 2
142 * ERROR: net-nntp/tin-2.6.2::gentoo failed (install phase):
143 * emake failed
144
145 Could you take a look? It's happening in install phase which is a bit weird.
146
147
148
149 -- juippis

Attachments

File name MIME type
OpenPGP_signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-proxy-maint] [PATCH v2] net-nntp/tin: add 2.6.2 "Anna (cybertailor) Vyalkova" <cyber+gentoo@×××××.in>