pkgsrc-Bugs archive

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

Re: pkg/58947: pkgsrc-2024Q4 net/samba4 doesn't build on NetBSD/i386 10.1



The following reply was made to PR pkg/58947; it has been noted by GNATS.

From: Izumi Tsutsui <tsutsui%ceres.dti.ne.jp@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: tsutsui%ceres.dti.ne.jp@localhost
Subject: Re: pkg/58947: pkgsrc-2024Q4 net/samba4 doesn't build on NetBSD/i386
	 10.1
Date: Sun, 6 Apr 2025 07:05:02 +0900

 This still happens on samba-4.21.3 from pkgsrc-2025Q1.
 
 work.i386/samba-4.21.3/bin/config.log contains the following check log:
 ---
 -----------------------------------------------------------------------------------------------
 Checking for a 64-bit host to support lmdb
 ==>
 #define CONFIG_H_IS_FROM_SAMBA 1
 #define _SAMBA_BUILD_ 4
 #define HAVE_CONFIG_H 1
 #define SRCDIR "/s/obj.i386/pkgsrc/net/samba4/work.i386/samba-4.21.3"
 #define HAVE_SYS_UTSNAME_H 1
 
 [..snip..]
 
 #include <stdio.h>
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <stdlib.h>
 #include <stddef.h>
 #include <memory.h>
 #include <string.h>
 #include <strings.h>
 #include <inttypes.h>
 #include <stdint.h>
 #include <unistd.h>
 #include <ctype.h>
 #include <stdbool.h>
 #include <stdarg.h>
  int main(void) { return !(sizeof(size_t) >= 8); return 0; }
 
 <==
 [1/3] Compiling bin/.conf_check_d79bc1422dcee7b5eea57fa2056d5b68/test.c
 
 [..snip..]
 
 ['/s/obj.i386/pkgsrc/net/samba4/work.i386/samba-4.21.3/bin/.conf_check_d79bc1422dcee7b5eea57fa2056d5b68/testbuild/default/testprog']
 from /s/obj.i386/pkgsrc/net/samba4/work.i386/samba-4.21.3/lib/ldb: The configuration failed False
 not found
 ---
 
 so it looks 'lib/samba/ldb/mdb.so' and
 'lib/samba/private/libldb-mdb-int-private-samba.so' are enabled to build
 only on LP64 platforms.
 
 Could we tweak PLIST with PLIST_VARS for LP64 with ${LP64PLATFORMS},
 like devel/nss/Makefile?
 
 ---
 Izumi Tsutsui
 


Home | Main Index | Thread Index | Old Index