Opened 5 years ago

Closed 4 years ago

#60264 closed defect (invalid)

py37-gobject3 fails for old nm

Reported by: rmottola (Riccardo) Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version:
Keywords: leopard tiger Cc:
Port: py-gobject

Description

classic issue:

../libtool: eval: line 1720: `/usr/bin/nm -p  .libs/_gi_la-gobjectmodule.o .libs/_gi_la-pygboxed.o .libs/_gi_la-pygenum.o .libs/_gi_la-pygflags.o .libs/_gi_la-pyginterface.o .libs/_gi_la-pygobject-object.o .libs/_gi_la-pygparamspec.o .libs/_gi_la-pygpointer.o .libs/_gi_la-pygtype.o .libs/_gi_la-pygoptioncontext.o .libs/_gi_la-pygoptiongroup.o .libs/_gi_la-pygspawn.o .libs/_gi_la-pyglib.o .libs/_gi_la-gimodule.o .libs/_gi_la-pygi-repository.o .libs/_gi_la-pygi-info.o .libs/_gi_la-pygi-foreign.o .libs/_gi_la-pygi-struct.o .libs/_gi_la-pygi-source.o .libs/_gi_la-pygi-argument.o .libs/_gi_la-pygi-resulttuple.o .libs/_gi_la-pygi-type.o .libs/_gi_la-pygi-boxed.o .libs/_gi_la-pygi-closure.o .libs/_gi_la-pygi-ccallback.o .libs/_gi_la-pygi-util.o .libs/_gi_la-pygi-property.o .libs/_gi_la-pygi-signal-closure.o .libs/_gi_la-pygi-invoke.o .libs/_gi_la-pygi-cache.o .libs/_gi_la-pygi-marshal-cleanup.o .libs/_gi_la-pygi-basictype.o .libs/_gi_la-pygi-list.o .libs/_gi_la-pygi-array.o .libs/_gi_la-pygi-error.o .libs/_gi_la-pygi-object.o .libs/_gi_la-pygi-value.o .libs/_gi_la-pygi-enum-marshal.o .libs/_gi_la-pygi-struct-marshal.o .libs/_gi_la-pygi-hashtable.o   |  | /opt/local/bin/gsed 's/.* //' | sort | uniq > .libs/_gi.exp'
make[3]: *** [_gi.la] Error 1
make[3]: *** Waiting for unfinished jobs....
libtool: link: /usr/bin/nm -p  .libs/_gi_cairo_la-pygi-foreign-cairo.o   |  | /opt/local/bin/gsed 's/.* //' | sort | uniq > .libs/_gi_cairo.exp
../libtool: eval: line 1720: syntax error near unexpected token `|'
../libtool: eval: line 1720: `/usr/bin/nm -p  .libs/_gi_cairo_la-pygi-foreign-cairo.o   |  | /opt/local/bin/gsed 's/.* //' | sort | uniq > .libs/_gi_cairo.exp'
make[3]: *** [_gi_cairo.la] Error 1
make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-gobject3/py37-gobject3/work/pygobject-3.28.3/gi'
make[2]: *** [all-recursive] Error 1

and again helps

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
}

I put it inside the group block, where other configure commands are

Change History (3)

comment:1 Changed 5 years ago by jmroot (Joshua Root)

Owner: set to dbevans
Status: newassigned

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

Port: py-gobject added; py37-gobject3 removed

comment:3 Changed 4 years ago by dbevans (David B. Evans)

Resolution: invalid
Status: assignedclosed

py-gobject3 now builds using meson instead of autotools so this defect, as reported, is no longer pertinent. If there are issues with current version 3.38.0 on these platforms please submit a new ticket with the appropriate documentation.

Note: See TracTickets for help on using tickets.