Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Sep 2008 09:38:48 GMT
From:      Alexey Kouznetsov <alexey@kouznetsov.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/127437: port net-mgmt/ng_ipacct not build at current 7.1-PRERELEASE
Message-ID:  <200809170938.m8H9cm2a006190@www.freebsd.org>
Resent-Message-ID: <200809170940.m8H9e0SY062322@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         127437
>Category:       ports
>Synopsis:       port net-mgmt/ng_ipacct not build at current 7.1-PRERELEASE
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 17 09:40:00 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Alexey Kouznetsov
>Release:        7.1-PRERELEASE (cvsuped 2008.09.17)
>Organization:
HCN Strela
>Environment:
FreeBSD test.hcn-strela.ru 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #1: Wed Sep 17 12:31:34 MSD 2008     root@test.hcn-strela.ru:/usr/obj/usr/src/sys/STRELA20080915  amd64


>Description:
The rerror occured at time port build:

kuznec@test:/usr/ports/net-mgmt/ng_ipacct (1)$] sudo make clean
===>  Cleaning for ng_ipacct-20061223
[kuznec@test:/usr/ports/net-mgmt/ng_ipacct (1)$] sudo make all
===>  Vulnerability check disabled, database not found
===>  Found saved configuration for ng_ipacct-20061223
===>  Extracting for ng_ipacct-20061223
=> MD5 Checksum OK for ng_ipacct-20061223.tar.gz.
=> SHA256 Checksum OK for ng_ipacct-20061223.tar.gz.
===>  Patching for ng_ipacct-20061223
===>  Configuring for ng_ipacct-20061223
===>  Building for ng_ipacct-20061223
===> ng_ipacct (all)
Warning: Object directory not changed from original /usr/ports/net-mgmt/ng_ipacct/work/ng_ipacct/ng_ipacct
@ -> /usr/src/sys
machine -> /usr/src/sys/amd64/include
:> opt_netgraph.h
cc -O2 -fno-strict-aliasing -pipe -g  -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc  -I/usr/ports/net-mgmt/ng_ipacct/work/ng_ipacct/ng_ipacct -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common  -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone  -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow  -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -c ng_ipacct.c
ng_ipacct.c: In function 'pcb_get_cred':
ng_ipacct.c:905: error: too few arguments to function 'in_pcblookup_local'
*** Error code 1

Stop in /usr/ports/net-mgmt/ng_ipacct/work/ng_ipacct/ng_ipacct.
*** Error code 1

Stop in /usr/ports/net-mgmt/ng_ipacct/work/ng_ipacct.
*** Error code 1

Stop in /usr/ports/net-mgmt/ng_ipacct.
*** Error code 1
kuznec@test:/usr/ports/net-mgmt/ng_ipacct (1)$]


Function in_pcblookup_local changed 

now:
/usr/include/netinet/in_pcb.h
 *      @(#)in_pcb.h    8.1 (Berkeley) 6/10/93
 * $FreeBSD: src/sys/netinet/in_pcb.h,v 1.100.2.8 2008/09/01 04:48:59 kmacy Exp $
---
struct inpcb *
        in_pcblookup_local(struct inpcbinfo *,
            struct in_addr, u_short, int, struct ucred *);

---

before it was 
---
struct inpcb *
        in_pcblookup_local(struct inpcbinfo *,
            struct in_addr, u_int, int);
---

The parameter ucred added.
>How-To-Repeat:
Build the port at FreeBSD 7 after in_pcblookup_local was changed (at list after 2008/09/01)



>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200809170938.m8H9cm2a006190>