[MacPorts] #66645: bash fails on 10.6.8 with default compiler

MacPorts noreply at macports.org
Sat Jan 7 16:23:53 UTC 2023


#66645: bash fails on 10.6.8 with default compiler
----------------------------------+----------------------
 Reporter:  barracuda156          |      Owner:  raimue
     Type:  defect                |     Status:  assigned
 Priority:  Normal                |  Milestone:
Component:  ports                 |    Version:  2.8.0
 Keywords:  snowleopard, leopard  |       Port:  bash
----------------------------------+----------------------
 {{{
 :info:build /usr/bin/gcc-4.2 -std=gnu99 -c   -DHAVE_CONFIG_H -DSHELL  -I.
 -I..  -I.. -I../include -I../lib -I.   -DMACOSX  -I/opt/local/include
 -pipe -Os -DSSH_SOURCE_BASHRC -arch ppc getopt.c
 :info:build /usr/bin/gcc-4.2 -std=gnu99 -c -DHAVE_CONFIG_H -DSHELL
 -I/opt/local/include -I.
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_shells_bash/bash/work/bash-5.2
 -I../.. -I../../lib  -DMACOSX  -pipe -Os -DSSH_SOURCE_BASHRC -arch ppc
 bind.c
 :info:build complete.c: In function ‘rl_username_completion_function’:
 :info:build complete.c:2308: error: dereferencing pointer to incomplete
 type
 :info:build complete.c:2312: error: dereferencing pointer to incomplete
 type
 :info:build complete.c:2312: error: dereferencing pointer to incomplete
 type
 :info:build complete.c: In function ‘rl_filename_completion_function’:
 :info:build complete.c:2458: error: nested functions are disabled, use
 -fnested-functions to re-enable
 :info:build complete.c:2458: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
 ‘__attribute__’ before ‘*’ token
 :info:build complete.c:2458: error: invalid type argument of ‘unary *’
 :info:build complete.c:2458: error: ‘DIR’ undeclared (first use in this
 function)
 :info:build complete.c:2458: error: (Each undeclared identifier is
 reported only once
 :info:build complete.c:2458: error: for each function it appears in.)
 :info:build complete.c:2458: error: expected expression before ‘)’ token
 :info:build complete.c:2475: warning: implicit declaration of function
 ‘closedir’
 :info:build complete.c:2476: error: expected expression before ‘)’ token
 :info:build complete.c:2554: warning: implicit declaration of function
 ‘opendir’
 :info:build complete.c:2554: error: lvalue required as left operand of
 assignment
 :info:build complete.c:2579: warning: implicit declaration of function
 ‘readdir’
 :info:build complete.c:2579: warning: assignment makes pointer from
 integer without a cast
 :info:build complete.c:2581: error: dereferencing pointer to incomplete
 type
 :info:build complete.c:2582: error: dereferencing pointer to incomplete
 type
 :info:build complete.c:2614: error: expected expression before ‘)’ token
 :info:build complete.c:2642: error: dereferencing pointer to incomplete
 type
 :info:build complete.c:2655: error: dereferencing pointer to incomplete
 type
 :info:build make[1]: *** [complete.o] Error 1
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/66645>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list