NetBSD-Bugs archive

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

Re: kern/56160: Mount ntfs usb disk



The following reply was made to PR kern/56160; it has been noted by GNATS.

From: Paul Goyette <paul%whooppee.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: kern/56160: Mount ntfs usb disk
Date: Sun, 9 May 2021 07:22:32 -0700 (PDT)

 Inckluding contents from pastebin.com:
 
 #   compile  csh/printf.o
 /build/netbsd-local/tools/x86_64/amd64/bin/x86_64--netbsd-gcc -O2   -fPIE  -g   -std=gnu99    -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare  -Wsystem-headers   -Wno-traditional   -Wa,--fatal-warnings  -Wreturn-type -Wswitch -Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -Wno-sign-compare -Wold-style-definition -Wconversion -Wsign-compare -Wformat=2  -Wno-format-zero-length  -Werror     --sysroot=/build/netbsd-local/dest/amd64 -I/build/netbsd-local/src_ro/bin/csh -I. -DBUILTIN -DFILEC -DNLS -DSHORT_STRINGS -DEDIT  -c -Wno-format-nonliteral   /build/netbsd-local/src_ro/usr.bin/printf/printf.c -o printf.o.o
 /build/netbsd-local/src_ro/usr.bin/printf/printf.c: In function 'conv_escape':
 /build/netbsd-local/src_ro/usr.bin/printf/printf.c:508:14: error: conversion from 'int' to 'char' may change value [-Werror=conversion]
    508 |    value <<= 3;
        |              ^
 /build/netbsd-local/src_ro/usr.bin/printf/printf.c:122:21: error: conversion from 'int' to 'char' may change value [-Werror=conversion]
    122 | #define octtobin(c) (char)((c) - '0')
        |                     ^
 /build/netbsd-local/src_ro/usr.bin/printf/printf.c:509:13: note: in expansion of macro 'octtobin'
    509 |    value += octtobin(*str);
        |             ^~~~~~~~
 /build/netbsd-local/src_ro/usr.bin/printf/printf.c:522:14: error: conversion from 'int' to 'char' may change value [-Werror=conversion]
    522 |    value <<= 4;
        |              ^
 /build/netbsd-local/src_ro/usr.bin/printf/printf.c:524:13: error: conversion from 'int' to 'char' may change value [-Werror=conversion]
    524 |    value += d;
        |             ^
 cc1: all warnings being treated as errors
 *** [printf.o] Error code 1
 nbmake[7]: stopped in /build/netbsd-local/src_ro/bin/csh
 
 
 On Sun, 9 May 2021, osvaldo.frassine%disroot.org@localhost wrote:
 
 >> Number:         56160
 >> Category:       kern
 >> Synopsis:       Mount ntfs usb disk
 >> Confidential:   no
 >> Severity:       non-critical
 >> Priority:       medium
 >> Responsible:    kern-bug-people
 >> State:          open
 >> Class:          sw-bug
 >> Submitter-Id:   net
 >> Arrival-Date:   Sun May 09 13:05:01 +0000 2021
 >> Originator:     Osvaldo Frassine
 >> Release:        NetBSD 9.1_STABLE (GENERIC) #0: Mon Apr 26 18:36:07 UTC 2021
 >> Organization:
 >> Environment:
 > NetBSD lancelot.local 9.1_STABLE NetBSD 9.1_STABLE (GENERIC) #0: Mon Apr 26 18:36:07 UTC 2021  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/amd64/compile/GENERIC amd64
 >> Description:
 > Error log: https://pastebin.com/8tn0puwa
 >> How-To-Repeat:
 > I did:
 > mount -t ntfs /dev/sd0e /mnt/usb1
 >> Fix:
 >
 >
 > !DSPAM:6097eca6203897306940289!
 >
 >
 
 +--------------------+--------------------------+-----------------------+
 | Paul Goyette       | PGP Key fingerprint:     | E-mail addresses:     |
 | (Retired)          | FA29 0E3B 35AF E8AE 6651 | paul%whooppee.com@localhost     |
 | Software Developer | 0786 F758 55DE 53BA 7731 | pgoyette%netbsd.org@localhost   |
 +--------------------+--------------------------+-----------------------+
 


Home | Main Index | Thread Index | Old Index