pkgsrc-Users archive

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

Failure to build sysutils/memtestplus



With pkgsrc updated to 2017-07-07 at 06:16:30 UTC fails to build with the following errors:


=> Bootstrap dependency digest>=20010302: found digest-20160304
=> Checksum SHA1 OK for memtest86+-5.01.tar.gz
=> Checksum RMD160 OK for memtest86+-5.01.tar.gz
=> Checksum SHA512 OK for memtest86+-5.01.tar.gz
===> Installing dependencies for memtestplus-5.01nb1
==========================================================================
The supported build options for memtestplus are:

	iso serialconsole

The currently selected options are:

	iso

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

	PKG_OPTIONS.memtestplus (not defined)

==========================================================================
=> Tool dependency gmake>=3.81: found gmake-4.1nb3
=> Build dependency {cdrtools,cdrtools-ossdvd}>=2.01: found cdrtools-3.01nb1
=> Build dependency cwrappers>=20150314: found cwrappers-20170611
===> Overriding tools for memtestplus-5.01nb1
===> Extracting for memtestplus-5.01nb1
===> Patching for memtestplus-5.01nb1
=> Deleting CRs
=> Applying pkgsrc patches for memtestplus-5.01nb1
===> Creating toolchain wrappers for memtestplus-5.01nb1
===> Configuring for memtestplus-5.01nb1
===> Building for memtestplus-5.01nb1
make all
make[1]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
make[1]: Entering directory '/tmp/pkgs/sysutils/memtestplus/work.x86_64/memtest86+-5.01'
gcc -E -traditional head.S -o head.s
as -32   -o head.o head.s
gcc -c -Wall -march=i486 -m32 -O1 -fomit-frame-pointer -fno-builtin -ffreestanding -fPIC  -fno-stack-protector  -fno-strict-aliasing reloc.c
gcc -Wall -march=i486 -m32 -O1 -fomit-frame-pointer -fno-builtin -ffreestanding -fPIC  -fno-stack-protector    -c -o main.o main.c
gcc -c -Wall -march=i486 -m32 -O0 -fomit-frame-pointer -fno-builtin -ffreestanding test.c
gcc -Wall -march=i486 -m32 -O1 -fomit-frame-pointer -fno-builtin -ffreestanding -fPIC  -fno-stack-protector    -c -o init.o init.c
gcc -Wall -march=i486 -m32 -O1 -fomit-frame-pointer -fno-builtin -ffreestanding -fPIC  -fno-stack-protector    -c -o lib.o lib.c
lib.c: In function 'serial_echo_init':
lib.c:807:19: warning: variable 'lo' set but not used [-Wunused-but-set-variable]
  int comstat, hi, lo, serial_div;
                   ^
lib.c:807:15: warning: variable 'hi' set but not used [-Wunused-but-set-variable]
  int comstat, hi, lo, serial_div;
               ^
gcc -Wall -march=i486 -m32 -O1 -fomit-frame-pointer -fno-builtin -ffreestanding -fPIC  -fno-stack-protector    -c -o patn.o patn.c
gcc -Wall -march=i486 -m32 -O1 -fomit-frame-pointer -fno-builtin -ffreestanding -fPIC  -fno-stack-protector    -c -o screen_buffer.o screen_buffer.c
gcc -Wall -march=i486 -m32 -O1 -fomit-frame-pointer -fno-builtin -ffreestanding -fPIC  -fno-stack-protector    -c -o config.o config.c
gcc -Wall -march=i486 -m32 -O1 -fomit-frame-pointer -fno-builtin -ffreestanding -fPIC  -fno-stack-protector    -c -o cpuid.o cpuid.c
gcc -Wall -march=i486 -m32 -O1 -fomit-frame-pointer -fno-builtin -ffreestanding -fPIC  -fno-stack-protector    -c -o linuxbios.o linuxbios.c
gcc -Wall -march=i486 -m32 -O1 -fomit-frame-pointer -fno-builtin -ffreestanding -fPIC  -fno-stack-protector    -c -o pci.o pci.c
gcc -Wall -march=i486 -m32 -O1 -fomit-frame-pointer -fno-builtin -ffreestanding -fPIC  -fno-stack-protector    -c -o memsize.o memsize.c
gcc -Wall -march=i486 -m32 -O1 -fomit-frame-pointer -fno-builtin -ffreestanding -fPIC  -fno-stack-protector    -c -o spd.o spd.c
gcc -Wall -march=i486 -m32 -O1 -fomit-frame-pointer -fno-builtin -ffreestanding -fPIC  -fno-stack-protector    -c -o error.o error.c
gcc -Wall -march=i486 -m32 -O1 -fomit-frame-pointer -fno-builtin -ffreestanding -fPIC  -fno-stack-protector    -c -o dmi.o dmi.c
gcc -Wall -march=i486 -m32 -O1 -fomit-frame-pointer -fno-builtin -ffreestanding -fPIC  -fno-stack-protector    -c -o controller.o controller.c
controller.c: In function 'poll_timings_k16':
controller.c:3683:20: warning: variable 'rc' set but not used [-Wunused-but-set-variable]
  int cas, rcd, rp, rc, ras;
                    ^
controller.c: In function 'setup_nhm32':
controller.c:331:34: warning: iteration 3u invokes undefined behavior [-Waggressive-loop-optimizations]
   pci_conf_read( possible_nhm_bus[i], 3, 4, 0x00, 2, &vid);
                                  ^
controller.c:330:2: note: containing loop
  for(i = 0; i < sizeof(possible_nhm_bus); i++) {
  ^
controller.c: In function 'setup_nhm':
controller.c:296:34: warning: iteration 3u invokes undefined behavior [-Waggressive-loop-optimizations]
   pci_conf_read( possible_nhm_bus[i], 3, 4, 0x00, 2, &vid);
                                  ^
controller.c:295:2: note: containing loop
  for(i = 0; i < sizeof(possible_nhm_bus); i++) {
  ^
gcc -Wall -march=i486 -m32 -O1 -fomit-frame-pointer -fno-builtin -ffreestanding -fPIC  -fno-stack-protector    -c -o smp.o smp.c
smp.c: In function 'smp_find_cpus':
smp.c:513:11: warning: passing argument 1 of 'memset' discards 'volatile' qualifier from pointer target type [-Wdiscarded-array-qualifiers]
    memset(&AP, 0, sizeof AP);
           ^
smp.c:170:1: note: expected 'void *' but argument is of type 'volatile ap_info_t (*)[32] {aka volatile struct <anonymous> (*)[32]}'
 memset (void *dst,
 ^
gcc -Wall -march=i486 -m32 -O1 -fomit-frame-pointer -fno-builtin -ffreestanding -fPIC  -fno-stack-protector    -c -o vmem.o vmem.c
gcc -c -Wall -march=i486 -m32 -O3 -fomit-frame-pointer -fno-builtin -ffreestanding random.c
ld --allow-multiple-definition --warn-constructors --warn-common -static -T memtest_shared.lds \
 -o memtest_shared head.o reloc.o main.o test.o init.o lib.o patn.o screen_buffer.o config.o cpuid.o linuxbios.o pci.o memsize.o spd.o error.o dmi.o controller.o smp.o vmem.o random.o && \
ld --allow-multiple-definition -shared -Bsymbolic -T memtest_shared.lds -o memtest_shared head.o reloc.o main.o test.o init.o lib.o patn.o screen_buffer.o config.o cpuid.o linuxbios.o pci.o memsize.o spd.o error.o dmi.o controller.o smp.o vmem.o random.o
lib.o: In function `dprint':
lib.c:(.text+0x5ac): undefined reference to `__stack_chk_guard'
lib.c:(.text+0x723): undefined reference to `__stack_chk_guard'
lib.c:(.text+0x730): undefined reference to `__stack_chk_fail_local'
lib.o: In function `hprint2':
lib.c:(.text+0x82e): undefined reference to `__stack_chk_guard'
lib.c:(.text+0x8bc): undefined reference to `__stack_chk_guard'
lib.c:(.text+0x8c9): undefined reference to `__stack_chk_fail_local'
lib.o: In function `hprint3':
lib.c:(.text+0x8ed): undefined reference to `__stack_chk_guard'
lib.c:(.text+0x970): undefined reference to `__stack_chk_guard'
lib.c:(.text+0x97d): undefined reference to `__stack_chk_fail_local'
lib.o: In function `getval':
lib.c:(.text+0x1217): undefined reference to `__stack_chk_guard'
lib.c:(.text+0x159b): undefined reference to `__stack_chk_guard'
lib.c:(.text+0x15f3): undefined reference to `__stack_chk_fail_local'
config.o: In function `get_config':
config.c:(.text+0x3c3): undefined reference to `__stack_chk_guard'
config.c:(.text+0xcc5): undefined reference to `__stack_chk_guard'
config.c:(.text+0xcd2): undefined reference to `__stack_chk_fail_local'
Makefile:29: recipe for target 'memtest_shared' failed
make[1]: *** [memtest_shared] Error 1
make[1]: Leaving directory '/tmp/pkgs/sysutils/memtestplus/work.x86_64/memtest86+-5.01'
Makefile:73: recipe for target 'iso' failed
gmake: *** [iso] Error 2
*** Error code 2

Stop.
make[1]: stopped in /build/pkgsrc/sysutils/memtestplus
*** Error code 1

Stop.
make: stopped in /build/pkgsrc/sysutils/memtestplus





+------------------+--------------------------+----------------------------+
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:          |
| (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at whooppee dot com   |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd dot org |
+------------------+--------------------------+----------------------------+


Home | Main Index | Thread Index | Old Index