Bug 157180 - portupgrade of mail/exim fails
Summary: portupgrade of mail/exim fails
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Eygene Ryabinkin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-19 14:30 UTC by J. Altman
Modified: 2011-10-18 10:12 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description J. Altman 2011-05-19 14:30:11 UTC
Running portupgrade exim results in this error:

--->  Upgrading 'exim-4.75' to 'exim-4.76' (mail/exim)

[snip error-free build output]

===>   exim-4.76 depends on file: /usr/local/bin/perl5.12.3 - found
===>  Applying extra patch /usr/ports/mail/exim/files/extra-patch-xclient
1 out of 1 hunks failed--saving rejects to src/globals.c.rej
1 out of 1 hunks failed--saving rejects to src/globals.h.rej
*** Error code 2

Stop in /usr/ports/mail/exim.
*** Error code 1

Stop in /usr/ports/mail/exim.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20110519-40847-1yafl7v-0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=exim-4.75 UPGRADE_PORT_VER=4.75 make
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
        ! mail/exim (exim-4.75) (patch error)

Fix: 

No clues here.
How-To-Repeat: Try to upgrade exim.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2011-05-21 07:49:34 UTC
Responsible Changed
From-To: freebsd-ports-bugs->rea

Fix synopsis and assign.
Comment 2 Eygene Ryabinkin freebsd_committer freebsd_triage 2011-05-21 10:33:27 UTC
You seem to be running with XCLIENT enabled.  If you don't really need
this command, you can disable the option and Exim will be built just
fine.  If not, you should wait for me, while I'll fix the original
patch.  ETA is around one week.
-- 
Eygene Ryabinkin                                        ,,,^..^,,,
[ Life's unfair - but root password helps!           | codelabs.ru ]
[ 82FE 06BC D497 C0DE 49EC  4FF0 16AF 9EAE 8152 ECFB | freebsd.org ]
Comment 3 Eygene Ryabinkin freebsd_committer freebsd_triage 2011-05-21 11:34:15 UTC
Me again.

ETA was incorrect: I had already fixed the XCLIENT patch.
You should drop the file from
  http://codelabs.ru/fbsd/ports/exim/extra-patch-xclient-for-4.76.diff
to /usr/ports/mail/exim/files/extra-patch-xclient rewriting the
existing file.  Please, try it and report back.  For me the patched
Exim compiles fine, but I don't use XCLIENT, so can't check the real
functionality.
-- 
Eygene Ryabinkin                                        ,,,^..^,,,
[ Life's unfair - but root password helps!           | codelabs.ru ]
[ 82FE 06BC D497 C0DE 49EC  4FF0 16AF 9EAE 8152 ECFB | freebsd.org ]
Comment 4 J. Altman 2011-05-22 05:02:30 UTC
Greetings...

I have disabled XCLIENT; and exim upgraded successfully.

Thank you for your time, and best regards,

Joe
Comment 5 Eygene Ryabinkin freebsd_committer freebsd_triage 2011-05-22 12:07:56 UTC
Joe, good day.

Sun, May 22, 2011 at 04:20:08AM +0000, Joe Altman wrote:
>  I have disabled XCLIENT; and exim upgraded successfully.

So, you're not using XCLIENT functionality?  Pity, I hoped
that someone will be able to test the new patch.

>  Thank you for your time, and best regards,

No problems, thanks for you submission.
-- 
Eygene Ryabinkin                                        ,,,^..^,,,
[ Life's unfair - but root password helps!           | codelabs.ru ]
[ 82FE 06BC D497 C0DE 49EC  4FF0 16AF 9EAE 8152 ECFB | freebsd.org ]
Comment 6 dfilter service freebsd_committer freebsd_triage 2011-10-18 09:58:40 UTC
rea         2011-10-18 08:55:44 UTC

  FreeBSD ports repository

  Modified files:
    mail/exim            Makefile distinfo options pkg-message 
                         pkg-plist 
    mail/exim/files      extra-patch-xclient 
  Removed files:
    mail/exim            Makefile.options 
    mail/exim/files      patch-exiqgrep.src 
  Log:
  mail/exim: upgrade to 4.77
  
  New stuff (from ftp://exim.inode.at/exim/ChangeLogs/NewStuff-4.77):
   1. New options for the ratelimit ACL condition: /count= and /unique=.
      The /noupdate option has been replaced by a /readonly option.
  
   2. The SMTP transport's protocol option may now be set to "smtps", to
      use SSL-on-connect outbound.
  
   3. New variable $av_failed, set true if the AV scanner deferred; ie, when
      there is a problem talking to the AV scanner, or the AV scanner running.
  
   4. New expansion conditions, "inlist" and "inlisti", which take simple lists
      and check if the search item is a member of the list.  This does not
      support named lists, but does subject the list part to string expansion.
  
   5. Unless the new EXPAND_LISTMATCH_RHS build option is set when Exim was
      built, Exim no longer performs string expansion on the second string of
      the match_* expansion conditions: "match_address", "match_domain",
      "match_ip" & "match_local_part".  Named lists can still be used.
  
  Relevant entries from ChangeLog at
    ftp://exim.inode.at/exim/ChangeLogs/ChangeLog-4.77:
  
  TK/01 DKIM Verification: Fix relaxed canon for empty headers w/o
        whitespace trailer
  
  TF/02 Fix a couple more cases where we did not log the error message
        when unlink() failed. See also change 4.74-TF/03.
  
  TF/03 Make the exiwhat support code safe for signals. Previously
        Exim might lock up or crash if it happened to be inside a call
        to libc when it got a SIGUSR1 from exiwhat.
  
        The SIGUSR1 handler appends the current process status to the
        process log which is later printed by exiwhat. It used to use
        the general purpose logging code to do this, but several
        functions it calls are not safe for signals.
  
        The new output code in the SIGUSR1 handler is specific to the
        process log, and simple enough that it's easy to inspect for
        signal safety.  Removing some special cases also simplifies the
        general logging code.  Removing the spurious timestamps from the
        process log simplifies exiwhat.
  
  PP/02 Raise smtp_cmd_buffer_size to 16kB.
        Bugzilla 879.  Patch from Paul Fisher.
  
  PP/07 Make maildir_use_size_file an _expandable_ boolean.
        Bugzilla 1089.  Patch from Heiko Schlittermann.
  
  PP/08 Handle ${run} returning more data than OS pipe buffer size.
        Bugzilla 1131.  Patch from Holger Weitz.
  
  PP/09 Handle IPv6 addresses with SPF.
        Bugzilla 860.  Patch from Wolfgang Breyha.
  
  PP/10 GnuTLS: support TLS 1.2 & 1.1.
        Bugzilla 1156.
        Use gnutls_certificate_verify_peers2() [patch from Andreas Metzler].
        Bugzilla 1095.
  
  PP/12 fix uninitialised greeting string from PP/03 (smtps client
        support).
  
  PP/13 shell and compiler warnings fixes for RC1-RC4 changes.
  
  PP/14 fix log_write() format string regression from TF/03.
        Bugzilla 1152.  Patch from Dmitry Isaikin.
  
  Other changes:
   - the patch for XCLIENT was updated to match the latest Exim sources;
   - removed already incorporated patch for exiqgrep;
   - removed Makefile.options and simplified OPTIONS handling.
  
  PR: ports/161095, ports/161482, ports/157180
  
  Revision  Changes    Path
  1.260     +21 -6     ports/mail/exim/Makefile
  1.6       +0 -153    ports/mail/exim/Makefile.options (dead)
  1.105     +2 -2      ports/mail/exim/distinfo
  1.2       +8 -9      ports/mail/exim/files/extra-patch-xclient
  1.2       +0 -15     ports/mail/exim/files/patch-exiqgrep.src (dead)
  1.18      +46 -45    ports/mail/exim/options
  1.9       +13 -0     ports/mail/exim/pkg-message
  1.50      +1 -3      ports/mail/exim/pkg-plist
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 7 Eygene Ryabinkin freebsd_committer freebsd_triage 2011-10-18 10:12:36 UTC
State Changed
From-To: open->closed

Update committed.  Thanks to everyone for testing and extending 
the update!