[MacPorts] #64937: usbredir fails on 10.6.8 Rosetta

MacPorts noreply at macports.org
Tue Apr 5 14:37:12 UTC 2022


#64937: usbredir fails on 10.6.8 Rosetta
---------------------------+-------------------------------------------
  Reporter:  barracuda156  |      Owner:  ryandesign
      Type:  defect        |     Status:  closed
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.7.2
Resolution:  fixed         |   Keywords:  powerpc, snowleopard, rosetta
      Port:  usbredir      |
---------------------------+-------------------------------------------

Comment (by barracuda156):

 Replying to [comment:2 ryandesign]:
 > In [changeset:"e9a7bd7f76ad205735922cd3550b31a8cc57cb2c/macports-ports"
 e9a7bd7f76ad205735922cd3550b31a8cc57cb2c/macports-ports] (master):
 > {{{
 > #!ConfigurableCommitTicketReference repository="macports-ports"
 revision="e9a7bd7f76ad205735922cd3550b31a8cc57cb2c"
 > usbredir: Don't use -Werror
 >
 > Closes: https://trac.macports.org/ticket/64937
 > }}}

 That error is fixed, but it fails further:

 {{{
 /usr/bin/gcc-4.2 -std=gnu99 -DHAVE_CONFIG_H -I. -I..
 -I/opt/local/include -I/opt/local/include/libusb-1.0 -I../usbredirhost
 -I../usbredirparser -pipe -Os -arch ppc -Wall -Wp,-D_FORTIFY_SOURCE=2
 -fstack-protector --param=ssp-buffer-size=4 -MT usbredirserver-
 usbredirserver.o -MD -MP -MF .deps/usbredirserver-usbredirserver.Tpo -c -o
 usbredirserver-usbredirserver.o `test -f 'usbredirserver.c' || echo
 './'`usbredirserver.c
 usbredirserver.c: In function ‘main’:
 usbredirserver.c:390: error: ‘TCP_KEEPINTVL’ undeclared (first use in this
 function)
 usbredirserver.c:390: error: (Each undeclared identifier is reported only
 once
 usbredirserver.c:390: error: for each function it appears in.)
 usbredirserver.c:397: error: ‘TCP_KEEPCNT’ undeclared (first use in this
 function)
 make[2]: *** [usbredirserver-usbredirserver.o] Error 1
 make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_usbredir/usbredir/work/usbredir-0.9.0/usbredirserver'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_usbredir/usbredir/work/usbredir-0.9.0'
 make: *** [all] Error 2
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/64937#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list