bugXlog - Bugs: bug #60145, xlog fails to build on raspberry pi

 
 

bug #60145: xlog fails to build on raspberry pi

Submitter:  None
Submitted:  Mon 01 Mar 2021 02:01:57 AM UTC
   
 
Category:  General Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 14 Apr 2021 03:23:42 AM UTC, comment #1: 

See bug 60391 for the workaround

-email is unavailable- AI7FN

Anonymous
Mon 01 Mar 2021 02:01:57 AM UTC, original submission:  

after running make on a Pi 3 with hamlib 4.1 installed I receive the following error.

'strncpy' source argument is the same as destination

Entire output below:

pi@raspberrypi:~/xlog-2.0.22 $ make
Making all in src
make[1]: Entering directory '/home/pi/xlog-2.0.22/src'
Making all in logfile
make[2]: Entering directory '/home/pi/xlog-2.0.22/src/logfile'
gcc -DPACKAGE_NAME=\"xlog\" -DPACKAGE_TARNAME=\"xlog\" -DPACKAGE_VERSION=\"2.0.22\" -DPACKAGE_STRING=\"xlog\ 2.0.22\" -DPACKAGE_BUGREPORT=\"kb1oiq@arrl.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xlog\" -DVERSION=\"2.0.22\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_IPC_H=1 -DHAVE_SYS_SHM_H=1 -DHAVE_STRPTIME=1 -DHAVE_STRCHR=1 -DHAVE_INDEX=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -I.  -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include   -g -O2 -Werror -Wno-deprecated-declarations -Wall -Wno-stringop-truncation -Wno-unused-but-set-variable -MT logfile.o -MD -MP -MF .deps/logfile.Tpo -c -o logfile.o logfile.c
mv -f .deps/logfile.Tpo .deps/logfile.Po
gcc -DPACKAGE_NAME=\"xlog\" -DPACKAGE_TARNAME=\"xlog\" -DPACKAGE_VERSION=\"2.0.22\" -DPACKAGE_STRING=\"xlog\ 2.0.22\" -DPACKAGE_BUGREPORT=\"kb1oiq@arrl.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xlog\" -DVERSION=\"2.0.22\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_IPC_H=1 -DHAVE_SYS_SHM_H=1 -DHAVE_STRPTIME=1 -DHAVE_STRCHR=1 -DHAVE_INDEX=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -I.  -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include   -g -O2 -Werror -Wno-deprecated-declarations -Wall -Wno-stringop-truncation -Wno-unused-but-set-variable -MT flog.o -MD -MP -MF .deps/flog.Tpo -c -o flog.o flog.c
mv -f .deps/flog.Tpo .deps/flog.Po
gcc -DPACKAGE_NAME=\"xlog\" -DPACKAGE_TARNAME=\"xlog\" -DPACKAGE_VERSION=\"2.0.22\" -DPACKAGE_STRING=\"xlog\ 2.0.22\" -DPACKAGE_BUGREPORT=\"kb1oiq@arrl.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xlog\" -DVERSION=\"2.0.22\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_IPC_H=1 -DHAVE_SYS_SHM_H=1 -DHAVE_STRPTIME=1 -DHAVE_STRCHR=1 -DHAVE_INDEX=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -I.  -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include   -g -O2 -Werror -Wno-deprecated-declarations -Wall -Wno-stringop-truncation -Wno-unused-but-set-variable -MT twlog.o -MD -MP -MF .deps/twlog.Tpo -c -o twlog.o twlog.c
mv -f .deps/twlog.Tpo .deps/twlog.Po
gcc -DPACKAGE_NAME=\"xlog\" -DPACKAGE_TARNAME=\"xlog\" -DPACKAGE_VERSION=\"2.0.22\" -DPACKAGE_STRING=\"xlog\ 2.0.22\" -DPACKAGE_BUGREPORT=\"kb1oiq@arrl.net\" -DPACKAGE_URL=\"\" -DPACKAGE=\"xlog\" -DVERSION=\"2.0.22\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_IPC_H=1 -DHAVE_SYS_SHM_H=1 -DHAVE_STRPTIME=1 -DHAVE_STRCHR=1 -DHAVE_INDEX=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -I.  -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include   -g -O2 -Werror -Wno-deprecated-declarations -Wall -Wno-stringop-truncation -Wno-unused-but-set-variable -MT adif3.o -MD -MP -MF .deps/adif3.Tpo -c -o adif3.o adif3.c
adif3.c: In function ‘adif_qso_append’:
adif3.c:527:4: error: ‘strncpy’ source argument is the same as destination [-Werror=restrict]
    strncpy (qfield, q[fld], qfield_len);  // Save the string from start to space, not including the space.
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[2]: * [Makefile:370: adif3.o] Error 1
make[2]: Leaving directory '/home/pi/xlog-2.0.22/src/logfile'
make[1]: * [Makefile:600: all-recursive] Error 1
make[1]: Leaving directory '/home/pi/xlog-2.0.22/src'
make: * [Makefile:381: all-recursive] Error 1

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

No changes have been made to this item

Back to the top

Powered by Savane 3.13-f8d8.
Corresponding source code