nm issue with gimp on 10.5

Riccardo Mottola riccardo.mottola at libero.it
Fri Aug 9 11:32:27 UTC 2019


Hi,

I am re-building current GIMP on 10.5 (I have a couple of local patches 
to adapt it, last time they gave me a nice working app).

Buld fails for me with:


.0 -lintl -Wl,-framework -Wl,CoreFoundation -lbabl-0.1   -ljpeg
libtool: link: /usr/bin/nm -p  .libs/gimpmodule.o .libs/pygimp-item.o 
.libs/pygimp-display.o .libs/pygimp-drawable.o .libs/pygimp-image.o 
.libs/pygimp-parasite.o .libs/pygimp-pdb.o .libs/pygimp-tile.o 
.libs/pygimp-vectors.o   |  | /opt/local/bin/gsed 's/.* //' | sort | 
uniq > .libs/gimp.exp
../../libtool: eval: line 1734: syntax error near unexpected token `|'
../../libtool: eval: line 1734: `/usr/bin/nm -p .libs/gimpmodule.o 
.libs/pygimp-item.o .libs/pygimp-display.o .libs/pygimp-drawable.o 
.libs/pygimp-image.o .libs/pygimp-parasite.o .libs/pygimp-pdb.o 
.libs/pygimp-tile.o .libs/pygimp-vectors.o   |  | /opt/local/bin/gsed 
's/.* //' | sort | uniq > .libs/gimp.exp'
make[4]: *** [gimp.la] Error 1


I have already seen this issue months ago, perhaps in another port, I 
don't remember where, the nm version used is too old and using the 
MacPorts one should fix it.

How do I accomplish this? = tried setting NM on the command line but it 
doesn't ork.

I guess the portfile needs a hack... and, in case, can it be done for 
everybody in the official portfile?


Riccardo



More information about the macports-users mailing list