Gentoo Archives: gentoo-user

From: dhk <dhkuhl@×××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] ssmtp/sendmail file collision
Date: Mon, 09 Jun 2008 15:05:32
Message-Id: 484D0CD5.5050507@optonline.net
In Reply to: Re: [gentoo-user] ssmtp/sendmail file collision by Chema Alonso
1 Chema Alonso wrote:
2 > dhk escribió:
3 >> I want to install sendmail, but when ssmtp is installed a file
4 >> collision with mailer.conf is detected. ssmtp was also installed
5 >> previously with -mailwrapper in the USE and has since been unmerged.
6 >> The problem
7 >> started when taking -mailwrapper out of the ssmtp USE variable. The
8 >> emerge trace for ssmtp is below. How can I ignore the collision and
9 >> get everything installed?
10 >>
11 >> Thanks,
12 >> Dave
13 >>
14 >> # emerge ssmtp
15 >> Calculating dependencies... done!
16 >> >>> Verifying ebuild Manifests...
17 >>
18 >> >>> Emerging (1 of 1) mail-mta/ssmtp-2.61-r2 to /
19 >> * ssmtp_2.61.orig.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ]
20 >> * checking ebuild checksums ;-) ... [ ok ]
21 >> * checking auxfile checksums ;-) ... [ ok ]
22 >> * checking miscfile checksums ;-) ... [ ok ]
23 >> * checking ssmtp_2.61.orig.tar.gz ;-) ... [ ok ]
24 >> >>> Unpacking source...
25 >> >>> Unpacking ssmtp_2.61.orig.tar.gz to
26 >> /var/tmp/portage/mail-mta/ssmtp-2.61-r2/work
27 >> * Applying ssmtp-2.61-bug127592.patch ... [ ok ]
28 >> >>> Source unpacked.
29 >> >>> Compiling source in
30 >> /var/tmp/portage/mail-mta/ssmtp-2.61-r2/work/ssmtp-2.61 ...
31 >> ./configure --prefix=/usr --host=x86_64-pc-linux-gnu
32 >> --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share
33 >> --sysconfdir=/etc --localstatedir=/var/lib --sysconfdir=/etc/ssmtp
34 >> --enable-ssl --enable-inet6 --disable-md5auth --libdir=/usr/lib64
35 >> --build=x86_64-pc-linux-gnu
36 >> creating cache ./config.cache
37 >> checking for gcc... x86_64-pc-linux-gnu-gcc
38 >> checking whether the C compiler (x86_64-pc-linux-gnu-gcc -march=k8 -O2
39 >> -pipe ) works... yes
40 >> checking whether the C compiler (x86_64-pc-linux-gnu-gcc -march=k8 -O2
41 >> -pipe ) is a cross-compiler... no
42 >> checking whether we are using GNU C... yes
43 >> checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
44 >> checking for a BSD compatible install... /usr/bin/install -c
45 >> checking whether ln -s works... yes
46 >> checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
47 >> checking for ANSI C header files... yes
48 >> checking for limits.h... yes
49 >> checking for strings.h... yes
50 >> checking for syslog.h... yes
51 >> checking for unistd.h... yes
52 >> checking for obsolete openlog... no
53 >> checking for working const... yes
54 >> checking whether struct tm is in sys/time.h or time.h... time.h
55 >> checking for gethostname in -lnsl... yes
56 >> checking for socket in -lsocket... no
57 >> checking return type of signal handlers... void
58 >> checking for vprintf... yes
59 >> checking for gethostname... yes
60 >> checking for socket... yes
61 >> checking for strdup... yes
62 >> checking for strstr... yes
63 >> updating cache ./config.cache
64 >> creating ./config.status
65 >> creating Makefile
66 >> rm -f ssmtp *.o md5auth/*.o core
67 >> x86_64-pc-linux-gnu-gcc -Wall -DSTDC_HEADERS=1 -DHAVE_LIMITS_H=1
68 >> -DHAVE_STRINGS_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBNSL=1
69 >> -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_GETHOSTNAME=1
70 >> -DHAVE_SOCKET=1 -DHAVE_STRDUP=1 -DHAVE_STRSTR=1 -DREWRITE_DOMAIN=1
71 >> -DHAVE_SSL=1 -DINET6=1 -DSSMTPCONFDIR=\"/etc/ssmtp\"
72 >> -DCONFIGURATION_FILE=\"/etc/ssmtp/ssmtp.conf\"
73 >> -DREVALIASES_FILE=\"/etc/ssmtp/revaliases\" -march=k8 -O2 -pipe -c
74 >> -o ssmtp.o ssmtp.c
75 >> ssmtp.c: In function 'ssmtp':
76 >> ssmtp.c:1376: warning: pointer targets in passing argument 1 of
77 >> 'to64frombits' differ in signedness
78 >> ssmtp.c:1376: warning: pointer targets in passing argument 2 of
79 >> 'to64frombits' differ in signedness
80 >> ssmtp.c:1385: warning: pointer targets in passing argument 1 of
81 >> 'to64frombits' differ in signedness
82 >> ssmtp.c:1385: warning: pointer targets in passing argument 2 of
83 >> 'to64frombits' differ in signedness
84 >> ssmtp.c: In function 'smtp_open':
85 >> ssmtp.c:990: warning: 's' may be used uninitialized in this function
86 >> ssmtp.c: In function 'header_parse':
87 >> ssmtp.c:735: warning: 'q' may be used uninitialized in this function
88 >> x86_64-pc-linux-gnu-gcc -Wall -DSTDC_HEADERS=1 -DHAVE_LIMITS_H=1
89 >> -DHAVE_STRINGS_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBNSL=1
90 >> -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_GETHOSTNAME=1
91 >> -DHAVE_SOCKET=1 -DHAVE_STRDUP=1 -DHAVE_STRSTR=1 -DREWRITE_DOMAIN=1
92 >> -DHAVE_SSL=1 -DINET6=1 -DSSMTPCONFDIR=\"/etc/ssmtp\"
93 >> -DCONFIGURATION_FILE=\"/etc/ssmtp/ssmtp.conf\"
94 >> -DREVALIASES_FILE=\"/etc/ssmtp/revaliases\" -march=k8 -O2 -pipe -c
95 >> -o arpadate.o arpadate.c
96 >> x86_64-pc-linux-gnu-gcc -Wall -DSTDC_HEADERS=1 -DHAVE_LIMITS_H=1
97 >> -DHAVE_STRINGS_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBNSL=1
98 >> -DRETSIGTYPE=void -DHAVE_VPRINTF=1 -DHAVE_GETHOSTNAME=1
99 >> -DHAVE_SOCKET=1 -DHAVE_STRDUP=1 -DHAVE_STRSTR=1 -DREWRITE_DOMAIN=1
100 >> -DHAVE_SSL=1 -DINET6=1 -DSSMTPCONFDIR=\"/etc/ssmtp\"
101 >> -DCONFIGURATION_FILE=\"/etc/ssmtp/ssmtp.conf\"
102 >> -DREVALIASES_FILE=\"/etc/ssmtp/revaliases\" -march=k8 -O2 -pipe -c
103 >> -o base64.o base64.c
104 >> x86_64-pc-linux-gnu-gcc -o ssmtp ssmtp.o arpadate.o base64.o -lnsl
105 >> -lssl
106 >> >>> Source compiled.
107 >> >>> Test phase [not enabled]: mail-mta/ssmtp-2.61-r2
108 >>
109 >> >>> Install ssmtp-2.61-r2 into
110 >> /var/tmp/portage/mail-mta/ssmtp-2.61-r2/image/ category mail-mta
111 >> >>> Completed installing ssmtp-2.61-r2 into
112 >> /var/tmp/portage/mail-mta/ssmtp-2.61-r2/image/
113 >>
114 >> ecompressdir: bzip2 -9 /usr/share/man
115 >> strip: x86_64-pc-linux-gnu-strip --strip-unneeded -R .comment
116 >> usr/sbin/ssmtp
117 >> * checking 14 files for package collisions
118 >> * This package will overwrite one or more files that may belong to other
119 >> * packages (see list below). You can use a command such as `portageq
120 >> * owners / <filename>` to identify the installed package that owns a
121 >> * file. If portageq reports that only one package owns a file then do
122 >> * NOT file a bug report. A bug report is only useful if it identifies at
123 >> * least two or more packages that are known to install the same file(s).
124 >> * If a collision occurs and you can not explain where the file came from
125 >> * then you should simply ignore the collision since there is not enough
126 >> * information to determine if a real problem exists. Please do NOT file
127 >> * a bug report at http://bugs.gentoo.org unless you report exactly which
128 >> * two packages install the same file(s). Once again, please do NOT file
129 >> * a bug report unless you have completely understood the above message.
130 >> *
131 >> * package mail-mta/ssmtp-2.61-r2 NOT merged
132 >> *
133 >> * Detected file collision(s):
134 >> *
135 >> * /etc/mail/mailer.conf
136 >> *
137 >> * Searching all installed packages for file collisions...
138 >> *
139 >> * Press Ctrl-C to Stop
140 >> *
141 >> * net-mail/mailwrapper-0.2.1
142 >> * /etc/mail/mailer.conf
143 >>
144 >> * Messages for package mail-mta/ssmtp-2.61-r2:
145 >>
146 >> * This package will overwrite one or more files that may belong to other
147 >> * packages (see list below). You can use a command such as `portageq
148 >> * owners / <filename>` to identify the installed package that owns a
149 >> * file. If portageq reports that only one package owns a file then do
150 >> * NOT file a bug report. A bug report is only useful if it identifies at
151 >> * least two or more packages that are known to install the same file(s).
152 >> * If a collision occurs and you can not explain where the file came from
153 >> * then you should simply ignore the collision since there is not enough
154 >> * information to determine if a real problem exists. Please do NOT file
155 >> * a bug report at http://bugs.gentoo.org unless you report exactly which
156 >> * two packages install the same file(s). Once again, please do NOT file
157 >> * a bug report unless you have completely understood the above message.
158 >> *
159 >> * package mail-mta/ssmtp-2.61-r2 NOT merged
160 >> *
161 >> * Detected file collision(s):
162 >> *
163 >> * /etc/mail/mailer.conf
164 >> *
165 >> * Searching all installed packages for file collisions...
166 >> *
167 >> * Press Ctrl-C to Stop
168 >> *
169 >> * net-mail/mailwrapper-0.2.1
170 >> * /etc/mail/mailer.conf
171 >
172 > Hi!
173 >
174 > By reading this bug I managed to install sendmail. It helped me a lot.
175 >
176 > http://bugs.gentoo.org/167952
177 >
178 > I Hope it helps.
179 >
180 > Cheers!
181 That worked. I put everything back the way it was. I remove (emerge
182 -C) mailwrapper and then put the USE back so it would not use
183 mailwrapper. Then moved ssmtp: mv /usr/portage/mail-mta/ssmtp
184 /usr/portage/mail-mta/ssmtp.orig . When I did an emerge -p sendmail
185 everything looked good and without the -p it installed just fine. I
186 think I'll leave the ssmtp as ssmtp.orig unless someone see a reason to
187 put it back.
188
189 Thanks again.
190 --
191 gentoo-user@l.g.o mailing list