Gentoo Archives: gentoo-user

From: John Covici <covici@××××××××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] cannot compile sendmail in new gentoo installation
Date: Thu, 14 Nov 2019 04:52:36
Message-Id: m37e43ys9s.wl-covici@ccs.covici.com
1 Hi. I am trying to create a new installation as a chroot from my
2 previous one since I don't have another box at hand and don't want to
3 take this one down for several days to recompile everything. Now I am
4 stuck trying to emerge sendmail. I cannot emerge 8.15.2 nor 8.14.9.
5 The last time I emerged successfully was under gcc 8.3.0 and so I
6 tried emerging that but sendmail will not compile. I have
7 ACCEPT_KEYWORDS="~x86 ~amd64" .
8
9 The errors I am getting are these:
10
11 x86_64-pc-linux-gnu-gcc -O2 -I. -I../../sendmail -I../../include
12 -DTCPWRAPPERS -DSTARTTLS -D_FFR_DEAL_WITH_ERROR_SSL -D_FFR_TLS_1
13 -DNETINET6 -DNOT_SENDMAIL -Dsm_snprintf=snprintf -march=native -O2
14 -pipe -D_REENTRANT -fPIC -DXP_MT -c -o sm_gethost.o sm_gethost.c
15 In file included from ../../include/sendmail/sendmail.h:21,
16 from ../../sendmail/sendmail.h:44,
17 from sm_gethost.c:14:
18 sm_gethost.c: In function
19 sm_getipnodebyname:
20 sm_gethost.c:58:18: error:
21 RES_USE_INET6 undeclared (first use
22 in this function); did you mean
23 RES_USE_DNSSEC?
24 resv6 = bitset(RES_USE_INET6,
25 _res.options);
26 ^~~~~~~~~~~~~
27 ../../include/sm/bitops.h:55:40:
28 note: in
29 definition of
30 macro bitset
31 # define
32 bitset(bit,
33 word) (((word)
34 & (bit)) != 0)
35 ^~~
36 sm_gethost.c:58:18:
37 note:
38 each
39 undeclared
40 identifier
41 is
42 reported
43 only
44 once
45 for
46 each
47 function
48 it
49 appears
50 in
51 resv6
52 =
53 bitset(RES_USE_INET6,
54 _res.options);
55 ^~~~~~~~~~~~~
56 ../../include/sm/bitops.h:55:40:
57 note:
58 in
59 definition
60 of
61 macro
62 bitset
63 #
64 define
65 bitset(bit,
66 word)
67 (((word)
68 &
69 (bit))
70 !=
71 0)
72 ^~~
73 make:
74 ***
75 [<builtin>:
76 sm_gethost.o]
77 Error
78 1
79
80 Any assistance on this would be very much appreciated.
81
82
83 --
84 Your life is like a penny. You're going to lose it. The question is:
85 How do
86 you spend it?
87
88 John Covici wb2una
89 covici@××××××××××.com

Replies

Subject Author
Re: [gentoo-user] cannot compile sendmail in new gentoo installation Grant Taylor <gtaylor@×××××××××××××××××××××.net>