Current-Users archive

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

Re: link problems



On 10/09/13 08:56, Thomas Mueller wrote:
My build just finished:
In the current state my amd64 build shows ~90 packages the
aforementioned show link failures.
Right now -current as of 2013-10-03 and pkgsrc 2013Q3 do not get along
very well.
So we need a general binutils fix or fix 90+ packages.
Frank
Could this have been the reason why my attempted build of sysutils/grub2 on 
NetBSD-current (6.99.23) amd64 failed?
Probably not. My grub2 build faild with:
gcc -DHAVE_CONFIG_H -I. -Wall -W -I./include -DGRUB_UTIL=1 -DGRUB_LIBDIR=\"/usr/pkg/lib/grub\" -DLOCALEDIR=\"/usr/pkg/share/locale\" -DGRUB_FILE=\"grub-core/kern/list.c\" -I. -I. -I. -I. -I./include -I./include -I./grub-core/gnulib -I./grub-core/gnulib -I/usr/pkg/include -I/usr/X11R7/include/freetype2 -I/usr/include -Wall -W -Wshadow -Wold-style-definition -Wpointer-arith -Wundef -Wextra -Waddress -Wattributes -Wcast-align -Wchar-subscripts -Wcomment -Wdeprecated-declarations -Wdisabled-optimization -Wdiv-by-zero -Wempty-body -Wendif-labels -Wfloat-equal -Wformat-extra-args -Wformat-security -Wformat-y2k -Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Winit-self -Wint-to-pointer-cast -Winvalid-pch -Wmain -Wmissing-braces -Wmissing-field-initializers -Wmissing-format-attribute -Wmissing-noreturn -Wmultichar -Wnonnull -Woverflow -Wparentheses -Wpointer-arith -Wpointer-to-int-cast -Wreturn-type -Wsequence-point -Wshadow -Wsign-compare -Wstrict-aliasing -Wswitch -Wtrigraphs -Wundef -Wunknown-pragmas -Wunused -Wunused-function -Wunused-label -Wunused-parameter -Wunused-value -Wunused-variable -Wvariadic-macros -Wvolatile-register-var -Wwrite-strings -Wnested-externs -Wstrict-prototypes -Wpointer-sign -Werror -Wno-undef -Wno-sign-compare -Wno-unused -Wno-unused-parameter -Wno-redundant-decls -Wno-unreachable-code -Wno-conversion -Wno-old-style-definition -Wno-unsafe-loop-optimizations -O2 -I/usr/pkg/include -I/usr/X11R7/include/freetype2 -I/usr/include -MT grub-core/kern/libgrubkern_a-list.o -MD -MP -MF grub-core/kern/.deps-util/libgrubkern_a-list.Tpo -c -o grub-core/kern/libgrubkern_a-list.o `test -f 'grub-core/kern/list.c' || echo './'`grub-core/kern/list.c
cc1: warnings being treated as errors
util/getroot.c: In function 'find_root_devices_from_poolname':
util/getroot.c:272:26: error: unused variable 'path'
util/getroot.c: At top level:
util/getroot.c:224:1: error: 'exec_pipe' defined but not used
gmake[2]: *** [util/libgrubkern_a-getroot.o] Error 1

This a a genuine lapse in the code (somebody should at least put a patch in pkgsrc.
That was just two days and a some hours ago, Oct 7 at 2:24 UTC.

I use current rather than quarterly pkgsrc.


Tom
Frank


Home | Main Index | Thread Index | Old Index