ubuntu_vfat_stress failed to build on Groovy

Bug #1896010 reported by Po-Hsu Lin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Stress-ng
Fix Released
High
Colin Ian King
ubuntu-kernel-tests
Fix Released
Undecided
Colin Ian King

Bug Description

Issue found on 5.6.0-1028.28 with stress-ng test suite HEAD SHA1: 7c050bb

CC stress-watchdog.c
CC stress-wcstr.c
CC stress-x86syscall.c
CC stress-xattr.c
CC stress-yield.c
CC stress-zero.c
CC stress-zlib.c
CC stress-zombie.c
CC stress-io-uring.c
CC stress-personality.c
LD stress-ng
make[1]: Leaving directory '/home/ubuntu/autotest/client/tmp/ubuntu_vfat_stress/src/stress-ng'
stderr:
make[1]: warning: -j1 forced in submake: resetting jobserver mode.
stress-dir.c: In function 'stress_mkdir':
stress-dir.c:134:9: warning: implicit declaration of function 'strlcpy'; did you mean 'strncpy'? [-Wimplicit-function-declaration]
  134 | (void)strlcpy(tmp, path, sizeof(tmp));
      | ^~~~~~~
      | strncpy
/usr/bin/ld: stress-dir.o: in function `stress_dir':
stress-dir.c:(.text+0x258): undefined reference to `strlcpy'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:369: stress-ng] Error 1
make: *** [Makefile:349: all] Error 2

Po-Hsu Lin (cypressyew)
tags: added: groovy sru-20200831 ubuntu-vfat-stress
Revision history for this message
Colin Ian King (colin-king) wrote :
Changed in stress-ng:
status: New → Fix Committed
importance: Undecided → High
assignee: nobody → Colin Ian King (colin-king)
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Test rescheduled.

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

Test passed now.
Thank you for the quick fix.

Changed in stress-ng:
status: Fix Committed → Fix Released
Changed in ubuntu-kernel-tests:
status: New → Fix Released
assignee: nobody → Colin Ian King (colin-king)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.