NetBSD Problem Report #52009

From hf@spg.tu-darmstadt.de  Mon Feb 27 15:36:44 2017
Return-Path: <hf@spg.tu-darmstadt.de>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id B76DF7A16A
	for <gnats-bugs@www.NetBSD.org>; Mon, 27 Feb 2017 15:36:44 +0000 (UTC)
Message-Id: <201702271527.v1RFRewi009794@Pfaffenbichl.nt.e-technik.tu-darmstadt.de>
Date: Mon, 27 Feb 2017 16:27:40 +0100 (CET)
From: Hauke Fath <hf@spg.tu-darmstadt.de>
Reply-To: Hauke Fath <hf@spg.tu-darmstadt.de>
To: gnats-bugs@www.NetBSD.org
Cc: Hauke Fath <hf@spg.tu-darmstadt.de>
Subject: devel/libuv build breaks
X-Send-Pr-Version: 3.95

>Number:         52009
>Category:       pkg
>Synopsis:       devel/libuv build breaks on netbsd-6
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    agc
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Feb 27 15:40:00 +0000 2017
>Last-Modified:  Tue Feb 28 07:46:33 +0000 2017
>Originator:     Hauke Fath
>Release:        NetBSD 6.1_STABLE
>Organization:

>Environment:


System: NetBSD Pfaffenbichl 6.1_STABLE NetBSD 6.1_STABLE (DMZ_DOMU) #0: Wed Jan 18 13:22:36 CET 2017 hf@Hochstuhl:/var/obj/netbsd-builds/6/amd64/sys/arch/amd64/compile/DMZ_DOMU amd64
Architecture: x86_64
Machine: amd64
>Description:

	The build fails with

[...]
src/unix/fs.c: In function 'uv__fs_scandir':
src/unix/fs.c:386:3: warning: passing argument 4 of 'scandir' from incompatible pointer type
/usr/include/dirent.h:105:5: note: expected 'int (*)(const void *, const void *)' but argument is of type 'int (*)(const struct uv__dirent_t **, const struct uv__dirent_t **)'
src/unix/fs.c: In function 'uv__to_stat':
src/unix/fs.c:813:28: error: 'struct stat' has no member named 'st_atim'
src/unix/fs.c:814:29: error: 'struct stat' has no member named 'st_atim'
src/unix/fs.c:815:28: error: 'struct stat' has no member named 'st_mtim'
src/unix/fs.c:816:29: error: 'struct stat' has no member named 'st_mtim'
src/unix/fs.c:817:28: error: 'struct stat' has no member named 'st_ctim'
src/unix/fs.c:818:29: error: 'struct stat' has no member named 'st_ctim'
src/unix/fs.c:821:32: error: 'struct stat' has no member named 'st_birthtim'
src/unix/fs.c:822:33: error: 'struct stat' has no member named 'st_birthtim'
[...]



>How-To-Repeat:

	Build devel/libuv on netbsd-6.


>Fix:
	Yes, please.



>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->wiz
Responsible-Changed-By: hauke@NetBSD.org
Responsible-Changed-When: Mon, 27 Feb 2017 21:43:14 +0000
Responsible-Changed-Why:
Over to last updater.


Responsible-Changed-From-To: wiz->pkg-manager
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Mon, 27 Feb 2017 21:44:20 +0000
Responsible-Changed-Why:
Was the same before the last update


Responsible-Changed-From-To: pkg-manager->agc
Responsible-Changed-By: hauke@NetBSD.org
Responsible-Changed-When: Tue, 28 Feb 2017 07:46:33 +0000
Responsible-Changed-Why:
wiz@ says the problem existed before the update, so
assign to maintainer.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.