as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.
PR: 238330
$ adb connect 1.2.3.4
* daemon not running; starting now at tcp:5037
ADB server didn't ACK
Full server startup log: /tmp/adb.1000.log
Server had pid: 1193
--- adb starting (pid 1193) ---
adb I 12-31 10:41:58 1193 1 main.cpp:56] Android Debug Bridge version 1.0.40
adb I 12-31 10:41:58 1193 1 main.cpp:56] Version 28.0.0-0
adb I 12-31 10:41:58 1193 1 main.cpp:56] Installed as /usr/pkg/bin/adb
adb I 12-31 10:41:58 1193 1 main.cpp:56]
adb F 12-31 10:41:58 1193 1 usb_libusb.cpp:517] failed to register libusb hotplug callback
* failed to start daemon
error: cannot connect to daemon
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.
PR: 231590
Keep in mind, the output is still not identical to upstream.
$ platform-tools_r26.0.0-linux/adb version
Android Debug Bridge version 1.0.39
Revision 3db08f2c6889-android
Installed as /tmp/platform-tools_r26.0.0-linux/adb
$ platform-tools_r26.0.0-linux/fastboot --version
fastboot version 3db08f2c6889-android
Installed as /tmp/platform-tools_r26.0.0-linux/fastboot
$ platform-tools_r27.0.0-linux/adb version
Android Debug Bridge version 1.0.39
Version 27.0.0-4455170
Installed as /tmp/platform-tools_r27.0.0-linux/adb
$ platform-tools_r27.0.0-linux/fastboot --version
fastboot version 27.0.0-4455170
Installed as /tmp/platform-tools_r27.0.0-linux/fastboot
$ adb version
Android Debug Bridge version 1.0.39
Version 27.0.0-0 86c2b588a369-android
Installed as /usr/local/bin/adb
$ fastboot --version
fastboot version 27.0.0-0 86c2b588a369-android
Installed as /usr/local/bin/fastboot
Ports using USE_PYTHON=distutils are now flavored. They will
automatically get flavors (py27, py34, py35, py36) depending on what
versions they support.
There is also a USE_PYTHON=flavors for ports that do not use distutils
but need FLAVORS to be set. A USE_PYTHON=noflavors can be set if
using distutils but flavors are not wanted.
A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been
added to cope with Python ports that did not have the Python
PKGNAMEPREFIX but are flavored.
USES=python now also exports a PY_FLAVOR variable that contains the
current python flavor. It can be used in dependency lines when the
port itself is not python flavored. For example, deskutils/calibre.
By default, all the flavors are generated. To only generate flavors
for the versions in PYTHON2_DEFAULT and PYTHON3_DEFAULT, define
BUILD_DEFAULT_PYTHON_FLAVORS in your make.conf.
In all the ports with Python dependencies, the *_DEPENDS entries MUST
end with the flavor so that the framework knows which to build/use.
This is done by appending '@${PY_FLAVOR}' after the origin (or
@${FLAVOR} if in a Python module with Python flavors, as the content
will be the same). For example:
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}
PR: 223071
Reviewed by: portmgr, python
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D12464
(via Mk/bsd.default-versions.mk and lang/gcc) which has moved from
GCC 5.4 to GCC 6.4 under most circumstances.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c++11-lib, c++11-lang,
c++14-lang, c++0x, c11, or gcc-c++11-lib.
PR: 219275
- USB transport is no longer supported on DragonFly and FreeBSD < 11
as probing outside of libusb hotplug API isn't implemented
Changes: dfd30c4a16..d1e9e7bc06/adb
lang/gcc which have moved from GCC 4.9.4 to GCC 5.4 (at least under some
circumstances such as versions of FreeBSD or platforms).
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using using Mk/bsd.octave.mk which in turn has USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c++11-lib, c++14-lang,
c++11-lang, c++0x, c11, or gcc-c++11-lib.
PR: 216707
make(1) suffix rules discard original extension as used by bsd.*.mk
which leads to unpredictable behavior if more than one candidate is
found under ${.PATH}. So, partially qualify pathname to avoid
accidentally building libcutils/sockets.c despite SRCS=sockets.cpp
$ echo 'void foo() { }' > a.c
$ echo 'int main() { }' > a.cxx
$ make PROG_CXX=test SRCS=a.cxx NO_MAN= -f /usr/share/mk/bsd.prog.mk
cc -O -pipe -std=gnu99 -c a.c
c++ -O -pipe -o test a.o
/usr/lib/crt1.o: In function `_start':
crt1.c:(.text+0x132): undefined reference to `main'
*** Error code 1
which in adb case leads to (since partial C++ conversion in 6.0.0)
adb.o: In function `handle_packet(apacket*, atransport*)':
adb.cpp:(.text+0x2518): undefined reference to `find_local_socket(unsigned int, unsigned int)'
adb.cpp:(.text+0x2613): undefined reference to `find_local_socket(unsigned int, unsigned int)'
adb.cpp:(.text+0x276a): undefined reference to `find_local_socket(unsigned int, unsigned int)'
adb.cpp:(.text+0x2875): undefined reference to `create_local_service_socket(char const*)'
adb.cpp:(.text+0x288c): undefined reference to `create_remote_socket(unsigned int, atransport*)'
adb.cpp:(.text+0x2a41): undefined reference to `create_remote_socket(unsigned int, atransport*)'
adb_listeners.o: In function `listener_event_func(int, unsigned int, void*)':
adb_listeners.cpp:(.text+0xe2): undefined reference to `create_local_socket(int)'
adb_listeners.cpp:(.text+0xfe): undefined reference to `connect_to_remote(asocket*, char const*)'
adb_listeners.o: In function `ss_listener_event_func(int, unsigned int, void*)':
adb_listeners.cpp:(.text+0x1b1): undefined reference to `create_local_socket(int)'
adb_listeners.cpp:(.text+0x1be): undefined reference to `connect_to_smartsocket(asocket*)'
services.o: In function `host_service_to_socket(char const*, char const*)':
services.cpp:(.text+0x64d): undefined reference to `create_local_socket(int)'
services.cpp:(.text+0x6b7): undefined reference to `create_local_socket(int)'
transport.o: In function `input_thread(void*)':
transport.cpp:(.text+0x1931): undefined reference to `close_all_sockets(atransport*)'
*** [adb] Error code 1