Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#14340 closed defect (wontfix)

glib2 build fails due to nmedit path problem

Reported by: cannibaldancey@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: wireshark Cc:
Port:

Description

System is a fresh OS X 10.5.2 / macports 1.6.0 / XCode 3.0 installation:

sudo /opt/local/bin/port install wireshark

fails around the glib2 build:

gcc -dynamiclib ${wl}-flat_namespace ${wl}-undefined ${wl}suppress -o .libs/libglib-2.0.0.1400.4.dylib .libs/garray.o .libs/gasyncqueue.o .libs/gatomic.o .libs/gbacktrace.o .libs/gbase64.o .libs/gbookmarkfile.o .libs/gcache.o .libs/gcompletion.o .libs/gconvert.o .libs/gdataset.o .libs/gdate.o .libs/gdir.o .libs/gerror.o .libs/gfileutils.o .libs/ghash.o .libs/ghook.o .libs/giochannel.o .libs/gkeyfile.o .libs/glist.o .libs/gmain.o .libs/gmappedfile.o .libs/gmarkup.o .libs/gmem.o .libs/gmessages.o .libs/gnode.o .libs/goption.o .libs/gpattern.o .libs/gprimes.o .libs/gqsort.o .libs/gqueue.o .libs/grel.o .libs/grand.o .libs/gregex.o .libs/gscanner.o .libs/gsequence.o .libs/gshell.o .libs/gslice.o .libs/gslist.o .libs/gstdio.o .libs/gstrfuncs.o .libs/gstring.o .libs/gthread.o .libs/gthreadpool.o .libs/gtimer.o .libs/gtree.o .libs/guniprop.o .libs/gutf8.o .libs/gunibreak.o .libs/gunicollate.o .libs/gunidecomp.o .libs/gutils.o .libs/gprintf.o .libs/giounix.o .libs/gspawn.o .libs/libglib-2.0.lax/libcharset.a/localcharset.o .libs/libglib-2.0.lax/libpcre.a/pcre_chartables.o .libs/libglib-2.0.lax/libpcre.a/pcre_compile.o .libs/libglib-2.0.lax/libpcre.a/pcre_config.o .libs/libglib-2.0.lax/libpcre.a/pcre_dfa_exec.o .libs/libglib-2.0.lax/libpcre.a/pcre_exec.o .libs/libglib-2.0.lax/libpcre.a/pcre_fullinfo.o .libs/libglib-2.0.lax/libpcre.a/pcre_get.o .libs/libglib-2.0.lax/libpcre.a/pcre_globals.o .libs/libglib-2.0.lax/libpcre.a/pcre_info.o .libs/libglib-2.0.lax/libpcre.a/pcre_maketables.o .libs/libglib-2.0.lax/libpcre.a/pcre_newline.o .libs/libglib-2.0.lax/libpcre.a/pcre_ord2utf8.o .libs/libglib-2.0.lax/libpcre.a/pcre_refcount.o .libs/libglib-2.0.lax/libpcre.a/pcre_study.o .libs/libglib-2.0.lax/libpcre.a/pcre_tables.o .libs/libglib-2.0.lax/libpcre.a/pcre_try_flipped.o .libs/libglib-2.0.lax/libpcre.a/pcre_ucp_searchfuncs.o .libs/libglib-2.0.lax/libpcre.a/pcre_valid_utf8.o .libs/libglib-2.0.lax/libpcre.a/pcre_version.o .libs/libglib-2.0.lax/libpcre.a/pcre_xclass.o -L/opt/local/lib /opt/local/lib/libiconv.dylib -lc /opt/local/lib/libintl.dylib -install_name /opt/local/lib/libglib-2.0.0.dylib -compatibility_version 1401 -current_version 1401.4

nmedit -s .libs/libglib-2.0-symbols.expsym .libs/libglib-2.0.0.1400.4.dylib ../libtool: line 4545: nmedit: command not found make[4]: * [libglib-2.0.la] Error 127 make[3]: * [all-recursive] Error 1 make[2]: * [all] Error 2 make[1]: * [all-recursive] Error 1 make: * [all] Error 2

Error: The following dependencies failed to build: glib2 gtk2 atk cairo fontconfig freetype libpng render xrender gtk-doc docbook-xml-4.1.2 xmlcatmgr docbook-xsl libxml2 perl5.8 scrollkeeper docbook-xml docbook-xml-4.2 docbook-xml-4.3 docbook-xml-4.4 docbook-xml-4.5 libxslt p5-xml-parser jpeg pango Xft2 xorg-xproto xorg-util-macros tiff libpcap Error: Status 1 encountered during processing.

Simply doing a sudo ln -s /Developer/usr/bin/nmedit /usr/bin/nmedit and restarting the port install kept the build going.

Not sure if it's reasonable to add in /Developer/usr/bin into /etc/paths or have the path explicitly listed in that build directive for nmedit.

Hope this helps! I love macports. I just wish those darwinports people/website would collaspse things down to macports to simplify things.

Change History (3)

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

Milestone: Port Bugs
Owner: changed from macports-tickets@… to ryandesign@…
Summary: port install wireshark fails due to nmedit path probglib2 build fails due to nmedit path problem

Assigning to maintainer.

comment:2 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: wontfix
Status: newclosed

It sounds like you have installed Xcode improperly. Xcode should have installed nmedit into /usr/bin. Please check the options in the Xcode installer.

By "those darwinports people/website" I assume you mean the web site darwinports (dot) com, which is not affiliated with the MacPorts project. That's one of the reasons why we changed the name of the project from DarwinPorts to MacPorts -- to distance ourselves from that rogue web site. Do not refer to that web site for any information about MacPorts. Refer to http://www.macports.org/ . Discussion of this situation is off-topic in this ticket so further discussion, if you desire it, should take place on the macports-users mailing list.

comment:3 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.