Opened 5 years ago

Closed 3 years ago

Last modified 3 years ago

#60253 closed defect (fixed)

pango fails because of old nm

Reported by: rmottola (Riccardo) Owned by: mascguy (Christopher Nielsen)
Priority: Normal Milestone:
Component: ports Version:
Keywords: leopard Cc:
Port: pango

Description

libs/reorder-items.o .libs/shape.o .libs/pango-enum-types.o   |  | /usr/bin/sed 's/.* //' | sort | uniq > .libs/libpango-1.0.exp
../libtool: eval: line 1734: syntax error near unexpected token `|'
../libtool: eval: line 1734: `/usr/bin/nm -p  .libs/break.o .libs/ellipsize.o .libs/fonts.o .libs/glyphstring.o .libs/modules.o .libs/pango-attributes.o .libs/pango-bidi-type.o .libs/pango-color.o .libs/pango-context.o .libs/pango-coverage.o .libs/pango-emoji.o .libs/pango-engine.o .libs/pango-fontmap.o .libs/pango-fontset.o .libs/pango-glyph-item.o .libs/pango-gravity.o .libs/pango-item.o .libs/pango-language.o .libs/pango-layout.o .libs/pango-markup.o .libs/pango-matrix.o .libs/pango-renderer.o .libs/pango-script.o .libs/pango-tabs.o .libs/pango-utils.o .libs/reorder-items.o .libs/shape.o .libs/pango-enum-types.o   |  | /usr/bin/sed 's/.* //' | sort | uniq > .libs/libpango-1.0.exp'
make[4]: *** [libpango-1.0.la] Error 1
make[4]: *** Waiting for unfinished jobs....
mv -f .deps/pangocairo-coretextfontmap.Tpo .deps/pangocairo-coretextfontmap.Plo
make[4]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_x11_pango/pango/work/pango-1.42.4/pango'
make[3]: *** [all-recursive] Error 1

Standard fix applied

if {${os.platform} eq "darwin" && ${os.major} < 10} {
    depends_build-append port:cctools
    configure.env-append NM=${prefix}/bin/nm
    configure.args-append lt_cv_path_NM=${prefix}/bin/nm
}

Change History (9)

comment:1 Changed 5 years ago by rmottola (Riccardo)

Keywords: leopard added; pango removed
Port: pango added; Leopard removed

comment:2 Changed 3 years ago by mascguy (Christopher Nielsen)

Cc: mascguy added

comment:3 Changed 3 years ago by mascguy (Christopher Nielsen)

Cc: mascguy removed
Owner: set to mascguy
Status: newassigned

comment:4 Changed 3 years ago by Christopher Nielsen <mascguy@…>

In 3f69e35eed9a535b046623f9997a2a69eaa52b12/macports-ports (master):

pango-devel: fix build for 10.4 and 10.5, caused by outdated 'nm'

See: #60253

comment:5 Changed 3 years ago by Christopher Nielsen <mascguy@…>

Resolution: fixed
Status: assignedclosed

In dff6e84269d61436489e0ede4760259d1fa4e4f4/macports-ports (master):

pango: merge fixes for 10.4/10.5, from pango-devel

Fixes: #60253

comment:6 Changed 3 years ago by mjhsieh (Mengjuei Hsieh)

Hi Chris, you need to add -D before the lt_cv_path_NM so it becomes: configure.args-append -Dlt_cv_path_NM=${prefix}/bin/nm or meson will be not happy

Last edited 3 years ago by mjhsieh (Mengjuei Hsieh) (previous) (diff)

comment:7 Changed 3 years ago by Christopher Nielsen <mascguy@…>

In 7f4d8928b50b58036413bb5dfbde103bd6107f07/macports-ports (master):

pango-devel: fix NM arg for Meson

See: #60253

comment:8 Changed 3 years ago by Christopher Nielsen <mascguy@…>

In 376516c7521d910724373b00d33bf573063ac08d/macports-ports (master):

pango: fix NM arg for Meson

See: #60253

comment:9 Changed 3 years ago by mascguy (Christopher Nielsen)

Great catch, still learning the intricacies of Meson here. Thank you so much Mengjuei!

Note: See TracTickets for help on using tickets.