Package Details: obexftp 0.24.2-6

Git Clone URL: https://aur.archlinux.org/obexftp.git (read-only, click to copy)
Package Base: obexftp
Description: A tool for transfer files to/from any OBEX enabled device
Upstream URL: http://dev.zuckschwerdt.org/openobex/wiki/ObexFtp
Licenses: GPL
Conflicts: obexfs
Provides: obexfs
Replaces: obexfs
Submitter: Barthalion
Maintainer: andreas_baumann
Last Packager: andreas_baumann
Votes: 11
Popularity: 0.052318
First Submitted: 2018-01-06 21:04 (UTC)
Last Updated: 2024-08-03 13:56 (UTC)

Dependencies (12)

Required by (1)

Sources (2)

Latest Comments

1 2 Next › Last »

andreas_baumann commented on 2024-08-03 13:59 (UTC) (edited on 2024-08-03 14:00 (UTC) by andreas_baumann)

Acutally, just a simple Python3/Python2 issue. Use python2 from the AUR to build obexftp afterwards. This is assuming that everything depending on obexftp is actually also just using Python2 bindings..

andreas_baumann commented on 2024-08-01 06:52 (UTC) (edited on 2024-08-01 06:55 (UTC) by andreas_baumann)

Some SWIG/Python interface breakage:

[ 75%] Building C object swig/python/CMakeFiles/_obexftp-python.dir/CMakeFiles/_obexftp-python.dir/clientPYTHON_wrap.c.o
/data/INSTALL/obexftp/src/build/swig/python/CMakeFiles/_obexftp-python.dir/clientPYTHON_wrap.c: In function ‘_wrap_client_get’:
/data/INSTALL/obexftp/src/build/swig/python/CMakeFiles/_obexftp-python.dir/clientPYTHON_wrap.c:4183:17: error: implicit declaration of function ‘PyString_FromStringAndSize’; did you mean ‘PyBytes_FromStringAndSize’? [-Wimplicit-function-declaration]
 4183 |     resultobj = PyString_FromStringAndSize(arg1->buf_data, arg1->buf_size);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
      |                 PyBytes_FromStringAndSize
/data/INSTALL/obexftp/src/build/swig/python/CMakeFiles/_obexftp-python.dir/clientPYTHON_wrap.c:4183:15: error: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
 4183 |     resultobj = PyString_FromStringAndSize(arg1->buf_data, arg1->buf_size);
      |               ^
/data/INSTALL/obexftp/src/build/swig/python/CMakeFiles/_obexftp-python.dir/clientPYTHON_wrap.c: In function ‘_wrap_client_list’:
/data/INSTALL/obexftp/src/build/swig/python/CMakeFiles/_obexftp-python.dir/clientPYTHON_wrap.c:4228:15: error: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
 4228 |     resultobj = PyString_FromStringAndSize(arg1->buf_data, arg1->buf_size);
      |               ^
/data/INSTALL/obexftp/src/build/swig/python/CMakeFiles/_obexftp-python.dir/clientPYTHON_wrap.c: In function ‘_wrap_client_get_capability’:
/data/INSTALL/obexftp/src/build/swig/python/CMakeFiles/_obexftp-python.dir/clientPYTHON_wrap.c:4273:15: error: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
 4273 |     resultobj = PyString_FromStringAndSize(arg1->buf_data, arg1->buf_size);
      |               ^
make[2]: *** [swig/python/CMakeFiles/_obexftp-python.dir/build.make:76: swig/python/CMakeFiles/_obexftp-python.dir/CMakeFiles/_obexftp-python.dir/clientPYTHON_wrap.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:588: swig/python/CMakeFiles/_obexftp-python.dir/all] Error 2
make: *** [Makefile:156: all] Error 2

HurricanePootis commented on 2024-07-03 07:59 (UTC)

Unable to compile with these changes:

diff --git a/PKGBUILD b/PKGBUILD
index 2ef76cf..339c2e8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -41,7 +41,9 @@ build() {
     -DENABLE_PERL=YES \
     -DENABLE_PYTHON=YES \
     -DENABLE_RUBY=YES \
-    -DENABLE_TCL=YES
+    -DENABLE_TCL=YES \
+    -DCMAKE_C_FLAGS="$CFALGS -fpermissive" \
+    -DCMAKE_CXX_FLAGS="$CXXFLAGS -fpermissive"
   make doc
 }

ThePirate42 commented on 2024-01-30 20:51 (UTC)

This should probably depend on https://archlinux.org/packages/extra/x86_64/bluez-obex/

xiretza commented on 2023-10-01 16:39 (UTC)

No, that's part of base-devel and thus assumed to be installed in the build environment.

arnaudlecam commented on 2023-10-01 16:39 (UTC) (edited on 2023-10-01 16:39 (UTC) by arnaudlecam)

Could you add 'patch' to PKGBUILD's makedepends, please ?

xiretza commented on 2019-07-03 17:53 (UTC)

@LA-MJ: what do you mean? I just built it in a fresh, clean chroot and the perl module is placed under /usr/lib/perl5/5.30/vendor_perl/auto/OBEXFTP/OBEXFTP.so.

LA-MJ commented on 2019-07-03 17:43 (UTC)

Sorry for ignorance but how come this still builds with perl 5.28?

dreieck commented on 2018-08-28 14:45 (UTC)

Since it provides obexfs, can you add provides=("obexfs=${pkgver}"), please?

xiretza commented on 2018-06-22 16:41 (UTC) (edited on 2018-06-22 16:41 (UTC) by xiretza)

@damir: obexfs already has an open request to be merged into obexftp, since the obexfs binary is now provided by this package.