NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

lib/48094: librump build failure



>Number:         48094
>Category:       lib
>Synopsis:       librump build failure
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jul 29 01:25:00 +0000 2013
>Originator:     Brad Harder
>Release:        -current, amd64
>Organization:
Method Logic Digital
>Environment:
NetBSD kamloops 6.99.23 NetBSD 6.99.23 (GENERIC) #264: Sun Jul 28 17:37:11 PDT 
2013  root@kamloops:/usr/obj/sys/arch/amd64/compile/GENERIC amd64
>Description:
--- dependall ---                                                               
                                                                                
                                          [32/1871]
dependall ===> lib/librumpuser
--- dependall ---
--- /usr/src/obj/destdir.amd64/usr/include/rump/rumpuser.h ---
--- /usr/src/obj/destdir.amd64/usr/include/rump/rumpuser_component.h ---
dependall ===> lib/librumphijack
--- hijack.d ---
#    create  librumphijack/hijack.d
CC=/usr/src/obj/tooldir.NetBSD-6.99.23-amd64/bin/x86_64--netbsd-gcc 
/usr/src/obj/tooldir.NetBSD-6.99.23-amd64/bin/nbmkdep -f hijack.d  --      
-D_DIAGNOSTIC -D_REENTRANT -I/usr/src/lib/librumphijack/../librumpus
er -U_FORTIFY_SOURCE --sysroot=/usr/src/obj/destdir.amd64  -D_FORTIFY_SOURCE=2  
/usr/src/lib/librumphijack/hijack.c
--- .depend ---
#    create  librumphijack/.depend
rm -f .depend
CC=/usr/src/obj/tooldir.NetBSD-6.99.23-amd64/bin/x86_64--netbsd-gcc 
/usr/src/obj/tooldir.NetBSD-6.99.23-amd64/bin/nbmkdep -s .o\ .po\ .pico\ .go\ 
.ln -d -f .depend hijack.d hijackdlsym.d
--- dependall ---
--- hijack.pico ---
--- hijack.ln ---
--- hijack.pico ---
#   compile  librumphijack/hijack.pico
/usr/src/obj/tooldir.NetBSD-6.99.23-amd64/bin/x86_64--netbsd-gcc -O2 -std=gnu99 
 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith 
-Wno-sign-compare  -Wno-traditional  -Wa,--fatal-warnings -Wreturn-
type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra 
-Wno-unused-parameter -Wno-sign-compare -Wold-style-definition -Wsign-compare 
-Wformat=2   -Wno-format-zero-length  -Werror   -fstack-protector -Wstack-
protector   --param ssp-buffer-size=1   -D_DIAGNOSTIC -D_REENTRANT 
-I/usr/src/lib/librumphijack/../librumpuser -U_FORTIFY_SOURCE 
--sysroot=/usr/src/obj/destdir.amd64  -D_FORTIFY_SOURCE=2 -c    -fPIC -DPIC 
/usr/s
rc/lib/librumphijack/hijack.c -o hijack.pico
--- hijack.ln ---
#   compile  librumphijack/hijack.ln
CC=/usr/src/obj/tooldir.NetBSD-6.99.23-amd64/bin/x86_64--netbsd-gcc 
/usr/src/obj/tooldir.NetBSD-6.99.23-amd64/bin/x86_64--netbsd-lint -chapbxzFS -d 
/usr/src/obj/destdir.amd64/usr/include   -D_DIAGNOSTIC -D_REENT
RANT -I/usr/src/lib/librumphijack/../librumpuser -U_FORTIFY_SOURCE 
-D_FORTIFY_SOURCE=2    -i /usr/src/lib/librumphijack/hijack.c
--- hijack.pico ---
/usr/src/lib/librumphijack/hijack.c:2463:1: error: redefinition of 'readlink'
/usr/src/obj/destdir.amd64/usr/include/ssp/unistd.h:42:1: note: previous 
definition of 'readlink' was here
*** [hijack.pico] Error code 1

nbmake[6]: stopped in /usr/src/lib/librumphijack
--- hijack.ln ---
/usr/src/lib/librumphijack/hijack.c(450): warning: constant in conditional 
context [161]
/usr/src/lib/librumphijack/hijack.c(462): warning: constant in conditional 
context [161]
/usr/src/lib/librumphijack/hijack.c(794): warning: conversion from 'unsigned 
long' to 'int' may lose accuracy [132]
/usr/src/lib/librumphijack/hijack.c(1510): warning: pointer casts may be 
troublesome [247]
/usr/src/lib/librumphijack/hijack.c(1510): warning: pointer casts may be 
troublesome [247]
/usr/src/lib/librumphijack/hijack.c(1695): warning: empty declaration [0]
/usr/src/lib/librumphijack/hijack.c(2356): warning: empty declaration [0]
/usr/src/lib/librumphijack/hijack.c(852): warning: static function rcinit 
unused [236]
1 error

nbmake[6]: stopped in /usr/src/lib/librumphijack
*** [dependall] Error code 2

>How-To-Repeat:
using latest (Sun Jul 28 18:27:42 PDT 2013) code, ./build.sh -j4 -u -x 
distribution.

>Fix:



Home | Main Index | Thread Index | Old Index