bugCompact Disc Input and Control Library - Bugs: bug #54211, Warning messages when building...

 
 

bug #54211: Warning messages when building dev-libs/libcdio and dev-libs/libcdio-paranoia

Submitter:  - <_78879>
Submitted:  Sat 30 Jun 2018 11:15:44 AM UTC
   
 
Category:  compilation Severity:  5 - Average
Item Group:  libcdio Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 30 Jun 2018 11:15:44 AM UTC, original submission:  

The Portage package manager reports the following warning messages when building dev-libs/libcdio-2.0.0-r1 on Gentoo Linux:

  • QA Notice: Package triggers severe warnings which indicate that it
  •            may exhibit random runtime failures.
  • ../../../libcdio-2.0.0/lib/iso9660/iso9660_fs.c:846:40: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
  • ../../../libcdio-2.0.0/lib/iso9660/iso9660_fs.c:848:41: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
  • ../../../libcdio-2.0.0/lib/iso9660/iso9660.c:636:17: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]



Portage also reports other warnings when bulding dev-libs/libcdio-paranoia-0.94_p2:

  • QA Notice: Package triggers severe warnings which indicate that it
  •            may exhibit random runtime failures.
  • /var/tmp/portage/dev-libs/libcdio-paranoia-0.94_p2/work/libcdio-paranoia-10.2+0.94+2/src/cd-paranoia.c:1320:57: warning: argument to ‘sizeof’ in ‘strncat’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
  • /var/tmp/portage/dev-libs/libcdio-paranoia-0.94_p2/work/libcdio-paranoia-10.2+0.94+2/src/cd-paranoia.c:1323:57: warning: argument to ‘sizeof’ in ‘strncat’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
  • /var/tmp/portage/dev-libs/libcdio-paranoia-0.94_p2/work/libcdio-paranoia-10.2+0.94+2/src/cd-paranoia.c:1326:58: warning: argument to ‘sizeof’ in ‘strncat’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
  • /var/tmp/portage/dev-libs/libcdio-paranoia-0.94_p2/work/libcdio-paranoia-10.2+0.94+2/src/cd-paranoia.c:1329:58: warning: argument to ‘sizeof’ in ‘strncat’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
  • /var/tmp/portage/dev-libs/libcdio-paranoia-0.94_p2/work/libcdio-paranoia-10.2+0.94+2/src/cd-paranoia.c:1355:53: warning: argument to ‘sizeof’ in ‘strncat’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
  • /var/tmp/portage/dev-libs/libcdio-paranoia-0.94_p2/work/libcdio-paranoia-10.2+0.94+2/src/cd-paranoia.c:1358:53: warning: argument to ‘sizeof’ in ‘strncat’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
  • /var/tmp/portage/dev-libs/libcdio-paranoia-0.94_p2/work/libcdio-paranoia-10.2+0.94+2/src/cd-paranoia.c:1361:54: warning: argument to ‘sizeof’ in ‘strncat’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
  • /var/tmp/portage/dev-libs/libcdio-paranoia-0.94_p2/work/libcdio-paranoia-10.2+0.94+2/src/cd-paranoia.c:1364:54: warning: argument to ‘sizeof’ in ‘strncat’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]



Compiler: sys-devel/gcc-8.1.0-r3

- <_78879>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #44462:  libcdio.log.xz added by _78879 (10KiB - application/x-xz)
file #44463:  info.txt added by _78879 (6KiB - text/plain)
file #44464:  libcdio-paranoia.log.xz added by _78879 (8KiB - application/x-xz)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by _78879 (Submitted the item)
  •  

    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.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-06-30 _78879 Attached File- Added libcdio.log.xz, #44462
        Attached File- Added info.txt, #44463
        Attached File- Added libcdio-paranoia.log.xz, #44464

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code