Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Jan 2013 13:04:33 GMT
From:      Matthias Andree <mandree@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/175261: ports-mgmt/pkg: does not compile on 9.0 i386
Message-ID:  <201301131304.r0DD4XAt099785@red.freebsd.org>
Resent-Message-ID: <201301131310.r0DDA0ho031102@freefall.freebsd.org>

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

>Number:         175261
>Category:       ports
>Synopsis:       ports-mgmt/pkg: does not compile on 9.0 i386
>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:   Sun Jan 13 13:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Matthias Andree
>Release:        9.0-RELEASE-p5
>Organization:
FreeBSD ports
>Environment:
FreeBSD vmfreebsd9.32 9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #0: Tue Jun 12 01:47:53 UTC 2012     root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
cc -O2 -pipe -fno-strict-aliasing  -std=c99 -I/usr/ports/ports-mgmt/pkg/work/pkg-1.0.4/libpkg  -I/usr/ports/ports-mgmt/pkg/work/pkg-1.0.4/libpkg/../external/sqlite  -I/usr/ports/ports-mgmt/pkg/work/pkg-1.0.4/libpkg/../external/libyaml/include -DPREFIX=\"/usr/local\" -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c backup.c
cc1: warnings being treated as errors
backup.c: In function 'copy_database':
backup.c:64: warning: 'done' may be used uninitialized in this function
backup.c:63: warning: 'total' may be used uninitialized in this function
*** Error code 1

Stop in /usr/ports/ports-mgmt/pkg/work/pkg-1.0.4/libpkg.

>How-To-Repeat:
portsnap fetch update
cd /usr/ports/ports-mgmt/pkg
make

>Fix:


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



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