Opened 15 years ago

Closed 15 years ago

#24253 closed defect (invalid)

libidl build fails: /opt/local/bin/gsed: No such file or directory

Reported by: jorge.villalobos@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: libidl

Description

I was trying to install 'xulrunner +universal' on Mac OS X Snow Leopard, and was running into this problem with libidl:

--->  Building libidl for architecture i386
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libidl/work/libIDL-0.8.13-i386" && /usr/bin/make -j1 all " returned error 2
Command output: /usr/bin/make  all-recursive
Making all in include
Making all in libIDL
/usr/bin/make  all-am
make[4]: Nothing to be done for `all-am'.
make[3]: Nothing to be done for `all-am'.
/bin/sh ./libtool --tag=CC   --mode=link /usr/bin/gcc-4.2 -DLIBIDL_COMPILATION -O2 -arch i386 -version-info 0:0:0 -L/opt/local/lib -lglib-2.0 -lintl -liconv   -no-undefined  -L/opt/local/lib -arch i386 -o libIDL-2.la -rpath /opt/local/lib libIDL_2_la-parser.lo libIDL_2_la-lexer.lo libIDL_2_la-ns.lo libIDL_2_la-util.lo  
./libtool: line 390: /opt/local/bin/gsed: No such file or directory
./libtool: line 789: /opt/local/bin/gsed: No such file or directory
: ignoring unknown tag 
./libtool: line 789: /opt/local/bin/gsed: No such file or directory
*** Warning: inferring the mode of operation is deprecated.
*** Future versions of Libtool will require --mode=MODE be specified.
: warning: cannot infer operation mode from `/usr/bin/gcc-4.2'
: you must specify a MODE
Try ` --help' for more information.
make[2]: *** [libIDL-2.la] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Error: The following dependencies failed to build: gconf orbit2 libidl policykit heimdal lcms libcanberra gstreamer bison flex gzip libvorbis libogg nspr nss xorg-libXt xorg-libsm xorg-libice
Error: Status 1 encountered during processing.

This was easily fixed by running:

port install gsed +universal

Maybe 'gsed' should be added as a dependency of 'libidl'?

Change History (5)

comment:1 Changed 15 years ago by jorge.villalobos@…

Cc: jorge.villalobos@… added

Cc Me!

comment:2 Changed 15 years ago by jorge.villalobos@…

Cc: jorge.villalobos@… removed

Cc Me!

comment:3 Changed 15 years ago by jorge.villalobos@…

Cc: jorge.villalobos@… added

Cc Me!

comment:4 Changed 15 years ago by jmroot (Joshua Root)

Cc: jorge.villalobos@… removed
Port: libidl added

Please remember to fill in the Port field, and note you do not need to be in cc when you are the reporter.

comment:5 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Resolution: invalid
Status: newclosed
Summary: Building 'libidl +universal' fails due to uninstalled dependency 'gsed'libidl build fails: /opt/local/bin/gsed: No such file or directory

libidl builds fine for me when gsed is not installed. The only way I can imagine this problem occurring is if you

  • Installed gsed.
  • Configured, but did not finish building, libidl. The configure script detected gsed and wrote its path into the generated libtool.
  • Uninstalled gsed.
  • Continued building libidl without cleaning.

As you found, re-installing gsed was one way to avoid the problem. The other was cleaning libidl, then trying again to install it.

Note: See TracTickets for help on using tickets.