Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Sep 2010 00:08:48 GMT
From:      Ben Grimm <freebsd-pr@bengrimm.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/150578: sysutils/pfstat (2.4.4) fails to install due to missing file
Message-ID:  <201009150008.o8F08mPV033044@www.freebsd.org>
Resent-Message-ID: <201009150010.o8F0A163057609@freefall.freebsd.org>

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

>Number:         150578
>Category:       ports
>Synopsis:       sysutils/pfstat (2.4.4) fails to install due to missing file
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 15 00:10:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Ben Grimm
>Release:        8.1-STABLE (August 2010)
>Organization:
>Environment:
FreeBSD box 8.1-STABLE FreeBSD 8.1-STABLE #0: Mon Aug  2 16:54:26 CEST 2010     toor@box:/usr/obj/usr/src/sys/BOX  i386

>Description:
The 'make' part works (with some warnings).
The 'make install' part fails due to a missing file.

[toor@box:/usr/ports/sysutils/pfstat] # make
===>  License check disabled, port has not defined LICENSE
=> pfstat-2.4.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch from http://www.benzedrine.cx/.
fetch: http://www.benzedrine.cx/pfstat-2.4.tar.gz: No route to host
=> Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.
pfstat-2.4.tar.gz                             100% of   17 kB   32 kBps
===>  Extracting for pfstat-2.4_4
=> MD5 Checksum OK for pfstat-2.4.tar.gz.
=> SHA256 Checksum OK for pfstat-2.4.tar.gz.
===>  Patching for pfstat-2.4_4
===>   pfstat-2.4_4 depends on shared library: gd.4 - found
===>   pfstat-2.4_4 depends on shared library: iconv.3 - found
===>  Configuring for pfstat-2.4_4
===>  Building for pfstat-2.4_4
Warning: Object directory not changed from original /usr/ports/sysutils/pfstat/work/pfstat-2.4
yacc -d -o parse.c parse.y
cc -O2 -pipe -fno-strict-aliasing  -Wall -I/usr/local/include -I/usr/ports/sysutils/pfstat/work/pfstat-2.4 -std=gnu99 -fstack-protector  -c pfstat.c
cc -O2 -pipe -fno-strict-aliasing  -Wall -I/usr/local/include -I/usr/ports/sysutils/pfstat/work/pfstat-2.4 -std=gnu99 -fstack-protector  -c pf.c
cc -O2 -pipe -fno-strict-aliasing  -Wall -I/usr/local/include -I/usr/ports/sysutils/pfstat/work/pfstat-2.4 -std=gnu99 -fstack-protector  -c data.c
data.c: In function 'data_put_value':
data.c:332: warning: 'last_val' may be used uninitialized in this function
data.c:331: warning: 'last_ts' may be used uninitialized in this function
cc -O2 -pipe -fno-strict-aliasing  -Wall -I/usr/local/include -I/usr/ports/sysutils/pfstat/work/pfstat-2.4 -std=gnu99 -fstack-protector  -c graph.c
graph.c: In function 'graph_generate_images':
graph.c:188: warning: pointer targets in passing argument 5 of 'gdImageString' differ in signedness
graph.c: In function 'draw_grid':
graph.c:350: warning: pointer targets in passing argument 5 of 'gdImageString' differ in signedness
graph.c:356: warning: pointer targets in passing argument 5 of 'gdImageString' differ in signedness
graph.c:390: warning: pointer targets in passing argument 5 of 'gdImageString' differ in signedness
graph.c:395: warning: pointer targets in passing argument 5 of 'gdImageString' differ in signedness
graph.c:399: warning: pointer targets in passing argument 5 of 'gdImageString' differ in signedness
graph.c:402: warning: pointer targets in passing argument 5 of 'gdImageStringUp' differ in signedness
graph.c:405: warning: pointer targets in passing argument 5 of 'gdImageStringUp' differ in signedness
cc -O2 -pipe -fno-strict-aliasing  -Wall -I/usr/local/include -I/usr/ports/sysutils/pfstat/work/pfstat-2.4 -std=gnu99 -fstack-protector  -c parse.c
cc -O2 -pipe -fno-strict-aliasing  -Wall -I/usr/local/include -I/usr/ports/sysutils/pfstat/work/pfstat-2.4 -std=gnu99 -fstack-protector   -L/usr/local/lib -L/usr/local/lib -lgd -lm -lpng -lz -ljpeg -o pfstat pfstat.o pf.o data.o graph.o parse.o
gzip -cn pfstat.8 > pfstat.8.gz
===> pfstatd (all)
Warning: Object directory not changed from original /usr/ports/sysutils/pfstat/work/pfstat-2.4/pfstatd
cc -O2 -pipe -fno-strict-aliasing  -Wall -I/usr/ports/sysutils/pfstat/work/pfstat-2.4/pfstatd/.. -std=gnu99 -fstack-protector  -c pfstatd.c
pfstatd.c: In function 'main':
pfstatd.c:162: warning: pointer targets in passing argument 3 of 'accept' differ in signedness
cc -O2 -pipe -fno-strict-aliasing  -Wall -I/usr/ports/sysutils/pfstat/work/pfstat-2.4/pfstatd/.. -std=gnu99 -fstack-protector  -c /usr/ports/sysutils/pfstat/work/pfstat-2.4/pfstatd/../pf.c
cc -O2 -pipe -fno-strict-aliasing  -Wall -I/usr/ports/sysutils/pfstat/work/pfstat-2.4/pfstatd/.. -std=gnu99 -fstack-protector   -o pfstatd pfstatd.o pf.o
gzip -cn pfstatd.8 > pfstatd.8.gz
[toor@box:/usr/ports/sysutils/pfstat] # make install
===>  Installing for pfstat-2.4_4
===>   pfstat-2.4_4 depends on shared library: gd.4 - found
===>   pfstat-2.4_4 depends on shared library: iconv.3 - found
** Missing /usr/ports/sysutils/pfstat/files/pfstatd.in for pfstat-2.4_4.
*** Error code 1

Stop in /usr/ports/sysutils/pfstat.

====================================

The only things in /usr/ports/sysutils/pfstat/files/ is pre41-patch-pf.c

>How-To-Repeat:
Run 'make install' in the port directory.
>Fix:
Add the missing file to the port skeleton ;)

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



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