On Wed, February 19, 2020 20:22, Rafael Sadowski wrote: > On Tue Feb 18, 2020 at 10:54:36PM -0300, Adriano Barbosa wrote: >> Hi, >> update for nextcloudclient to v2.6.3. >> Changelog: https://github.com/nextcloud/desktop/releases/tag/v2.6.3 >> >> OK? >> >> -- >> Adriano > > I ran into the following err (nextcloudclient is not installed): > > FAILED: test/csync/check_encoding_functions > : && /usr/ports/pobj/nextcloudclient-2.6.3/bin/c++ -O2 -pipe > -I/usr/local/include/inotify -I/usr/local/include/qtkeychain > -I/usr/local/include -pedantic -DNDEBUG -L/usr/local/lib/inotify > -L/usr/local/lib -linotify -Wl,-rpath=/usr/local/lib/inotify > test/csync/CMakeFiles/check_encoding_functions.dir/check_encoding_functions_autogen/mocs_compilation.cpp.o > test/csync/CMakeFiles/check_encoding_functions.dir/encoding_tests/check_encoding.cpp.o > -o test/csync/check_encoding_functions -L/usr/local/lib/qt5/. > -L/usr/ports/pobj/nextcloudclient-2.6.3/build-amd64/src/csync > -L/usr/local/lib -L/usr/local/lib/inotify -L/usr/lib > -Wl,-z,origin,-rpath,/usr/local/lib/qt5/.:/usr/ports/pobj/nextcloudclient-2.6.3/build-amd64/src/csync > test/csync/libtorture.a -lQt5Core -locsync -lcmocka -lsqlite3 > -lQt5Concurrent -lQt5Core /usr/lib/libz.so.5.0 > -Wl,-rpath-link,/usr/X11R6/lib && : > ld: error: undefined symbol: argp_parse >>>> referenced by cmdline.c >>>> cmdline.c.o:(torture_cmdline_parse) in archive >>>> test/csync/libtorture.a > c++: error: linker command failed with exit code 1 (use -v to see invocation) > ninja: build stopped: subcommand failed. > >
Shoul not fail with the patch below: Index: Makefile =================================================================== RCS file: /cvs/ports/net/nextcloudclient/Makefile,v retrieving revision 1.4 diff -u -p -u -p -r1.4 Makefile --- Makefile 7 Feb 2020 07:13:53 -0000 1.4 +++ Makefile 20 Feb 2020 06:11:05 -0000 @@ -2,9 +2,8 @@ COMMENT = desktop sync client for Nextcloud -V = 2.6.2 +V = 2.6.3 DISTNAME = nextcloudclient-${V} -REVISION = 0 GH_ACCOUNT = nextcloud GH_PROJECT = desktop Index: distinfo =================================================================== RCS file: /cvs/ports/net/nextcloudclient/distinfo,v retrieving revision 1.2 diff -u -p -u -p -r1.2 distinfo --- distinfo 28 Dec 2019 13:48:04 -0000 1.2 +++ distinfo 20 Feb 2020 06:11:05 -0000 @@ -1,2 +1,2 @@ -SHA256 (nextcloudclient-2.6.2.tar.gz) = u8tlkxNINiJmQLEI2nrT2wYUF2geLYQ7w3Gx1pf7BVE= -SIZE (nextcloudclient-2.6.2.tar.gz) = 18982053 +SHA256 (nextcloudclient-2.6.3.tar.gz) = Wpi4KAJ9Zad6Qdr/P2eMrO8SUlCZsf0vMRRVHbAf8pg= +SIZE (nextcloudclient-2.6.3.tar.gz) = 18983292 Index: patches/patch-src_csync_ConfigureChecks_cmake =================================================================== RCS file: patches/patch-src_csync_ConfigureChecks_cmake diff -N patches/patch-src_csync_ConfigureChecks_cmake --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ patches/patch-src_csync_ConfigureChecks_cmake 20 Feb 2020 06:11:05 -0000 @@ -0,0 +1,14 @@ +$OpenBSD$ + +Index: src/csync/ConfigureChecks.cmake +--- src/csync/ConfigureChecks.cmake.orig ++++ src/csync/ConfigureChecks.cmake +@@ -15,7 +15,7 @@ set(BINARYDIR ${CMAKE_CURRENT_BINARY_DIR}) + set(SOURCEDIR ${CMAKE_CURRENT_SOURCE_DIR}) + + # HEADER FILES +-check_include_file(argp.h HAVE_ARGP_H) ++#check_include_file(argp.h HAVE_ARGP_H) + + # FUNCTIONS + if (NOT LINUX) Index: pkg/PLIST =================================================================== RCS file: /cvs/ports/net/nextcloudclient/pkg/PLIST,v retrieving revision 1.2 diff -u -p -u -p -r1.2 PLIST --- pkg/PLIST 28 Dec 2019 13:48:04 -0000 1.2 +++ pkg/PLIST 20 Feb 2020 06:11:05 -0000 @@ -35,6 +35,7 @@ share/icons/hicolor/64x64/apps/Nextcloud share/nextcloud/ share/nextcloud/i18n/ share/nextcloud/i18n/client_TW.qm +share/nextcloud/i18n/client_af.qm share/nextcloud/i18n/client_bg.qm share/nextcloud/i18n/client_ca.qm share/nextcloud/i18n/client_cs.qm