Opened 9 years ago

Closed 9 years ago

#21335 closed defect (fixed)

emacs fail to build on snow leopard

Reported by: kirdatt.jai@… Owned by: darren.bane@…
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: snowleopard Cc: jpenney (Jason Penney), miqqis@…, jorge.williams@…, askg, thedoobs@…, d.mcdougall@…, epichub (Bjørn Magnus Mathisen), mrb@…, hvitved@…, t.kunishi@…, royliu@…, cofyc.jackson@…
Port: emacs

Description

Hi All,

I get this error when I try to intsall in on snow leopard. I know there are some tickets out there but none which matches the error below

--->  Computing dependencies for emacs
--->  Fetching emacs
--->  Verifying checksum(s) for emacs
--->  Extracting emacs
--->  Applying patches to emacs
--->  Configuring emacs
--->  Building emacs
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_editors_emacs/work/emacs-22.3" && /usr/bin/make -j2 all " returned error 2
Command output:                            __la_symbol_ptr  0x100152070    0x628
                           __program_vars   0x1001526a0     0x28
                           __const          0x1001526e0    0x730
                           __data           0x100152e20 0x1df3e8
                           __bss            0x100332220  0x51830
                           __common         0x100383a60  0x103f9
3 LC_SEGMENT_64          72 __LINKEDIT       0x100394000  0x46000
4 unknown                48
5 LC_SYMTAB              24
6 LC_DYSYMTAB            80
7 LC_LOAD_DYLINKER       32
8 LC_UUID                24
9 LC_UNIXTHREAD         184
10 LC_LOAD_DYLIB          64
11 LC_LOAD_DYLIB          56
0x100dfc080 (sz:   0x3f24/  0x3f28)
0x100d00000 (sz:  0x4a6d5/ 0xfc080)
0x100afc080 (sz:   0x3f25/  0x3f28)
0x100a00000 (sz:  0xfc07f/ 0xfc080)
0x1017f8000 (sz:   0x26ca/  0x7fa0)
0x101000000 (sz: 0x26a7fd/0x7f8000)
0x10044c000 (sz:        0/  0x1000)
--- Load Commands written to Output File ---
Writing segment __PAGEZERO       @        0 (       0/0x100000000 @          0)
Writing segment __TEXT           @        0 (0x152000/0x152000 @ 0x100000000)
Writing segment __DATA           @ 0x152000 (0x242000/0x242000 @ 0x100152000)
        section __nl_symbol_ptr  at 0x152000 - 0x152070 (sz:     0x70)
        section __la_symbol_ptr  at 0x152070 - 0x152698 (sz:    0x628)
make[1]: *** [emacs] Error 1
make: *** [src] Error 2

Error: Status 1 encountered during processing.

Thanks for your time and patience

Attachments (2)

emacs-snow-leopard.patch.gz (1.5 KB) - added by amagai@… 9 years ago.
emacs-snow-leopard.patch (4.0 KB) - added by d.mcdougall@… 9 years ago.

Download all attachments as: .zip

Change History (22)

comment:1 Changed 9 years ago by kirdatt.jai@…

Cc: kirdatt.jai@… added

Cc Me!

comment:2 Changed 9 years ago by mf2k (Frank Schima)

Cc: kirdatt.jai@… removed
Keywords: emacs removed
Port: emacs added

comment:3 Changed 9 years ago by jmroot (Joshua Root)

Keywords: snowleopard added; snow leopard removed
Owner: changed from macports-tickets@… to darren.bane@…

This would probably be closely related to #20486.

comment:4 Changed 9 years ago by jpenney (Jason Penney)

Cc: jpenney@… added

Cc Me!

comment:5 Changed 9 years ago by miqqis@…

Cc: miqqis@… added

Cc Me!

comment:6 Changed 9 years ago by jorge.williams@…

Cc: jorge.williams@… added

Cc Me!

Changed 9 years ago by amagai@…

Attachment: emacs-snow-leopard.patch.gz added

comment:7 Changed 9 years ago by amagai@…

I have successed to build an emacs-22.3 with attached patch (emacs-snow-leopard.patch.gz).

+ back porting emacs 23.1 cvs head version of src/unexmacosx.c + remove posix_memalign + remove -fpascal-strings from CFLAGS, optionally.

Could you verify them? Thank you.

Amagai

comment:8 Changed 9 years ago by blb@…

Cc: gosta.ask@… added

Cc reporter of #21765.

comment:9 Changed 9 years ago by thedoobs@…

Cc: thedoobs@… added

Cc Me!

comment:10 Changed 9 years ago by d.mcdougall@…

This works great for me! Perhaps it could be added to the tree so users can benefit from the patch after a

sudo port -v selfupdate

comment:11 Changed 9 years ago by d.mcdougall@…

Cc: d.mcdougall@… added

Cc Me!

comment:12 Changed 9 years ago by epichub (Bjørn Magnus Mathisen)

Cc: bjornmagnus@… added

Cc Me!

comment:13 Changed 9 years ago by d.mcdougall@…

Oh, by the way. The patch file, for some reason, didn't upload properly. So try this one:

Changed 9 years ago by d.mcdougall@…

Attachment: emacs-snow-leopard.patch added

comment:14 Changed 9 years ago by mrb@…

Cc: mrb@… added

Cc Me!

comment:15 Changed 9 years ago by hvitved@…

Cc: hvitved@… added

Cc Me!

comment:16 Changed 9 years ago by t.kunishi@…

Cc: t.kunishi@… added

Cc Me!

comment:17 Changed 9 years ago by royliu@…

Cc: royliu@… added

Cc Me!

comment:18 Changed 9 years ago by ugur@…

Cc Me!

comment:19 Changed 9 years ago by cofyc.jackson@…

Cc: cofyc.jackson@… added

Cc Me!

comment:20 Changed 9 years ago by blair (Blair Zajac)

Resolution: fixed
Status: newclosed

Fixed in r62682. See #23165 for more information.

Note: See TracTickets for help on using tickets.