Package Details: lib32-smbclient 4.5.2-1

Git Clone URL: https://aur.archlinux.org/lib32-smbclient.git (read-only)
Package Base: lib32-smbclient
Description: Tools to access a server's filespace and printers via SMB
Upstream URL: http://www.samba.org
Licenses: GPL3
Submitter: rafaelff
Maintainer: rafaelff
Last Packager: rafaelff
Votes: 13
Popularity: 4.345847
First Submitted: 2015-06-11 14:22
Last Updated: 2016-12-08 11:49

Latest Comments

rafaelff commented on 2016-09-17 00:48

lib32-tdb was updated to 1.3.11; now lib32-smbclient should build without issue.

Nightshaxx commented on 2016-09-16 19:23

Same issue as sharivegas. It looks for tdb >= 1.3.10 but doesn't find it, even though I have tdb 1.3.10-1. If is looking for lib32-tdb (which makes more sense), the latest available is lib32-tdb 1.3.9-1.

rafaelff commented on 2016-09-16 10:03

And lib32-tdb is flagged as out-of-date already.

sharivegas commented on 2016-09-16 09:18

Has a hard dependency on lib32-tdb >1.3.10, latest available is multilib/lib32-tdb 1.3.9-1.

rafaelff commented on 2016-06-13 15:05

@rodrigog83: thanks for the report. I added ldb to lib32-ldb's depends array. Please install the new release of lib32-ldb and try building lib32-smbclient again.

rodrigog83 commented on 2016-06-12 22:45

Had to add 'ldb' to makedepend because it complained that 'ldb.h' was not found.

flungo commented on 2016-05-21 11:36

I am getting the following error whilst trying to build:

```
[1668/3833] Compiling source4/libcli/ldap/ldap_controls.c
../source4/libcli/ldap/ldap_controls.c:1259:4: error: ‘LDB_CONTROL_DIRSYNC_EX_OID’ undeclared here (not in a function)
{ LDB_CONTROL_DIRSYNC_EX_OID, decode_dirsync_request, encode_dirsync_request },
^
Waf: Leaving directory `/tmp/yaourt-tmp-flungo/aur-lib32-smbclient/src/samba-4.4.3/bin'
Build failed: -> task failed (err #1):
{task: cc ldap_controls.c -> ldap_controls_1.o}
Makefile:8: recipe for target 'all' failed
make: *** [all] Error 1
```

Any suggestions? Anyone else getting the same?

xekarfwtos commented on 2016-04-01 07:41

I was able to install the package after the last update of lib32-talloc package on 2016-03-30

xekarfwtos commented on 2016-03-17 14:54

Building fails with the following error:
[3563/3900] Linking default/python/libsamba-python-samba4.so
default/source4/param/pyparam_util_10.o: In function `lpcfg_from_py_object':
pyparam_util.c:(.text+0xd5): undefined reference to `_pytalloc_get_type'
default/source4/librpc/rpc/pyrpc_util_44.o: In function `py_dcerpc_interface_init_helper':
pyrpc_util.c:(.text+0x4ca): undefined reference to `_pytalloc_get_type'
default/source4/librpc/rpc/pyrpc_util_44.o: In function `py_dcerpc_syntax_init_helper':
pyrpc_util.c:(.text+0x8bf): undefined reference to `_pytalloc_get_ptr'
collect2: error: ld returned 1 exit status
Waf: Leaving directory `/tmp/yaourt-tmp-ydamigos/aur-lib32-smbclient/src/samba-4.3.4/bin'
Build failed: -> task failed (err #1):
{task: cc_link modules_5.o,pyparam_util_10.o,samba_python.empty_2.o,pyrpc_util_44.o -> libsamba-python-samba4.so}
Makefile:8: recipe for target 'all' failed
make: *** [all] Error 1
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build lib32-smbclient.

rafaelff commented on 2016-02-09 00:51

@felixonmars: 'vfs_glusterfs.c' problem solved by disabling glusterfs. I've pushed without bumping pkgrel number.

PKGBUILD looks good to me so far. Any problem please let me know.

KamijouTouma commented on 2016-02-03 23:26

Sorry bout that was away for a few days so just now reading your comments.
Looks like the maintaner has fixed the issue with lib32-talloc.
lib32-ldb installed correctly

The entire package installed correctly no errors yay \o/

rafaelff commented on 2016-02-03 04:09

@bobi and @Sarithis, my comment in lib32-talloc package fix this issue. Please make sure to edit lib32-talloc's while its maintainer don't fix it.

@felixonmars: I'll take a look at it ASAP.

Sarithis commented on 2016-02-03 02:07

[3404/3900] Linking default/source4/param/pyparam.so
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/../../../libpytalloc-util.so when searching for -lpytalloc-util
/usr/bin/ld: skipping incompatible /usr/lib/libpytalloc-util.so when searching for -lpytalloc-util
/usr/bin/ld: cannot find -lpytalloc-util
collect2: error: ld returned 1 exit status
Waf: Leaving directory `/tmp/packerbuild-1000/lib32-libwbclient/lib32-libwbclient/src/samba-4.3.4/bin'
Build failed: -> task failed (err #1):
{task: cc_link pyparam_7.o -> pyparam.so}
Makefile:8: recipe for target 'all' failed
make: *** [all] Error 1
==> ERROR: A failure occurred in build().
Aborting...
The build failed.

bobi commented on 2016-02-02 09:42

Package lib32-smbclient won’t build, here’s the log: http://paste.pound-python.org/show/8rvWUhISoBzBDt4roduS/

bobi commented on 2016-02-02 09:41

Package lib32-libwbclient won’t build, here’s the log: http://paste.pound-python.org/show/rDgqawSv2IqCmjfkeIsc/

felixonmars commented on 2016-02-02 06:59

I am getting the following error:

../source3/modules/vfs_glusterfs.c:41:22: fatal error: api/glfs.h: No such file or directory

rafaelff commented on 2016-01-30 23:35

Adopted and updated to 4.3.4
* Added to makedepends: lib32-popt, lib32-tevent, lib32-ldb and lib32-libarchive
* Added lib32-python2 and added proper replacement with python2-32 and python2-32-config

* P.s.: lib32-talloc currently needs a particular attention. I already posted a solution for the problem in the comments of this package. Take a look, instead of just building lib32-talloc without the required fix. ;)

rafaelff commented on 2016-01-22 05:07

lib32-tevent is now up-to-date. I'm now working on lib32-smbclient. Please give a try the way it is now and let me know.

KamijouTouma commented on 2016-01-21 21:28

It seems as though lib32-tevent is outdated and abandoned so the PKGBUILD for lib32-ldb errors due to versioning not being what the library expects.

rafaelff commented on 2016-01-20 09:15

I made a PKGBUILD for lib32-ldb, but didn't test it (I'm not on my system at the moment). Feel free to take it and give it a try: http://pastie.org/10695008

If it works, consider uploading to AUR.

KamijouTouma commented on 2016-01-20 03:01

There is no lib32-ldb at this time so those wishing to install this unless you make your own package build you might as well give up.

Currently to install this you need to add the following dependencies.

lib32-ldb (has no lib32 version so someone needs to make one or else the package lib32-libwbclient won't install) - https://www.archlinux.org/packages/?sort=&q=ldb

lib32-tevent - https://aur.archlinux.org/packages/?O=0&K=lib32-tevent

lib32-popt - https://aur.archlinux.org/packages/?O=0&K=lib32-popt


And this needs to be added to the bottom of the package build:

export PYTHON_CONFIG='/usr/bin/python2.7-32-config'

KamijouTouma commented on 2016-01-19 00:14

To fix one issue in last comment install lib32-tevent however now there is a new issue

/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/../../../libldb.so when searching for -lldb
/usr/bin/ld: skipping incompatible /usr/lib/libldb.so when searching for -lldb
/usr/bin/ld: cannot find -lldb
collect2: error: ld returned 1 exit status
Waf: Leaving directory `/tmp/yaourt-tmp-kami/aur-lib32-libwbclient/src/samba-4.1.12/bin'
Build failed: -> task failed (err #1):
{task: cc_link ranged_results_61.o -> libldb-ranged-results.so}
Makefile:8: recipe for target 'all' failed
make: *** [all] Error 1
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build lib32-smbclient.
==> Restart building lib32-libwbclient ? [y/N]
==> ------------------------------------------

KamijouTouma commented on 2016-01-18 22:27

default/lib/util/become_daemon_1.o: In function `become_daemon':
become_daemon.c:(.text+0x235): warning: sd_notifyf was moved to libsystemd. Do not use libsystemd-daemon.
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/../../../libtevent.so when searching for -ltevent
/usr/bin/ld: skipping incompatible /usr/lib/libtevent.so when searching for -ltevent
/usr/bin/ld: cannot find -ltevent
collect2: error: ld returned 1 exit status
Waf: Leaving directory `/tmp/yaourt-tmp-kami/aur-lib32-libwbclient/src/samba-4.1.12/bin'
Build failed: -> task failed (err #1):
{task: cc_link talloc_stack_1.o,smb_threads_1.o,xfile_1.o,data_blob_1.o,util_file_1.o,time_1.o,rbtree_1.o,rfc1738_1.o,select_1.o,getpass_1.o,genrand_1.o,fsusage_1.o,blocking_1.o,become_daemon_1.o,signal_1.o,system_1.o,params_1.o,util_1.o,util_id_1.o,util_net_1.o,util_strlist_1.o,util_paths_1.o,idtree_1.o,debug_1.o,fault_1.o,base64_1.o,util_str_1.o,util_str_common_1.o,substitute_1.o,ms_fnmatch_1.o,server_id_1.o,dprintf_1.o,parmlist_1.o,bitmap_1.o,pidfile_1.o,tevent_debug_1.o,util_process_1.o,memcache_1.o,dynconfig_1.o,crc32_1.o,hmacmd5_1.o,md4_1.o,arcfour_1.o,sha256_1.o,hmacsha256_1.o,aes_1.o,rijndael-alg-fst_1.o,aes_cmac_128_1.o,aes_ccm_128_1.o,codepoints_2.o,convert_string_2.o,util_str_2.o,util_unistr_w_2.o,pull_push_2.o,util_unistr_2.o,weird_2.o,charset_macosxfs_2.o,iconv_1.o -> libsamba-util.so}
Makefile:8: recipe for target 'all' failed
make: *** [all] Error 1
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build lib32-smbclient.
==> Restart building lib32-libwbclient ? [y/N]
==> ------------------------------------------

KamijouTouma commented on 2016-01-18 21:26

Still fails to build even after using python_config D:

markzz commented on 2015-11-05 19:45

The newest version of smbclient requires a tdb version that isn't in the official multilib repository yet. When that is updated, I'll upload a new PKGBUILD.

beanaroo commented on 2015-11-01 05:38

Builds successfully by adding to the PKGBUILD:
export PYTHON_CONFIG='/usr/bin/python2.7-32-config'

Also needed to install:
lib32-popt

hobarrera commented on 2015-10-22 00:52

I haven't had time to look at this very closely lately. If someone has a working PKGBUILD, or wishes to maintain this, let me know. I'll see if I can spare some time in the coming days anyway.

Lertets commented on 2015-10-21 22:50

Having trouble building this with the following error:

ERROR: System library popt of version 0.0.0 not found, and bundling disabled
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build lib32-smbclient.

eldamar commented on 2015-10-01 20:25

adding export PYTHON_CONFIG='/usr/bin/python2.7-32-config' to PKGBUILD solved the issue with failing on the "Checking for custom code" test.

d7rk commented on 2015-09-13 12:21

Hi,

I've tried building it by replacing the PKGBUILD provided by Fademind, which works, replaced the version of samba to the latest, but then my build fails with:
____________________________________________________________________________
Checking for custom code : Could not find the python development headers
/home/xxx/tmp/yaourt-tmp-xxx/aur-lib32-libwbclient/src/samba-4.3.0/wscript:98: error: the configuration failed
____________________________________________________________________________

Would you have any clue?
Thanks!

Rainmaker commented on 2015-08-20 23:09

I commented out line 880 to 889 of /usr/include/python2.7/pyport.h.

That at least allowed me to compile. Seems to be a multiarch problem, where the (32-bit) C program is including a 64-bit header.

I'm sure there are better solutions, but this WorkedForMe.

rafaelff commented on 2015-08-12 20:53

In lib32-python2, the user FaceMind provided another PKGBUILD for lib32-tk and for lib32-tcl. Maybe that works?

alucryd commented on 2015-08-12 20:48

I can reproduce but I have an older lib32-python2 (2.7.7) and I can't build 2.7.10 because lib32-tk fails to build. I don't have much time to go deep into this, plus I don't have any more use for this package, so if anyone wants to take over and fix the issue I'd be grateful.

red-lichtie commented on 2015-08-12 17:55

Build fails on Intel 64 but PC

--
In file included from /usr/include/python2.7/Python.h:58:0,
from ../test.c:2:
/usr/include/python2.7/pyport.h:886:2: error: #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)."
#error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)."
--

See: https://bbs.archlinux.org/viewtopic.php?pid=1552711