Spam detection software, running on the system "rabe", has
identified this incoming email as possible spam.  The original message
has been attached to this so you can view it (if it isn't spam) or label
similar future email.  If you have any questions, see
[EMAIL PROTECTED] for details.

Content preview:  Am 18.11.2005 um 16:56 schrieb Martin Costabel: > 
  Andreas Dittrich wrote: > [] >> there you go: >> 
  http://www.informatik.hu-berlin.de/~dittrich/shared-mime-info.txt > > 
  From this it is clear that the bug is in the distcc package > 
  (maintainer CCed): It has > > grep -q -E '^ *MAKEFLAGS' 
  %p/etc/distcc.conf && [etc.] > > as the last command in its 
  profile.d/distcc.sh script. This returns > 1 if the line with 
  MAKEFLAGS is commented out, as is the case by > default. Every 
  PostInstScript will fail if distcc.sh is the last > script in 
  profile.d that is executed from init.sh. > > Andreas, if you run from 
  a bash command line > > source /sw/bin/init.sh && echo 0 || echo 1 > > 
  I bet you get "1" as result. You should get "0". [...] 

Content analysis details:   (5.6 points, 5.0 required)

 pts rule name              description
---- ---------------------- --------------------------------------------------
 0.1 RCVD_IN_SORBS_DUL      RBL: SORBS: sent directly from dynamic IP address
                            [213.23.142.146 listed in dnsbl.sorbs.net]
 2.8 RCVD_IN_DSBL           RBL: Received via a relay in list.dsbl.org
                            [<http://dsbl.org/listing?213.23.142.146>]
 1.0 RCVD_IN_NJABL_PROXY    RBL: NJABL: sender is an open proxy
                            [213.23.142.146 listed in combined.njabl.org]
 1.7 RCVD_IN_NJABL_DUL      RBL: NJABL: dialup sender did non-local SMTP
                            [213.23.142.146 listed in combined.njabl.org]


--- Begin Message ---

Am 18.11.2005 um 16:56 schrieb Martin Costabel:

Andreas Dittrich wrote:
[]
there you go:
http://www.informatik.hu-berlin.de/~dittrich/shared-mime-info.txt

From this it is clear that the bug is in the distcc package (maintainer CCed): It has

grep -q -E '^ *MAKEFLAGS' %p/etc/distcc.conf && [etc.]

as the last command in its profile.d/distcc.sh script. This returns 1 if the line with MAKEFLAGS is commented out, as is the case by default. Every PostInstScript will fail if distcc.sh is the last script in profile.d that is executed from init.sh.

Andreas, if you run from a bash command line

source /sw/bin/init.sh && echo 0 || echo 1

I bet you get "1" as result. You should get "0".

Hm, no I get the correct result:
# source /sw/bin/init.sh && echo 0 || echo 1
0


As a short term remedy you can edit /sw/etc/profile.d/distcc.sh and put a "|| true" at the end of the last line. Or remove that script temporarily. Or simply remove the distcc package if you don't use it.


I did temporarily uninstall distcc and indeed, shared-mime-info installs fine now. Still I wonder about distcc - shall I wait for the new version?

--
Martin




--- End Message ---

Reply via email to