2.3.3: universal openmotif fails to build

Kevin Layer layer at franz.com
Mon Dec 29 13:55:51 PST 2014


Is it bad form to file a bug (https://trac.macports.org/ticket/46357)
and also discuss it on the mailing list?

This bug is a show stopper for me, so I'm fairly interesting in
possible workarounds/fixes.

Basically, here's what happens on 10.9.5:

rm -rf \
    /opt/local \
    /Applications/DarwinPorts \
    /Applications/MacPorts \
    /Library/LaunchDaemons/org.macports.* \
    /Library/Receipts/DarwinPorts*.pkg \
    /Library/Receipts/MacPorts*.pkg \
    /Library/StartupItems/DarwinPortsStartup \
    /Library/Tcl/darwinports1.0 \
    /Library/Tcl/macports1.0 \
    ~/.macports
...install from 2.3.1 dmg...
port selfupdate
port install openmotif +x11 +universal
=> error

from main.log:

:info:build /bin/sh ../../libtool  --tag=CC   --mode=link /usr/bin/clang  -pipe -Os -arch x86_64 -arch i386 -Wall -g -fno-strict-aliasing -Wno-unused -Wno-comment -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include     -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -arch i386 -o wmluiltok wmluiltok.o  -lXp -liconv  -L/opt/local/lib -lXft -lXrender -L/opt/local/lib -lXft  -ljpeg -lpng
:info:build libtool: link: /usr/bin/clang -pipe -Os -arch x86_64 -arch i386 -Wall -g -fno-strict-aliasing -Wno-unused -Wno-comment -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -Wl,-headerpad_max_install_names -arch x86_64 -arch i386 -o wmluiltok wmluiltok.o  -L/opt/local/lib -lXp -liconv -lXrender -lXft -ljpeg -lpng
:info:build Undefined symbols for architecture x86_64:
:info:build   "_main", referenced from:
:info:build      implicit entry/start for main executable
:info:build ld: symbol(s) not found for architecture x86_64
:info:build clang: error: linker command failed with exit code 1 (use -v to see invocation)
:info:build make[2]: *** [wmluiltok] Error 1
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_openmotif/openmotif/work/motif-2.3.4/tools/wml'
:info:build make[1]: *** [all-recursive] Error 1
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_openmotif/openmotif/work/motif-2.3.4/tools'
:info:build make: *** [all-recursive] Error 1
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_openmotif/openmotif/work/motif-2.3.4'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_openmotif/openmotif/work/motif-2.3.4" && /usr/bin/make -w all 
:info:build Exit code: 2
:error:build org.macports.build for port openmotif returned: command execution failed
:debug:build Error code: CHILDSTATUS 39210 2
:debug:build Backtrace: command execution failed
    while executing
"system -nice 0 $fullcmdstring"
    ("eval" body line 1)
    invoked from within
"eval system $notty $nice \$fullcmdstring"
    invoked from within
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"portbuild::build_main org.macports.build"
    ("eval" body line 1)
    invoked from within
"eval $procedure $targetname"
:info:build Warning: targets not executed for openmotif: org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Please see the log file for port openmotif for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_openmotif/openmotif/main.log


More information about the macports-users mailing list