Gentoo Archives: gentoo-user

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

Replies

Subject Author
Re: [gentoo-user] ssmtp/sendmail file collision dhk <dhkuhl@×××××××××.net>