bcl / parted

parted the partition editor
GNU General Public License v3.0
7 stars 2 forks source link

Segfault on resizepart in bhyve guest #7

Closed internationils closed 5 years ago

internationils commented 5 years ago
nils@host:~$ sudo parted                                                
GNU Parted 3.2
Using /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) p                                                                
Model: ATA BHYVE SATA DISK (scsi)
Disk /dev/sda: 17.2GB
Sector size (logical/physical): 512B/8192B
Partition Table: msdos
Disk Flags: 

Number  Start   End     Size    Type     File system  Flags
 1      32.3kB  8168MB  8168MB  primary  ext3         boot

(parted) p devices                                                        
/dev/sda (17.2GB)
(parted) resize 1 15360                                                   
Error: The resize command has been removed in parted 3.0
(parted) resizepart 1 15360                                                   

You found a bug in GNU Parted! Here's what you have to do:

Don't panic! The bug has most likely not affected any of your data.
Help us to fix this bug by doing the following:

Check whether the bug has already been fixed by checking
the last version of GNU Parted that you can find at:

        http://ftp.gnu.org/gnu/parted/

Please check this version prior to bug reporting.

If this has not been fixed yet or if you don't know how to check,
please visit the GNU Parted website:

        http://www.gnu.org/software/parted

for further information.

Your report should contain the version of this release (3.2)
along with the error message below, the output of

        parted DEVICE unit co print unit s print

and the following history of commands you entered.
Also include any additional information about your setup you
consider important.

Command History:
p
p devices
resize 1 15360
resizepart 1 15360

Error: SEGV_MAPERR (Address not mapped to object)
Backtrace has 11 calls on stack:
  11: /lib/x86_64-linux-gnu/libparted.so.2(ped_assert+0x45) [0x7fecfa2f2fc5]
  10: parted(+0xae42) [0x55f21f44ae42]
  9: /lib/x86_64-linux-gnu/libc.so.6(+0x33060) [0x7fecf9b03060]
  8: /lib/x86_64-linux-gnu/libc.so.6(strlen+0x26) [0x7fecf9b50676]
  7: /lib/x86_64-linux-gnu/libparted.so.2(+0x16446) [0x7fecfa2fc446]
  6: /lib/x86_64-linux-gnu/libparted.so.2(+0x173b4) [0x7fecfa2fd3b4]
  5: parted(+0x80a9) [0x55f21f4480a9]
  4: parted(interactive_mode+0x120) [0x55f21f44d0b0]
  3: parted(main+0x142b) [0x55f21f4461eb]
  2: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf1) [0x7fecf9af02e1]
  1: parted(_start+0x2a) [0x55f21f44624a]

You found a bug in GNU Parted! Here's what you have to do:

Don't panic! The bug has most likely not affected any of your data.
Help us to fix this bug by doing the following:

Check whether the bug has already been fixed by checking
the last version of GNU Parted that you can find at:

        http://ftp.gnu.org/gnu/parted/

Please check this version prior to bug reporting.

If this has not been fixed yet or if you don't know how to check,
please visit the GNU Parted website:

        http://www.gnu.org/software/parted

for further information.

Your report should contain the version of this release (3.2)
along with the error message below, the output of

        parted DEVICE unit co print unit s print

and the following history of commands you entered.
Also include any additional information about your setup you
consider important.

Assertion (0) at ../../parted/ui.c:356 in function sa_sigsegv_handler() failed.

Aborted                                                                   

nils@host:~$ sudo parted /dev/sda unit co print unit s print
Model: ATA BHYVE SATA DISK (scsi)
Disk /dev/sda: 17.2GB
Sector size (logical/physical): 512B/8192B
Partition Table: msdos
Disk Flags: 

Number  Start   End     Size    Type     File system  Flags
 1      32.3kB  8168MB  8168MB  primary  ext3         boot

Model: ATA BHYVE SATA DISK (scsi)
Disk /dev/sda: 33554432s
Sector size (logical/physical): 512B/8192B
Partition Table: msdos
Disk Flags: 

Number  Start  End        Size       Type     File system  Flags
 1      63s    15952544s  15952482s  primary  ext3         boot
internationils commented 5 years ago

GUEST:

$ uname -a
Linux dpim64 4.9.0-11-amd64 #1 SMP Debian 4.9.189-3+deb9u1 (2019-09-20) x86_64 GNU/Linux

HOST:

$ uname -a
FreeBSD freenas.myhost.net 11.2-STABLE FreeBSD 11.2-STABLE #0 r325575+5920981193f(HEAD): Mon Sep 16 23:00:13 UTC 2019     root@nemesis:/freenas-releng/freenas/_BE/objs/freenas-releng/freenas/_BE/os/sys/FreeNAS.amd64  amd64

$ iohyve list
Guest      VMM?  Running  rcboot?  Description
www-bhyve  YES   YES      YES      Sat Mar  4 16:29:47 CET 2017

$ iohyve info
Guest                              Size  CPU  RAM  Pool
www-bhyve                          -     2    4GB  maindata
www-bhyve/disk0                    16G   -    -    maindata
www-bhyve/disk0_dpim64_gui_clone0  16G   -    -    maindata
bcl commented 5 years ago

Thanks, I think this commit fixes that https://github.com/bcl/parted/commit/883813c365482d06d05a1998e066792c48156f23

internationils commented 5 years ago

I'm going to hijack this bug a bit to try and get build instructions into the README / git main page. So far:

nils@host:~/downloads/parted$ sudo apt install autoconf
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  automake
Suggested packages:
  autoconf-archive gnu-standards autoconf-doc
The following NEW packages will be installed:
  autoconf automake
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 1,071 kB of archives.
After this operation, 3,661 kB of additional disk space will be used.
Do you want to continue? [Y/n] 
Get:1 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 autoconf all 2.69-10 [338 kB]
Get:2 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 automake all 1:1.15-6 [733 kB]
Fetched 1,071 kB in 0s (1,402 kB/s)
Retrieving bug reports... Done[A
Parsing Found/Fixed information... Done
Selecting previously unselected package autoconf.
(Reading database ... 178567 files and directories currently installed.)
Preparing to unpack .../autoconf_2.69-10_all.deb ...
Unpacking autoconf (2.69-10) ...
Selecting previously unselected package automake.
Preparing to unpack .../automake_1%3a1.15-6_all.deb ...
Unpacking automake (1:1.15-6) ...
Processing triggers for install-info (6.3.0.dfsg.1-1+b2) ...
Setting up autoconf (2.69-10) ...
Setting up automake (1:1.15-6) ...
update-alternatives: using /usr/bin/automake-1.15 to provide /usr/bin/automake (automake) in auto mode
Processing triggers for man-db (2.7.6.1-2) ...
nils@host:~/downloads/parted$ autoconf
sh: 1: build-aux/git-version-gen: not found
configure.ac:55: error: possibly undefined macro: AM_INIT_AUTOMAKE
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:57: error: possibly undefined macro: AM_SILENT_RULES
configure.ac:150: error: possibly undefined macro: AM_CPPFLAGS
configure.ac:156: error: possibly undefined macro: AM_PROG_CC_C_O
configure.ac:264: error: possibly undefined macro: AM_ENABLE_SHARED
configure.ac:273: error: possibly undefined macro: AM_DISABLE_SHARED
configure.ac:275: error: possibly undefined macro: AC_PROG_LIBTOOL
configure.ac:278: error: possibly undefined macro: AM_ICONV
configure.ac:280: error: possibly undefined macro: AM_GNU_GETTEXT_VERSION
configure.ac:281: error: possibly undefined macro: AM_GNU_GETTEXT
configure.ac:509: error: possibly undefined macro: AM_CONDITIONAL
configure.ac:519: error: possibly undefined macro: AC_PROG_LD
nils@host:~/downloads/parted$ autoreconf -i
Copying file ABOUT-NLS
Copying file build-aux/config.rpath
Copying file m4/codeset.m4
Copying file m4/fcntl-o.m4
Copying file m4/gettext.m4
Copying file m4/glibc2.m4
Copying file m4/glibc21.m4
Copying file m4/iconv.m4
Copying file m4/intdiv0.m4
Copying file m4/intl.m4
Copying file m4/intldir.m4
Copying file m4/intlmacosx.m4
Copying file m4/intmax.m4
Copying file m4/inttypes-pri.m4
Copying file m4/inttypes_h.m4
Copying file m4/lcmessage.m4
Copying file m4/lib-ld.m4
Copying file m4/lib-link.m4
Copying file m4/lib-prefix.m4
Copying file m4/lock.m4
Copying file m4/longlong.m4
Copying file m4/nls.m4
Copying file m4/po.m4
Copying file m4/printf-posix.m4
Copying file m4/progtest.m4
Copying file m4/size_max.m4
Copying file m4/stdint_h.m4
Copying file m4/threadlib.m4
Copying file m4/uintmax_t.m4
Copying file m4/visibility.m4
Copying file m4/wchar_t.m4
Copying file m4/wint_t.m4
Copying file m4/xsize.m4
Copying file po/Makefile.in.in
Copying file po/Makevars.template
Copying file po/Rules-quot
sh: 1: build-aux/git-version-gen: not found
configure.ac:55: error: AC_INIT should be called with package and version arguments
/usr/share/aclocal-1.15/init.m4:29: AM_INIT_AUTOMAKE is expanded from...
configure.ac:55: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
aclocal: error: echo failed with exit status: 1
autoreconf: aclocal failed with exit status: 1
nils@host:~/downloads/parted$ ls
ABOUT-NLS        BUGS         configure.ac   Doxyfile    libparted-fs-resize.pc.in  parted/         README             tests/
AUTHORS          build-aux/   COPYING        gnulib/     libparted.pc.in            parted.lsm      README-big-sector  THANKS
autom4te.cache/  cfg.mk       debug/         include/    m4/                        parted.spec.in  README-hacking     TODO
bootstrap*       ChangeLog.0  dist-check.mk  lib/        Makefile.am                partprobe/      README-release
bootstrap.conf   configure*   doc/           libparted/  NEWS                       po/             scripts/
nils@dpim64:~/downloads/parted$ ll build-aux/
total 40
drwxr-xr-x  2 nils nils  4096 Nov  8 08:38 ./
drwxr-xr-x 17 nils nils  4096 Nov  8 08:38 ../
-rwxr-xr-x  1 nils nils 18442 Nov  8 08:38 config.rpath*
-rw-r--r--  1 nils nils   286 Nov  8 08:35 git-log-fix
-rwxr-xr-x  1 nils nils  4117 Nov  8 08:35 parted-release*
nils@host:~/downloads/parted$ 
bcl commented 5 years ago

The README-release docs should be current, I tried to make sure they were accurate (at least for Fedora) when I did the 3.3 release.

internationils commented 5 years ago

Ah, thanks, I though that that was release notes and not build instructions, so I never looked at it ; ) Maybe rename it to README-build? Here's what I needed to do to get it to build on debian stretch (I need to repatition for more space to be able to move to buster, that's what got me here in the first place):

./bootstrap 
sudo apt-get install gperf
./bootstrap 
./configure
sudo apt install uuid-dev
./configure
sudo apt install libdevmapper-dev
./configure
make

Here is the build log... quite a few warnings, some for consts and pures, some array bounds, parameter mismatches, etc., maybe it can lead to some cleanup.

nils@host:~/downloads/parted$ uname -a
Linux host 4.9.0-11-amd64 #1 SMP Debian 4.9.189-3+deb9u1 (2019-09-20) x86_64 GNU/Linux
nils@host:~/downloads/parted$ gcc --version
gcc (Debian 6.3.0-18+deb9u1) 6.3.0 20170516
Copyright (C) 2016 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

nils@host:~/downloads/parted$ nils@host:~/downloads/parted$ make
echo UNKNOWN > .version-t && mv .version-t .version
make  all-recursive
make[1]: Entering directory '/home/nils/downloads/parted'
Making all in po
make[2]: Entering directory '/home/nils/downloads/parted/po'
make parted.pot-update
make[3]: Entering directory '/home/nils/downloads/parted/po'
sed -e '/^#/d' remove-potcdate.sin > t-remove-potcdate.sed
mv t-remove-potcdate.sed remove-potcdate.sed
if LC_ALL=C grep 'GNU parted' ../* 2>/dev/null | grep -v 'libtool:' >/dev/null; then \
  package_gnu='GNU '; \
else \
  package_gnu=''; \
fi; \
if test -n 'bug-parted@gnu.org' || test 'bug-parted@gnu.org' = '@'PACKAGE_BUGREPORT'@'; then \
  msgid_bugs_address='bug-parted@gnu.org'; \
else \
  msgid_bugs_address='bug-parted@gnu.org'; \
fi; \
case `/usr/bin/xgettext --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
  '' | 0.[0-9] | 0.[0-9].* | 0.1[0-5] | 0.1[0-5].* | 0.16 | 0.16.[0-1]*) \
    /usr/bin/xgettext --default-domain=parted --directory=.. \
      --add-comments=TRANSLATORS: --keyword=_ --keyword=N_ --flag=_:1:pass-c-format --flag=N_:1:pass-c-format --flag=error:3:c-format --flag=error_at_line:5:c-format --from-code=UTF-8 --flag=asprintf:2:c-format --flag=asnprintf:3:c-format --flag=error:3:c-format --flag=error_at_line:5:c-format --flag=vasprintf:2:c-format --flag=vasnprintf:3:c-format --flag=wrapf:1:c-format --flag=xasprintf:1:c-format --flag=xfprintf:2:c-format --flag=xprintf:1:c-format --keyword=proper_name:1,'"This is a proper name. See the gettext manual, section Names."' --keyword=proper_name_utf8:1,'"This is a proper name. See the gettext manual, section Names."' ${end_of_xgettext_options+}  --flag=error:3:c-format --flag=error_at_line:5:c-format \
      --files-from=./POTFILES.in \
      --copyright-holder='Free Software Foundation, Inc.' \
      --msgid-bugs-address="$msgid_bugs_address" \
    ;; \
  *) \
    /usr/bin/xgettext --default-domain=parted --directory=.. \
      --add-comments=TRANSLATORS: --keyword=_ --keyword=N_ --flag=_:1:pass-c-format --flag=N_:1:pass-c-format --flag=error:3:c-format --flag=error_at_line:5:c-format --from-code=UTF-8 --flag=asprintf:2:c-format --flag=asnprintf:3:c-format --flag=error:3:c-format --flag=error_at_line:5:c-format --flag=vasprintf:2:c-format --flag=vasnprintf:3:c-format --flag=wrapf:1:c-format --flag=xasprintf:1:c-format --flag=xfprintf:2:c-format --flag=xprintf:1:c-format --keyword=proper_name:1,'"This is a proper name. See the gettext manual, section Names."' --keyword=proper_name_utf8:1,'"This is a proper name. See the gettext manual, section Names."' ${end_of_xgettext_options+}  --flag=error:3:c-format --flag=error_at_line:5:c-format \
      --files-from=./POTFILES.in \
      --copyright-holder='Free Software Foundation, Inc.' \
      --package-name="${package_gnu}parted" \
      --package-version='UNKNOWN' \
      --msgid-bugs-address="$msgid_bugs_address" \
    ;; \
esac
test ! -f parted.po || { \
  if test -f ./parted.pot; then \
    sed -f remove-potcdate.sed < ./parted.pot > parted.1po && \
    sed -f remove-potcdate.sed < parted.po > parted.2po && \
    if cmp parted.1po parted.2po >/dev/null 2>&1; then \
      rm -f parted.1po parted.2po parted.po; \
    else \
      rm -f parted.1po parted.2po ./parted.pot && \
      mv parted.po ./parted.pot; \
    fi; \
  else \
    mv parted.po ./parted.pot; \
  fi; \
}
make[3]: Leaving directory '/home/nils/downloads/parted/po'
test ! -f ./parted.pot || \
  test -z "ca.gmo cs.gmo da.gmo de.gmo es.gmo fr.gmo fur.gmo gl.gmo hu.gmo id.gmo it.gmo ja.gmo ko.gmo nl.gmo nn.gmo pl.gmo pt.gmo pt_BR.gmo ro.gmo ru.gmo rw.gmo sk.gmo sl.gmo sr.gmo sv.gmo tr.gmo uk.gmo vi.gmo zh_CN.gmo zh_TW.gmo" || make ca.gmo cs.gmo da.gmo de.gmo es.gmo fr.gmo fur.gmo gl.gmo hu.gmo id.gmo it.gmo ja.gmo ko.gmo nl.gmo nn.gmo pl.gmo pt.gmo pt_BR.gmo ro.gmo ru.gmo rw.gmo sk.gmo sl.gmo sr.gmo sv.gmo tr.gmo uk.gmo vi.gmo zh_CN.gmo zh_TW.gmo
make[3]: Entering directory '/home/nils/downloads/parted/po'
/usr/bin/msgmerge --update  --lang=ca ca.po parted.pot
..................................................................................................................................................................................... done.
rm -f ca.gmo && /usr/bin/msgfmt -c --statistics --verbose -o ca.gmo ca.po
ca.po: 153 translated messages, 118 fuzzy translations, 299 untranslated messages.
/usr/bin/msgmerge --update  --lang=cs cs.po parted.pot
............................................................................................................................. done.
rm -f cs.gmo && /usr/bin/msgfmt -c --statistics --verbose -o cs.gmo cs.po
cs.po: 451 translated messages, 61 fuzzy translations, 58 untranslated messages.
/usr/bin/msgmerge --update  --lang=da da.po parted.pot
........................................................................................................ done.
rm -f da.gmo && /usr/bin/msgfmt -c --statistics --verbose -o da.gmo da.po
da.po: 414 translated messages, 43 fuzzy translations, 113 untranslated messages.
/usr/bin/msgmerge --update  --lang=de de.po parted.pot
................................................................................. done.
rm -f de.gmo && /usr/bin/msgfmt -c --statistics --verbose -o de.gmo de.po
de.po: 529 translated messages, 19 fuzzy translations, 22 untranslated messages.
/usr/bin/msgmerge --update  --lang=es es.po parted.pot
........................................................................................................................................... done.
rm -f es.gmo && /usr/bin/msgfmt -c --statistics --verbose -o es.gmo es.po
es.po: 215 translated messages, 85 fuzzy translations, 270 untranslated messages.
/usr/bin/msgmerge --update  --lang=fr fr.po parted.pot
............................................................................... done.
rm -f fr.gmo && /usr/bin/msgfmt -c --statistics --verbose -o fr.gmo fr.po
fr.po: 529 translated messages, 19 fuzzy translations, 22 untranslated messages.
/usr/bin/msgmerge --update  --lang=fur fur.po parted.pot
............................................................................... done.
rm -f fur.gmo && /usr/bin/msgfmt -c --statistics --verbose -o fur.gmo fur.po
fur.po: 529 translated messages, 19 fuzzy translations, 22 untranslated messages.
/usr/bin/msgmerge --update  --lang=gl gl.po parted.pot
.................................................................................... done.
rm -f gl.gmo && /usr/bin/msgfmt -c --statistics --verbose -o gl.gmo gl.po
gl.po: 325 translated messages, 26 fuzzy translations, 219 untranslated messages.
/usr/bin/msgmerge --update  --lang=hu hu.po parted.pot
................................................................................. done.
rm -f hu.gmo && /usr/bin/msgfmt -c --statistics --verbose -o hu.gmo hu.po
hu.po: 529 translated messages, 19 fuzzy translations, 22 untranslated messages.
/usr/bin/msgmerge --update  --lang=id id.po parted.pot
.................................................................................................................. done.
rm -f id.gmo && /usr/bin/msgfmt -c --statistics --verbose -o id.gmo id.po
id.po: 484 translated messages, 50 fuzzy translations, 36 untranslated messages.
/usr/bin/msgmerge --update  --lang=it it.po parted.pot
................................................................................ done.
rm -f it.gmo && /usr/bin/msgfmt -c --statistics --verbose -o it.gmo it.po
it.po: 529 translated messages, 19 fuzzy translations, 22 untranslated messages.
/usr/bin/msgmerge --update  --lang=ja ja.po parted.pot
................................................................................ done.
rm -f ja.gmo && /usr/bin/msgfmt -c --statistics --verbose -o ja.gmo ja.po
ja.po: 529 translated messages, 19 fuzzy translations, 22 untranslated messages.
/usr/bin/msgmerge --update  --lang=ko ko.po parted.pot
................................................................................. done.
rm -f ko.gmo && /usr/bin/msgfmt -c --statistics --verbose -o ko.gmo ko.po
ko.po: 529 translated messages, 19 fuzzy translations, 22 untranslated messages.
/usr/bin/msgmerge --update  --lang=nl nl.po parted.pot
................................................................................ done.
rm -f nl.gmo && /usr/bin/msgfmt -c --statistics --verbose -o nl.gmo nl.po
nl.po: 529 translated messages, 20 fuzzy translations, 21 untranslated messages.
/usr/bin/msgmerge --update  --lang=nn nn.po parted.pot
.................................................................................................................................................................................... done.
rm -f nn.gmo && /usr/bin/msgfmt -c --statistics --verbose -o nn.gmo nn.po
nn.po: 156 translated messages, 118 fuzzy translations, 296 untranslated messages.
/usr/bin/msgmerge --update  --lang=pl pl.po parted.pot
............................................................................... done.
rm -f pl.gmo && /usr/bin/msgfmt -c --statistics --verbose -o pl.gmo pl.po
pl.po: 529 translated messages, 19 fuzzy translations, 22 untranslated messages.
/usr/bin/msgmerge --update  --lang=pt pt.po parted.pot
............................................................................................................................................................................................. done.
rm -f pt.gmo && /usr/bin/msgfmt -c --statistics --verbose -o pt.gmo pt.po
pt.po: 111 translated messages, 124 fuzzy translations, 335 untranslated messages.
/usr/bin/msgmerge --update  --lang=pt_BR pt_BR.po parted.pot
................................................................................. done.
rm -f pt_BR.gmo && /usr/bin/msgfmt -c --statistics --verbose -o pt_BR.gmo pt_BR.po
pt_BR.po: 529 translated messages, 20 fuzzy translations, 21 untranslated messages.
/usr/bin/msgmerge --update  --lang=ro ro.po parted.pot
............................................................................................................... done.
rm -f ro.gmo && /usr/bin/msgfmt -c --statistics --verbose -o ro.gmo ro.po
ro.po: 110 translated messages, 45 fuzzy translations, 415 untranslated messages.
/usr/bin/msgmerge --update  --lang=ru ru.po parted.pot
................................................................................. done.
rm -f ru.gmo && /usr/bin/msgfmt -c --statistics --verbose -o ru.gmo ru.po
ru.po: 529 translated messages, 19 fuzzy translations, 22 untranslated messages.
/usr/bin/msgmerge --update  --lang=rw rw.po parted.pot
................................................................................................................................................................................ done.
rm -f rw.gmo && /usr/bin/msgfmt -c --statistics --verbose -o rw.gmo rw.po
rw.po: 16 translated messages, 231 fuzzy translations, 323 untranslated messages.
/usr/bin/msgmerge --update  --lang=sk sk.po parted.pot
........................................................................................... done.
rm -f sk.gmo && /usr/bin/msgfmt -c --statistics --verbose -o sk.gmo sk.po
sk.po: 515 translated messages, 30 fuzzy translations, 25 untranslated messages.
/usr/bin/msgmerge --update  --lang=sl sl.po parted.pot
.............................................................................................................. done.
rm -f sl.gmo && /usr/bin/msgfmt -c --statistics --verbose -o sl.gmo sl.po
sl.po: 493 translated messages, 48 fuzzy translations, 29 untranslated messages.
/usr/bin/msgmerge --update  --lang=sr sr.po parted.pot
................................................................................ done.
rm -f sr.gmo && /usr/bin/msgfmt -c --statistics --verbose -o sr.gmo sr.po
sr.po: 529 translated messages, 19 fuzzy translations, 22 untranslated messages.
/usr/bin/msgmerge --update  --lang=sv sv.po parted.pot
................................................................................. done.
rm -f sv.gmo && /usr/bin/msgfmt -c --statistics --verbose -o sv.gmo sv.po
sv.po: 529 translated messages, 20 fuzzy translations, 21 untranslated messages.
/usr/bin/msgmerge --update  --lang=tr tr.po parted.pot
................................................................................ done.
rm -f tr.gmo && /usr/bin/msgfmt -c --statistics --verbose -o tr.gmo tr.po
tr.po: 529 translated messages, 20 fuzzy translations, 21 untranslated messages.
/usr/bin/msgmerge --update  --lang=uk uk.po parted.pot
................................................................................ done.
rm -f uk.gmo && /usr/bin/msgfmt -c --statistics --verbose -o uk.gmo uk.po
uk.po: 529 translated messages, 20 fuzzy translations, 21 untranslated messages.
/usr/bin/msgmerge --update  --lang=vi vi.po parted.pot
................................................................................... done.
rm -f vi.gmo && /usr/bin/msgfmt -c --statistics --verbose -o vi.gmo vi.po
vi.po: 529 translated messages, 20 fuzzy translations, 21 untranslated messages.
/usr/bin/msgmerge --update  --lang=zh_CN zh_CN.po parted.pot
................................................................................. done.
rm -f zh_CN.gmo && /usr/bin/msgfmt -c --statistics --verbose -o zh_CN.gmo zh_CN.po
zh_CN.po: 529 translated messages, 20 fuzzy translations, 21 untranslated messages.
/usr/bin/msgmerge --update  --lang=zh_TW zh_TW.po parted.pot
................................................................................ done.
rm -f zh_TW.gmo && /usr/bin/msgfmt -c --statistics --verbose -o zh_TW.gmo zh_TW.po
zh_TW.po: 529 translated messages, 19 fuzzy translations, 22 untranslated messages.
make[3]: Leaving directory '/home/nils/downloads/parted/po'
touch stamp-po
make[2]: Leaving directory '/home/nils/downloads/parted/po'
Making all in lib
make[2]: Entering directory '/home/nils/downloads/parted/lib'
  GEN      alloca.h
  GEN      configmake.h
  GEN      fcntl.h
  GEN      inttypes.h
  GEN      langinfo.h
  GEN      limits.h
  GEN      locale.h
  GEN      stdint.h
  GEN      stdio.h
  GEN      stdlib.h
  GEN      string.h
  GEN      sys/stat.h
  GEN      sys/time.h
  GEN      sys/types.h
  GEN      time.h
  GEN      unistd.h
  GEN      wchar.h
  GEN      wctype.h
make  all-am
make[3]: Entering directory '/home/nils/downloads/parted/lib'
  CC       argmatch.lo
  CC       c-ctype.lo
  CC       c-strcasecmp.lo
  CC       c-strncasecmp.lo
  CC       close-stream.lo
  CC       closeout.lo
  CC       dirname.lo
  CC       basename.lo
  CC       dirname-lgpl.lo
  CC       basename-lgpl.lo
  CC       stripslash.lo
  CC       exitfail.lo
  CC       fd-hook.lo
  CC       getprogname.lo
  CC       hard-locale.lo
  CC       localcharset.lo
  CC       glthread/lock.lo
  CC       long-options.lo
  CC       malloca.lo
  CC       progname.lo
  CC       quotearg.lo
  CC       safe-read.lo
  CC       stat-time.lo
  CC       tempname.lo
  CC       glthread/threadlib.lo
  CC       unistd.lo
  CC       version-etc.lo
  CC       version-etc-fsf.lo
  CC       wctype-h.lo
  CC       xmalloc.lo
  CC       xalloc-die.lo
  CC       xstrndup.lo
  CC       xstrtol.lo
  CC       xstrtoul.lo
  CC       xstrtol-error.lo
  CC       localtime-buffer.lo
  CC       mbrtowc.lo
  CC       nl_langinfo.lo
  CC       regex.lo
  CC       xstrtoll.lo
  CC       xstrtoull.lo
  CCLD     libgnulib.la
ar: `u' modifier ignored since `D' is the default (see `U')
make[3]: Leaving directory '/home/nils/downloads/parted/lib'
make[2]: Leaving directory '/home/nils/downloads/parted/lib'
Making all in include
make[2]: Entering directory '/home/nils/downloads/parted/include'
Making all in parted
make[3]: Entering directory '/home/nils/downloads/parted/include/parted'
  GEN      constraint.h
  GEN      debug.h
  GEN      device.h
  GEN      disk.h
  GEN      exception.h
  GEN      filesys.h
  GEN      geom.h
  GEN      natmath.h
  GEN      timer.h
  GEN      unit.h
  GEN      parted.h
  GEN      crc32.h
  GEN      endian.h
  GEN      fdasd.h
  GEN      vtoc.h
make  all-am
make[4]: Entering directory '/home/nils/downloads/parted/include/parted'
make[4]: Nothing to be done for 'all-am'.
make[4]: Leaving directory '/home/nils/downloads/parted/include/parted'
make[3]: Leaving directory '/home/nils/downloads/parted/include/parted'
make[3]: Entering directory '/home/nils/downloads/parted/include'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/nils/downloads/parted/include'
make[2]: Leaving directory '/home/nils/downloads/parted/include'
Making all in libparted
make[2]: Entering directory '/home/nils/downloads/parted/libparted'
Making all in labels
make[3]: Entering directory '/home/nils/downloads/parted/libparted/labels'
rm -f pt-limit.c pt-limit.c-tmp
gperf -C -N pt_limit_lookup -n -t -s 6 -k '*' --language=ANSI-C pt-limit.gperf \
  | perl -ne '/__GNUC_STDC_INLINE__/ and print "static\n"; print' \
  > pt-limit.c-tmp
chmod a-w pt-limit.c-tmp
mv pt-limit.c-tmp pt-limit.c
make  all-am
make[4]: Entering directory '/home/nils/downloads/parted/libparted/labels'
  CC       aix.lo
  CC       atari.lo
  CC       bsd.lo
  CC       dos.lo
  CC       dvh.lo
  CC       efi_crc32.lo
  CC       gpt.lo
  CC       loop.lo
  CC       mac.lo
  CC       pc98.lo
  CC       pt-tools.lo
  CC       rdb.lo
  CC       sun.lo
  CCLD     liblabels.la
ar: `u' modifier ignored since `D' is the default (see `U')
make[4]: Leaving directory '/home/nils/downloads/parted/libparted/labels'
make[3]: Leaving directory '/home/nils/downloads/parted/libparted/labels'
Making all in fs
make[3]: Entering directory '/home/nils/downloads/parted/libparted/fs'
  CC       r/filesys.lo
  CC       r/fat/bootsector.lo
r/fat/bootsector.c: In function 'fat_boot_sector_set_boot_code':
r/fat/bootsector.c:274:15: warning: unused variable 'fs_info' [-Wunused-variable]
  FatSpecific* fs_info = FAT_SPECIFIC (fs);
               ^~~~~~~
r/fat/bootsector.c: In function 'fat_boot_sector_probe_type':
r/fat/bootsector.c:89:1: warning: function might be candidate for attribute 'pure' [-Wsuggest-attribute=pure]
 fat_boot_sector_probe_type (const FatBootSector* bs, const PedGeometry* geom)
 ^~~~~~~~~~~~~~~~~~~~~~~~~~
  CC       r/fat/calc.lo
r/fat/calc.c: In function '_smallest_power2_over':
r/fat/calc.c:37:1: warning: function might be candidate for attribute 'const' if it is known to return normally [-Wsuggest-attribute=const]
 _smallest_power2_over (PedSector ceiling)
 ^~~~~~~~~~~~~~~~~~~~~
r/fat/calc.c: In function 'fat_min_cluster_size':
r/fat/calc.c:27:1: warning: function might be candidate for attribute 'const' [-Wsuggest-attribute=const]
 fat_min_cluster_size (FatType fat_type) {
 ^~~~~~~~~~~~~~~~~~~~
r/fat/calc.c: In function 'fat_max_cluster_size':
r/fat/calc.c:63:1: warning: function might be candidate for attribute 'const' [-Wsuggest-attribute=const]
 fat_max_cluster_size (FatType fat_type) {
 ^~~~~~~~~~~~~~~~~~~~
r/fat/calc.c: In function 'fat_max_cluster_count':
r/fat/calc.c:87:1: warning: function might be candidate for attribute 'const' [-Wsuggest-attribute=const]
 fat_max_cluster_count (FatType fat_type) {
 ^~~~~~~~~~~~~~~~~~~~~
r/fat/calc.c: In function 'fat_min_reserved_sector_count':
r/fat/calc.c:98:1: warning: function might be candidate for attribute 'const' [-Wsuggest-attribute=const]
 fat_min_reserved_sector_count (FatType fat_type)
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
r/fat/calc.c: In function 'fat_is_sector_in_clusters':
r/fat/calc.c:363:1: warning: function might be candidate for attribute 'pure' [-Wsuggest-attribute=pure]
 fat_is_sector_in_clusters (const PedFileSystem* fs, PedSector sector)
 ^~~~~~~~~~~~~~~~~~~~~~~~~
r/fat/calc.c: In function 'fat_cluster_to_frag':
r/fat/calc.c:373:1: warning: function might be candidate for attribute 'pure' if it is known to return normally [-Wsuggest-attribute=pure]
 fat_cluster_to_frag (const PedFileSystem* fs, FatCluster cluster)
 ^~~~~~~~~~~~~~~~~~~
r/fat/calc.c: In function 'fat_frag_to_cluster':
r/fat/calc.c:383:1: warning: function might be candidate for attribute 'pure' if it is known to return normally [-Wsuggest-attribute=pure]
 fat_frag_to_cluster (const PedFileSystem* fs, FatFragment frag)
 ^~~~~~~~~~~~~~~~~~~
r/fat/calc.c: In function 'fat_frag_to_sector':
r/fat/calc.c:393:1: warning: function might be candidate for attribute 'pure' if it is known to return normally [-Wsuggest-attribute=pure]
 fat_frag_to_sector (const PedFileSystem* fs, FatFragment frag)
 ^~~~~~~~~~~~~~~~~~
r/fat/calc.c: In function 'fat_sector_to_frag':
r/fat/calc.c:403:1: warning: function might be candidate for attribute 'pure' if it is known to return normally [-Wsuggest-attribute=pure]
 fat_sector_to_frag (const PedFileSystem* fs, PedSector sector)
 ^~~~~~~~~~~~~~~~~~
r/fat/calc.c: In function 'fat_cluster_to_sector':
r/fat/calc.c:413:1: warning: function might be candidate for attribute 'pure' if it is known to return normally [-Wsuggest-attribute=pure]
 fat_cluster_to_sector (const PedFileSystem* fs, FatCluster cluster)
 ^~~~~~~~~~~~~~~~~~~~~
r/fat/calc.c: In function 'fat_sector_to_cluster':
r/fat/calc.c:424:1: warning: function might be candidate for attribute 'pure' if it is known to return normally [-Wsuggest-attribute=pure]
 fat_sector_to_cluster (const PedFileSystem* fs, PedSector sector)
 ^~~~~~~~~~~~~~~~~~~~~
  CC       r/fat/clstdup.lo
r/fat/clstdup.c: In function 'get_first_underlay.isra.0':
r/fat/clstdup.c:130:1: warning: function might be candidate for attribute 'pure' if it is known to return normally [-Wsuggest-attribute=pure]
 get_first_underlay (const FatOpContext* ctx, int first, int last)
 ^~~~~~~~~~~~~~~~~~
r/fat/clstdup.c: In function 'get_last_underlay.isra.1':
r/fat/clstdup.c:151:1: warning: function might be candidate for attribute 'pure' if it is known to return normally [-Wsuggest-attribute=pure]
 get_last_underlay (const FatOpContext* ctx, int first, int last)
 ^~~~~~~~~~~~~~~~~
  CC       r/fat/context.lo
r/fat/context.c: In function 'fat_op_context_map_static_fragment':
r/fat/context.c:128:1: warning: function might be candidate for attribute 'pure' [-Wsuggest-attribute=pure]
 fat_op_context_map_static_fragment (const FatOpContext* ctx, FatFragment frag)
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
r/fat/context.c: In function 'fat_op_context_map_fragment':
r/fat/context.c:164:1: warning: function might be candidate for attribute 'pure' [-Wsuggest-attribute=pure]
 fat_op_context_map_fragment (const FatOpContext* ctx, FatFragment frag)
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  CC       r/fat/count.lo
r/fat/count.c: In function 'fat_get_cluster_flag':
r/fat/count.c:342:1: warning: function might be candidate for attribute 'pure' [-Wsuggest-attribute=pure]
 fat_get_cluster_flag (PedFileSystem* fs, FatCluster cluster)
 ^~~~~~~~~~~~~~~~~~~~
r/fat/count.c: In function 'fat_get_cluster_usage':
r/fat/count.c:350:1: warning: function might be candidate for attribute 'pure' [-Wsuggest-attribute=pure]
 fat_get_cluster_usage (PedFileSystem* fs, FatCluster cluster)
 ^~~~~~~~~~~~~~~~~~~~~
  CC       r/fat/fat.lo
  CC       r/fat/fatio.lo
  CC       r/fat/resize.lo
  CC       r/fat/table.lo
r/fat/table.c: In function 'fat_table_is_eof':
r/fat/table.c:375:1: warning: function might be candidate for attribute 'pure' [-Wsuggest-attribute=pure]
 fat_table_is_eof (const FatTable* ft, FatCluster cluster)
 ^~~~~~~~~~~~~~~~
r/fat/table.c: In function 'fat_table_entry_size':
r/fat/table.c:466:1: warning: function might be candidate for attribute 'const' [-Wsuggest-attribute=const]
 fat_table_entry_size (FatType fat_type)
 ^~~~~~~~~~~~~~~~~~~~
  CC       r/fat/traverse.lo
r/fat/traverse.c: In function 'fat_traverse_entries_per_buffer':
r/fat/traverse.c:35:1: warning: function might be candidate for attribute 'pure' [-Wsuggest-attribute=pure]
 fat_traverse_entries_per_buffer (FatTraverseInfo* trav_info)
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
r/fat/traverse.c: In function 'fat_dir_entry_get_first_cluster':
r/fat/traverse.c:230:1: warning: function might be candidate for attribute 'pure' [-Wsuggest-attribute=pure]
 fat_dir_entry_get_first_cluster (FatDirEntry* dir_entry, PedFileSystem *fs)
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
r/fat/traverse.c: In function 'fat_dir_entry_get_length':
r/fat/traverse.c:273:1: warning: function might be candidate for attribute 'pure' [-Wsuggest-attribute=pure]
 fat_dir_entry_get_length (FatDirEntry* dir_entry)
 ^~~~~~~~~~~~~~~~~~~~~~~~
r/fat/traverse.c: In function 'fat_dir_entry_is_active':
r/fat/traverse.c:288:1: warning: function might be candidate for attribute 'pure' [-Wsuggest-attribute=pure]
 fat_dir_entry_is_active (FatDirEntry* dir_entry)
 ^~~~~~~~~~~~~~~~~~~~~~~
  CC       r/hfs/advfs.lo
r/hfs/advfs.c: In function 'hfs_is_bad_block':
r/hfs/advfs.c:243:1: warning: function might be candidate for attribute 'pure' if it is known to return normally [-Wsuggest-attribute=pure]
 hfs_is_bad_block (const PedFileSystem *fs, unsigned int fblock)
 ^~~~~~~~~~~~~~~~
r/hfs/advfs.c: In function 'hfs_find_start_pack':
r/hfs/advfs.c:308:1: warning: function might be candidate for attribute 'pure' if it is known to return normally [-Wsuggest-attribute=pure]
 hfs_find_start_pack (const PedFileSystem *fs, unsigned int fblock)
 ^~~~~~~~~~~~~~~~~~~
  CC       r/hfs/advfs_plus.lo
r/hfs/advfs_plus.c: In function 'hfsplus_is_bad_block':
r/hfs/advfs_plus.c:251:1: warning: function might be candidate for attribute 'pure' if it is known to return normally [-Wsuggest-attribute=pure]
 hfsplus_is_bad_block (const PedFileSystem *fs, unsigned int fblock)
 ^~~~~~~~~~~~~~~~~~~~
r/hfs/advfs_plus.c: In function 'hfsplus_find_start_pack':
r/hfs/advfs_plus.c:362:1: warning: function might be candidate for attribute 'pure' if it is known to return normally [-Wsuggest-attribute=pure]
 hfsplus_find_start_pack (const PedFileSystem *fs, unsigned int fblock)
 ^~~~~~~~~~~~~~~~~~~~~~~
  CC       r/hfs/cache.lo
r/hfs/cache.c: In function 'hfsc_cache_search_extent':
r/hfs/cache.c:177:1: warning: function might be candidate for attribute 'pure' if it is known to return normally [-Wsuggest-attribute=pure]
 hfsc_cache_search_extent(HfsCPrivateCache* cache, uint32_t start)
 ^~~~~~~~~~~~~~~~~~~~~~~~
  CC       r/hfs/file.lo
  CC       r/hfs/file_plus.lo
  CC       r/hfs/hfs.lo
r/hfs/hfs.c:343:1: warning: 'hfsplus_clobber' defined but not used [-Wunused-function]
 hfsplus_clobber (PedGeometry* geom)
 ^~~~~~~~~~~~~~~
  CC       r/hfs/journal.lo
In file included from r/hfs/journal.c:25:0:
r/hfs/journal.c: In function 'hfsj_replay_journal':
r/hfs/journal.c:161:37: warning: array subscript is above array bounds [-Warray-bounds]
    size = HFS_32_TO_CPU(blhdr->binfo[i].bsize, is_le);
                         ~~~~~~~~~~~~^~~
../../include/parted/endian.h:78:29: note: in definition of macro 'PED_LE32_TO_CPU'
 #define PED_LE32_TO_CPU(x) (x)
                             ^
r/hfs/journal.c:161:11: note: in expansion of macro 'HFS_32_TO_CPU'
    size = HFS_32_TO_CPU(blhdr->binfo[i].bsize, is_le);
           ^~~~~~~~~~~~~
r/hfs/journal.c:161:37: warning: array subscript is above array bounds [-Warray-bounds]
    size = HFS_32_TO_CPU(blhdr->binfo[i].bsize, is_le);
                         ~~~~~~~~~~~~^~~
../../include/parted/endian.h:28:30: note: in definition of macro '_GET_BYTE'
 #define _GET_BYTE(x, n)  ( ((x) >> (8 * (n))) & 0xff )
                              ^
../../include/parted/endian.h:48:36: note: in expansion of macro '_PED_SWAP32'
 #define PED_SWAP32(x)  ((uint32_t) _PED_SWAP32( (uint32_t) (x) ))
                                    ^~~~~~~~~~~
../../include/parted/endian.h:79:28: note: in expansion of macro 'PED_SWAP32'
 #define PED_BE32_TO_CPU(x) PED_SWAP32(x)
                            ^~~~~~~~~~
r/hfs/journal.h:38:107: note: in expansion of macro 'PED_BE32_TO_CPU'
 #define HFS_32_TO_CPU(x, is_little_endian) ((is_little_endian) ? (uint32_t)PED_LE32_TO_CPU(x) : (uint32_t)PED_BE32_TO_CPU(x))
                                                                                                           ^~~~~~~~~~~~~~~
r/hfs/journal.c:161:11: note: in expansion of macro 'HFS_32_TO_CPU'
    size = HFS_32_TO_CPU(blhdr->binfo[i].bsize, is_le);
           ^~~~~~~~~~~~~
r/hfs/journal.c:162:39: warning: array subscript is above array bounds [-Warray-bounds]
    sector = HFS_64_TO_CPU(blhdr->binfo[i].bnum, is_le);
                           ~~~~~~~~~~~~^~~
../../include/parted/endian.h:80:29: note: in definition of macro 'PED_LE64_TO_CPU'
 #define PED_LE64_TO_CPU(x) (x)
                             ^
r/hfs/journal.c:162:13: note: in expansion of macro 'HFS_64_TO_CPU'
    sector = HFS_64_TO_CPU(blhdr->binfo[i].bnum, is_le);
             ^~~~~~~~~~~~~
r/hfs/journal.c:162:39: warning: array subscript is above array bounds [-Warray-bounds]
    sector = HFS_64_TO_CPU(blhdr->binfo[i].bnum, is_le);
                           ~~~~~~~~~~~~^~~
../../include/parted/endian.h:28:30: note: in definition of macro '_GET_BYTE'
 #define _GET_BYTE(x, n)  ( ((x) >> (8 * (n))) & 0xff )
                              ^
../../include/parted/endian.h:49:36: note: in expansion of macro '_PED_SWAP64'
 #define PED_SWAP64(x)  ((uint64_t) _PED_SWAP64( (uint64_t) (x) ))
                                    ^~~~~~~~~~~
../../include/parted/endian.h:81:28: note: in expansion of macro 'PED_SWAP64'
 #define PED_BE64_TO_CPU(x) PED_SWAP64(x)
                            ^~~~~~~~~~
r/hfs/journal.h:39:107: note: in expansion of macro 'PED_BE64_TO_CPU'
 #define HFS_64_TO_CPU(x, is_little_endian) ((is_little_endian) ? (uint64_t)PED_LE64_TO_CPU(x) : (uint64_t)PED_BE64_TO_CPU(x))
                                                                                                           ^~~~~~~~~~~~~~~
r/hfs/journal.c:162:13: note: in expansion of macro 'HFS_64_TO_CPU'
    sector = HFS_64_TO_CPU(blhdr->binfo[i].bnum, is_le);
             ^~~~~~~~~~~~~
  CC       r/hfs/probe.lo
  CC       r/hfs/reloc.lo
  CC       r/hfs/reloc_plus.lo
  CCLD     libparted-fs-resize.la
ar: `u' modifier ignored since `D' is the default (see `U')
  CC       amiga/affs.lo
amiga/affs.c: In function '_generic_affs_probe':
amiga/affs.c:55:35: warning: variable 'prealloc' set but not used [-Wunused-but-set-variable]
  int blocksize = 1, reserved = 2, prealloc = 0;
                                   ^~~~~~~~
  CC       amiga/amiga.lo
  CC       amiga/apfs.lo
  CC       amiga/asfs.lo
  CC       amiga/a-interface.lo
  CC       btrfs/btrfs.lo
  CC       ext2/interface.lo
  CC       fat/bootsector.lo
fat/bootsector.c: In function 'fat_boot_sector_probe_type':
fat/bootsector.c:90:1: warning: function might be candidate for attribute 'pure' [-Wsuggest-attribute=pure]
 fat_boot_sector_probe_type (const FatBootSector* bs, const PedGeometry* geom)
 ^~~~~~~~~~~~~~~~~~~~~~~~~~
  CC       fat/fat.lo
  CC       hfs/hfs.lo
  CC       hfs/probe.lo
  CC       jfs/jfs.lo
  CC       linux_swap/linux_swap.lo
  CC       nilfs2/nilfs2.lo
  CC       ntfs/ntfs.lo
  CC       reiserfs/reiserfs.lo
  CC       udf/udf.lo
  CC       ufs/ufs.lo
  CC       xfs/xfs.lo
  CCLD     libfs.la
ar: `u' modifier ignored since `D' is the default (see `U')
make[3]: Leaving directory '/home/nils/downloads/parted/libparted/fs'
Making all in .
make[3]: Entering directory '/home/nils/downloads/parted/libparted'
  CC       debug.lo
  CC       architecture.lo
  CC       device.lo
  CC       exception.lo
  CC       filesys.lo
  CC       libparted.lo
  CC       timer.lo
  CC       unit.lo
  CC       disk.lo
  CC       cs/geom.lo
  CC       cs/constraint.lo
  CC       cs/natmath.lo
  CC       arch/linux.lo
arch/linux.c: In function '_get_linux_version':
arch/linux.c:732:40: warning: format '%u' expects argument of type 'unsigned int *', but argument 3 has type 'int *' [-Wformat=]
         int n = sscanf (uts.release, "%u.%u.%u", &major, &minor, &teeny);
                                        ^
arch/linux.c:732:43: warning: format '%u' expects argument of type 'unsigned int *', but argument 4 has type 'int *' [-Wformat=]
         int n = sscanf (uts.release, "%u.%u.%u", &major, &minor, &teeny);
                                           ^
arch/linux.c:732:46: warning: format '%u' expects argument of type 'unsigned int *', but argument 5 has type 'int *' [-Wformat=]
         int n = sscanf (uts.release, "%u.%u.%u", &major, &minor, &teeny);
                                              ^
arch/linux.c: In function '_dm_get_partition_start_and_length':
arch/linux.c:2887:38: warning: format '%Ld' expects argument of type 'long long int *', but argument 5 has type 'long long unsigned int *' [-Wformat=]
         if (sscanf (params, "%d:%d %Ld", &major, &minor, start) != 3)
                                      ^
  CCLD     libparted.la
ar: `u' modifier ignored since `D' is the default (see `U')
make[3]: Leaving directory '/home/nils/downloads/parted/libparted'
make[2]: Leaving directory '/home/nils/downloads/parted/libparted'
Making all in parted
make[2]: Entering directory '/home/nils/downloads/parted/parted'
  GEN      version.c
  GEN      version.h
make  all-am
make[3]: Entering directory '/home/nils/downloads/parted/parted'
  CC       version.o
  AR       libver.a
  CC       command.o
  CC       parted.o
  CC       strlist.o
  CC       ui.o
  CC       table.o
  CCLD     parted
make[3]: Leaving directory '/home/nils/downloads/parted/parted'
make[2]: Leaving directory '/home/nils/downloads/parted/parted'
Making all in partprobe
make[2]: Entering directory '/home/nils/downloads/parted/partprobe'
  CC       partprobe.o
  CCLD     partprobe
make[2]: Leaving directory '/home/nils/downloads/parted/partprobe'
Making all in doc
make[2]: Entering directory '/home/nils/downloads/parted/doc'
Making all in C
make[3]: Entering directory '/home/nils/downloads/parted/doc/C'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/nils/downloads/parted/doc/C'
Making all in pt_BR
make[3]: Entering directory '/home/nils/downloads/parted/doc/pt_BR'
  GEN      all-local
make[4]: Entering directory '/home/nils/downloads/parted/doc/pt_BR'
  GEN      partprobe.8
/bin/bash: line 1: po4a-translate: command not found
make[4]: Leaving directory '/home/nils/downloads/parted/doc/pt_BR'
make[3]: Leaving directory '/home/nils/downloads/parted/doc/pt_BR'
make[3]: Entering directory '/home/nils/downloads/parted/doc'
Updating ./version.texi
  MAKEINFO parted.info
make[3]: Leaving directory '/home/nils/downloads/parted/doc'
make[2]: Leaving directory '/home/nils/downloads/parted/doc'
Making all in debug
make[2]: Entering directory '/home/nils/downloads/parted/debug'
Making all in test
make[3]: Entering directory '/home/nils/downloads/parted/debug/test'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/nils/downloads/parted/debug/test'
make[3]: Entering directory '/home/nils/downloads/parted/debug'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/nils/downloads/parted/debug'
make[2]: Leaving directory '/home/nils/downloads/parted/debug'
Making all in tests
make[2]: Entering directory '/home/nils/downloads/parted/tests'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/nils/downloads/parted/tests'
make[2]: Entering directory '/home/nils/downloads/parted'
make[2]: Nothing to be done for 'all-am'.
make[2]: Leaving directory '/home/nils/downloads/parted'
make[1]: Leaving directory '/home/nils/downloads/parted'
nils@host:~/downloads/parted$ 
bcl commented 5 years ago

@internationils did adding that patch fix the issue for you?

internationils commented 5 years ago

@bcl yes, sorry, meant to add that as a comment. Feel free to close, I just wanted to ensure that you saw the build warnings. Thanks!!