pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/45040: net/samba35 (but also net/samba33 and net/samba) not compiling - PATCH SUBMITTED



>Number:         45040
>Category:       pkg
>Synopsis:       net/samba35 (but also net/samba33 and net/samba) not compiling 
>- PATCH SUBMITTED
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 10 12:50:00 +0000 2011
>Originator:     Stefano Marinelli
>Release:        5.99.52
>Organization:
>Environment:
NetBSD dragasDockstarAP 5.99.52 NetBSD 5.99.52 (DOCKSTAR) #9: Fri Jun 10 
10:33:01 UTC 2011  
root%netbsd.it@localhost:/pkg_comp/ksystem/src/sys/arch/evbarm/compile/obj/DOCKSTAR
 evbarm

>Description:
net/samba35 as well as net/samba33 as well as net/samba aren't compiling. They 
get stuck in the make configure.

checking for ws2tcpip.h... no
checking whether mkdir supports mode... yes
checking for timegm... yes
checking for broken readdir... failure: readdir [
Failed for rmdir - 66 = Directory not empty
]
yes
checking for getdirentries... yes
checking for prototype long telldir(const DIR *dir)... no
checking for prototype int seekdir(DIR *dir, long ofs)... no
checking for replacing readdir using getdirentries()... failure: readdir [
Failed for match .. - 20 = Not a directory
]
failure: readdir [
Failed for unlink - 2 = No such file or directory
]
failure: readdir [
Failed for unlink - 2 = No such file or directory
]
failure: readdir [
Failed for unlink - 2 = No such file or directory
]
failure: readdir [
Failed for unlink - 2 = No such file or directory
]
failure: readdir [
Failed for unlink - 2 = No such file or directory
]
failure: readdir [
Failed for unlink - 2 = No such file or directory
]
failure: readdir [
Failed for unlink - 2 = No such file or directory
]
>How-To-Repeat:
Just get to the net/samba35 directory and perform a make configure (or make)
>Fix:
Thanks to ASAU, on IRC, here's a proposed patch that seems to fix the configure 
problem:

--- Makefile    2011-04-22 13:44:27.000000000 +0000     1.6
+++ Makefile    2011-06-10 09:54:43.000000000 +0000
@@ -71,6 +71,9 @@
 #
 CONFIGURE_ARGS+=       --enable-merged-build=no

+CONFIGURE_ENV+=                libreplace_cv_READDIR_GETDIRENTRIES=no
+
+
 .include "../../net/samba/options.mk"

 PLIST_VARS+=           cifsmount macosx



Home | Main Index | Thread Index | Old Index