Current-Users archive

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

Re: Another build failure (rumphijack)



On Thu, Mar 03, 2011 at 01:43:54PM +0200, Antti Kantee wrote:
> Ok, but what's the error?  Those are all non-fatal lint warnings.

Here is the complete log (again due USE_FORT=yes):

 .po\ .pico\ .go\ .ln hijack.d hijackdlsym.d
#   compile  librumphijack/hijack.ln
CC=/usr/tools/bin/x86_64--netbsd-gcc /usr/tools/bin/x86_64--netbsd-lint
# -chapbxzFS -d /usr/obj/destdir.amd64/usr/include  -D_DIAGNOSTIC
# - -D_REENTRANT -D_FORTIFY_SOURCE=2    -i
# - - /usr/src/lib/librumphijack/hijack.c
/usr/src/lib/librumphijack/hijack.c(288): warning: constant in conditional
/  context [161]
/usr/src/lib/librumphijack/hijack.c(300): warning: constant in conditional
/ context [161]
/usr/src/lib/librumphijack/hijack.c(1186): warning: syntax error: empty
/ declaration [0]
/usr/src/lib/librumphijack/hijack.c(1803): warning: syntax error: empty
/ declaration [0]
/usr/src/lib/librumphijack/hijack.c(237): warning: static variable
/ host_execve set but not used [307]
/usr/src/lib/librumphijack/hijack.c(526): warning: static function rcinit
/ unused [236]
#   compile  librumphijack/hijack.pico
/usr/tools/bin/x86_64--netbsd-gcc -O2 -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 -Wsign-compare
# - - - -std=gnu99  -Werror  -fstack-protector -Wstack-protector --param
# - - - - ssp-buffer-size=1  -D_DIAGNOSTIC -D_REENTRANT  -D_FORTIFY_SOURCE=2
# - - - - -nostdinc -isystem /usr/obj/destdir.amd64/usr/include -c    -fPIC
# - - - - - -DPIC /usr/src/lib/librumphijack/hijack.c -o hijack.pico
cc1: warnings being treated as errors
/usr/src/lib/librumphijack/hijack.c:1740: warning: no previous prototype for
/  '_hijack_readlink'
/usr/src/lib/librumphijack/hijack.c:1747: warning: no previous prototype for
/ '_hijack_getcwd'
/usr/src/lib/librumphijack/hijack.c:1894: error: redefinition of 'readlink'
/usr/obj/destdir.amd64/usr/include/ssp/unistd.h:42: error: previous
/definition of 'readlink' was here

*** Failed target:  hijack.pico
*** Failed command: /usr/tools/bin/x86_64--netbsd-gcc -O2 -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 -Wsign-compare -std=gnu99 -Werror
*** - - - - -fstack-protector -Wstack-protector --param ssp-buffer-size=1
*** - - - - - -D_DIAGNOSTIC -D_REENTRANT -D_FORTIFY_SOURCE=2 -nostdinc
*** - - - - - - -isystem /usr/obj/destdir.amd64/usr/include -c -fPIC -DPIC
*** - - - - - - - /usr/src/lib/librumphijack/hijack.c -o hijack.pico
*** Error code 1

Stop.
nbmake: stopped in /usr/src/lib/librumphijack

*** Failed target:  dependall
*** Failed command: cd "/usr/src/lib/librumphijack"; /usr/tools/bin/nbmake
*** realall
*** Error code 1

Stop.
nbmake: stopped in /usr/src/lib/librumphijack

*** Failed target:  dependall-librumphijack
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift;
*** case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="lib/";
*** real="/usr/src/lib" ;; *) this="lib/${dir}/"; real="/usr/src/lib/${dir}"
*** ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with:
*** ;; $@)}"; cd "${real}" && /usr/tools/bin/nbmake _THISDIR_="${this}" "$@"
*** ;; ${target}; }; _makedirtarget librumphijack dependall
*** Error code 1

- Jukka.


Home | Main Index | Thread Index | Old Index