Opened 2 months ago
#70711 assigned defect
uhubctl build error: expected declaration specifiers or ‘...’ before numeric constant
Reported by: | barracuda156 | Owned by: | i0ntempest |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.10.1 |
Keywords: | tiger, leopard, snowleopard | Cc: | |
Port: | uhubctl |
Description
Build fails on 10.6 with either compiler.
---> Building uhubctl Executing: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_uhubctl/uhubctl/work/uhubctl-2.5.0" && /usr/bin/make -j6 -w uhubctl prefix=/opt/local CC="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_uhubctl/uhubctl/work/compwrap/cc/usr/bin/gcc-4.2" CXX="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_uhubctl/uhubctl/work/compwrap/cxx/usr/bin/g++-4.2" OBJC="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_uhubctl/uhubctl/work/compwrap/objc/usr/bin/gcc-4.2" OBJCXX="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_uhubctl/uhubctl/work/compwrap/objcxx/usr/bin/g++-4.2" INSTALL="/usr/bin/install -c" fatal: not a git repository (or any of the parent directories): .git make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_uhubctl/uhubctl/work/uhubctl-2.5.0' /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_uhubctl/uhubctl/work/compwrap/cc/usr/bin/gcc-4.2 -I/opt/local/include -Os -arch ppc -Wall -Wextra -std=c99 -pedantic -DPROGRAM_VERSION=\"2.5.0\" -I/opt/local/include/libusb-1.0 uhubctl.c -o uhubctl -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc -L/opt/local/lib -lusb-1.0 uhubctl.c:39: error: expected declaration specifiers or ‘...’ before numeric constant uhubctl.c:39: error: expected declaration specifiers or ‘...’ before ‘__builtin_object_size’ uhubctl.c:39: warning: conflicting types for built-in function ‘__builtin___snprintf_chk’ uhubctl.c: In function ‘get_hub_info’: uhubctl.c:427: warning: too many arguments for format uhubctl.c:436: warning: too many arguments for format uhubctl.c:441: warning: too many arguments for format uhubctl.c: In function ‘get_device_description’: uhubctl.c:698: warning: too many arguments for format uhubctl.c:704: warning: too many arguments for format uhubctl.c: In function ‘main’: uhubctl.c:1049: warning: too many arguments for format uhubctl.c:1055: warning: too many arguments for format uhubctl.c:1058: warning: too many arguments for format make: *** [uhubctl] Error 1
Upstream issue: https://github.com/mvp/uhubctl/issues/586
Note: See
TracTickets for help on using
tickets.