pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: samba
On Fri, Mar 13, 2026 at 09:12:56AM +0100, MLH wrote:
> I reported a bug with building samba (v1) recently. It has been building fine
> up until the changes referenced here on 2026-03-01. My last pkgsrc version
> is samba-3.6.25nb50.
>
> Now configure fails with:
> checking for test routines... configure: error: cant find test code. Aborting config
> *** Error code 1
>
> Why was that changed?
autoconf provides config.log files with details.
In work/samba-3.6.25/source3/config.log you'll find
In file included from conftest.c:445:
./../tests/trivial.c:4:1: error: return type defaults to 'int' [-Wimplicit-int]
4 | main()
| ^~~~
gcc 14 (imported a couple months ago into NetBSD-current) enables more
warnings by default, and this is one of them.
The configure test needs to be fixed to have 'int' before main, or the
package Makefile needs to disable the warning (adding
-Wno-implicit-int to the CFLAGS).
Probably you'll stumble over more similar problems, you can send a
patch when you fixed them all :-)
Thomas
- Prev by Date:
samba
- Previous by Thread:
samba
- Indexes:
Home |
Main Index |
Thread Index |
Old Index