[MacPorts] #28167: sudo port upgrade -u emacs, fails

MacPorts noreply at macports.org
Wed Feb 2 18:17:09 PST 2011


#28167: sudo port upgrade -u emacs, fails
------------------------------+---------------------------------------------
 Reporter:  lorn@…            |       Owner:  dports@…           
     Type:  defect            |      Status:  assigned           
 Priority:  Normal            |   Milestone:                     
Component:  ports             |     Version:  1.9.2              
 Keywords:                    |        Port:  emacs              
------------------------------+---------------------------------------------

Comment(by deadshort@…):

 It's the {{{__got}}} section in {{{__DATA}}}. The diff is tiny:

 {{{
 *** unexmacosx.c        2010-04-03 18:26:11.000000000 -0400
 --- /tmp/unexmacosx.c   2011-02-02 21:08:46.000000000 -0500
 ***************
 *** 828,833 ****
 --- 828,834 ----
                || strncmp (sectp->sectname, "__cfstring", 16) == 0
                || strncmp (sectp->sectname, "__gcc_except_tab", 16) == 0
                || strncmp (sectp->sectname, "__program_vars", 16) == 0
 +              || strncmp (sectp->sectname, "__got", 16) == 0
                || strncmp (sectp->sectname, "__objc_", 7) == 0)
         {
           if (!unexec_copy (sectp->offset, old_file_offset, sectp->size))
 ***************
 *** 836,842 ****
             unexec_error ("cannot write section %s's header",
 sectp->sectname);
         }
         else
 !       unexec_error ("unrecognized section name in __DATA segment");

         printf ("        section %-16.16s at %#8lx - %#8lx (sz: %#8lx)\n",
               sectp->sectname, (long) (sectp->offset),
 --- 837,843 ----
             unexec_error ("cannot write section %s's header",
 sectp->sectname);
         }
         else
 !       unexec_error ("unrecognized section name (%16s) in __DATA
 segment", sectp->sectname);

         printf ("        section %-16.16s at %#8lx - %#8lx (sz: %#8lx)\n",
               sectp->sectname, (long) (sectp->offset),
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/28167#comment:8>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list