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

Submitted by:  Francesco Turco <fturco>
Submitted on:  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

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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

Francesco Turco <fturco>

 

(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 fturco (10KiB - application/x-xz)
file #44463:  info.txt added by fturco (6KiB - text/plain)
file #44464:  libcdio-paranoia.log.xz added by fturco (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 fturco (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-06-30 fturco 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.3