[MacPorts] #20867: a2ps fails build on 10.6 (looks like stpcpy issue)

MacPorts noreply at macports.org
Fri Aug 28 15:13:06 PDT 2009


#20867: a2ps fails build on 10.6 (looks like stpcpy issue)
----------------------------------+-----------------------------------------
 Reporter:  john_owens@…          |       Owner:  macports-tickets@…                   
     Type:  defect                |      Status:  new                                  
 Priority:  Normal                |   Milestone:                                       
Component:  ports                 |     Version:                                       
 Keywords:  snowleopard           |        Port:                                       
----------------------------------+-----------------------------------------
 {{{
 $ sudo port -v install a2ps
 Password:
 --->  Computing dependencies for a2ps.
 --->  Building a2ps
 /usr/bin/make  all-recursive
 Making all in auxdir
 make[2]: Nothing to be done for `all'.
 Making all in m4
 make[2]: Nothing to be done for `all'.
 Making all in etc
 make[2]: Nothing to be done for `all'.
 Making all in ps
 make[2]: Nothing to be done for `all'.
 Making all in ogonkify
 Making all in doc
 make[3]: Nothing to be done for `all'.
 Making all in m4
 make[3]: Nothing to be done for `all'.
 make[3]: Nothing to be done for `all-am'.
 Making all in lib
 /usr/bin/make  all-am
 if /bin/sh ../libtool --tag=CC --mode=compile /usr/bin/gcc-4.2
 -DHAVE_CONFIG_H -DLOCALEDIR=\"/opt/local/share/locale\"
 -DSYSCONFFILE=\"/opt/local/etc/a2ps.cfg\" -I. -I. -I.. -I.. -I../intl -I.
 -I/opt/local/include  -O2 -arch x86_64  -MT xstrrpl.lo -MD -MP -MF
 ".deps/xstrrpl.Tpo" -c -o xstrrpl.lo xstrrpl.c; \
         then mv -f ".deps/xstrrpl.Tpo" ".deps/xstrrpl.Plo"; else rm -f
 ".deps/xstrrpl.Tpo"; exit 1; fi
 if /bin/sh ../libtool --tag=CC --mode=compile /usr/bin/gcc-4.2
 -DHAVE_CONFIG_H -DLOCALEDIR=\"/opt/local/share/locale\"
 -DSYSCONFFILE=\"/opt/local/etc/a2ps.cfg\" -I. -I. -I.. -I.. -I../intl -I.
 -I/opt/local/include  -O2 -arch x86_64  -MT pathwalk.lo -MD -MP -MF
 ".deps/pathwalk.Tpo" -c -o pathwalk.lo pathwalk.c; \
         then mv -f ".deps/pathwalk.Tpo" ".deps/pathwalk.Plo"; else rm -f
 ".deps/pathwalk.Tpo"; exit 1; fi
  /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -DLOCALEDIR=\"/opt/local/share/locale\"
 -DSYSCONFFILE=\"/opt/local/etc/a2ps.cfg\" -I. -I. -I.. -I.. -I../intl -I.
 -I/opt/local/include -O2 -arch x86_64 -MT xstrrpl.lo -MD -MP -MF
 .deps/xstrrpl.Tpo -c xstrrpl.c -o xstrrpl.o
  /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -DLOCALEDIR=\"/opt/local/share/locale\"
 -DSYSCONFFILE=\"/opt/local/etc/a2ps.cfg\" -I. -I. -I.. -I.. -I../intl -I.
 -I/opt/local/include -O2 -arch x86_64 -MT pathwalk.lo -MD -MP -MF
 .deps/pathwalk.Tpo -c pathwalk.c -o pathwalk.o
 xstrrpl.c:25:22: error: macro "stpcpy" requires 2 arguments, but only 1
 given
 xstrrpl.c:25: error: 'stpcpy' redeclared as different kind of symbol
 make[3]: *** [xstrrpl.lo] Error 1
 make[3]: *** Waiting for unfinished jobs....
 make[2]: *** [all] Error 2
 make[1]: *** [all-recursive] Error 1
 make: *** [all] Error 2
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_a2ps/work/a2ps-4.14"
 && /usr/bin/make -j2 all " returned error 2
 Command output: /usr/bin/make  all-recursive
 Making all in auxdir
 make[2]: Nothing to be done for `all'.
 Making all in m4
 make[2]: Nothing to be done for `all'.
 Making all in etc
 make[2]: Nothing to be done for `all'.
 Making all in ps
 make[2]: Nothing to be done for `all'.
 Making all in ogonkify
 Making all in doc
 make[3]: Nothing to be done for `all'.
 Making all in m4
 make[3]: Nothing to be done for `all'.
 make[3]: Nothing to be done for `all-am'.
 Making all in lib
 /usr/bin/make  all-am
 if /bin/sh ../libtool --tag=CC --mode=compile /usr/bin/gcc-4.2
 -DHAVE_CONFIG_H -DLOCALEDIR=\"/opt/local/share/locale\"
 -DSYSCONFFILE=\"/opt/local/etc/a2ps.cfg\" -I. -I. -I.. -I.. -I../intl -I.
 -I/opt/local/include  -O2 -arch x86_64  -MT xstrrpl.lo -MD -MP -MF
 ".deps/xstrrpl.Tpo" -c -o xstrrpl.lo xstrrpl.c; \
         then mv -f ".deps/xstrrpl.Tpo" ".deps/xstrrpl.Plo"; else rm -f
 ".deps/xstrrpl.Tpo"; exit 1; fi
 if /bin/sh ../libtool --tag=CC --mode=compile /usr/bin/gcc-4.2
 -DHAVE_CONFIG_H -DLOCALEDIR=\"/opt/local/share/locale\"
 -DSYSCONFFILE=\"/opt/local/etc/a2ps.cfg\" -I. -I. -I.. -I.. -I../intl -I.
 -I/opt/local/include  -O2 -arch x86_64  -MT pathwalk.lo -MD -MP -MF
 ".deps/pathwalk.Tpo" -c -o pathwalk.lo pathwalk.c; \
         then mv -f ".deps/pathwalk.Tpo" ".deps/pathwalk.Plo"; else rm -f
 ".deps/pathwalk.Tpo"; exit 1; fi
  /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -DLOCALEDIR=\"/opt/local/share/locale\"
 -DSYSCONFFILE=\"/opt/local/etc/a2ps.cfg\" -I. -I. -I.. -I.. -I../intl -I.
 -I/opt/local/include -O2 -arch x86_64 -MT xstrrpl.lo -MD -MP -MF
 .deps/xstrrpl.Tpo -c xstrrpl.c -o xstrrpl.o
  /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -DLOCALEDIR=\"/opt/local/share/locale\"
 -DSYSCONFFILE=\"/opt/local/etc/a2ps.cfg\" -I. -I. -I.. -I.. -I../intl -I.
 -I/opt/local/include -O2 -arch x86_64 -MT pathwalk.lo -MD -MP -MF
 .deps/pathwalk.Tpo -c pathwalk.c -o pathwalk.o
 xstrrpl.c:25:22: error: macro "stpcpy" requires 2 arguments, but only 1
 given
 xstrrpl.c:25: error: 'stpcpy' redeclared as different kind of symbol
 make[3]: *** [xstrrpl.lo] Error 1
 make[3]: *** Waiting for unfinished jobs....
 make[2]: *** [all] Error 2
 make[1]: *** [all-recursive] Error 1
 make: *** [all] Error 2

 Warning: the following items did not execute (for a2ps):
 org.macports.activate org.macports.build org.macports.destroot
 org.macports.install
 Error: Status 1 encountered during processing.
 }}}

-- 
Ticket URL: <http://trac.macports.org/ticket/20867>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list