[MacPorts] #48982: Got problems with ncurses lib
MacPorts
noreply at macports.org
Sun Sep 27 14:32:22 PDT 2015
#48982: Got problems with ncurses lib
-----------------------+--------------------------------
Reporter: vlatko@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.3
Resolution: | Keywords:
Port: ncurses |
-----------------------+--------------------------------
Changes (by ryandesign@…):
* priority: High => Normal
* port: => ncurses
Old description:
> Hello!
>
> After an upgrade of libraries in my project the ncurses lib didn't
> build/compile/install...
>
> I get the following critical message near the end of the log file:
>
> :info:build }
> :info:build }
> :info:build END {
> :info:build print "#endif /* NC_DEFINE_H */"
> :info:build }
> :info:build ' < $DEFS
> :info:build make[1]: *** [ncurses_def.h] Error 133
> :info:build Trace/BPT trap: 5
> :info:build dyld: Library not loaded: /opt/local/lib/libncurses.6.dylib
> :info:build Referenced from: /opt/local/lib/libreadline.6.dylib
> :info:build Reason: image not found
> :info:build Trace/BPT trap: 5
> :info:build dyld: Library not loaded: /opt/local/lib/libncurses.6.dylib
> :info:build Referenced from: /opt/local/lib/libreadline.6.dylib
> :info:build Reason: image not found
> :info:build Trace/BPT trap: 5
> :info:build dyld: Library not loaded: /opt/local/lib/libncurses.6.dylib
> :info:build Referenced from: /opt/local/lib/libreadline.6.dylib
> :info:build Reason: image not found
> :info:build Trace/BPT trap: 5
> :info:build /bin/sh -c 'if test "cchar_t" = "cchar_t" ; then cat
> ./curses.wide >>curses.h ; fi'
> :info:build cat ./curses.tail >>curses.h
> :info:build make[1]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_ncurses/ncurses/work/ncurses-6.0/include'
> :info:build make: *** [all] Error 2
> :info:build make: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_ncurses/ncurses/work/ncurses-6.0'
> :info:build Command failed: cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_ncurses/ncurses/work/ncurses-6.0"
> && /usr/bin/make -j8 -w all
> :info:build Exit code: 2
> :error:build org.macports.build for port ncurses returned: command
> execution failed
> :debug:build Error code: CHILDSTATUS 43704 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 ncurses:
> org.macports.activate org.macports.build org.macports.destroot
> org.macports.install
New description:
Hello!
After an upgrade of libraries in my project the ncurses lib didn't
build/compile/install...
I get the following critical message near the end of the log file:
{{{
:info:build }
:info:build }
:info:build END {
:info:build print "#endif /* NC_DEFINE_H */"
:info:build }
:info:build ' < $DEFS
:info:build make[1]: *** [ncurses_def.h] Error 133
:info:build Trace/BPT trap: 5
:info:build dyld: Library not loaded: /opt/local/lib/libncurses.6.dylib
:info:build Referenced from: /opt/local/lib/libreadline.6.dylib
:info:build Reason: image not found
:info:build Trace/BPT trap: 5
:info:build dyld: Library not loaded: /opt/local/lib/libncurses.6.dylib
:info:build Referenced from: /opt/local/lib/libreadline.6.dylib
:info:build Reason: image not found
:info:build Trace/BPT trap: 5
:info:build dyld: Library not loaded: /opt/local/lib/libncurses.6.dylib
:info:build Referenced from: /opt/local/lib/libreadline.6.dylib
:info:build Reason: image not found
:info:build Trace/BPT trap: 5
:info:build /bin/sh -c 'if test "cchar_t" = "cchar_t" ; then cat
./curses.wide >>curses.h ; fi'
:info:build cat ./curses.tail >>curses.h
:info:build make[1]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_ncurses/ncurses/work/ncurses-6.0/include'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_ncurses/ncurses/work/ncurses-6.0'
:info:build Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_ncurses/ncurses/work/ncurses-6.0"
&& /usr/bin/make -j8 -w all
:info:build Exit code: 2
:error:build org.macports.build for port ncurses returned: command
execution failed
:debug:build Error code: CHILDSTATUS 43704 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 ncurses:
org.macports.activate org.macports.build org.macports.destroot
org.macports.install
}}}
--
Comment:
The portion of the log you posted looks like the end of an awk program, so
the error message that readline requires ncurses is probably coming from
an awk program that you have installed. If you have any of the ports gawk,
mawk or nawk installed, try deactivating them. Then clean ncurses and try
again.
If that doesn't work, please attach the entire main.log file, which might
give us more information.
--
Ticket URL: <https://trac.macports.org/ticket/48982#comment:1>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list