Raspbian Package Auto-Building

Build log for plink1.9 (1.90~b3w-150903-1) on armhf

plink1.91.90~b3w-150903-1armhf → 2015-12-15 06:02:07

sbuild (Debian sbuild) 0.65.2 (24 Mar 2015) on bm-wb-03

╔══════════════════════════════════════════════════════════════════════════════╗
║ plink1.9 1.90~b3w-150903-1 (armhf)                         15 Dec 2015 05:40 ║
╚══════════════════════════════════════════════════════════════════════════════╝

Package: plink1.9
Version: 1.90~b3w-150903-1
Source Version: 1.90~b3w-150903-1
Distribution: stretch-staging
Machine Architecture: armhf
Host Architecture: armhf
Build Architecture: armhf

I: NOTICE: Log filtering will replace 'build/plink1.9-AJlSV2/plink1.9-1.90~b3w-150903' with '«PKGBUILDDIR»'
I: NOTICE: Log filtering will replace 'build/plink1.9-AJlSV2' with '«BUILDDIR»'
I: NOTICE: Log filtering will replace 'var/lib/schroot/mount/stretch-staging-armhf-sbuild-06fb3d22-e613-41b7-9f5d-73c328ce165f' with '«CHROOT»'

┌──────────────────────────────────────────────────────────────────────────────┐
│ Update chroot                                                                │
└──────────────────────────────────────────────────────────────────────────────┘

Get:1 http://172.17.0.1 stretch-staging InRelease [11.3 kB]
Get:2 http://172.17.0.1 stretch-staging/main Sources [8529 kB]
Get:3 http://172.17.0.1 stretch-staging/main armhf Packages [10.5 MB]
Ign http://172.17.0.1 stretch-staging/main Translation-en
Fetched 19.0 MB in 34s (550 kB/s)
Reading package lists...

┌──────────────────────────────────────────────────────────────────────────────┐
│ Fetch source files                                                           │
└──────────────────────────────────────────────────────────────────────────────┘


Check APT
─────────

Checking available source versions...

Download source files with APT
──────────────────────────────

Reading package lists...
Building dependency tree...
Reading state information...
NOTICE: 'plink1.9' packaging is maintained in the 'Git' version control system at:
git://anonscm.debian.org/debian-med/plink1.9.git
Need to get 1040 kB of source archives.
Get:1 http://172.17.0.1/private/ stretch-staging/main plink1.9 1.90~b3w-150903-1 (dsc) [2196 B]
Get:2 http://172.17.0.1/private/ stretch-staging/main plink1.9 1.90~b3w-150903-1 (tar) [1029 kB]
Get:3 http://172.17.0.1/private/ stretch-staging/main plink1.9 1.90~b3w-150903-1 (diff) [8388 B]
Fetched 1040 kB in 0s (3047 kB/s)
Download complete and in download only mode

Check architectures
───────────────────


Check dependencies
──────────────────

Merged Build-Depends: build-essential, fakeroot
Filtered Build-Depends: build-essential, fakeroot
dpkg-deb: building package 'sbuild-build-depends-core-dummy' in '/«BUILDDIR»/resolver-a3yp5D/apt_archive/sbuild-build-depends-core-dummy.deb'.
OK
Ign file: ./ InRelease
Get:1 file: ./ Release.gpg [299 B]
Get:2 file: ./ Release [2119 B]
Ign file: ./ Translation-en
Reading package lists...
Reading package lists...

┌──────────────────────────────────────────────────────────────────────────────┐
│ Install core build dependencies (apt-based resolver)                         │
└──────────────────────────────────────────────────────────────────────────────┘

Installing build dependencies
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
  sbuild-build-depends-core-dummy
debconf: delaying package configuration, since apt-utils is not installed
0 upgraded, 1 newly installed, 0 to remove and 26 not upgraded.
Need to get 0 B/762 B of archives.
After this operation, 0 B of additional disk space will be used.
Selecting previously unselected package sbuild-build-depends-core-dummy.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 12041 files and directories currently installed.)
Preparing to unpack .../sbuild-build-depends-core-dummy.deb ...
Unpacking sbuild-build-depends-core-dummy (0.invalid.0) ...
Setting up sbuild-build-depends-core-dummy (0.invalid.0) ...
Merged Build-Depends: libc6-dev | libc-dev, gcc (>= 4:4.9.1), g++ (>= 4:4.9.1), make, dpkg-dev (>= 1.17.11), debhelper (>= 9), help2man, libatlas-base-dev, liblapack-dev, zlib1g-dev
Filtered Build-Depends: libc6-dev, gcc (>= 4:4.9.1), g++ (>= 4:4.9.1), make, dpkg-dev (>= 1.17.11), debhelper (>= 9), help2man, libatlas-base-dev, liblapack-dev, zlib1g-dev
dpkg-deb: building package 'sbuild-build-depends-plink1.9-dummy' in '/«BUILDDIR»/resolver-IxnaT0/apt_archive/sbuild-build-depends-plink1.9-dummy.deb'.
OK
Ign file: ./ InRelease
Get:1 file: ./ Release.gpg [299 B]
Get:2 file: ./ Release [2119 B]
Ign file: ./ Translation-en
Reading package lists...
Reading package lists...

┌──────────────────────────────────────────────────────────────────────────────┐
│ Install plink1.9 build dependencies (apt-based resolver)                     │
└──────────────────────────────────────────────────────────────────────────────┘

Installing build dependencies
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
  bsdmainutils cpp cpp-5 debhelper dh-strip-nondeterminism file g++-5 gcc
  gcc-5 gcc-5-base gettext gettext-base gfortran gfortran-5 groff-base
  help2man intltool-debian libarchive-zip-perl libasan2 libatlas-base-dev
  libatlas-dev libatlas3-base libatomic1 libblas-common libblas-dev libblas3
  libcc1-0 libcroco3 libffi6 libfile-stripnondeterminism-perl libgcc-5-dev
  libgcc1 libgfortran-5-dev libgfortran3 libglib2.0-0 libgomp1 libicu55
  libisl15 liblapack-dev liblapack3 libmagic1 libpipeline1 libstdc++-5-dev
  libstdc++6 libtimedate-perl libubsan0 libunistring0 libxml2 man-db
  po-debconf zlib1g-dev
Suggested packages:
  wamerican wordlist whois vacation cpp-doc gcc-5-locales dh-make gcc-5-doc
  libstdc++6-5-dbg gcc-multilib manpages-dev autoconf automake libtool flex
  bison gdb gcc-doc libgcc1-dbg libgomp1-dbg libitm1-dbg libatomic1-dbg
  libasan2-dbg liblsan0-dbg libtsan0-dbg libubsan0-dbg libcilkrts5-dbg
  libmpx0-dbg libquadmath-dbg gettext-doc autopoint libasprintf-dev
  libgettextpo-dev gfortran-doc gfortran-5-doc libgfortran3-dbg groff
  libblas-doc liblapack-doc libstdc++-5-doc less www-browser libmail-box-perl
Recommended packages:
  curl wget lynx-cur libglib2.0-data shared-mime-info xdg-user-dirs xml-core
  libmail-sendmail-perl
The following NEW packages will be installed:
  bsdmainutils debhelper dh-strip-nondeterminism file gettext gettext-base
  gfortran gfortran-5 groff-base help2man intltool-debian libarchive-zip-perl
  libatlas-base-dev libatlas-dev libatlas3-base libblas-common libblas-dev
  libblas3 libcroco3 libffi6 libfile-stripnondeterminism-perl
  libgfortran-5-dev libgfortran3 libglib2.0-0 libicu55 libisl15 liblapack-dev
  liblapack3 libmagic1 libpipeline1 libtimedate-perl libunistring0 libxml2
  man-db po-debconf sbuild-build-depends-plink1.9-dummy zlib1g-dev
The following packages will be upgraded:
  cpp cpp-5 g++-5 gcc gcc-5 gcc-5-base libasan2 libatomic1 libcc1-0
  libgcc-5-dev libgcc1 libgomp1 libstdc++-5-dev libstdc++6 libubsan0
15 upgraded, 37 newly installed, 0 to remove and 11 not upgraded.
Need to get 129 MB/129 MB of archives.
After this operation, 202 MB of additional disk space will be used.
Get:1 http://172.17.0.1/private/ stretch-staging/main libgomp1 armhf 5.2.1-23+rpi1+b1 [47.4 kB]
Get:2 http://172.17.0.1/private/ stretch-staging/main libatomic1 armhf 5.2.1-23+rpi1+b1 [6606 B]
Get:3 http://172.17.0.1/private/ stretch-staging/main gcc-5-base armhf 5.2.1-23+rpi1+b1 [167 kB]
Get:4 http://172.17.0.1/private/ stretch-staging/main libgcc1 armhf 1:5.2.1-23+rpi1+b1 [38.5 kB]
Get:5 http://172.17.0.1/private/ stretch-staging/main libasan2 armhf 5.2.1-23+rpi1+b1 [227 kB]
Get:6 http://172.17.0.1/private/ stretch-staging/main libubsan0 armhf 5.2.1-23+rpi1+b1 [84.3 kB]
Get:7 http://172.17.0.1/private/ stretch-staging/main libisl15 armhf 0.15-3 [397 kB]
Get:8 http://172.17.0.1/private/ stretch-staging/main cpp-5 armhf 5.2.1-23+rpi1+b1 [22.9 MB]
Get:9 http://172.17.0.1/private/ stretch-staging/main libcc1-0 armhf 5.2.1-23+rpi1+b1 [24.7 kB]
Get:10 http://172.17.0.1/private/ stretch-staging/main g++-5 armhf 5.2.1-23+rpi1+b1 [32.0 MB]
Get:11 http://172.17.0.1/private/ stretch-staging/main gcc-5 armhf 5.2.1-23+rpi1+b1 [22.9 MB]
Get:12 http://172.17.0.1/private/ stretch-staging/main libgcc-5-dev armhf 5.2.1-23+rpi1+b1 [449 kB]
Get:13 http://172.17.0.1/private/ stretch-staging/main libstdc++-5-dev armhf 5.2.1-23+rpi1+b1 [1428 kB]
Get:14 http://172.17.0.1/private/ stretch-staging/main libstdc++6 armhf 5.2.1-23+rpi1+b1 [327 kB]
Get:15 http://172.17.0.1/private/ stretch-staging/main groff-base armhf 1.22.3-4 [1084 kB]
Get:16 http://172.17.0.1/private/ stretch-staging/main bsdmainutils armhf 9.0.6 [177 kB]
Get:17 http://172.17.0.1/private/ stretch-staging/main libpipeline1 armhf 1.4.1-1 [23.9 kB]
Get:18 http://172.17.0.1/private/ stretch-staging/main man-db armhf 2.7.5-1 [975 kB]
Get:19 http://172.17.0.1/private/ stretch-staging/main libffi6 armhf 3.2.1-3 [18.5 kB]
Get:20 http://172.17.0.1/private/ stretch-staging/main libunistring0 armhf 0.9.3-5.2 [253 kB]
Get:21 http://172.17.0.1/private/ stretch-staging/main libmagic1 armhf 1:5.25-2 [250 kB]
Get:22 http://172.17.0.1/private/ stretch-staging/main file armhf 1:5.25-2 [61.2 kB]
Get:23 http://172.17.0.1/private/ stretch-staging/main gettext-base armhf 0.19.6-1 [119 kB]
Get:24 http://172.17.0.1/private/ stretch-staging/main libicu55 armhf 55.1-6 [7379 kB]
Get:25 http://172.17.0.1/private/ stretch-staging/main libxml2 armhf 2.9.2+zdfsg1-4 [797 kB]
Get:26 http://172.17.0.1/private/ stretch-staging/main cpp armhf 4:5.2.1-4+rpi3 [17.9 kB]
Get:27 http://172.17.0.1/private/ stretch-staging/main libglib2.0-0 armhf 2.46.2-1 [2482 kB]
Get:28 http://172.17.0.1/private/ stretch-staging/main libcroco3 armhf 0.6.9-1 [129 kB]
Get:29 http://172.17.0.1/private/ stretch-staging/main gettext armhf 0.19.6-1 [1393 kB]
Get:30 http://172.17.0.1/private/ stretch-staging/main intltool-debian all 0.35.0+20060710.4 [26.3 kB]
Get:31 http://172.17.0.1/private/ stretch-staging/main po-debconf all 1.0.18 [248 kB]
Get:32 http://172.17.0.1/private/ stretch-staging/main libarchive-zip-perl all 1.55-1 [97.4 kB]
Get:33 http://172.17.0.1/private/ stretch-staging/main libfile-stripnondeterminism-perl all 0.014-1 [10.6 kB]
Get:34 http://172.17.0.1/private/ stretch-staging/main libtimedate-perl all 2.3000-2 [42.2 kB]
Get:35 http://172.17.0.1/private/ stretch-staging/main dh-strip-nondeterminism all 0.014-1 [7472 B]
Get:36 http://172.17.0.1/private/ stretch-staging/main debhelper all 9.20151126 [830 kB]
Get:37 http://172.17.0.1/private/ stretch-staging/main gcc armhf 4:5.2.1-4+rpi3 [5218 B]
Get:38 http://172.17.0.1/private/ stretch-staging/main libgfortran3 armhf 5.2.1-23+rpi1+b1 [154 kB]
Get:39 http://172.17.0.1/private/ stretch-staging/main libgfortran-5-dev armhf 5.2.1-23+rpi1+b1 [183 kB]
Get:40 http://172.17.0.1/private/ stretch-staging/main gfortran-5 armhf 5.2.1-23+rpi1+b1 [23.7 MB]
Get:41 http://172.17.0.1/private/ stretch-staging/main gfortran armhf 4:5.2.1-4+rpi3 [1372 B]
Get:42 http://172.17.0.1/private/ stretch-staging/main help2man armhf 1.47.3 [154 kB]
Get:43 http://172.17.0.1/private/ stretch-staging/main libblas-common armhf 1.2.20110419-11 [8490 B]
Get:44 http://172.17.0.1/private/ stretch-staging/main libatlas3-base armhf 3.10.2-7+rpi1 [1841 kB]
Get:45 http://172.17.0.1/private/ stretch-staging/main libblas3 armhf 1.2.20110419-11 [118 kB]
Get:46 http://172.17.0.1/private/ stretch-staging/main libblas-dev armhf 1.2.20110419-11 [113 kB]
Get:47 http://172.17.0.1/private/ stretch-staging/main libatlas-dev all 3.10.2-7+rpi1 [65.0 kB]
Get:48 http://172.17.0.1/private/ stretch-staging/main libatlas-base-dev armhf 3.10.2-7+rpi1 [2462 kB]
Get:49 http://172.17.0.1/private/ stretch-staging/main liblapack3 armhf 3.5.0-5 [1294 kB]
Get:50 http://172.17.0.1/private/ stretch-staging/main liblapack-dev armhf 3.5.0-5 [1267 kB]
Get:51 http://172.17.0.1/private/ stretch-staging/main zlib1g-dev armhf 1:1.2.8.dfsg-2+b1 [197 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 129 MB in 36s (3540 kB/s)
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 12041 files and directories currently installed.)
Preparing to unpack .../libgomp1_5.2.1-23+rpi1+b1_armhf.deb ...
Unpacking libgomp1:armhf (5.2.1-23+rpi1+b1) over (5.2.1-23+rpi1) ...
Preparing to unpack .../libatomic1_5.2.1-23+rpi1+b1_armhf.deb ...
Unpacking libatomic1:armhf (5.2.1-23+rpi1+b1) over (5.2.1-23+rpi1) ...
Preparing to unpack .../gcc-5-base_5.2.1-23+rpi1+b1_armhf.deb ...
Unpacking gcc-5-base:armhf (5.2.1-23+rpi1+b1) over (5.2.1-23+rpi1) ...
Processing triggers for libc-bin (2.19-22) ...
Setting up gcc-5-base:armhf (5.2.1-23+rpi1+b1) ...
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 12042 files and directories currently installed.)
Preparing to unpack .../libgcc1_1%3a5.2.1-23+rpi1+b1_armhf.deb ...
Unpacking libgcc1:armhf (1:5.2.1-23+rpi1+b1) over (1:5.2.1-23+rpi1) ...
Processing triggers for libc-bin (2.19-22) ...
Setting up libgcc1:armhf (1:5.2.1-23+rpi1+b1) ...
Processing triggers for libc-bin (2.19-22) ...
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 12042 files and directories currently installed.)
Preparing to unpack .../libasan2_5.2.1-23+rpi1+b1_armhf.deb ...
Unpacking libasan2:armhf (5.2.1-23+rpi1+b1) over (5.2.1-23+rpi1) ...
Preparing to unpack .../libubsan0_5.2.1-23+rpi1+b1_armhf.deb ...
Unpacking libubsan0:armhf (5.2.1-23+rpi1+b1) over (5.2.1-23+rpi1) ...
Selecting previously unselected package libisl15:armhf.
Preparing to unpack .../libisl15_0.15-3_armhf.deb ...
Unpacking libisl15:armhf (0.15-3) ...
Preparing to unpack .../cpp-5_5.2.1-23+rpi1+b1_armhf.deb ...
Unpacking cpp-5 (5.2.1-23+rpi1+b1) over (5.2.1-23+rpi1) ...
Preparing to unpack .../libcc1-0_5.2.1-23+rpi1+b1_armhf.deb ...
Unpacking libcc1-0:armhf (5.2.1-23+rpi1+b1) over (5.2.1-23+rpi1) ...
Preparing to unpack .../g++-5_5.2.1-23+rpi1+b1_armhf.deb ...
Unpacking g++-5 (5.2.1-23+rpi1+b1) over (5.2.1-23+rpi1) ...
Preparing to unpack .../gcc-5_5.2.1-23+rpi1+b1_armhf.deb ...
Unpacking gcc-5 (5.2.1-23+rpi1+b1) over (5.2.1-23+rpi1) ...
Preparing to unpack .../libgcc-5-dev_5.2.1-23+rpi1+b1_armhf.deb ...
Unpacking libgcc-5-dev:armhf (5.2.1-23+rpi1+b1) over (5.2.1-23+rpi1) ...
Preparing to unpack .../libstdc++-5-dev_5.2.1-23+rpi1+b1_armhf.deb ...
Unpacking libstdc++-5-dev:armhf (5.2.1-23+rpi1+b1) over (5.2.1-23+rpi1) ...
Preparing to unpack .../libstdc++6_5.2.1-23+rpi1+b1_armhf.deb ...
Unpacking libstdc++6:armhf (5.2.1-23+rpi1+b1) over (5.2.1-23+rpi1) ...
Processing triggers for libc-bin (2.19-22) ...
Setting up libstdc++6:armhf (5.2.1-23+rpi1+b1) ...
Processing triggers for libc-bin (2.19-22) ...
Selecting previously unselected package groff-base.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 12048 files and directories currently installed.)
Preparing to unpack .../groff-base_1.22.3-4_armhf.deb ...
Unpacking groff-base (1.22.3-4) ...
Selecting previously unselected package bsdmainutils.
Preparing to unpack .../bsdmainutils_9.0.6_armhf.deb ...
Unpacking bsdmainutils (9.0.6) ...
Selecting previously unselected package libpipeline1:armhf.
Preparing to unpack .../libpipeline1_1.4.1-1_armhf.deb ...
Unpacking libpipeline1:armhf (1.4.1-1) ...
Selecting previously unselected package man-db.
Preparing to unpack .../man-db_2.7.5-1_armhf.deb ...
Unpacking man-db (2.7.5-1) ...
Selecting previously unselected package libffi6:armhf.
Preparing to unpack .../libffi6_3.2.1-3_armhf.deb ...
Unpacking libffi6:armhf (3.2.1-3) ...
Selecting previously unselected package libunistring0:armhf.
Preparing to unpack .../libunistring0_0.9.3-5.2_armhf.deb ...
Unpacking libunistring0:armhf (0.9.3-5.2) ...
Selecting previously unselected package libmagic1:armhf.
Preparing to unpack .../libmagic1_1%3a5.25-2_armhf.deb ...
Unpacking libmagic1:armhf (1:5.25-2) ...
Selecting previously unselected package file.
Preparing to unpack .../file_1%3a5.25-2_armhf.deb ...
Unpacking file (1:5.25-2) ...
Selecting previously unselected package gettext-base.
Preparing to unpack .../gettext-base_0.19.6-1_armhf.deb ...
Unpacking gettext-base (0.19.6-1) ...
Selecting previously unselected package libicu55:armhf.
Preparing to unpack .../libicu55_55.1-6_armhf.deb ...
Unpacking libicu55:armhf (55.1-6) ...
Selecting previously unselected package libxml2:armhf.
Preparing to unpack .../libxml2_2.9.2+zdfsg1-4_armhf.deb ...
Unpacking libxml2:armhf (2.9.2+zdfsg1-4) ...
Preparing to unpack .../cpp_4%3a5.2.1-4+rpi3_armhf.deb ...
Unpacking cpp (4:5.2.1-4+rpi3) over (4:5.2.1-4+rpi2) ...
Selecting previously unselected package libglib2.0-0:armhf.
Preparing to unpack .../libglib2.0-0_2.46.2-1_armhf.deb ...
Unpacking libglib2.0-0:armhf (2.46.2-1) ...
Selecting previously unselected package libcroco3:armhf.
Preparing to unpack .../libcroco3_0.6.9-1_armhf.deb ...
Unpacking libcroco3:armhf (0.6.9-1) ...
Selecting previously unselected package gettext.
Preparing to unpack .../gettext_0.19.6-1_armhf.deb ...
Unpacking gettext (0.19.6-1) ...
Selecting previously unselected package intltool-debian.
Preparing to unpack .../intltool-debian_0.35.0+20060710.4_all.deb ...
Unpacking intltool-debian (0.35.0+20060710.4) ...
Selecting previously unselected package po-debconf.
Preparing to unpack .../po-debconf_1.0.18_all.deb ...
Unpacking po-debconf (1.0.18) ...
Selecting previously unselected package libarchive-zip-perl.
Preparing to unpack .../libarchive-zip-perl_1.55-1_all.deb ...
Unpacking libarchive-zip-perl (1.55-1) ...
Selecting previously unselected package libfile-stripnondeterminism-perl.
Preparing to unpack .../libfile-stripnondeterminism-perl_0.014-1_all.deb ...
Unpacking libfile-stripnondeterminism-perl (0.014-1) ...
Selecting previously unselected package libtimedate-perl.
Preparing to unpack .../libtimedate-perl_2.3000-2_all.deb ...
Unpacking libtimedate-perl (2.3000-2) ...
Selecting previously unselected package dh-strip-nondeterminism.
Preparing to unpack .../dh-strip-nondeterminism_0.014-1_all.deb ...
Unpacking dh-strip-nondeterminism (0.014-1) ...
Selecting previously unselected package debhelper.
Preparing to unpack .../debhelper_9.20151126_all.deb ...
Unpacking debhelper (9.20151126) ...
Preparing to unpack .../gcc_4%3a5.2.1-4+rpi3_armhf.deb ...
Removing old gcc doc directory.
Unpacking gcc (4:5.2.1-4+rpi3) over (4:5.2.1-4+rpi2) ...
Selecting previously unselected package libgfortran3:armhf.
Preparing to unpack .../libgfortran3_5.2.1-23+rpi1+b1_armhf.deb ...
Unpacking libgfortran3:armhf (5.2.1-23+rpi1+b1) ...
Selecting previously unselected package libgfortran-5-dev:armhf.
Preparing to unpack .../libgfortran-5-dev_5.2.1-23+rpi1+b1_armhf.deb ...
Unpacking libgfortran-5-dev:armhf (5.2.1-23+rpi1+b1) ...
Selecting previously unselected package gfortran-5.
Preparing to unpack .../gfortran-5_5.2.1-23+rpi1+b1_armhf.deb ...
Unpacking gfortran-5 (5.2.1-23+rpi1+b1) ...
Selecting previously unselected package gfortran.
Preparing to unpack .../gfortran_4%3a5.2.1-4+rpi3_armhf.deb ...
Unpacking gfortran (4:5.2.1-4+rpi3) ...
Selecting previously unselected package help2man.
Preparing to unpack .../help2man_1.47.3_armhf.deb ...
Unpacking help2man (1.47.3) ...
Selecting previously unselected package libblas-common.
Preparing to unpack .../libblas-common_1.2.20110419-11_armhf.deb ...
Unpacking libblas-common (1.2.20110419-11) ...
Selecting previously unselected package libatlas3-base.
Preparing to unpack .../libatlas3-base_3.10.2-7+rpi1_armhf.deb ...
Unpacking libatlas3-base (3.10.2-7+rpi1) ...
Selecting previously unselected package libblas3.
Preparing to unpack .../libblas3_1.2.20110419-11_armhf.deb ...
Unpacking libblas3 (1.2.20110419-11) ...
Selecting previously unselected package libblas-dev.
Preparing to unpack .../libblas-dev_1.2.20110419-11_armhf.deb ...
Unpacking libblas-dev (1.2.20110419-11) ...
Selecting previously unselected package libatlas-dev.
Preparing to unpack .../libatlas-dev_3.10.2-7+rpi1_all.deb ...
Unpacking libatlas-dev (3.10.2-7+rpi1) ...
Selecting previously unselected package libatlas-base-dev.
Preparing to unpack .../libatlas-base-dev_3.10.2-7+rpi1_armhf.deb ...
Unpacking libatlas-base-dev (3.10.2-7+rpi1) ...
Selecting previously unselected package liblapack3.
Preparing to unpack .../liblapack3_3.5.0-5_armhf.deb ...
Unpacking liblapack3 (3.5.0-5) ...
Selecting previously unselected package liblapack-dev.
Preparing to unpack .../liblapack-dev_3.5.0-5_armhf.deb ...
Unpacking liblapack-dev (3.5.0-5) ...
Selecting previously unselected package zlib1g-dev:armhf.
Preparing to unpack .../zlib1g-dev_1%3a1.2.8.dfsg-2+b1_armhf.deb ...
Unpacking zlib1g-dev:armhf (1:1.2.8.dfsg-2+b1) ...
Selecting previously unselected package sbuild-build-depends-plink1.9-dummy.
Preparing to unpack .../sbuild-build-depends-plink1.9-dummy.deb ...
Unpacking sbuild-build-depends-plink1.9-dummy (0.invalid.0) ...
Processing triggers for libc-bin (2.19-22) ...
Setting up libgomp1:armhf (5.2.1-23+rpi1+b1) ...
Setting up libatomic1:armhf (5.2.1-23+rpi1+b1) ...
Setting up libasan2:armhf (5.2.1-23+rpi1+b1) ...
Setting up libubsan0:armhf (5.2.1-23+rpi1+b1) ...
Setting up libisl15:armhf (0.15-3) ...
Setting up cpp-5 (5.2.1-23+rpi1+b1) ...
Setting up libcc1-0:armhf (5.2.1-23+rpi1+b1) ...
Setting up libgcc-5-dev:armhf (5.2.1-23+rpi1+b1) ...
Setting up gcc-5 (5.2.1-23+rpi1+b1) ...
Setting up libstdc++-5-dev:armhf (5.2.1-23+rpi1+b1) ...
Setting up g++-5 (5.2.1-23+rpi1+b1) ...
Setting up groff-base (1.22.3-4) ...
Setting up bsdmainutils (9.0.6) ...
update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write (write) in auto mode
update-alternatives: using /usr/bin/bsd-from to provide /usr/bin/from (from) in auto mode
Setting up libpipeline1:armhf (1.4.1-1) ...
Setting up man-db (2.7.5-1) ...
Not building database; man-db/auto-update is not 'true'.
Setting up libffi6:armhf (3.2.1-3) ...
Setting up libunistring0:armhf (0.9.3-5.2) ...
Setting up libmagic1:armhf (1:5.25-2) ...
Setting up file (1:5.25-2) ...
Setting up gettext-base (0.19.6-1) ...
Setting up libicu55:armhf (55.1-6) ...
Setting up libxml2:armhf (2.9.2+zdfsg1-4) ...
Setting up cpp (4:5.2.1-4+rpi3) ...
Setting up libglib2.0-0:armhf (2.46.2-1) ...
No schema files found: doing nothing.
Setting up libcroco3:armhf (0.6.9-1) ...
Setting up gettext (0.19.6-1) ...
Setting up intltool-debian (0.35.0+20060710.4) ...
Setting up po-debconf (1.0.18) ...
Setting up libarchive-zip-perl (1.55-1) ...
Setting up libfile-stripnondeterminism-perl (0.014-1) ...
Setting up libtimedate-perl (2.3000-2) ...
Setting up gcc (4:5.2.1-4+rpi3) ...
Setting up libgfortran3:armhf (5.2.1-23+rpi1+b1) ...
Setting up libgfortran-5-dev:armhf (5.2.1-23+rpi1+b1) ...
Setting up gfortran-5 (5.2.1-23+rpi1+b1) ...
Setting up gfortran (4:5.2.1-4+rpi3) ...
update-alternatives: using /usr/bin/gfortran to provide /usr/bin/f95 (f95) in auto mode
update-alternatives: using /usr/bin/gfortran to provide /usr/bin/f77 (f77) in auto mode
Setting up help2man (1.47.3) ...
Setting up libblas-common (1.2.20110419-11) ...
Setting up libatlas3-base (3.10.2-7+rpi1) ...
update-alternatives: using /usr/lib/atlas-base/atlas/libblas.so.3 to provide /usr/lib/libblas.so.3 (libblas.so.3) in auto mode
update-alternatives: using /usr/lib/atlas-base/atlas/liblapack.so.3 to provide /usr/lib/liblapack.so.3 (liblapack.so.3) in auto mode
Setting up libblas3 (1.2.20110419-11) ...
Setting up libblas-dev (1.2.20110419-11) ...
update-alternatives: using /usr/lib/libblas/libblas.so to provide /usr/lib/libblas.so (libblas.so) in auto mode
Setting up libatlas-dev (3.10.2-7+rpi1) ...
Setting up libatlas-base-dev (3.10.2-7+rpi1) ...
update-alternatives: using /usr/lib/atlas-base/atlas/libblas.so to provide /usr/lib/libblas.so (libblas.so) in auto mode
update-alternatives: using /usr/lib/atlas-base/atlas/liblapack.so to provide /usr/lib/liblapack.so (liblapack.so) in auto mode
Setting up liblapack3 (3.5.0-5) ...
Setting up liblapack-dev (3.5.0-5) ...
Setting up zlib1g-dev:armhf (1:1.2.8.dfsg-2+b1) ...
Setting up debhelper (9.20151126) ...
Setting up sbuild-build-depends-plink1.9-dummy (0.invalid.0) ...
Setting up dh-strip-nondeterminism (0.014-1) ...
Processing triggers for libc-bin (2.19-22) ...

┌──────────────────────────────────────────────────────────────────────────────┐
│ Build environment                                                            │
└──────────────────────────────────────────────────────────────────────────────┘

Kernel: Linux 3.19.0-trunk-armmp armhf (armv7l)
Toolchain package versions: binutils_2.25.1-7 dpkg-dev_1.18.3 g++-5_5.2.1-23+rpi1+b1 gcc-5_5.2.1-23+rpi1+b1 libc6-dev_2.19-22 libstdc++-5-dev_5.2.1-23+rpi1+b1 libstdc++6_5.2.1-23+rpi1+b1 linux-libc-dev_3.18.5-1~exp1+rpi19+stretch
Package versions: adduser_3.113+nmu3 apt_1.0.10.2 base-files_9.4+rpi1 base-passwd_3.5.38 bash_4.3-14 binutils_2.25.1-7 bsdmainutils_9.0.6 bsdutils_1:2.27.1-1 build-essential_11.7 bzip2_1.0.6-8 coreutils_8.23-4 cpio_2.11+dfsg-4.1 cpp_4:5.2.1-4+rpi3 cpp-5_5.2.1-23+rpi1+b1 dash_0.5.7-4 debconf_1.5.58 debconf-i18n_1.5.58 debfoster_2.7-2 debhelper_9.20151126 debianutils_4.5.1 dh-strip-nondeterminism_0.014-1 diffutils_1:3.3-2 dmsetup_2:1.02.110-1+rpi1 dpkg_1.18.3 dpkg-dev_1.18.3 e2fslibs_1.42.13-1 e2fsprogs_1.42.13-1 fakeroot_1.20.2-1 file_1:5.25-2 findutils_4.4.2-10 g++_4:5.2.1-4+rpi2 g++-5_5.2.1-23+rpi1+b1 gcc_4:5.2.1-4+rpi3 gcc-4.6-base_4.6.4-5+rpi1 gcc-4.7-base_4.7.3-11+rpi1 gcc-4.8-base_4.8.5-1 gcc-4.9-base_4.9.3-5 gcc-5_5.2.1-23+rpi1+b1 gcc-5-base_5.2.1-23+rpi1+b1 gettext_0.19.6-1 gettext-base_0.19.6-1 gfortran_4:5.2.1-4+rpi3 gfortran-5_5.2.1-23+rpi1+b1 gnupg_1.4.19-6 gpgv_1.4.19-6 grep_2.22-1 groff-base_1.22.3-4 gzip_1.6-4 help2man_1.47.3 hostname_3.16 init_1.24 init-system-helpers_1.24 initramfs-tools_0.120 initscripts_2.88dsf-59.2 insserv_1.14.0-5 intltool-debian_0.35.0+20060710.4 klibc-utils_2.0.4-2+rpi1 kmod_21-1 libacl1_2.2.52-2 libapparmor1_2.10-2+b2 libapt-pkg4.16_1.0.10.2 libarchive-zip-perl_1.55-1 libasan2_5.2.1-23+rpi1+b1 libatlas-base-dev_3.10.2-7+rpi1 libatlas-dev_3.10.2-7+rpi1 libatlas3-base_3.10.2-7+rpi1 libatomic1_5.2.1-23+rpi1+b1 libattr1_1:2.4.47-2 libaudit-common_1:2.4.4-4 libaudit1_1:2.4.4-4 libblas-common_1.2.20110419-11 libblas-dev_1.2.20110419-11 libblas3_1.2.20110419-11 libblkid1_2.27.1-1 libbz2-1.0_1.0.6-8 libc-bin_2.19-22 libc-dev-bin_2.19-22 libc6_2.19-22 libc6-dev_2.19-22 libcap2_1:2.24-12 libcap2-bin_1:2.24-12 libcc1-0_5.2.1-23+rpi1+b1 libcomerr2_1.42.13-1 libcroco3_0.6.9-1 libcryptsetup4_2:1.6.6-5 libdb5.3_5.3.28-11 libdbus-1-3_1.10.4-1 libdebconfclient0_0.197 libdevmapper1.02.1_2:1.02.110-1+rpi1 libdpkg-perl_1.18.3 libdrm2_2.4.65-3 libfakeroot_1.20.2-1 libfdisk1_2.27.1-1 libffi6_3.2.1-3 libfile-stripnondeterminism-perl_0.014-1 libgc1c2_1:7.4.2-7 libgcc-5-dev_5.2.1-23+rpi1+b1 libgcc1_1:5.2.1-23+rpi1+b1 libgcrypt20_1.6.4-3 libgdbm3_1.8.3-13.1 libgfortran-5-dev_5.2.1-23+rpi1+b1 libgfortran3_5.2.1-23+rpi1+b1 libglib2.0-0_2.46.2-1 libgmp10_2:6.1.0+dfsg-2 libgomp1_5.2.1-23+rpi1+b1 libgpg-error0_1.20-1 libicu55_55.1-6 libisl13_0.14-2 libisl15_0.15-3 libklibc_2.0.4-2+rpi1 libkmod2_21-1 liblapack-dev_3.5.0-5 liblapack3_3.5.0-5 liblocale-gettext-perl_1.07-1 liblzma5_5.1.1alpha+20120614-2.1 libmagic1_1:5.25-2 libmount1_2.27.1-1 libmpc3_1.0.3-1 libmpfr4_3.1.3-1 libncurses5_6.0+20151024-2 libncursesw5_6.0+20151024-2 libnih-dbus1_1.0.3-4.3 libnih1_1.0.3-4.3 libpam-modules_1.1.8-3.1 libpam-modules-bin_1.1.8-3.1 libpam-runtime_1.1.8-3.1 libpam0g_1.1.8-3.1 libpcre3_2:8.35-7.4 libpipeline1_1.4.1-1 libplymouth4_0.9.2-3 libpng12-0_1.2.54-1 libprocps4_2:3.3.10-2 libreadline6_6.3-8+b3 libseccomp2_2.2.3-2 libselinux1_2.4-3 libsemanage-common_2.4-3 libsemanage1_2.4-3 libsepol1_2.4-2 libsmartcols1_2.27.1-1 libss2_1.42.13-1 libstdc++-5-dev_5.2.1-23+rpi1+b1 libstdc++6_5.2.1-23+rpi1+b1 libsystemd0_228-2 libtext-charwidth-perl_0.04-7+b4 libtext-iconv-perl_1.7-5+b5 libtext-wrapi18n-perl_0.06-7.1 libtimedate-perl_2.3000-2 libtinfo5_6.0+20151024-2 libubsan0_5.2.1-23+rpi1+b1 libudev1_228-2 libunistring0_0.9.3-5.2 libusb-0.1-4_2:0.1.12-27 libustr-1.0-1_1.0.4-5 libuuid1_2.27.1-1 libxml2_2.9.2+zdfsg1-4 linux-libc-dev_3.18.5-1~exp1+rpi19+stretch login_1:4.2-3.1 lsb-base_4.1+Debian13+rpi1+nmu1 make_4.0-8.2 makedev_2.3.1-93 man-db_2.7.5-1 mawk_1.3.3-17 mount_2.27.1-1 mountall_2.54 multiarch-support_2.19-22 ncurses-base_6.0+20151024-2 ncurses-bin_6.0+20151024-2 passwd_1:4.2-3.1 patch_2.7.5-1 perl_5.20.2-6 perl-base_5.20.2-6 perl-modules_5.20.2-6 plymouth_0.9.2-3 po-debconf_1.0.18 procps_2:3.3.10-2 raspbian-archive-keyring_20120528.2 readline-common_6.3-8 sbuild-build-depends-core-dummy_0.invalid.0 sbuild-build-depends-plink1.9-dummy_0.invalid.0 sed_4.2.2-6.1 sensible-utils_0.0.9 startpar_0.59-3 systemd_228-2 systemd-sysv_228-2 sysv-rc_2.88dsf-59.2 sysvinit-utils_2.88dsf-59.2 tar_1.28-2.1 tzdata_2015g-1 udev_228-2 util-linux_2.27.1-1 xz-utils_5.1.1alpha+20120614-2.1 zlib1g_1:1.2.8.dfsg-2+b1 zlib1g-dev_1:1.2.8.dfsg-2+b1

┌──────────────────────────────────────────────────────────────────────────────┐
│ Build                                                                        │
└──────────────────────────────────────────────────────────────────────────────┘


Unpack source
─────────────

gpgv: keyblock resource `/sbuild-nonexistent/.gnupg/trustedkeys.gpg': file open error
gpgv: Signature made Fri Sep 25 19:49:11 2015 UTC using RSA key ID D1C646D1
gpgv: Can't check signature: public key not found
dpkg-source: warning: failed to verify signature on ./plink1.9_1.90~b3w-150903-1.dsc
dpkg-source: info: extracting plink1.9 in plink1.9-1.90~b3w-150903
dpkg-source: info: unpacking plink1.9_1.90~b3w-150903.orig.tar.gz
dpkg-source: info: unpacking plink1.9_1.90~b3w-150903-1.debian.tar.xz
dpkg-source: info: applying 01_Fix_use_internal_lib.patch
dpkg-source: info: applying 02_Activate_Stable_Build.patch

Check disc space
────────────────

Sufficient free space for build

User Environment
────────────────

DEB_BUILD_OPTIONS=parallel=4
HOME=/sbuild-nonexistent
LOGNAME=root
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
SCHROOT_ALIAS_NAME=stretch-staging-armhf-sbuild
SCHROOT_CHROOT_NAME=stretch-staging-armhf-sbuild
SCHROOT_COMMAND=env
SCHROOT_GID=109
SCHROOT_GROUP=buildd
SCHROOT_SESSION_ID=stretch-staging-armhf-sbuild-06fb3d22-e613-41b7-9f5d-73c328ce165f
SCHROOT_UID=104
SCHROOT_USER=buildd
SHELL=/bin/sh
TERM=xterm
USER=buildd

dpkg-buildpackage
─────────────────

dpkg-buildpackage: source package plink1.9
dpkg-buildpackage: source version 1.90~b3w-150903-1
dpkg-buildpackage: source distribution unstable
 dpkg-source --before-build plink1.9-1.90~b3w-150903
dpkg-buildpackage: host architecture armhf
 fakeroot debian/rules clean
dh clean
   dh_testdir
   debian/rules override_dh_auto_clean
make[1]: Entering directory '/«PKGBUILDDIR»'
dh_auto_clean
rm -f plink1.9
make[1]: Leaving directory '/«PKGBUILDDIR»'
   dh_clean
 debian/rules build-arch
dh build-arch
   dh_testdir -a
   dh_auto_configure -a
   debian/rules override_dh_auto_build
make[1]: Entering directory '/«PKGBUILDDIR»'
/usr/bin/make CFLAGS='-Wall -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -Wl,-z,relro'
make[2]: Entering directory '/«PKGBUILDDIR»'
g++ -Wall -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -Wl,-z,relro plink.c plink_assoc.c plink_calc.c plink_cluster.c plink_cnv.c plink_common.c plink_data.c plink_dosage.c plink_family.c plink_filter.c plink_glm.c plink_help.c plink_homozyg.c plink_lasso.c plink_ld.c plink_matrix.c plink_misc.c plink_rserve.c plink_set.c plink_stats.c SFMT.c dcdflib.c pigz.c yarn.c Rconnection.cc hfile.c bgzf.c -o plink -llapack -lcblas -latlas -lm -lpthread -ldl -lz
In file included from plink.c:19:0:
plink.c: In function 'int32_t plink(char*, char*, char*, char*, char*, char*, char*, char*, char*, char*, char*, char*, char*, char*, char*, char*, char*, char*, char*, char*, char*, char*, char*, char*, char*, char*, char*, Two_col_params*, Two_col_params*, char*, char*, char*, char*, Two_col_params*, Two_col_params*, Two_col_params*, Two_col_params*, Two_col_params*, char*, char*, char*, char*, char*, char*, char*, char*, char*, char*, char*, char*, char*, char*, char*, uint32_t, double, double, double, double, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, int32_t, char*, uint32_t, uint32_t, Chrom_info*, Oblig_missing_info*, Family_info*, double, double, uint32_t, uint32_t, double, double, double, double, double, double, double, double, long long unsigned int, long long unsigned int, long long unsigned int, uint32_t, long unsigned int, uint32_t, long unsigned int, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, double, double, Homozyg_info*, Cluster_info*, uint32_t, uint32_t, Set_info*, Ld_info*, Epi_info*, Clump_info*, Rel_info*, Score_info*, uint32_t, uint32_t, uint32_t, uint32_t, int32_t, int32_t, int32_t, char*, char*, char*, Range_list*, uint32_t, uint32_t, Range_list*, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, double, uint32_t, uint32_t, Range_list*, Range_list*, double, double, double, uint32_t, double, uint32_t, Aperm_info*, uint32_t, long unsigned int, uint32_t, double, double, Range_list*, uint32_t, uint32_t, uint32_t, uint32_t, Ll_str**)':
plink_common.h:803:51: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGPRINTF(...) sprintf(logbuf, __VA_ARGS__); logprintb();
                                                   ^
plink.c:610:7: note: in expansion of macro 'LOGPRINTF'
       LOGPRINTF("%" PRIuPTR " %s (%u male%s, %u female%s, %u ambiguous) loaded from .fam.\n", unfiltered_sample_ct, species_str(unfiltered_sample_ct), uii, (uii == 1)? "" : "s", ujj, (ujj == 1)? "" : "s", gender_unk_ct);
       ^
plink_common.h:803:51: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGPRINTF(...) sprintf(logbuf, __VA_ARGS__); logprintb();
                                                   ^
plink.c:616:7: note: in expansion of macro 'LOGPRINTF'
       LOGPRINTF("%" PRIuPTR " %s (%d male%s, %d female%s) loaded from .fam.\n", unfiltered_sample_ct, species_str(unfiltered_sample_ct), uii, (uii == 1)? "" : "s", ujj, (ujj == 1)? "" : "s");
       ^
plink_common.h:803:51: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGPRINTF(...) sprintf(logbuf, __VA_ARGS__); logprintb();
                                                   ^
plink.c:810:2: note: in expansion of macro 'LOGPRINTF'
  LOGPRINTF("--extract range: %" PRIuPTR " variant%s remaining.\n", uljj, (uljj == 1)? "" : "s");
  ^
plink_common.h:803:51: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGPRINTF(...) sprintf(logbuf, __VA_ARGS__); logprintb();
                                                   ^
plink.c:829:2: note: in expansion of macro 'LOGPRINTF'
  LOGPRINTF("--exclude range: %" PRIuPTR " variant%s remaining.\n", uljj, (uljj == 1)? "" : "s");
  ^
plink_common.h:803:51: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGPRINTF(...) sprintf(logbuf, __VA_ARGS__); logprintb();
                                                   ^
plink.c:1035:7: note: in expansion of macro 'LOGPRINTF'
       LOGPRINTF("--prune: %" PRIuPTR " %s remaining.\n", unfiltered_sample_ct - sample_exclude_ct, species_str(unfiltered_sample_ct == sample_exclude_ct + 1));
       ^
plink.c:1118:125: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
       sprintf(logbuf, "Error: Too many --parallel jobs (maximum %" PRIuPTR "/2 = %" PRIuPTR ").\n", sample_ct, sample_ct / 2);
                                                                                                                             ^
plink.c:1118:125: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=]
In file included from plink.c:19:0:
plink_common.h:813:53: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGPRINTFWW(...) sprintf(logbuf, __VA_ARGS__); wordwrap(logbuf, 0); logprintb();
                                                     ^
plink.c:1230:5: note: in expansion of macro 'LOGPRINTFWW'
     LOGPRINTFWW("Before main variant filters, %" PRIuPTR " founder%s and %" PRIuPTR " nonfounder%s present.\n", ulii, (ulii == 1)? "" : "s", sample_ct - ulii, (sample_ct - ulii == 1)? "" : "s");
     ^
plink_common.h:813:53: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=]
 #define LOGPRINTFWW(...) sprintf(logbuf, __VA_ARGS__); wordwrap(logbuf, 0); logprintb();
                                                     ^
plink.c:1230:5: note: in expansion of macro 'LOGPRINTFWW'
     LOGPRINTFWW("Before main variant filters, %" PRIuPTR " founder%s and %" PRIuPTR " nonfounder%s present.\n", ulii, (ulii == 1)? "" : "s", sample_ct - ulii, (sample_ct - ulii == 1)? "" : "s");
     ^
plink_common.h:803:51: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGPRINTF(...) sprintf(logbuf, __VA_ARGS__); logprintb();
                                                   ^
plink.c:1312:7: note: in expansion of macro 'LOGPRINTF'
       LOGPRINTF("%" PRIuPTR " variant%s removed due to missing genotype data (--geno).\n", ulii, (ulii == 1)? "" : "s");
       ^
plink_common.h:813:53: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGPRINTFWW(...) sprintf(logbuf, __VA_ARGS__); wordwrap(logbuf, 0); logprintb();
                                                     ^
plink.c:1381:7: note: in expansion of macro 'LOGPRINTFWW'
       LOGPRINTFWW("%" PRIuPTR " variant%s and %" PRIuPTR " %s pass filters and QC%s.\n", marker_ct, (marker_ct == 1)? "" : "s", sample_ct, species_str(sample_ct), (calculation_type & CALC_REL_CUTOFF)? " (before --rel-cutoff)": "");
       ^
plink_common.h:813:53: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=]
 #define LOGPRINTFWW(...) sprintf(logbuf, __VA_ARGS__); wordwrap(logbuf, 0); logprintb();
                                                     ^
plink.c:1381:7: note: in expansion of macro 'LOGPRINTFWW'
       LOGPRINTFWW("%" PRIuPTR " variant%s and %" PRIuPTR " %s pass filters and QC%s.\n", marker_ct, (marker_ct == 1)? "" : "s", sample_ct, species_str(sample_ct), (calculation_type & CALC_REL_CUTOFF)? " (before --rel-cutoff)": "");
       ^
plink_common.h:813:53: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGPRINTFWW(...) sprintf(logbuf, __VA_ARGS__); wordwrap(logbuf, 0); logprintb();
                                                     ^
plink.c:1383:7: note: in expansion of macro 'LOGPRINTFWW'
       LOGPRINTFWW("%" PRIuPTR " variant%s filters and QC.\n", marker_ct, (marker_ct == 1)? " passes" : "s pass");
       ^
plink.c:1391:339: warning: format '%u' expects argument of type 'unsigned int', but argument 7 has type 'long unsigned int' [-Wformat=]
  sprintf(logbuf, "Among remaining phenotypes, %u %s and %u %s.  (%" PRIuPTR " phenotype%s missing.)\n", pheno_nm_ct - pheno_ctrl_ct, (pheno_nm_ct - pheno_ctrl_ct == 1)? "is a case" : "are cases", pheno_ctrl_ct, (pheno_ctrl_ct == 1)? "is a control" : "are controls", sample_ct - pheno_nm_ct, (sample_ct - pheno_nm_ct == 1)? " is" : "s are");
                                                                                                                                                                                                                                                                                                                                                   ^
In file included from plink.c:19:0:
plink_common.h:803:51: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGPRINTF(...) sprintf(logbuf, __VA_ARGS__); logprintb();
                                                   ^
plink.c:1416:2: note: in expansion of macro 'LOGPRINTF'
  LOGPRINTF("--pca-cluster-names/--pca-clusters: %" PRIuPTR " samples specified.\n", pca_sample_ct);
  ^
plink_common.h:803:51: warning: format '%u' expects argument of type 'unsigned int', but argument 8 has type 'long unsigned int' [-Wformat=]
 #define LOGPRINTF(...) sprintf(logbuf, __VA_ARGS__); logprintb();
                                                   ^
plink.c:1943:11: note: in expansion of macro 'LOGPRINTF'
           LOGPRINTF("%s has %u case%s, %u control%s, and %" PRIuPTR " missing phenotype%s.\n", &(outname_end[1]), ujj, (ujj == 1)? "" : "s", ukk, (ukk == 1)? "" : "s", ulii, (ulii == 1)? "" : "s");
           ^
plink.c: In function 'int32_t rerun(uint32_t, uint32_t, int32_t*, uint32_t*, char***, char***, char**)':
plink.c:2638:103: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
     fprintf(stderr, "Error: Line %" PRIuPTR " of --rerun log file is pathologically long.\n", line_idx);
                                                                                                       ^
plink.c: In function 'int32_t main(int32_t, char**)':
plink.c:13209:121: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=]
     sprintf(logbuf, "%" PRId64 " MB RAM detected; reserving %" PRIdPTR " MB for main workspace.\n", llxx, malloc_size_mb);
                                                                                                                         ^
plink.c:13211:115: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=]
     sprintf(logbuf, "Failed to calculate system memory.  Attempting to reserve %" PRIdPTR " MB.\n", malloc_size_mb);
                                                                                                                   ^
In file included from plink.c:19:0:
plink_common.h:803:51: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=]
 #define LOGPRINTF(...) sprintf(logbuf, __VA_ARGS__); logprintb();
                                                   ^
plink.c:13222:7: note: in expansion of macro 'LOGPRINTF'
       LOGPRINTF("Allocated %" PRIdPTR " MB successfully, after larger attempt(s) failed.\n", malloc_size_mb);
       ^
plink.c:3612:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
     freopen("/dev/null", "w", stdout);
                                      ^
plink.c:3983:26: warning: ignoring return value of 'char* getcwd(char*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
   getcwd(tbuf, FNAMESIZE);
                          ^
In file included from plink_assoc.c:1:0:
plink_assoc.c: In function 'int32_t multcomp(char*, char*, uint32_t*, long unsigned int, char*, long unsigned int, uint32_t, Chrom_info*, double*, double, double, uint32_t, uint32_t, double, uint32_t*, double*)':
plink_common.h:813:53: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGPRINTFWW(...) sprintf(logbuf, __VA_ARGS__); wordwrap(logbuf, 0); logprintb();
                                                     ^
plink_assoc.c:546:3: note: in expansion of macro 'LOGPRINTFWW'
   LOGPRINTFWW("--adjust values (%" PRIuPTR " %s%s) written to %s .\n", chi_ct, is_set_test? "nonempty set" : "variant", (chi_ct == 1)? "" : "s", outname);
   ^
plink_assoc.c: In function 'int32_t testmiss(pthread_t*, FILE*, long unsigned int, char*, char*, uint32_t, uint32_t, double, double, uint32_t, double, long unsigned int, long unsigned int*, long unsigned int, char*, long unsigned int, uint32_t, Chrom_info*, long unsigned int, uint32_t, uint32_t*, uint32_t*, Aperm_info*, uint32_t, uint32_t, long unsigned int*, long unsigned int*, long unsigned int*, uint32_t)':
plink_common.h:803:51: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGPRINTF(...) sprintf(logbuf, __VA_ARGS__); logprintb();
                                                   ^
plink_assoc.c:11160:5: note: in expansion of macro 'LOGPRINTF'
     LOGPRINTF("Including %" PRIuPTR " loc%s in --test-missing permutation test.\n", marker_ct, (marker_ct == 1)? "us" : "i");
     ^
plink_calc.c: In function 'void ibs_test_range(uint32_t, long unsigned int*, double*)':
plink_calc.c:951:34: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=]
  printf("\b\b%" PRIuPTR "%%", pct);
                                  ^
plink_calc.c: In function 'void* groupdist_jack_thread(void*)':
plink_calc.c:1871:38: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=]
       printf("\r%" PRIuPTR "%%", uljj);
                                      ^
plink_calc.c: In function 'void* regress_rel_jack_thread(void*)':
plink_calc.c:1965:38: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=]
       printf("\r%" PRIuPTR "%%", uljj);
                                      ^
In file included from plink_calc.c:73:0:
plink_calc.c: In function 'int32_t unrelated_herit_batch(uint32_t, char*, char*, uint32_t, char*, int32_t, Rel_info*)':
plink_common.h:811:56: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGPREPRINTFWW(...) sprintf(logbuf, __VA_ARGS__); wordwrap(logbuf, 0);
                                                        ^
plink_calc.c:2460:7: note: in expansion of macro 'LOGPREPRINTFWW'
       LOGPREPRINTFWW("Error: Line %" PRIuPTR " of %s is pathologically long.\n", line_idx, grmname);
       ^
plink_common.h:811:56: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGPREPRINTFWW(...) sprintf(logbuf, __VA_ARGS__); wordwrap(logbuf, 0);
                                                        ^
plink_calc.c:2471:7: note: in expansion of macro 'LOGPREPRINTFWW'
       LOGPREPRINTFWW("Error: Line %" PRIuPTR " of %s has fewer tokens than expected.\n", line_idx, grmname);
       ^
plink_common.h:803:51: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGPRINTF(...) sprintf(logbuf, __VA_ARGS__); logprintb();
                                                   ^
plink_calc.c:2649:3: note: in expansion of macro 'LOGPRINTF'
   LOGPRINTF("--unrelated-heritability: %" PRIuPTR " phenotypes loaded.\n", pheno_nm_ct);
   ^
plink_calc.c: In function 'int32_t ibs_test_calc(pthread_t*, char*, long unsigned int, long unsigned int*, long unsigned int, long unsigned int, long unsigned int, long unsigned int, long unsigned int*, long unsigned int*)':
plink_calc.c:2778:90: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=]
   printf("--ibs-test (%" PRIuPTR " permutations): [generating permutations]", perm_ct - 1);
                                                                                          ^
In file included from plink_calc.c:73:0:
plink_calc.c: In function 'int32_t rel_cutoff_batch(uint32_t, char*, char*, char*, Rel_info*)':
plink_common.h:811:56: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGPREPRINTFWW(...) sprintf(logbuf, __VA_ARGS__); wordwrap(logbuf, 0);
                                                        ^
plink_calc.c:5912:7: note: in expansion of macro 'LOGPREPRINTFWW'
       LOGPREPRINTFWW("Error: Line %" PRIuPTR " of %s is pathologically long.\n", line_idx, grmname);
       ^
plink_calc.c: In function 'int32_t load_distance_wts(char*, long unsigned int, char*, long unsigned int, uint32_t, uint32_t, long unsigned int**, uint32_t*, double**)':
plink_common.h:811:56: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGPREPRINTFWW(...) sprintf(logbuf, __VA_ARGS__); wordwrap(logbuf, 0);
                                                        ^
plink_calc.c:6723:7: note: in expansion of macro 'LOGPREPRINTFWW'
       LOGPREPRINTFWW("Error: Line %" PRIuPTR " of %s is pathologically long.\n", line_idx, distance_wts_fname);
       ^
plink_calc.c:6748:116: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
       sprintf(logbuf, "Error: Line %" PRIuPTR " of --distance-wts file has fewer tokens than expected.\n", line_idx);
                                                                                                                    ^
plink_calc.c:6809:101: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
     sprintf(logbuf, "Error: Invalid weight on line %" PRIuPTR " of --distance-wts file.\n", line_idx);
                                                                                                     ^
plink_calc.c: In function 'int32_t calc_rel(pthread_t*, uint32_t, uint32_t, long long unsigned int, Rel_info*, FILE*, long unsigned int, char*, char*, char*, uint32_t, long unsigned int, long unsigned int*, long unsigned int*, uint32_t, char*, long unsigned int, long unsigned int, long unsigned int*, long unsigned int*, char*, long unsigned int, double*, double**, Chrom_info*)':
plink_calc.c:7051:58: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=]
     printf("\r%" PRIuPTR " markers complete.", marker_idx);
                                                          ^
plink_calc.c: In function 'int32_t calc_ibm(pthread_t*, FILE*, long unsigned int, long unsigned int, long unsigned int*, uint32_t, long unsigned int, long unsigned int*, long unsigned int, Chrom_info*)':
plink_calc.c:7993:58: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=]
     printf("\r%" PRIuPTR " markers complete.", marker_idx);
                                                          ^
plink_calc.c: In function 'int32_t calc_distance(pthread_t*, uint32_t, uint32_t, FILE*, long unsigned int, char*, char*, char*, char*, double, long long unsigned int, uint32_t, long unsigned int, long unsigned int*, uint32_t, char*, long unsigned int, double*, long unsigned int, long unsigned int*, long unsigned int, char*, long unsigned int, Chrom_info*)':
plink_calc.c:8453:58: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=]
     printf("\r%" PRIuPTR " markers complete.", marker_idx);
                                                          ^
plink_calc.c: In function 'void* regress_jack_thread(void*)':
plink_calc.c:9791:38: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=]
       printf("\r%" PRIuPTR "%%", uljj);
                                      ^
plink_calc.c: In function 'int32_t unrelated_herit_batch(uint32_t, char*, char*, uint32_t, char*, int32_t, Rel_info*)':
plink_calc.c:2593:39: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
         fread(&fxx, 4, 1, grm_binfile);
                                       ^
plink_calc.c: In function 'uint32_t rel_cutoff_batch_rbin_emitn(uint32_t, unsigned char*)':
plink_calc.c:5817:33: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
  fread(&fxx, 4, 1, in_bin_nfile);
                                 ^
plink_calc.c:5819:31: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
  fread(&fxx, 4, 1, in_binfile);
                               ^
plink_calc.c: In function 'int32_t rel_cutoff_batch(uint32_t, char*, char*, char*, Rel_info*)':
plink_calc.c:6352:39: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
        fread(&fxx, 4, 1, in_bin_nfile);
                                       ^
plink_calc.c:6354:37: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
        fread(&fxx, 4, 1, in_binfile);
                                     ^
plink_cluster.c: In function 'int32_t load_clusters(char*, long unsigned int, long unsigned int*, long unsigned int*, char*, long unsigned int, uint32_t, uint32_t, long unsigned int*, uint32_t**, uint32_t**, char**, long unsigned int*, char*, char*, char*, char*)':
plink_cluster.c:106:108: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
      sprintf(logbuf, "Error: Line %" PRIuPTR " of --keep-clusters file is pathologically long.\n", line_idx);
                                                                                                            ^
plink_cluster.c:184:112: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
        sprintf(logbuf, "Error: Line %" PRIuPTR " of --remove-clusters file is pathologically long.\n", line_idx);
                                                                                                                ^
plink_cluster.c:223:110: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
      sprintf(logbuf, "Error: Line %" PRIuPTR " of --remove-clusters file is pathologically long.\n", line_idx);
                                                                                                              ^
plink_cluster.c:313:97: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
  sprintf(logbuf, "Error: Line %" PRIuPTR " of --within file is pathologically long.\n", line_idx);
                                                                                                 ^
In file included from plink_cluster.c:1:0:
plink_common.h:803:51: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGPRINTF(...) sprintf(logbuf, __VA_ARGS__); logprintb();
                                                   ^
plink_cluster.c:455:7: note: in expansion of macro 'LOGPRINTF'
       LOGPRINTF("--within: %" PRIuPTR " cluster%s loaded, covering a total of %" PRIuPTR " %s.\n", cluster_ct, (cluster_ct == 1)? "" : "s", assigned_ct, species_str(assigned_ct));
       ^
plink_common.h:803:51: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=]
 #define LOGPRINTF(...) sprintf(logbuf, __VA_ARGS__); logprintb();
                                                   ^
plink_cluster.c:455:7: note: in expansion of macro 'LOGPRINTF'
       LOGPRINTF("--within: %" PRIuPTR " cluster%s loaded, covering a total of %" PRIuPTR " %s.\n", cluster_ct, (cluster_ct == 1)? "" : "s", assigned_ct, species_str(assigned_ct));
       ^
plink_common.h:803:51: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGPRINTF(...) sprintf(logbuf, __VA_ARGS__); logprintb();
                                                   ^
plink_cluster.c:548:5: note: in expansion of macro 'LOGPRINTF'
     LOGPRINTF("--family: %" PRIuPTR " cluster%s defined.\n", cluster_ct, (cluster_ct == 1)? "" : "s");
     ^
plink_common.h:803:51: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGPRINTF(...) sprintf(logbuf, __VA_ARGS__); logprintb();
                                                   ^
plink_cluster.c:556:7: note: in expansion of macro 'LOGPRINTF'
       LOGPRINTF("%" PRIuPTR " %s removed by cluster filter(s).\n", ulii, species_str(ulii));
       ^
plink_cluster.c:573:108: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
     sprintf(logbuf, "Error: Line %" PRIuPTR " of --within file has fewer tokens than expected.\n", line_idx);
                                                                                                            ^
In file included from plink_cluster.c:1:0:
plink_cluster.c: In function 'int32_t read_dists(char*, char*, long unsigned int, long unsigned int*, long unsigned int, char*, long unsigned int, long unsigned int, uint32_t*, uint32_t*, uint32_t, uint32_t, double*, uint32_t, double*, uint32_t*)':
plink_common.h:811:56: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGPREPRINTFWW(...) sprintf(logbuf, __VA_ARGS__); wordwrap(logbuf, 0);
                                                        ^
plink_cluster.c:1099:2: note: in expansion of macro 'LOGPREPRINTFWW'
  LOGPREPRINTFWW("Error: Line %" PRIuPTR " of %s is pathologically long.\n", line_idx, id_fname);
  ^
plink_common.h:811:56: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGPREPRINTFWW(...) sprintf(logbuf, __VA_ARGS__); wordwrap(logbuf, 0);
                                                        ^
plink_cluster.c:1107:2: note: in expansion of macro 'LOGPREPRINTFWW'
  LOGPREPRINTFWW("Error: Line %" PRIuPTR " of %s has fewer tokens than expected.\n", line_idx, id_fname);
  ^
plink_common.h:803:51: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGPRINTF(...) sprintf(logbuf, __VA_ARGS__); logprintb();
                                                   ^
plink_cluster.c:1268:5: note: in expansion of macro 'LOGPRINTF'
     LOGPRINTF("--read-dists: %" PRIuPTR " values loaded%s.\n", (sample_ct * (sample_ct - 1)) / 2, for_cluster_flag? " for --cluster/--neighbor" : "");
     ^
plink_cluster.c: In function 'int32_t read_genome(char*, long unsigned int, long unsigned int*, long unsigned int, char*, long unsigned int, long unsigned int*, double*, uint32_t, double*, uint32_t*, uint32_t*, double, uint32_t, long unsigned int, uint32_t*, uint32_t*)':
plink_cluster.c:1384:115: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
       sprintf(logbuf, "Error: FID1/IID1 matches FID2/IID2 on line %" PRIuPTR " of --read-genome file.\n", line_idx);
                                                                                                                   ^
plink_cluster.c:1394:105: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
  sprintf(logbuf, "Error: Invalid PPC test value on line %" PRIuPTR " of --read-genome file.\n", line_idx);
                                                                                                         ^
plink_cluster.c:1404:105: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
       sprintf(logbuf, "Error: Invalid IBS value on line %" PRIuPTR " of --read-genome file.\n", line_idx);
                                                                                                         ^
In file included from plink_cluster.c:1:0:
plink_common.h:805:54: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGERRPRINTF(...) sprintf(logbuf, __VA_ARGS__); logerrprintb();
                                                      ^
plink_cluster.c:1456:5: note: in expansion of macro 'LOGERRPRINTF'
     LOGERRPRINTF("Error: Line %" PRIuPTR " of --read-genome file has fewer tokens than expected.\n", line_idx);
     ^
plink_cluster.c:1460:105: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
     sprintf(logbuf, "Error: Line %" PRIuPTR " of --read-genome file is pathologically long.\n", line_idx);
                                                                                                         ^
plink_cluster.c: In function 'int32_t cluster_enforce_match(Cluster_info*, int32_t, long unsigned int, long unsigned int*, long unsigned int, char*, long unsigned int, long unsigned int, uint32_t*, uint32_t*, long unsigned int*)':
plink_cluster.c:1545:103: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
    sprintf(logbuf, "Error: Line %" PRIuPTR " of --match-type file is pathologically long.\n", line_idx);
                                                                                                       ^
plink_cluster.c:1561:135: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
             sprintf(logbuf, "Error: Line %" PRIuPTR " of --match-type file has an invalid token\n(0/1/-1/-/+/* expected).\n", line_idx);
                                                                                                                                       ^
plink_cluster.c:1610:96: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
  sprintf(logbuf, "Error: Line %" PRIuPTR " of --match file is pathologically long.\n", line_idx);
                                                                                                ^
plink_cluster.c:1778:93: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
  sprintf(logbuf, "Error: Line %" PRIuPTR " of --qt file is pathologically long.\n", line_idx);
                                                                                             ^
plink_cluster.c:1784:96: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
    sprintf(logbuf, "Error: Line %" PRIuPTR " of --qt file has a non-numeric value.\n", line_idx);
                                                                                                ^
plink_cluster.c:1789:148: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
      sprintf(logbuf, "Error: Line %" PRIuPTR " of --qt file has an invalid tolerance (-1 = ignore,\nother values must be nonnegative).\n", line_idx);
                                                                                                                                                    ^
plink_cluster.c:1823:97: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
  sprintf(logbuf, "Error: Line %" PRIuPTR " of --qmatch file is pathologically long.\n", line_idx);
                                                                                                 ^
plink_cluster.c:1853:108: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
        sprintf(logbuf, "Error: Line %" PRIuPTR " of --qmatch file has a non-numeric covariate.\n", line_idx);
                                                                                                            ^
In file included from plink_cluster.c:1:0:
plink_common.h:805:54: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGERRPRINTF(...) sprintf(logbuf, __VA_ARGS__); logerrprintb();
                                                      ^
plink_cluster.c:1956:5: note: in expansion of macro 'LOGERRPRINTF'
     LOGERRPRINTF("Error: Line %" PRIuPTR " of --qmatch file has fewer tokens than expected.\n", line_idx);
     ^
plink_cluster.c:1960:107: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
     sprintf(logbuf, "Error: Line %" PRIuPTR " of --match file has fewer tokens than expected.\n", line_idx);
                                                                                                           ^
plink_cnv.c: In function 'int32_t cnv_intersect_load(uint32_t, char*, char*, long unsigned int, long unsigned int, long unsigned int*, long unsigned int*, uint32_t*, uint32_t*, long long unsigned int**, long long unsigned int**, int32_t, int32_t, uint32_t, Chrom_info*, long unsigned int*)':
plink_cnv.c:113:101: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
       sprintf(logbuf, "Error: Line %" PRIuPTR " of %s is pathologically long.\n", line_idx, cift_str);
                                                                                                     ^
plink_cnv.c:121:109: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
  sprintf(logbuf, "Error: Line %" PRIuPTR " of %s file has fewer tokens than expected.\n", line_idx, cift_str);
                                                                                                             ^
plink_cnv.c:127:102: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
    sprintf(logbuf, "Error: Invalid chromosome code on line %" PRIuPTR " of %s.\n", line_idx, cift_str);
                                                                                                      ^
plink_cnv.c:141:98: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
  sprintf(logbuf, "Error: Invalid bp coordinate on line %" PRIuPTR " of %s.\n", line_idx, cift_str);
                                                                                                  ^
plink_cnv.c:145:98: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
  sprintf(logbuf, "Error: Invalid bp coordinate on line %" PRIuPTR " of %s.\n", line_idx, cift_str);
                                                                                                  ^
In file included from plink_cnv.c:1:0:
plink_common.h:805:54: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGERRPRINTF(...) sprintf(logbuf, __VA_ARGS__); logerrprintb();
                                                      ^
plink_cnv.c:150:4: note: in expansion of macro 'LOGERRPRINTF'
    LOGERRPRINTF("Warning: End of range before start of range on line %" PRIuPTR " of\n%s.\n", line_idx, cift_str);
    ^
plink_common.h:803:51: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGPRINTF(...) sprintf(logbuf, __VA_ARGS__); logprintb();
                                                   ^
plink_cnv.c:186:5: note: in expansion of macro 'LOGPRINTF'
     LOGPRINTF("(%" PRIuPTR " subsequent line%s with [end of range] < [start of range].)\n", reverse_warning_ct - 1, (reverse_warning_ct == 2)? "" : "s");
     ^
plink_cnv.c: In function 'int32_t cnv_first_nonheader_line(FILE*, long unsigned int*)':
plink_common.h:805:54: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGERRPRINTF(...) sprintf(logbuf, __VA_ARGS__); logerrprintb();
                                                      ^
plink_cnv.c:326:7: note: in expansion of macro 'LOGERRPRINTF'
       LOGERRPRINTF("Error: Line %" PRIuPTR " of .cnv file is pathologically long.\n", line_idx);
       ^
plink_cnv.c: In function 'int32_t cnv_make_map(FILE*, char*, uint32_t, uint32_t, uint32_t, double, double, uint32_t, uint32_t, long unsigned int*, long unsigned int*, uint32_t*, uint32_t*, long long unsigned int*, long long unsigned int*, uint32_t, uint32_t, double, int32_t, int32_t, uint32_t, uint32_t, Chrom_info*, long unsigned int*, uint32_t*)':
plink_cnv.c:501:98: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
       sprintf(logbuf, "Error: Line %" PRIuPTR " of .cnv file is pathologically long.\n", line_idx);
                                                                                                  ^
plink_cnv.c:510:101: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
  sprintf(logbuf, "Error: Line %" PRIuPTR " of .cnv file has fewer tokens than expected.\n", line_idx);
                                                                                                     ^
plink_cnv.c:516:99: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
    sprintf(logbuf, "Error: Invalid chromosome code on line %" PRIuPTR " of .cnv file.\n", line_idx);
                                                                                                   ^
plink_cnv.c:532:95: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
  sprintf(logbuf, "Error: Invalid bp coordinate on line %" PRIuPTR " of .cnv file.\n", line_idx);
                                                                                               ^
plink_cnv.c:536:124: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
  sprintf(logbuf, "Error: Segment end coordinate smaller than segment start on line %" PRIuPTR " of\n.cnv file.\n", line_idx);
                                                                                                                            ^
plink_cnv.c:553:102: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
    sprintf(logbuf, "Error: Invalid variant copy count on line %" PRIuPTR " of .cnv file.\n", line_idx);
                                                                                                      ^
plink_cnv.c:567:107: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
           sprintf(logbuf, "Error: Invalid confidence score on line %" PRIuPTR " of .cnv file.\n", line_idx);
                                                                                                           ^
plink_cnv.c:577:95: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
    sprintf(logbuf, "Error: Invalid probe count on line %" PRIuPTR " of .cnv file.\n", line_idx);
                                                                                               ^
plink_cnv.c: In function 'int32_t validate_cnv_map(FILE**, char*, int32_t*, int32_t*, uint32_t, Chrom_info*, long unsigned int*, uint32_t*)':
plink_cnv.c:744:101: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
  sprintf(logbuf, "Error: Invalid chromosome code on line %" PRIuPTR " of .cnv.map file.\n", line_idx);
                                                                                                     ^
plink_cnv.c:770:104: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
       sprintf(logbuf, "Error: Invalid bp coordinate on line %" PRIuPTR " of .cnv.map file.\n", line_idx);
                                                                                                        ^
In file included from plink_cnv.c:1:0:
plink_common.h:805:54: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGERRPRINTF(...) sprintf(logbuf, __VA_ARGS__); logerrprintb();
                                                      ^
plink_cnv.c:813:5: note: in expansion of macro 'LOGERRPRINTF'
     LOGERRPRINTF("Error: Line %" PRIuPTR " of .cnv.map file has fewer tokens than expected.\n", line_idx);
     ^
plink_cnv.c:817:95: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
     sprintf(logbuf, "Error: Line %" PRIuPTR " of .cnv.map is pathologically long.\n", line_idx);
                                                                                               ^
In file included from plink_common.c:1:0:
plink_common.c: In function 'int32_t resolve_or_add_chrom_name(Chrom_info*, char*, int32_t*, long unsigned int, const char*)':
plink_common.h:815:56: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGERRPRINTFWW(...) sprintf(logbuf, __VA_ARGS__); wordwrap(logbuf, 0); logerrprintb();
                                                        ^
plink_common.c:4370:7: note: in expansion of macro 'LOGERRPRINTFWW'
       LOGERRPRINTFWW("Error: Line %" PRIuPTR " of %s has an excessively long chromosome/contig name.  (The " PROG_NAME_CAPS " limit is " MAX_ID_LEN_STR " characters.)\n", line_idx, file_descrip);
       ^
plink_common.c: In function 'int32_t open_and_size_string_list(char*, FILE**, long unsigned int*, long unsigned int*)':
plink_common.h:815:56: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGERRPRINTFWW(...) sprintf(logbuf, __VA_ARGS__); wordwrap(logbuf, 0); logerrprintb();
                                                        ^
plink_common.c:8807:7: note: in expansion of macro 'LOGERRPRINTFWW'
       LOGERRPRINTFWW("Error: Line %" PRIuPTR " of %s is pathologically long.\n", line_idx, fname);
       ^
plink_common.c: In function 'int32_t load_to_first_token(FILE*, long unsigned int, char, const char*, char*, char**, long unsigned int*)':
plink_common.h:805:54: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGERRPRINTF(...) sprintf(logbuf, __VA_ARGS__); logerrprintb();
                                                      ^
plink_common.c:8910:2: note: in expansion of macro 'LOGERRPRINTF'
  LOGERRPRINTF("Error: Line %" PRIuPTR " of %s is pathologically long.\n", line_idx, file_descrip);
  ^
plink_common.c: In function 'int32_t scan_max_strlen(char*, uint32_t, uint32_t, uint32_t, char, long unsigned int*, long unsigned int*)':
plink_common.h:811:56: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGPREPRINTFWW(...) sprintf(logbuf, __VA_ARGS__); wordwrap(logbuf, 0);
                                                        ^
plink_common.c:8984:9: note: in expansion of macro 'LOGPREPRINTFWW'
         LOGPREPRINTFWW("Error: Line %" PRIuPTR " of %s is pathologically long.\n", line_idx, fname);
         ^
plink_common.h:811:56: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGPREPRINTFWW(...) sprintf(logbuf, __VA_ARGS__); wordwrap(logbuf, 0);
                                                        ^
plink_common.c:8999:7: note: in expansion of macro 'LOGPREPRINTFWW'
       LOGPREPRINTFWW("Error: Line %" PRIuPTR " of %s has fewer tokens than expected.\n", line_idx, fname);
       ^
plink_common.c: In function 'int32_t scan_max_fam_indiv_strlen(char*, uint32_t, long unsigned int*)':
plink_common.h:811:56: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGPREPRINTFWW(...) sprintf(logbuf, __VA_ARGS__); wordwrap(logbuf, 0);
                                                        ^
plink_common.c:9069:2: note: in expansion of macro 'LOGPREPRINTFWW'
  LOGPREPRINTFWW("Error: Line %" PRIuPTR " of %s is pathologically long.\n", line_idx, fname);
  ^
plink_common.h:811:56: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGPREPRINTFWW(...) sprintf(logbuf, __VA_ARGS__); wordwrap(logbuf, 0);
                                                        ^
plink_common.c:9082:7: note: in expansion of macro 'LOGPREPRINTFWW'
       LOGPREPRINTFWW("Error: Line %" PRIuPTR " of %s has fewer tokens than expected.\n", line_idx, fname);
       ^
In file included from plink_data.c:1:0:
plink_data.c: In function 'uint32_t chrom_error(const char*, Chrom_info*, char*, long unsigned int, int32_t, uint32_t)':
plink_common.h:815:56: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=]
 #define LOGERRPRINTFWW(...) sprintf(logbuf, __VA_ARGS__); wordwrap(logbuf, 0); logerrprintb();
                                                        ^
plink_data.c:191:5: note: in expansion of macro 'LOGERRPRINTFWW'
     LOGERRPRINTFWW("Error: Invalid chromosome code '%s' on line %" PRIuPTR " of %s.\n", chrom_str, line_idx, extension);
     ^
plink_data.c: In function 'int32_t load_map(FILE**, char*, uint32_t*, long unsigned int*, long unsigned int*, long unsigned int*, long unsigned int**, char**, Chrom_info*, uint32_t**, uint32_t*, uint32_t)':
plink_data.c:241:98: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
       sprintf(logbuf, "Error: Line %" PRIuPTR " of .map file is pathologically long.\n", line_idx);
                                                                                                  ^
plink_data.c:351:95: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
  sprintf(logbuf, "Error: Invalid bp coordinate on line %" PRIuPTR " of .map file.\n", line_idx);
                                                                                               ^
plink_data.c:389:104: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
     sprintf(logbuf, "Error: Line %" PRIuPTR " of .map file has fewer tokens than expected.\n", line_idx);
                                                                                                        ^
plink_data.c: In function 'int32_t load_bim(char*, uint32_t*, long unsigned int*, long unsigned int*, long unsigned int*, long unsigned int**, double**, uint32_t**, char***, long unsigned int*, char**, char*, uint32_t, const char*, Chrom_info*, double**, uint32_t**, long long unsigned int, long long unsigned int, int32_t, int32_t, int32_t, char*, char*, char*, Range_list*, uint32_t*, uint32_t, uint32_t, uint32_t, const char*, const char*, uint32_t*)':
plink_data.c:662:97: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
  sprintf(logbuf, "Error: Line %" PRIuPTR " of %s is pathologically long.\n", line_idx, ftype_str);
                                                                                                 ^
plink_data.c:1165:110: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
      sprintf(logbuf, "Error: Invalid centimorgan position on line %" PRIuPTR " of %s.\n", line_idx, ftype_str);
                                                                                                              ^
In file included from plink_data.c:1:0:
plink_common.h:803:51: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGPRINTF(...) sprintf(logbuf, __VA_ARGS__); logprintb();
                                                   ^
plink_data.c:1299:3: note: in expansion of macro 'LOGPRINTF'
   LOGPRINTF("%" PRIuPTR " variant%s loaded from %s.\n", unfiltered_marker_ct - marker_exclude_ct, (unfiltered_marker_ct == marker_exclude_ct + 1)? "" : "s", ftype_str);
   ^
plink_common.h:805:54: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGERRPRINTF(...) sprintf(logbuf, __VA_ARGS__); logerrprintb();
                                                      ^
plink_data.c:1321:5: note: in expansion of macro 'LOGERRPRINTF'
     LOGERRPRINTF("Error: Invalid bp coordinate on line %" PRIuPTR " of %s.\n", line_idx, ftype_str);
     ^
plink_common.h:805:54: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGERRPRINTF(...) sprintf(logbuf, __VA_ARGS__); logerrprintb();
                                                      ^
plink_data.c:1325:5: note: in expansion of macro 'LOGERRPRINTF'
     LOGERRPRINTF("Error: Line %" PRIuPTR " of %s has fewer tokens than expected.\n", line_idx, ftype_str);
     ^
plink_data.c: In function 'int32_t load_covars(char*, long unsigned int, long unsigned int*, long unsigned int, long unsigned int*, long unsigned int*, char*, long unsigned int, double, uint32_t, Range_list*, uint32_t, long unsigned int*, char**, long unsigned int*, long unsigned int*, long unsigned int**, double**, long unsigned int**, long unsigned int**)':
plink_data.c:1628:96: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
  sprintf(logbuf, "Error: Line %" PRIuPTR " of --covar file is pathologically long.\n", line_idx);
                                                                                                ^
plink_data.c:1725:138: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
         sprintf(logbuf, "--covar: 1 C/C cov. loaded for --gxe, %" PRIuPTR "/%" PRIuPTR " for other operations.\n", covar_ct, covar_raw_ct);
                                                                                                                                          ^
plink_data.c:1725:138: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=]
plink_data.c:1727:113: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
         sprintf(logbuf, "--covar: %" PRIuPTR " out of %" PRIuPTR " covariates loaded.\n", covar_ct, covar_raw_ct);
                                                                                                                 ^
plink_data.c:1727:113: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=]
plink_data.c:1730:105: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
       sprintf(logbuf, "--covar: %" PRIuPTR " covariate%s loaded.\n", covar_ct, (covar_ct == 1)? "" : "s");
                                                                                                         ^
In file included from plink_data.c:1:0:
plink_common.h:803:51: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGPRINTF(...) sprintf(logbuf, __VA_ARGS__); logprintb();
                                                   ^
plink_data.c:1738:5: note: in expansion of macro 'LOGPRINTF'
     LOGPRINTF("%" PRIuPTR " %s had missing value(s)%s", missing_cov_ct, species_str(missing_cov_ct), ulii? ", and " : ".\n");
     ^
plink_common.h:803:51: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGPRINTF(...) sprintf(logbuf, __VA_ARGS__); logprintb();
                                                   ^
plink_data.c:1741:5: note: in expansion of macro 'LOGPRINTF'
     LOGPRINTF("%" PRIuPTR " %s %s not seen in the covariate file.\n", ulii, species_str(ulii), (ulii == 1)? "was" : "were");
     ^
plink_data.c:1755:106: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
     sprintf(logbuf, "Error: Fewer tokens than expected on line %" PRIuPTR " of --covar file.\n", line_idx);
                                                                                                          ^
plink_data.c: In function 'int32_t zero_cluster_init(char*, long unsigned int, long unsigned int*, long unsigned int, char*, long unsigned int, long unsigned int, long unsigned int*, long unsigned int, uint32_t*, long unsigned int, uint32_t*, uint32_t*, char*, long unsigned int, uint32_t**, long unsigned int**)':
plink_data.c:2253:108: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
       sprintf(logbuf, "Error: Line %" PRIuPTR " of --zero-cluster file is pathologically long.\n", line_idx);
                                                                                                            ^
In file included from plink_data.c:1:0:
plink_common.h:803:51: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGPRINTF(...) sprintf(logbuf, __VA_ARGS__); logprintb();
                                                   ^
plink_data.c:2349:3: note: in expansion of macro 'LOGPRINTF'
   LOGPRINTF("--zero-cluster: %" PRIuPTR " line%s processed.\n", zc_item_ct, (zc_item_ct == 1)? "" : "s");
   ^
plink_data.c:2361:114: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
     sprintf(logbuf, "Error: Line %" PRIuPTR " of --zero-cluster file has fewer tokens than expected.\n", line_idx);
                                                                                                                  ^
plink_data.c: In function 'int32_t update_marker_chroms(Two_col_params*, long unsigned int, long unsigned int*, long unsigned int, char*, long unsigned int, uint32_t, Chrom_info*, long long int*)':
plink_data.c:2615:101: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
  sprintf(logbuf, "Error: Line %" PRIuPTR " of --update-chr file is pathologically long.\n", line_idx);
                                                                                                     ^
plink_data.c:2655:105: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
  sprintf(logbuf, "Error: Invalid chromosome code on line %" PRIuPTR " of --update-chr file.\n", line_idx);
                                                                                                         ^
plink_data.c:2670:175: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
     sprintf(logbuf, "--update-chr: %" PRIuPTR " value%s updated, %" PRIuPTR " variant ID%s not present.\n", hit_ct, (hit_ct == 1)? "" : "s", miss_ct, (miss_ct == 1)? "" : "s");
                                                                                                                                                                               ^
plink_data.c:2670:175: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=]
plink_data.c:2672:101: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
     sprintf(logbuf, "--update-chr: %" PRIuPTR " value%s updated.\n", hit_ct, (hit_ct == 1)? "" : "s");
                                                                                                     ^
plink_data.c:2683:112: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
     sprintf(logbuf, "Error: Line %" PRIuPTR " of --update-chr file has fewer tokens than expected.\n", line_idx);
                                                                                                                ^
plink_data.c: In function 'int32_t flip_subset_init(char*, char*, long unsigned int, long unsigned int*, long unsigned int, char*, long unsigned int, char**, long unsigned int, long unsigned int*, long unsigned int, uint32_t*, char*, long unsigned int, long unsigned int*, long unsigned int*)':
plink_data.c:2986:100: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
       sprintf(logbuf, "Error: Line %" PRIuPTR " of --flip file is pathologically long.\n", line_idx);
                                                                                                    ^
plink_data.c:3002:135: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
       sprintf(logbuf, "Error: Invalid alleles (not reverse complement single bases) on line\n%" PRIuPTR " of --flip file.\n", line_idx);
                                                                                                                                       ^
plink_data.c:3038:107: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
       sprintf(logbuf, "Error: Line %" PRIuPTR " of --flip-subset file is pathologically long.\n", line_idx);
                                                                                                           ^
In file included from plink_data.c:1:0:
plink_common.h:805:54: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGERRPRINTF(...) sprintf(logbuf, __VA_ARGS__); logerrprintb();
                                                      ^
plink_data.c:3067:5: note: in expansion of macro 'LOGERRPRINTF'
     LOGERRPRINTF("Warning: %" PRIuPTR " --flip-subset line%s skipped.\n", miss_ct, (miss_ct == 1)? "" : "s");
     ^
plink_data.c: In function 'int32_t load_fam(char*, uint32_t, uint32_t, int32_t, uint32_t, long unsigned int*, char**, long unsigned int*, char**, long unsigned int*, char**, long unsigned int*, long unsigned int**, long unsigned int**, uint32_t*, long unsigned int**, long unsigned int**, double**, long unsigned int**, long unsigned int**)':
plink_data.c:3756:93: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
  sprintf(logbuf, "Error: Line %" PRIuPTR " of .fam file is pathologically long.\n", line_idx);
                                                                                             ^
plink_data.c:3774:89: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
  sprintf(logbuf, "Error: Invalid IID '0' on line %" PRIuPTR " of .fam file.\n", line_idx);
                                                                                         ^
plink_data.c:3971:104: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
     sprintf(logbuf, "Error: Line %" PRIuPTR " of .fam file has fewer tokens than expected.\n", line_idx);
                                                                                                        ^
plink_data.c: In function 'int32_t oxford_to_bed(char*, char*, char*, char*, char*, char*, double, char*, int32_t, long long unsigned int, uint32_t, Chrom_info*)':
plink_data.c:4291:93: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
  sprintf(logbuf, "Error: Invalid sex code on line %" PRIuPTR " of .sample file.\n", line_idx);
                                                                                             ^
In file included from plink_data.c:1:0:
plink_common.h:805:54: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGERRPRINTF(...) sprintf(logbuf, __VA_ARGS__); logerrprintb();
                                                      ^
plink_data.c:4393:4: note: in expansion of macro 'LOGERRPRINTF'
    LOGERRPRINTF("Error: Line %" PRIuPTR " of .gen file is pathologically long.\n", line_idx);
    ^
plink_common.h:805:54: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGERRPRINTF(...) sprintf(logbuf, __VA_ARGS__); logerrprintb();
                                                      ^
plink_data.c:5058:5: note: in expansion of macro 'LOGERRPRINTF'
     LOGERRPRINTF("Error: Line %" PRIuPTR " of .gen file has an invalid dosage value.\n", line_idx);
     ^
plink_common.h:805:54: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGERRPRINTF(...) sprintf(logbuf, __VA_ARGS__); logerrprintb();
                                                      ^
plink_data.c:5062:5: note: in expansion of macro 'LOGERRPRINTF'
     LOGERRPRINTF("Error: Line %" PRIuPTR " of .gen file has fewer tokens than expected.\n", line_idx);
     ^
plink_common.h:805:54: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGERRPRINTF(...) sprintf(logbuf, __VA_ARGS__); logerrprintb();
                                                      ^
plink_data.c:5066:5: note: in expansion of macro 'LOGERRPRINTF'
     LOGERRPRINTF("Error: Line %" PRIuPTR " of .sample file has fewer tokens than expected.\n", line_idx);
     ^
plink_common.h:805:54: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGERRPRINTF(...) sprintf(logbuf, __VA_ARGS__); logerrprintb();
                                                      ^
plink_data.c:5070:5: note: in expansion of macro 'LOGERRPRINTF'
     LOGERRPRINTF("Error: Line %" PRIuPTR " of .sample file is pathologically long.\n", line_idx);
     ^
plink_data.c: In function 'int32_t ped_to_bed_multichar_allele(FILE**, FILE**, char*, char*, FILE**, long unsigned int, long unsigned int*, long unsigned int, char*, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t*, long long int, char*)':
plink_data.c:5342:100: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
         sprintf(logbuf, "Error: Line %" PRIuPTR " of .ped file is pathologically long.\n", line_idx);
                                                                                                    ^
plink_data.c:5435:105: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
       sprintf(logbuf, "Error: Line %" PRIuPTR " of .ped file has more tokens than expected.\n", line_idx);
                                                                                                         ^
plink_data.c:5494:140: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
         sprintf(logbuf, "Warning: Variant %" PRIuPTR " %sallelic; setting rarest alleles missing.\n", marker_idx + 1, (uii? "quad" : "tri"));
                                                                                                                                            ^
plink_data.c:5574:175: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
     sprintf(logbuf, "Performing single-pass .bed write (%" PRIuPTR " variant%s, %" PRIuPTR " %s).\n", marker_ct, (marker_ct == 1)? "" : "s", sample_ct, species_str(sample_ct));
                                                                                                                                                                               ^
plink_data.c:5574:175: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=]
plink_data.c:5587:213: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=]
     sprintf(logbuf, "Performing %u-pass .bed write (%u/%" PRIuPTR " variant%s/pass, %" PRIuPTR " %s).\n", pass_ct, markers_per_pass, marker_ct, (markers_per_pass == 1)? "" : "s", sample_ct, species_str(sample_ct));
                                                                                                                                                                                                                     ^
plink_data.c:5587:213: warning: format '%u' expects argument of type 'unsigned int', but argument 7 has type 'long unsigned int' [-Wformat=]
In file included from plink_data.c:1:0:
plink_common.h:805:54: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGERRPRINTF(...) sprintf(logbuf, __VA_ARGS__); logerrprintb();
                                                      ^
plink_data.c:5763:5: note: in expansion of macro 'LOGERRPRINTF'
     LOGERRPRINTF("Error: Half-missing call in .ped file at variant %" PRIuPTR ", line %" PRIuPTR ".\n", marker_uidx + 1, line_idx);
     ^
plink_common.h:805:54: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=]
 #define LOGERRPRINTF(...) sprintf(logbuf, __VA_ARGS__); logerrprintb();
                                                      ^
plink_data.c:5763:5: note: in expansion of macro 'LOGERRPRINTF'
     LOGERRPRINTF("Error: Half-missing call in .ped file at variant %" PRIuPTR ", line %" PRIuPTR ".\n", marker_uidx + 1, line_idx);
     ^
plink_data.c:5768:104: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
     sprintf(logbuf, "Error: Line %" PRIuPTR " of .ped file has fewer tokens than expected.\n", line_idx);
                                                                                                        ^
plink_data.c: In function 'int32_t ped_to_bed(char*, char*, char*, char*, uint32_t, long long unsigned int, int32_t, Chrom_info*)':
plink_data.c:5870:98: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
       sprintf(logbuf, "Error: Line %" PRIuPTR " of .map file is pathologically long.\n", line_idx);
                                                                                                  ^
plink_data.c:5898:95: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
  sprintf(logbuf, "Error: Invalid bp coordinate on line %" PRIuPTR " of .map file.\n", line_idx);
                                                                                               ^
plink_data.c:5989:93: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
  sprintf(logbuf, "Error: Line %" PRIuPTR " of .ped file is pathologically long.\n", line_idx);
                                                                                             ^
plink_data.c:6014:107: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
       sprintf(logbuf, "Error: Line %" PRIuPTR " of .ped file has a pathologically long token.\n", line_idx);
                                                                                                           ^
plink_data.c:6142:134: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
    sprintf(logbuf, "Warning: Variant %" PRIuPTR " %sallelic; setting rarest alleles missing.\n", marker_idx + 1, (cc? "quad" : "tri"));
                                                                                                                                      ^
plink_data.c:6223:177: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
       sprintf(logbuf, "Performing single-pass .bed write (%" PRIuPTR " variant%s, %" PRIuPTR " %s).\n", marker_ct, (marker_ct == 1)? "" : "s", sample_ct, species_str(sample_ct));
                                                                                                                                                                                 ^
plink_data.c:6223:177: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=]
plink_data.c:6236:215: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=]
       sprintf(logbuf, "Performing %u-pass .bed write (%u/%" PRIuPTR " variant%s/pass, %" PRIuPTR " %s).\n", pass_ct, markers_per_pass, marker_ct, (markers_per_pass == 1)? "" : "s", sample_ct, species_str(sample_ct));
                                                                                                                                                                                                                       ^
plink_data.c:6236:215: warning: format '%u' expects argument of type 'unsigned int', but argument 7 has type 'long unsigned int' [-Wformat=]
In file included from plink_data.c:1:0:
plink_common.h:805:54: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGERRPRINTF(...) sprintf(logbuf, __VA_ARGS__); logerrprintb();
                                                      ^
plink_data.c:6402:5: note: in expansion of macro 'LOGERRPRINTF'
     LOGERRPRINTF("Error: Line %" PRIuPTR " of .map file has fewer tokens than expected.\n", line_idx);
     ^
plink_data.c:6407:104: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
     sprintf(logbuf, "Error: Line %" PRIuPTR " of .ped file has fewer tokens than expected.\n", line_idx);
                                                                                                        ^
plink_data.c: In function 'int32_t lgen_to_bed(char*, char*, char*, int32_t, long long unsigned int, uint32_t, char*, Chrom_info*)':
plink_data.c:6579:95: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
    sprintf(logbuf, "Error: Line %" PRIuPTR " of .ref file is pathologically long.\n", line_idx);
                                                                                               ^
plink_data.c:6591:101: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
  sprintf(logbuf, "Error: Line %" PRIuPTR " of .ref file has fewer tokens than expected.\n", line_idx);
                                                                                                     ^
plink_data.c:6707:102: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
    sprintf(logbuf, "Error: Invalid compound genotype on line %" PRIuPTR " of .lgen file.\n", line_idx);
                                                                                                      ^
In file included from plink_data.c:1:0:
plink_common.h:805:54: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGERRPRINTF(...) sprintf(logbuf, __VA_ARGS__); logerrprintb();
                                                      ^
plink_data.c:7007:5: note: in expansion of macro 'LOGERRPRINTF'
     LOGERRPRINTF("Error: Line %" PRIuPTR " of .lgen file is pathologically long.\n", line_idx);
     ^
plink_common.h:805:54: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGERRPRINTF(...) sprintf(logbuf, __VA_ARGS__); logerrprintb();
                                                      ^
plink_data.c:7011:5: note: in expansion of macro 'LOGERRPRINTF'
     LOGERRPRINTF("Error: Half-missing genotype on line %" PRIuPTR " of .lgen file.\n", line_idx);
     ^
plink_common.h:805:54: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGERRPRINTF(...) sprintf(logbuf, __VA_ARGS__); logerrprintb();
                                                      ^
plink_data.c:7015:5: note: in expansion of macro 'LOGERRPRINTF'
     LOGERRPRINTF("Error: Sample ID on line %" PRIuPTR " of .lgen file is missing from .fam file.\n", line_idx);
     ^
plink_data.c:7019:105: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
     sprintf(logbuf, "Error: Line %" PRIuPTR " of .lgen file has fewer tokens than expected.\n", line_idx);
                                                                                                         ^
plink_data.c: In function 'int32_t transposed_to_bed(char*, char*, char*, char*, long long unsigned int, Chrom_info*)':
plink_data.c:7173:99: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
       sprintf(logbuf, "Error: Line %" PRIuPTR " of .tfam file is pathologically long.\n", line_idx);
                                                                                                   ^
plink_data.c:7253:96: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
  sprintf(logbuf, "Error: Line %" PRIuPTR " of .tped file has excessive whitespace.\n", line_idx);
                                                                                                ^
plink_data.c:7264:187: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
    sprintf(logbuf, "Error: Line %" PRIuPTR " of .tped file has an excessively long\nchromosome/contig name.  (The " PROG_NAME_CAPS " limit is " MAX_ID_LEN_STR " characters.)\n", line_idx);
                                                                                                                                                                                           ^
plink_data.c:7266:174: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
    sprintf(logbuf, "Error: Line %" PRIuPTR " of .tped file has an excessively long variant ID.\n(The " PROG_NAME_CAPS " limit is " MAX_ID_LEN_STR " characters.)\n", line_idx);
                                                                                                                                                                              ^
plink_data.c:7271:119: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
    sprintf(logbuf, "Error: Line %" PRIuPTR " of .tped file has an excessively long centimorgan\nposition.\n", line_idx);
                                                                                                                       ^
plink_data.c:7273:111: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
    sprintf(logbuf, "Error: Line %" PRIuPTR " of .tped file has an excessively long bp coordinate.\n", line_idx);
                                                                                                               ^
plink_data.c:7275:98: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
    sprintf(logbuf, "Error: Line %" PRIuPTR " of .tped file has excessive whitespace.\n", line_idx);
                                                                                                  ^
plink_data.c:7304:105: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
       sprintf(logbuf, "Error: Line %" PRIuPTR " of .tped file has an invalid bp coordinate.\n", line_idx);
                                                                                                         ^
In file included from plink_data.c:1:0:
plink_common.h:803:51: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGPRINTF(...) sprintf(logbuf, __VA_ARGS__); logprintb();
                                                   ^
plink_data.c:7477:7: note: in expansion of macro 'LOGPRINTF'
       LOGPRINTF("Note: Variant %" PRIuPTR " is %sallelic.  Setting rarest alleles to missing.\n", marker_ct - 1, allele_cts[3]? "quad" : "tri");
       ^
plink_data.c:7654:102: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
  sprintf(logbuf, "Error: Invalid centimorgan position on line %" PRIuPTR " of .tped file\n", line_idx);
                                                                                                      ^
In file included from plink_data.c:1:0:
plink_common.h:805:54: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGERRPRINTF(...) sprintf(logbuf, __VA_ARGS__); logerrprintb();
                                                      ^
plink_data.c:7769:5: note: in expansion of macro 'LOGERRPRINTF'
     LOGERRPRINTF("Error: Line %" PRIuPTR " of .tped file has fewer tokens than expected.\n", line_idx);
     ^
plink_data.c:7776:98: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
     sprintf(logbuf, "Error: Line %" PRIuPTR " of .tped file has a half-missing call.\n", line_idx);
                                                                                                  ^
In file included from plink_data.c:1:0:
plink_common.h:805:54: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGERRPRINTF(...) sprintf(logbuf, __VA_ARGS__); logerrprintb();
                                                      ^
plink_data.c:7784:5: note: in expansion of macro 'LOGERRPRINTF'
     LOGERRPRINTF("Error: More than four alleles at variant %" PRIuPTR ".\n", marker_ct - 1);
     ^
plink_data.c: In function 'int32_t vcf_to_bed(char*, char*, char*, int32_t, long long unsigned int, char*, char, char, double, char*, double, double, uint32_t, Chrom_info*)':
plink_data.c:8205:108: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
       sprintf(logbuf, "Error: Invalid variant bp coordinate on line %" PRIuPTR " of .vcf file.\n", line_idx);
                                                                                                            ^
plink_data.c:8225:99: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
  sprintf(logbuf, "Error: Invalid alternate allele on line %" PRIuPTR  " of .vcf file.\n", line_idx);
                                                                                                   ^
plink_data.c:8235:108: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
    sprintf(logbuf, "Error: ALT allele duplicates REF allele on line %" PRIuPTR " of .vcf file.\n", line_idx);
                                                                                                            ^
plink_data.c:8247:98: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
       sprintf(logbuf, "Error: Malformed ALT field on line %" PRIuPTR " of .vcf file.\n", line_idx);
                                                                                                  ^
plink_data.c:8264:99: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
         sprintf(logbuf, "Error: Invalid QUAL value on line %" PRIuPTR " of .vcf file.\n", line_idx);
                                                                                                   ^
In file included from plink_data.c:1:0:
plink_common.h:805:54: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGERRPRINTF(...) sprintf(logbuf, __VA_ARGS__); logerrprintb();
                                                      ^
plink_data.c:8798:5: note: in expansion of macro 'LOGERRPRINTF'
     LOGERRPRINTF("Error: Line %" PRIuPTR " of .vcf file has a GT half-call.\n", line_idx);
     ^
plink_common.h:805:54: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGERRPRINTF(...) sprintf(logbuf, __VA_ARGS__); logerrprintb();
                                                      ^
plink_data.c:8806:5: note: in expansion of macro 'LOGERRPRINTF'
     LOGERRPRINTF("Error: Line %" PRIuPTR " of .vcf file has an improperly formatted GP field.\n", line_idx);
     ^
plink_common.h:805:54: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGERRPRINTF(...) sprintf(logbuf, __VA_ARGS__); logerrprintb();
                                                      ^
plink_data.c:8811:5: note: in expansion of macro 'LOGERRPRINTF'
     LOGERRPRINTF("Error: Line %" PRIuPTR " of .vcf file has an invalid GT field.\n", line_idx);
     ^
plink_common.h:805:54: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGERRPRINTF(...) sprintf(logbuf, __VA_ARGS__); logerrprintb();
                                                      ^
plink_data.c:8816:5: note: in expansion of macro 'LOGERRPRINTF'
     LOGERRPRINTF("Error: Line %" PRIuPTR " of .vcf file has fewer tokens than expected.\n", line_idx);
     ^
plink_data.c:8820:96: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
     sprintf(logbuf, "Error: Line %" PRIuPTR " of .vcf file is pathologically long.\n", line_idx);
                                                                                                ^
plink_data.c: In function 'int32_t bed_from_23(char*, char*, char*, uint32_t, char*, char*, double, char*, char*, Chrom_info*)':
plink_data.c:9802:104: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
       sprintf(logbuf, "Error: Line %" PRIuPTR " of %s is pathologically long.\n", line_idx, infile_name);
                                                                                                        ^
In file included from plink_data.c:1:0:
plink_common.h:811:56: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGPREPRINTFWW(...) sprintf(logbuf, __VA_ARGS__); wordwrap(logbuf, 0);
                                                        ^
plink_data.c:9820:7: note: in expansion of macro 'LOGPREPRINTFWW'
       LOGPREPRINTFWW("Error: Line %" PRIuPTR " of %s has more allele calls than expected.\n", line_idx, infile_name);
       ^
plink_data.c:9825:108: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
       sprintf(logbuf, "Error: Invalid chromosome code on line %" PRIuPTR " of %s.\n", line_idx, infile_name);
                                                                                                            ^
In file included from plink_data.c:1:0:
plink_common.h:811:56: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGPREPRINTFWW(...) sprintf(logbuf, __VA_ARGS__); wordwrap(logbuf, 0);
                                                        ^
plink_data.c:9889:4: note: in expansion of macro 'LOGPREPRINTFWW'
    LOGPREPRINTFWW("Error: Nonmissing female allele call on line %" PRIuPTR " of %s.\n", line_idx, infile_name);
    ^
plink_common.h:815:56: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGERRPRINTFWW(...) sprintf(logbuf, __VA_ARGS__); wordwrap(logbuf, 0); logerrprintb();
                                                        ^
plink_data.c:10013:5: note: in expansion of macro 'LOGERRPRINTFWW'
     LOGERRPRINTFWW("Error: Line %" PRIuPTR " of %s has fewer tokens than expected.\n", line_idx, infile_name);
     ^
plink_common.h:811:56: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGPREPRINTFWW(...) sprintf(logbuf, __VA_ARGS__); wordwrap(logbuf, 0);
                                                        ^
plink_data.c:10017:5: note: in expansion of macro 'LOGPREPRINTFWW'
     LOGPREPRINTFWW("Error: Line %" PRIuPTR " of %s has fewer allele calls than expected.\n", line_idx, infile_name);
     ^
plink_data.c: In function 'int32_t generate_dummy(char*, char*, uint32_t, long unsigned int, long unsigned int, double, double, int32_t)':
plink_common.h:813:53: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGPRINTFWW(...) sprintf(logbuf, __VA_ARGS__); wordwrap(logbuf, 0); logprintb();
                                                     ^
plink_data.c:10231:3: note: in expansion of macro 'LOGPRINTFWW'
   LOGPRINTFWW("Dummy data (%" PRIuPTR " %s, %" PRIuPTR " SNP%s) written to %s.bed + %s.bim + %s.fam .\n", sample_ct, species_str(sample_ct), marker_ct, (marker_ct == 1)? "" : "s", outname, outname, outname);
   ^
plink_common.h:813:53: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=]
 #define LOGPRINTFWW(...) sprintf(logbuf, __VA_ARGS__); wordwrap(logbuf, 0); logprintb();
                                                     ^
plink_data.c:10231:3: note: in expansion of macro 'LOGPRINTFWW'
   LOGPRINTFWW("Dummy data (%" PRIuPTR " %s, %" PRIuPTR " SNP%s) written to %s.bed + %s.bim + %s.fam .\n", sample_ct, species_str(sample_ct), marker_ct, (marker_ct == 1)? "" : "s", outname, outname, outname);
   ^
plink_data.c: In function 'int32_t simulate_dataset(char*, char*, uint32_t, char*, uint32_t, uint32_t, double, uint32_t, double, char*)':
plink_data.c:10716:125: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
       sprintf(logbuf, "Error: Line %" PRIuPTR " of --simulate%s file is pathologically long.\n", line_idx, is_qt? "-qt" : "");
                                                                                                                             ^
plink_data.c:10724:129: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
       sprintf(logbuf, "Error: Invalid SNP count on line %" PRIuPTR " of --simulate%s input file.\n", line_idx, is_qt? "-qt" : "");
                                                                                                                                 ^
plink_data.c:10761:133: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
       sprintf(logbuf, "Error: Line %" PRIuPTR " of --simulate%s file has fewer tokens than expected.\n", line_idx, is_qt? "-qt" : "");
                                                                                                                                     ^
plink_data.c:10765:132: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
       sprintf(logbuf, "Error: Line %" PRIuPTR " of --simulate%s file has more tokens than expected.\n", line_idx, is_qt? "-qt" : "");
                                                                                                                                    ^
plink_data.c:10777:137: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
       sprintf(logbuf, "Error: Invalid allele frequency bound on line %" PRIuPTR " of --simulate%s\nfile.\n", line_idx, is_qt? "-qt" : "");
                                                                                                                                         ^
plink_data.c:10783:139: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
  sprintf(logbuf, "Error: Invalid marker allele frequency bound on line %" PRIuPTR " of\n--simulate%s file.\n", line_idx, is_qt? "-qt" : "");
                                                                                                                                           ^
plink_data.c:10787:122: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
  sprintf(logbuf, "Error: Invalid d-prime on line %" PRIuPTR " of --simulate%s input file.\n", line_idx, is_qt? "-qt" : "");
                                                                                                                          ^
plink_data.c:10795:105: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
  sprintf(logbuf, "Error: Invalid variance value on line %" PRIuPTR " of --simulate-qt file.\n", line_idx);
                                                                                                         ^
plink_data.c:10799:132: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
  sprintf(logbuf, "Error: Nonzero variance with fixed 0/1 allele frequency on line %" PRIuPTR " of\n--simulate-qt file.\n", line_idx);
                                                                                                                                    ^
plink_data.c:10809:117: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
  sprintf(logbuf, "Error: Invalid dominance deviation value on line %" PRIuPTR " of --simulate-qt\nfile.\n", line_idx);
                                                                                                                     ^
plink_data.c:10814:120: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
  sprintf(logbuf, "Error: Invalid heterozygote disease odds ratio on line %" PRIuPTR " of\n--simulate file.\n", line_idx);
                                                                                                                        ^
plink_data.c:10820:118: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
  sprintf(logbuf, "Error: Invalid homozygote disease odds ratio on line %" PRIuPTR " of --simulate\nfile.\n", line_idx);
                                                                                                                      ^
plink_data.c: In function 'int32_t recode_allele_load(char*, long unsigned int, char*, char***, long unsigned int, long unsigned int*, long unsigned int, char*, long unsigned int, char**, long unsigned int, long unsigned int*, char*)':
plink_data.c:11215:109: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
       sprintf(logbuf, "Error: Line %" PRIuPTR " of --recode-allele file is pathologically long.\n", line_idx);
                                                                                                             ^
plink_data.c:11225:117: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
       sprintf(logbuf, "Error: Line %" PRIuPTR " of --recode-allele file has fewer tokens than expected.\n", line_idx);
                                                                                                                     ^
plink_data.c: In function 'int32_t sample_sort_file_map(char*, long unsigned int, long unsigned int*, long unsigned int, char*, long unsigned int, uint32_t**)':
plink_data.c:14068:106: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
       sprintf(logbuf, "Error: Line %" PRIuPTR " of --indiv-sort file is pathologically long.\n", line_idx);
                                                                                                          ^
plink_data.c:14076:114: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
       sprintf(logbuf, "Error: Line %" PRIuPTR " of --indiv-sort file has fewer tokens than expected.\n", line_idx);
                                                                                                                  ^
In file included from plink_data.c:1:0:
plink_data.c: In function 'int32_t merge_fam_id_scan(char*, char*, long unsigned int*, uint32_t*, uint32_t*, Ll_entry**, long unsigned int*, long long unsigned int*, uint32_t*, uint32_t*, uint32_t*)':
plink_common.h:811:56: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGPREPRINTFWW(...) sprintf(logbuf, __VA_ARGS__); wordwrap(logbuf, 0);
                                                        ^
plink_data.c:14241:2: note: in expansion of macro 'LOGPREPRINTFWW'
  LOGPREPRINTFWW("Error: Line %" PRIuPTR " of %s has fewer tokens than expected.\n", line_idx, famname);
  ^
plink_common.h:811:56: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGPREPRINTFWW(...) sprintf(logbuf, __VA_ARGS__); wordwrap(logbuf, 0);
                                                        ^
plink_data.c:14357:5: note: in expansion of macro 'LOGPREPRINTFWW'
     LOGPREPRINTFWW("Error: Line %" PRIuPTR " of %s is pathologically long.\n", line_idx, famname);
     ^
plink_data.c: In function 'int32_t merge_bim_scan(char*, uint32_t, long unsigned int*, Ll_entry2**, long unsigned int*, uint32_t*, long long unsigned int*, uint32_t*, long long unsigned int*, Ll_str**, uint32_t, Chrom_info*)':
plink_common.h:811:56: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGPREPRINTFWW(...) sprintf(logbuf, __VA_ARGS__); wordwrap(logbuf, 0);
                                                        ^
plink_data.c:14437:2: note: in expansion of macro 'LOGPREPRINTFWW'
  LOGPREPRINTFWW("Error: Line %" PRIuPTR " of %s is pathologically long.\n", line_idx, bimname);
  ^
plink_common.h:811:56: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGPREPRINTFWW(...) sprintf(logbuf, __VA_ARGS__); wordwrap(logbuf, 0);
                                                        ^
plink_data.c:14479:7: note: in expansion of macro 'LOGPREPRINTFWW'
       LOGPREPRINTFWW("Error: Invalid bp coordinate on line %" PRIuPTR " of %s.\n", line_idx, bimname);
       ^
plink_common.h:811:56: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGPREPRINTFWW(...) sprintf(logbuf, __VA_ARGS__); wordwrap(logbuf, 0);
                                                        ^
plink_data.c:14497:4: note: in expansion of macro 'LOGPREPRINTFWW'
    LOGPREPRINTFWW("Error: Identical A1 and A2 alleles on line %" PRIuPTR " of %s.\n", line_idx, bimname);
    ^
plink_common.h:811:56: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGPREPRINTFWW(...) sprintf(logbuf, __VA_ARGS__); wordwrap(logbuf, 0);
                                                        ^
plink_data.c:14659:5: note: in expansion of macro 'LOGPREPRINTFWW'
     LOGPREPRINTFWW("Error: Line %" PRIuPTR " of %s has fewer tokens than expected.\n", line_idx, bimname);
     ^
plink_data.c: In function 'int32_t report_non_biallelics(char*, char*, Ll_str*)':
plink_common.h:805:54: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGERRPRINTF(...) sprintf(logbuf, __VA_ARGS__); logerrprintb();
                                                      ^
plink_data.c:14726:3: note: in expansion of macro 'LOGERRPRINTF'
   LOGERRPRINTF("Error: %" PRIuPTR " variant%s with 3+ alleles present.\n* If you believe this is due to strand inconsistency, try --flip with\n  %s.\n  (Warning: if this seems to work, strand errors involving SNPs with A/T or C/G\n  alleles probably remain in your data.  If LD between nearby SNPs is high,\n  --flip-scan should detect them.)\n* If you are dealing with genuine multiallelic variants, we recommend exporting\n  that subset of the data to VCF (via e.g. '--recode vcf'), merging with\n  another tool/script, and then importing the result; PLINK is not yet suited\n  to handling them.\n", nbmarker_ct, (nbmarker_ct == 1)? "" : "s", outname);
   ^
plink_data.c: In function 'int32_t merge_main(char*, char*, char*, char*, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, char**, char*, long unsigned int, char*, long unsigned int, uint32_t, uint32_t*, uint32_t*, uint32_t*, char*, unsigned char*, unsigned char*, uint32_t, long unsigned int*, FILE*, long long unsigned int*, long long unsigned int*, long long unsigned int*, uint32_t)':
plink_common.h:811:56: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGPREPRINTFWW(...) sprintf(logbuf, __VA_ARGS__); wordwrap(logbuf, 0);
                                                        ^
plink_data.c:15506:2: note: in expansion of macro 'LOGPREPRINTFWW'
  LOGPREPRINTFWW("Error: Line %" PRIuPTR " of %s has more tokens than expected.\n", line_idx, bedname);
  ^
plink_common.h:815:56: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGERRPRINTFWW(...) sprintf(logbuf, __VA_ARGS__); wordwrap(logbuf, 0); logerrprintb();
                                                        ^
plink_data.c:15539:5: note: in expansion of macro 'LOGERRPRINTFWW'
     LOGERRPRINTFWW("Error: Line %" PRIuPTR " of %s has a half-missing call.\n", line_idx, bedname);
     ^
plink_common.h:811:56: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGPREPRINTFWW(...) sprintf(logbuf, __VA_ARGS__); wordwrap(logbuf, 0);
                                                        ^
plink_data.c:15543:5: note: in expansion of macro 'LOGPREPRINTFWW'
     LOGPREPRINTFWW("Error: Line %" PRIuPTR " of %s has fewer tokens than expected.\n", line_idx, bedname);
     ^
plink_data.c: In function 'int32_t merge_datasets(char*, char*, char*, char*, char*, char*, char*, char*, char*, long long unsigned int, uint32_t, uint32_t, long long unsigned int, Chrom_info*)':
plink_data.c:15663:101: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
  sprintf(logbuf, "Error: Line %" PRIuPTR " of --merge-list file is pathologically long.\n", line_idx);
                                                                                                     ^
plink_data.c:15672:108: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
  sprintf(logbuf, "Error: Line %" PRIuPTR " of --merge-list file has more tokens than expected.\n", line_idx);
                                                                                                            ^
plink_data.c:15679:120: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
    sprintf(logbuf, "Error: Line %" PRIuPTR " of --merge-list file has an excessively long fileset\nprefix.\n", line_idx);
                                                                                                                        ^
plink_data.c:15688:115: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
      sprintf(logbuf, "Error: Line %" PRIuPTR " of --merge-list file has an excessively long filename.\n", line_idx);
                                                                                                                   ^
plink_data.c:16211:217: warning: format '%u' expects argument of type 'unsigned int', but argument 6 has type 'long unsigned int' [-Wformat=]
       sprintf(logbuf, "Performing %u-pass merge (%u %s, %" PRIuPTR "/%u variant%s per pass).\n", pass_ct, tot_sample_ct, species_str(tot_sample_ct), markers_per_pass, dedup_marker_ct, (dedup_marker_ct == 1)? "" : "s");
                                                                                                                                                                                                                         ^
plink_data.c:16251:80: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
         printf("\rPass %u: fileset #%" PRIuPTR " complete.", uii + 1, mlpos + 1);
                                                                                ^
plink_dosage.c: In function 'int32_t dosage_load_score_files(Score_info*, char*, char*, long unsigned int*, long unsigned int*, char**, char***, double**, long unsigned int**, double**, long unsigned int*, long unsigned int*, char**, double**)':
plink_dosage.c:162:103: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
         sprintf(logbuf, "Error: Line %" PRIuPTR " of --score file is pathologically long.\n", line_idx);
                                                                                                       ^
plink_dosage.c:239:103: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
         sprintf(logbuf, "Error: Line %" PRIuPTR " of --score file is pathologically long.\n", line_idx);
                                                                                                       ^
In file included from plink_dosage.c:1:0:
plink_common.h:813:53: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGPRINTFWW(...) sprintf(logbuf, __VA_ARGS__); wordwrap(logbuf, 0); logprintb();
                                                     ^
plink_dosage.c:295:3: note: in expansion of macro 'LOGPRINTFWW'
   LOGPRINTFWW("--score: %" PRIuPTR " entr%s loaded from %s.\n", score_marker_ct, (score_marker_ct == 1)? "y" : "ies", sc_ip->fname);
   ^
plink_common.h:805:54: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGERRPRINTF(...) sprintf(logbuf, __VA_ARGS__); logerrprintb();
                                                      ^
plink_dosage.c:297:5: note: in expansion of macro 'LOGERRPRINTF'
     LOGERRPRINTF("Warning: %" PRIuPTR " line%s skipped.\n", miss_ct, (miss_ct == 1)? "" : "s");
     ^
plink_dosage.c:348:111: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
    sprintf(logbuf, "Error: Line %" PRIuPTR " of --q-score-range data file is pathologically long.\n", line_idx);
                                                                                                               ^
In file included from plink_dosage.c:1:0:
plink_common.h:805:54: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGERRPRINTF(...) sprintf(logbuf, __VA_ARGS__); logerrprintb();
                                                      ^
plink_dosage.c:362:7: note: in expansion of macro 'LOGERRPRINTF'
       LOGERRPRINTF("Warning: %" PRIuPTR " line%s skipped in --q-score-range data file.\n", miss_ct, (miss_ct == 1)? "" : "s");
       ^
plink_dosage.c:372:117: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
         sprintf(logbuf, "Error: Line %" PRIuPTR " of --q-score-range range file is pathologically long.\n", line_idx);
                                                                                                                     ^
plink_dosage.c:387:126: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
         sprintf(logbuf, "Error: Excessively long range name on line %" PRIuPTR " of --q-score-range range\nfile.\n", line_idx);
                                                                                                                              ^
In file included from plink_dosage.c:1:0:
plink_common.h:803:51: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGPRINTF(...) sprintf(logbuf, __VA_ARGS__); logprintb();
                                                   ^
plink_dosage.c:433:5: note: in expansion of macro 'LOGPRINTF'
     LOGPRINTF("--q-score-range: %" PRIuPTR " range%s loaded.\n", qrange_ct, (qrange_ct == 1)? "" : "s");
     ^
plink_common.h:805:54: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGERRPRINTF(...) sprintf(logbuf, __VA_ARGS__); logerrprintb();
                                                      ^
plink_dosage.c:448:5: note: in expansion of macro 'LOGERRPRINTF'
     LOGERRPRINTF("Error: Line %" PRIuPTR " of --q-score-range data file has fewer tokens than\nexpected.\n", line_idx);
     ^
plink_dosage.c:452:107: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
     sprintf(logbuf, "Error: Line %" PRIuPTR " of --score file has fewer tokens than expected.\n", line_idx);
                                                                                                           ^
In file included from plink_dosage.c:1:0:
plink_dosage.c: In function 'int32_t plink1_dosage(Dosage_info*, char*, char*, char*, char*, char*, char*, char*, char*, char*, char*, char*, char*, char*, char*, char*, Two_col_params*, Two_col_params*, Two_col_params*, char*, char*, char*, char*, char*, char*, char*, char*, double, double, double, uint32_t, uint32_t, uint32_t, uint32_t, int32_t, char*, uint32_t, uint32_t, Chrom_info*, double, double, long long unsigned int, long long unsigned int, uint32_t, uint32_t, Cluster_info*, int32_t, int32_t, int32_t, char*, char*, char*, Range_list*, uint32_t, Range_list*, uint32_t, uint32_t, double, double, uint32_t, Score_info*)':
plink_common.h:803:51: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGPRINTF(...) sprintf(logbuf, __VA_ARGS__); logprintb();
                                                   ^
plink_dosage.c:717:5: note: in expansion of macro 'LOGPRINTF'
     LOGPRINTF("%" PRIuPTR " %s (%u male%s, %u female%s, %u ambiguous) loaded from .fam.\n", unfiltered_sample_ct, species_str(unfiltered_sample_ct), uii, (uii == 1)? "" : "s", ujj, (ujj == 1)? "" : "s", gender_unk_ct);
     ^
plink_common.h:803:51: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGPRINTF(...) sprintf(logbuf, __VA_ARGS__); logprintb();
                                                   ^
plink_dosage.c:723:5: note: in expansion of macro 'LOGPRINTF'
     LOGPRINTF("%" PRIuPTR " %s (%d male%s, %d female%s) loaded from .fam.\n", unfiltered_sample_ct, species_str(unfiltered_sample_ct), uii, (uii == 1)? "" : "s", ujj, (ujj == 1)? "" : "s");
     ^
plink_common.h:803:51: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGPRINTF(...) sprintf(logbuf, __VA_ARGS__); logprintb();
                                                   ^
plink_dosage.c:803:4: note: in expansion of macro 'LOGPRINTF'
    LOGPRINTF("--extract range: %" PRIuPTR " variant%s remaining.\n", uljj, (uljj == 1)? "" : "s");
    ^
plink_common.h:803:51: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGPRINTF(...) sprintf(logbuf, __VA_ARGS__); logprintb();
                                                   ^
plink_dosage.c:822:4: note: in expansion of macro 'LOGPRINTF'
    LOGPRINTF("--exclude range: %" PRIuPTR " variant%s remaining.\n", uljj, (uljj == 1)? "" : "s");
    ^
plink_common.h:803:51: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=]
 #define LOGPRINTF(...) sprintf(logbuf, __VA_ARGS__); logprintb();
                                                   ^
plink_dosage.c:935:7: note: in expansion of macro 'LOGPRINTF'
       LOGPRINTF("%s--prune: %" PRIuPTR " %s remaining.\n", uii? "Automatic " : "", unfiltered_sample_ct - sample_exclude_ct, species_str(unfiltered_sample_ct == sample_exclude_ct + 1));
       ^
plink_common.h:803:51: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGPRINTF(...) sprintf(logbuf, __VA_ARGS__); logprintb();
                                                   ^
plink_dosage.c:1072:5: note: in expansion of macro 'LOGPRINTF'
     LOGPRINTF("%" PRIuPTR " variant%s and %" PRIuPTR " %s pass filters and QC.\n", marker_ct, (marker_ct == 1)? "" : "s", sample_ct, species_str(sample_ct));
     ^
plink_common.h:803:51: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=]
 #define LOGPRINTF(...) sprintf(logbuf, __VA_ARGS__); logprintb();
                                                   ^
plink_dosage.c:1072:5: note: in expansion of macro 'LOGPRINTF'
     LOGPRINTF("%" PRIuPTR " variant%s and %" PRIuPTR " %s pass filters and QC.\n", marker_ct, (marker_ct == 1)? "" : "s", sample_ct, species_str(sample_ct));
     ^
plink_common.h:803:51: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGPRINTF(...) sprintf(logbuf, __VA_ARGS__); logprintb();
                                                   ^
plink_dosage.c:1074:5: note: in expansion of macro 'LOGPRINTF'
     LOGPRINTF("%" PRIuPTR " %s pass%s filters and QC.\n", sample_ct, species_str(sample_ct), (sample_ct == 1)? "es" : "");
     ^
plink_dosage.c:1085:344: warning: format '%u' expects argument of type 'unsigned int', but argument 7 has type 'long unsigned int' [-Wformat=]
       sprintf(logbuf, "Among remaining phenotypes, %u %s and %u %s.  (%" PRIuPTR " phenotype%s missing.)\n", pheno_nm_ct - pheno_ctrl_ct, (pheno_nm_ct - pheno_ctrl_ct == 1)? "is a case" : "are cases", pheno_ctrl_ct, (pheno_ctrl_ct == 1)? "is a control" : "are controls", sample_ct - pheno_nm_ct, (sample_ct - pheno_nm_ct == 1)? " is" : "s are");
                                                                                                                                                                                                                                                                                                                                                        ^
plink_dosage.c:1192:105: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
    sprintf(logbuf, "Error: Invalid batch number on line %" PRIuPTR " of --dosage list file.\n", line_idx);
                                                                                                         ^
plink_dosage.c:1198:119: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
           sprintf(logbuf, "Error: Line %" PRIuPTR " of --dosage list file has fewer tokens than expected.\n", line_idx);
                                                                                                                       ^
plink_dosage.c:1210:119: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
           sprintf(logbuf, "Error: Line %" PRIuPTR " of --dosage list file has fewer tokens than expected.\n", line_idx);
                                                                                                                       ^
plink_dosage.c:1221:109: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
  sprintf(logbuf, "Error: Line %" PRIuPTR " of --dosage list file has more tokens than expected.\n", line_idx);
                                                                                                             ^
plink_dosage.c:1234:109: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
         sprintf(logbuf, "Error: Line %" PRIuPTR " of --dosage list file is pathologically long.\n", line_idx);
                                                                                                             ^
plink_dosage.c:1588:154: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
      sprintf(logbuf, "Error: Line %" PRIuPTR " of %s is pathologically long.\n", line_idx, &(sep_fnames[(file_idx + file_idx_start) * max_sepheader_len]));
                                                                                                                                                          ^
plink_dosage.c:1596:169: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
             sprintf(logbuf, "Error: Line %" PRIuPTR " of %s has fewer tokens than expected.\n", line_idx, &(sep_fnames[(file_idx + file_idx_start) * max_sepheader_len]));
                                                                                                                                                                         ^
In file included from plink_dosage.c:1:0:
plink_common.h:815:56: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGERRPRINTFWW(...) sprintf(logbuf, __VA_ARGS__); wordwrap(logbuf, 0); logerrprintb();
                                                        ^
plink_dosage.c:1713:2: note: in expansion of macro 'LOGERRPRINTFWW'
  LOGERRPRINTFWW("Warning: %" PRIuPTR " sample ID%s present in .fam file but missing from dosage file%s.\n", ulii, (ulii == 1)? "" : "s", (cur_batch_size == 1)? "" : "s");
  ^
plink_dosage.c:1748:153: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
    sprintf(logbuf, "Error: Line %" PRIuPTR " of %s has an excessively long variant ID.\n", line_idx, &(fnames[(file_idx + file_idx_start) * max_fn_len]));
                                                                                                                                                         ^
plink_dosage.c:1793:233: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
      sprintf(logbuf, "Error: Variant ID mismatch between line %" PRIuPTR " of %s and line %" PRIuPTR " of %s.\n", line_idx_arr[0], &(fnames[file_idx_start * max_fn_len]), line_idx, &(fnames[(file_idx + file_idx_start) * max_fn_len]));
                                                                                                                                                                                                                                         ^
plink_dosage.c:1793:233: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=]
plink_dosage.c:1797:234: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
      sprintf(logbuf, "Error: Allele code mismatch between line %" PRIuPTR " of %s and line %" PRIuPTR " of %s.\n", line_idx_arr[0], &(fnames[file_idx_start * max_fn_len]), line_idx, &(fnames[(file_idx + file_idx_start) * max_fn_len]));
                                                                                                                                                                                                                                          ^
plink_dosage.c:1797:234: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=]
In file included from plink_dosage.c:1:0:
plink_common.h:815:56: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGERRPRINTFWW(...) sprintf(logbuf, __VA_ARGS__); wordwrap(logbuf, 0); logerrprintb();
                                                        ^
plink_dosage.c:2297:7: note: in expansion of macro 'LOGERRPRINTFWW'
       LOGERRPRINTFWW("Error: Line %" PRIuPTR " of %s is pathologically long.\n", line_idx, &(fnames[(file_idx + file_idx_start) * max_fn_len]));
       ^
plink_dosage.c:2304:150: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
     sprintf(logbuf, "Error: Line %" PRIuPTR " of %s has fewer tokens than expected.\n", line_idx, &(fnames[(file_idx + file_idx_start) * max_fn_len]));
                                                                                                                                                      ^
In file included from plink_family.c:1:0:
plink_family.c: In function 'int32_t mendel_error_scan(Family_info*, FILE*, long unsigned int, char*, char*, uint32_t, uint32_t, uint32_t, long unsigned int, long unsigned int*, long unsigned int*, long unsigned int*, char*, long unsigned int, char**, long unsigned int, long unsigned int, long unsigned int*, long unsigned int*, long unsigned int*, long unsigned int*, long unsigned int*, char*, long unsigned int, char*, long unsigned int, char*, long unsigned int, uint32_t, Chrom_info*, uint32_t)':
plink_common.h:803:51: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=]
 #define LOGPRINTF(...) sprintf(logbuf, __VA_ARGS__); logprintb();
                                                   ^
plink_family.c:1229:5: note: in expansion of macro 'LOGPRINTF'
     LOGPRINTF("%u variant%s and %" PRIuPTR " %s excluded.\n", new_marker_exclude_ct, (new_marker_exclude_ct == 1)? "" : "s", ulii, species_str(ulii));
     ^
plink_family.c: In function 'int32_t tdt_poo(pthread_t*, FILE*, long unsigned int, char*, char*, double, long unsigned int, long unsigned int*, long unsigned int, char*, long unsigned int, uint32_t, char**, long unsigned int, long unsigned int*, long unsigned int, long unsigned int*, long unsigned int*, uint32_t*, uint32_t, Aperm_info*, uint32_t, char*, long unsigned int, Chrom_info*, uint32_t, Family_info*, long unsigned int*, long unsigned int*, char*, double*, uint32_t*, long unsigned int)':
plink_family.c:1947:36: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=]
    printf("\b\b%" PRIuPTR "%%", pct);
                                    ^
plink_family.c: In function 'int32_t tdt(pthread_t*, FILE*, long unsigned int, char*, char*, double, double, double, double, uint32_t, double, long unsigned int, long unsigned int*, long unsigned int, char*, long unsigned int, uint32_t, uint32_t*, char**, long unsigned int, long unsigned int*, long unsigned int, long unsigned int*, long unsigned int, Aperm_info*, uint32_t, long unsigned int*, long unsigned int*, long unsigned int*, long unsigned int*, long unsigned int*, char*, long unsigned int, char*, long unsigned int, char*, long unsigned int, Chrom_info*, uint32_t, Family_info*)':
plink_family.c:2475:36: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=]
    printf("\b\b%" PRIuPTR "%%", pct);
                                    ^
In file included from plink_family.c:1:0:
plink_family.c: In function 'int32_t qfam(pthread_t*, FILE*, long unsigned int, char*, char*, long unsigned int, long unsigned int*, long unsigned int, char*, long unsigned int, uint32_t, uint32_t*, char**, long unsigned int*, long unsigned int, long unsigned int*, long unsigned int, Aperm_info*, long unsigned int*, double*, long unsigned int*, long unsigned int*, long unsigned int*, char*, long unsigned int, char*, long unsigned int, char*, long unsigned int, Chrom_info*, uint32_t, uint32_t, Family_info*)':
plink_common.h:813:53: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=]
 #define LOGPRINTFWW(...) sprintf(logbuf, __VA_ARGS__); wordwrap(logbuf, 0); logprintb();
                                                     ^
plink_family.c:4579:3: note: in expansion of macro 'LOGPRINTFWW'
   LOGPRINTFWW("--qfam-%s: Permuting %" PRIuPTR " families/singletons, and including %u %s in linear regression.\n", flag_suffix, fss_ct, lm_ct, g_species_plural);
   ^
plink_filter.c: In function 'int32_t keep_or_remove(char*, char*, long unsigned int, long unsigned int, uint32_t*, long unsigned int, long unsigned int*, long unsigned int*, uint32_t)':
plink_filter.c:86:130: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
       sprintf(logbuf, "Error: Line %" PRIuPTR " of --%s file is pathologically long.\n", line_idx, keep_or_remove_flag_str(flags));
                                                                                                                                  ^
plink_filter.c:95:133: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
  sprintf(logbuf, "Error: Line %" PRIuPTR " of --%s file has fewer tokens than expected.\n", line_idx, keep_or_remove_flag_str(flags));
                                                                                                                                     ^
In file included from plink_filter.c:1:0:
plink_common.h:803:51: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=]
 #define LOGPRINTF(...) sprintf(logbuf, __VA_ARGS__); logprintb();
                                                   ^
plink_filter.c:151:3: note: in expansion of macro 'LOGPRINTF'
   LOGPRINTF("--%s: %" PRIuPTR " %s remaining.\n", keep_or_remove_flag_str(flags), unfiltered_ct, species_str(unfiltered_ct));
   ^
plink_common.h:805:54: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGERRPRINTF(...) sprintf(logbuf, __VA_ARGS__); logerrprintb();
                                                      ^
plink_filter.c:154:5: note: in expansion of macro 'LOGERRPRINTF'
     LOGERRPRINTF("Warning: At least %" PRIuPTR " duplicate ID%s in --%s file.\n", duplicate_ct, (duplicate_ct == 1)? "" : "s", keep_or_remove_flag_str(flags));
     ^
plink_filter.c: In function 'int32_t extract_exclude_flag_norange(char*, uint32_t*, uint32_t, uint32_t, char*, long unsigned int, long unsigned int, long unsigned int*, long unsigned int*)':
plink_common.h:803:51: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=]
 #define LOGPRINTF(...) sprintf(logbuf, __VA_ARGS__); logprintb();
                                                   ^
plink_filter.c:321:3: note: in expansion of macro 'LOGPRINTF'
   LOGPRINTF("--%s: %" PRIuPTR " variant%s remaining.\n", do_exclude? "exclude" : "extract", unfiltered_marker_ct, (unfiltered_marker_ct == 1)? "" : "s");
   ^
plink_common.h:805:54: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGERRPRINTF(...) sprintf(logbuf, __VA_ARGS__); logerrprintb();
                                                      ^
plink_filter.c:324:5: note: in expansion of macro 'LOGERRPRINTF'
     LOGERRPRINTF("Warning: At least %" PRIuPTR " duplicate ID%s in --%s file.\n", duplicate_ct, (duplicate_ct == 1)? "" : "s", do_exclude? "exclude" : "extract");
     ^
plink_filter.c: In function 'int32_t filter_attrib(char*, char*, uint32_t*, uint32_t, char*, long unsigned int, long unsigned int, long unsigned int*, long unsigned int*)':
plink_filter.c:506:96: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
  sprintf(logbuf, "Error: Line %" PRIuPTR" of --attrib file is pathologically long.\n", line_idx);
                                                                                                ^
In file included from plink_filter.c:1:0:
plink_common.h:803:51: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGPRINTF(...) sprintf(logbuf, __VA_ARGS__); logprintb();
                                                   ^
plink_filter.c:556:3: note: in expansion of macro 'LOGPRINTF'
   LOGPRINTF("--attrib: %" PRIuPTR " variant%s remaining.\n", include_ct, (include_ct == 1)? "" : "s");
   ^
plink_filter.c: In function 'int32_t filter_attrib_sample(char*, char*, char*, long unsigned int, long unsigned int, uint32_t*, long unsigned int, long unsigned int*, long unsigned int*)':
plink_filter.c:741:102: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
  sprintf(logbuf, "Error: Line %" PRIuPTR" of --attrib-indiv file is pathologically long.\n", line_idx);
                                                                                                      ^
plink_filter.c:751:117: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
       sprintf(logbuf, "Error: Line %" PRIuPTR " of --attrib-indiv file has fewer tokens than\nexpected.\n", line_idx);
                                                                                                                     ^
In file included from plink_filter.c:1:0:
plink_common.h:803:51: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGPRINTF(...) sprintf(logbuf, __VA_ARGS__); logprintb();
                                                   ^
plink_filter.c:792:3: note: in expansion of macro 'LOGPRINTF'
   LOGPRINTF("--attrib-indiv: %" PRIuPTR " %s remaining.\n", include_ct, species_str(include_ct));
   ^
plink_filter.c: In function 'int32_t filter_qual_scores(Two_col_params*, double, double, uint32_t*, uint32_t, char*, long unsigned int, long unsigned int, long unsigned int*, long unsigned int*)':
plink_filter.c:874:109: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
         sprintf(logbuf, "Error: Line %" PRIuPTR " of --qual-scores file is pathologically long.\n", line_idx);
                                                                                                             ^
plink_filter.c:920:174: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
     sprintf(logbuf, "--qual-scores: %" PRIuPTR " variant%s remaining, %" PRIuPTR " ID%s missing.\n", marker_ct, (marker_ct == 1)? "" : "s", miss_ct, (miss_ct == 1)? "" : "s");
                                                                                                                                                                              ^
plink_filter.c:920:174: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=]
plink_filter.c:922:112: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
     sprintf(logbuf, "--qual-scores: %" PRIuPTR " variant%s remaining.\n", marker_ct, (marker_ct == 1)? "" : "s");
                                                                                                                ^
plink_filter.c:933:113: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
     sprintf(logbuf, "Error: Line %" PRIuPTR " of --qual-scores file has fewer tokens than expected.\n", line_idx);
                                                                                                                 ^
In file included from plink_filter.c:1:0:
plink_filter.c: In function 'int32_t load_oblig_missing(FILE*, long unsigned int, long unsigned int, long unsigned int*, long unsigned int, char*, long unsigned int, char*, long unsigned int, long unsigned int, uint32_t*, long unsigned int, long unsigned int*, long unsigned int*, Chrom_info*, Oblig_missing_info*)':
plink_common.h:811:56: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGPREPRINTFWW(...) sprintf(logbuf, __VA_ARGS__); wordwrap(logbuf, 0);
                                                        ^
plink_filter.c:1147:7: note: in expansion of macro 'LOGPREPRINTFWW'
       LOGPREPRINTFWW("Error: Line %" PRIuPTR " of %s is pathologically long.\n", line_idx, om_ip->sample_fname);
       ^
plink_common.h:811:56: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGPREPRINTFWW(...) sprintf(logbuf, __VA_ARGS__); wordwrap(logbuf, 0);
                                                        ^
plink_filter.c:1155:7: note: in expansion of macro 'LOGPREPRINTFWW'
       LOGPREPRINTFWW("Error: Line %" PRIuPTR " of %s has fewer tokens than expected.\n", line_idx, om_ip->sample_fname);
       ^
plink_common.h:811:56: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGPREPRINTFWW(...) sprintf(logbuf, __VA_ARGS__); wordwrap(logbuf, 0);
                                                        ^
plink_filter.c:1273:7: note: in expansion of macro 'LOGPREPRINTFWW'
       LOGPREPRINTFWW("Error: Line %" PRIuPTR " of %s is pathologically long.\n", line_idx, om_ip->marker_fname);
       ^
plink_common.h:811:56: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGPREPRINTFWW(...) sprintf(logbuf, __VA_ARGS__); wordwrap(logbuf, 0);
                                                        ^
plink_filter.c:1286:9: note: in expansion of macro 'LOGPREPRINTFWW'
         LOGPREPRINTFWW("Error: Line %" PRIuPTR " of %s has fewer tokens than expected.\n", line_idx, om_ip->marker_fname);
         ^
plink_common.h:815:56: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGERRPRINTFWW(...) sprintf(logbuf, __VA_ARGS__); wordwrap(logbuf, 0); logerrprintb();
                                                        ^
plink_filter.c:1310:5: note: in expansion of macro 'LOGERRPRINTFWW'
     LOGERRPRINTFWW("Warning: %" PRIuPTR " entr%s in %s had block IDs missing from %s.\n", missing_cluster_ct, (missing_cluster_ct == 1)? "y" : "ies", om_ip->marker_fname, om_ip->sample_fname);
     ^
plink_filter.c: In function 'int32_t filter_samples_file(char*, char*, long unsigned int, long unsigned int, uint32_t*, long unsigned int, long unsigned int*, long unsigned int*, char*, uint32_t)':
plink_filter.c:1418:102: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
       sprintf(logbuf, "Error: Line %" PRIuPTR " of --filter file is pathologically long.\n", line_idx);
                                                                                                      ^
In file included from plink_filter.c:1:0:
plink_common.h:803:51: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGPRINTF(...) sprintf(logbuf, __VA_ARGS__); logprintb();
                                                   ^
plink_filter.c:1453:3: note: in expansion of macro 'LOGPRINTF'
   LOGPRINTF("--filter: %" PRIuPTR " %s remaining.\n", include_ct, species_str(include_ct));
   ^
plink_filter.c:1468:108: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
     sprintf(logbuf, "Error: Line %" PRIuPTR " of --filter file has fewer tokens than expected.\n", line_idx);
                                                                                                            ^
plink_glm.c: In function 'int32_t glm_scan_conditions(char*, char*, long unsigned int, long unsigned int*, long unsigned int, char*, long unsigned int, Chrom_info*, uint32_t, long unsigned int*, FILE*, long unsigned int, long unsigned int, long unsigned int*, long unsigned int*, long unsigned int*, long unsigned int*, uint32_t**, long unsigned int*, long unsigned int*)':
plink_glm.c:340:112: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
         sprintf(logbuf, "Error: Line %" PRIuPTR " of --condition-list file is pathologically long.\n", line_idx);
                                                                                                                ^
plink_glm.c:374:198: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
       sprintf(logbuf, "--condition-list: %" PRIuPTR " of %" PRIuPTR " variant ID%s loaded from %s.\n", condition_ct, condition_ct + miss_ct, (condition_ct + miss_ct == 1)? "" : "s", condition_fname);
                                                                                                                                                                                                      ^
plink_glm.c:374:198: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=]
plink_glm.c:376:148: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
       sprintf(logbuf, "--condition-list: %" PRIuPTR " variant ID%s loaded from %s.\n", condition_ct, (condition_ct == 1)? "" : "s", condition_fname);
                                                                                                                                                    ^
In file included from plink_homozyg.c:1:0:
plink_homozyg.c: In function 'int32_t calc_homozyg(Homozyg_info*, FILE*, long unsigned int, uint32_t, long unsigned int, long unsigned int*, char*, long unsigned int, uint32_t, char**, long unsigned int, long unsigned int*, Chrom_info*, uint32_t*, long unsigned int, long unsigned int, long unsigned int*, char*, uint32_t, uint32_t, long unsigned int, char*, char*, long unsigned int*, long unsigned int*, double*, char*, long unsigned int*)':
plink_common.h:803:51: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGPRINTF(...) sprintf(logbuf, __VA_ARGS__); logprintb();
                                                   ^
plink_homozyg.c:2729:3: note: in expansion of macro 'LOGPRINTF'
   LOGPRINTF("--homozyg: Scan complete, found %" PRIuPTR " ROH.\n", roh_ct);
   ^
In file included from plink_ld.c:1:0:
plink_ld.c: In function 'int32_t ld_prune(Ld_info*, FILE*, long unsigned int, long unsigned int, long unsigned int, long unsigned int*, long unsigned int*, char*, long unsigned int, Chrom_info*, double*, uint32_t*, long unsigned int, long unsigned int*, long unsigned int*, char*, char*, uint32_t)':
plink_common.h:803:51: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=]
 #define LOGPRINTF(...) sprintf(logbuf, __VA_ARGS__); logprintb();
                                                   ^
plink_ld.c:833:5: note: in expansion of macro 'LOGPRINTF'
     LOGPRINTF("--indep%s: Ignoring %" PRIuPTR " chromosome 0 variant%s.\n", pairwise? "-pairwise" : "", ulii, (ulii == 1)? "" : "s");
     ^
plink_common.h:803:51: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGPRINTF(...) sprintf(logbuf, __VA_ARGS__); logprintb();
                                                   ^
plink_ld.c:1270:5: note: in expansion of macro 'LOGPRINTF'
     LOGPRINTF("Pruned %" PRIuPTR " variant%s from chromosome %u, leaving %" PRIuPTR ".\n", cur_exclude_ct, (cur_exclude_ct == 1)? "" : "s", uii, chrom_info_ptr->chrom_end[uii] - chrom_info_ptr->chrom_start[uii] - popcount_bit_idx(marker_exclude, chrom_info_ptr->chrom_start[uii], chrom_info_ptr->chrom_end[uii]) - cur_exclude_ct);
     ^
plink_common.h:803:51: warning: format '%u' expects argument of type 'unsigned int', but argument 6 has type 'long unsigned int' [-Wformat=]
 #define LOGPRINTF(...) sprintf(logbuf, __VA_ARGS__); logprintb();
                                                   ^
plink_ld.c:1270:5: note: in expansion of macro 'LOGPRINTF'
     LOGPRINTF("Pruned %" PRIuPTR " variant%s from chromosome %u, leaving %" PRIuPTR ".\n", cur_exclude_ct, (cur_exclude_ct == 1)? "" : "s", uii, chrom_info_ptr->chrom_end[uii] - chrom_info_ptr->chrom_start[uii] - popcount_bit_idx(marker_exclude, chrom_info_ptr->chrom_start[uii], chrom_info_ptr->chrom_end[uii]) - cur_exclude_ct);
     ^
plink_common.h:803:51: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=]
 #define LOGPRINTF(...) sprintf(logbuf, __VA_ARGS__); logprintb();
                                                   ^
plink_ld.c:1277:3: note: in expansion of macro 'LOGPRINTF'
   LOGPRINTF("Pruning complete.  %u of %" PRIuPTR " variants removed.\n", tot_exclude_ct, marker_ct);
   ^
plink_ld.c: In function 'int32_t flipscan(Ld_info*, FILE*, long unsigned int, long unsigned int, long unsigned int, long unsigned int*, long unsigned int*, char*, long unsigned int, uint32_t, char**, long unsigned int, Chrom_info*, double*, uint32_t*, long unsigned int, long unsigned int*, long unsigned int*, long unsigned int*, long unsigned int*, char*, char*, uint32_t)':
plink_ld.c:1821:40: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=]
        printf("\b\b%" PRIuPTR "%%", pct);
                                        ^
plink_ld.c: In function 'int32_t ld_report_matrix(pthread_t*, Ld_info*, FILE*, long unsigned int, long unsigned int, long unsigned int*, long unsigned int*, long unsigned int, long unsigned int*, uint32_t, uint32_t, long unsigned int*, long unsigned int*, long unsigned int*, long unsigned int*, char*, uint32_t)':
plink_ld.c:2502:34: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=]
  printf("\b\b%" PRIuPTR "%%", pct);
                                  ^
plink_ld.c: In function 'int32_t ld_report_dprime(pthread_t*, Ld_info*, FILE*, long unsigned int, long unsigned int*, long unsigned int, long unsigned int*, long unsigned int*, long unsigned int*, long unsigned int*, long unsigned int*, char*, uint32_t, long unsigned int, long unsigned int)':
plink_ld.c:5511:34: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=]
  printf("\b\b%" PRIuPTR "%%", pct);
                                  ^
plink_ld.c: In function 'int32_t ld_report_regular(pthread_t*, Ld_info*, FILE*, long unsigned int, long unsigned int, long unsigned int*, long unsigned int, long unsigned int*, uint32_t, uint32_t, long unsigned int*, long unsigned int*, long unsigned int*, long unsigned int*, char*, uint32_t)':
plink_ld.c:6007:34: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=]
  printf("\b\b%" PRIuPTR "%%", pct);
                                  ^
In file included from plink_ld.c:1:0:
plink_ld.c: In function 'int32_t show_tags(Ld_info*, FILE*, long unsigned int, long unsigned int, long unsigned int, long unsigned int*, long unsigned int*, char*, long unsigned int, uint32_t, uint32_t*, Chrom_info*, long unsigned int, long unsigned int*, long unsigned int*, char*, char*, uint32_t)':
plink_common.h:805:54: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGERRPRINTF(...) sprintf(logbuf, __VA_ARGS__); logerrprintb();
                                                      ^
plink_ld.c:6258:2: note: in expansion of macro 'LOGERRPRINTF'
  LOGERRPRINTF("Error: Line %" PRIuPTR " of --show-tags file is pathologically long.\n", line_idx);
  ^
plink_common.h:805:54: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGERRPRINTF(...) sprintf(logbuf, __VA_ARGS__); logerrprintb();
                                                      ^
plink_ld.c:6269:4: note: in expansion of macro 'LOGERRPRINTF'
    LOGERRPRINTF("Error: Line %" PRIuPTR " of --show-tags file has fewer tokens than expected.\n", line_idx);
    ^
plink_common.h:805:54: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGERRPRINTF(...) sprintf(logbuf, __VA_ARGS__); logerrprintb();
                                                      ^
plink_ld.c:6304:7: note: in expansion of macro 'LOGERRPRINTF'
       LOGERRPRINTF("Warning: %" PRIuPTR " unrecognized variant ID%s in --show-tags file.\n", unrecog_ct, (unrecog_ct == 1)? "" : "s");
       ^
plink_ld.c:6512:45: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=]
             printf("\b\b%" PRIuPTR "%%", pct);
                                             ^
In file included from plink_ld.c:1:0:
plink_ld.c: In function 'int32_t twolocus(Epi_info*, FILE*, long unsigned int, long unsigned int, long unsigned int, long unsigned int*, long unsigned int*, char*, long unsigned int, uint32_t, char**, Chrom_info*, long unsigned int, long unsigned int*, long unsigned int, long unsigned int*, uint32_t, uint32_t, long unsigned int*, long unsigned int*, char*, char*, uint32_t)':
plink_common.h:803:51: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGPRINTF(...) sprintf(logbuf, __VA_ARGS__); logprintb();
                                                   ^
plink_ld.c:8038:9: note: in expansion of macro 'LOGPRINTF'
         LOGPRINTF("Solution #%" PRIuPTR ":\n", ulkk + 1 - ulii);
         ^
plink_ld.c: In function 'int32_t epistasis_linear_regression(pthread_t*, Epi_info*, FILE*, long unsigned int, long unsigned int, long unsigned int*, char*, long unsigned int, uint32_t, Chrom_info*, long unsigned int, long unsigned int, long unsigned int*, long unsigned int, long unsigned int, long unsigned int, long unsigned int*, uint32_t, long unsigned int, long long unsigned int, long unsigned int, long unsigned int*, uint32_t, double*, uint32_t, uint32_t, char*, char*, double, double, long unsigned int*, long unsigned int*, double*, uint32_t*, uint32_t*, uint32_t*, uint32_t*)':
plink_ld.c:8644:41: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=]
         printf("\b\b%" PRIuPTR "%%", pct);
                                         ^
plink_ld.c: In function 'int32_t epistasis_logistic_regression(pthread_t*, Epi_info*, FILE*, long unsigned int, long unsigned int, long unsigned int*, char*, long unsigned int, uint32_t, Chrom_info*, long unsigned int, long unsigned int, long unsigned int*, long unsigned int, long unsigned int, long unsigned int, long unsigned int*, uint32_t, long unsigned int, long long unsigned int, long unsigned int, long unsigned int*, uint32_t, long unsigned int*, uint32_t, uint32_t, char*, char*, double, long unsigned int*, long unsigned int*, double*, uint32_t*, uint32_t*, uint32_t*, uint32_t*)':
plink_ld.c:9116:41: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=]
         printf("\b\b%" PRIuPTR "%%", pct);
                                         ^
In file included from plink_ld.c:1:0:
plink_ld.c: In function 'int32_t epistasis_report(pthread_t*, Epi_info*, FILE*, long unsigned int, long unsigned int, long unsigned int, long unsigned int*, long unsigned int*, char*, long unsigned int, uint32_t*, uint32_t, Chrom_info*, long unsigned int, long unsigned int*, uint32_t, uint32_t, long unsigned int*, double*, uint32_t, uint32_t, char*, char*, double, double, Set_info*)':
plink_common.h:803:51: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=]
 #define LOGPRINTF(...) sprintf(logbuf, __VA_ARGS__); logprintb();
                                                   ^
plink_ld.c:9391:7: note: in expansion of macro 'LOGPRINTF'
       LOGPRINTF("--%sepistasis: Skipping %" PRIuPTR " monomorphic/non-autosomal site%s.\n", is_fast? "fast-" : "", marker_ct2 - ulii, (marker_ct2 - ulii == 1)? "" : "s");
       ^
plink_common.h:803:51: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=]
 #define LOGPRINTF(...) sprintf(logbuf, __VA_ARGS__); logprintb();
                                                   ^
plink_ld.c:9393:7: note: in expansion of macro 'LOGPRINTF'
       LOGPRINTF("--%sepistasis: Skipping %" PRIuPTR " site%s due to --je-cellmin setting.\n", is_fast? "fast-" : "", marker_ct2 - ulii, (marker_ct2 - ulii == 1)? "" : "s");
       ^
plink_ld.c:10058:36: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=]
    printf("\b\b%" PRIuPTR "%%", pct);
                                    ^
In file included from plink_ld.c:1:0:
plink_ld.c: In function 'int32_t indep_pairphase(Ld_info*, FILE*, long unsigned int, long unsigned int, long unsigned int, long unsigned int*, long unsigned int*, char*, long unsigned int, Chrom_info*, double*, uint32_t*, long unsigned int, long unsigned int*, long unsigned int*, char*, char*, uint32_t)':
plink_common.h:803:51: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGPRINTF(...) sprintf(logbuf, __VA_ARGS__); logprintb();
                                                   ^
plink_ld.c:10290:5: note: in expansion of macro 'LOGPRINTF'
     LOGPRINTF("--indep-pairphase: Ignoring %" PRIuPTR " chromosome 0 variant%s.\n", ulii, (ulii == 1)? "" : "s");
     ^
plink_common.h:803:51: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGPRINTF(...) sprintf(logbuf, __VA_ARGS__); logprintb();
                                                   ^
plink_ld.c:10560:5: note: in expansion of macro 'LOGPRINTF'
     LOGPRINTF("Pruned %" PRIuPTR " variant%s from chromosome %u, leaving %" PRIuPTR ".\n", cur_exclude_ct, (cur_exclude_ct == 1)? "" : "s", uii, chrom_info_ptr->chrom_end[uii] - chrom_info_ptr->chrom_start[uii] - popcount_bit_idx(marker_exclude, chrom_info_ptr->chrom_start[uii], chrom_info_ptr->chrom_end[uii]) - cur_exclude_ct);
     ^
plink_common.h:803:51: warning: format '%u' expects argument of type 'unsigned int', but argument 6 has type 'long unsigned int' [-Wformat=]
 #define LOGPRINTF(...) sprintf(logbuf, __VA_ARGS__); logprintb();
                                                   ^
plink_ld.c:10560:5: note: in expansion of macro 'LOGPRINTF'
     LOGPRINTF("Pruned %" PRIuPTR " variant%s from chromosome %u, leaving %" PRIuPTR ".\n", cur_exclude_ct, (cur_exclude_ct == 1)? "" : "s", uii, chrom_info_ptr->chrom_end[uii] - chrom_info_ptr->chrom_start[uii] - popcount_bit_idx(marker_exclude, chrom_info_ptr->chrom_start[uii], chrom_info_ptr->chrom_end[uii]) - cur_exclude_ct);
     ^
plink_common.h:803:51: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=]
 #define LOGPRINTF(...) sprintf(logbuf, __VA_ARGS__); logprintb();
                                                   ^
plink_ld.c:10567:3: note: in expansion of macro 'LOGPRINTF'
   LOGPRINTF("Pruning complete.  %u of %" PRIuPTR " variants removed.\n", tot_exclude_ct, marker_ct);
   ^
plink_ld.c: In function 'int32_t epi_summary_merge(Epi_info*, char*, char*)':
plink_common.h:815:56: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGERRPRINTFWW(...) sprintf(logbuf, __VA_ARGS__); wordwrap(logbuf, 0); logerrprintb();
                                                        ^
plink_ld.c:11016:5: note: in expansion of macro 'LOGERRPRINTFWW'
     LOGERRPRINTFWW("Error: Invalid N_SIG value on line %" PRIuPTR " of %s .\n", line_idx, inprefix);
     ^
plink_common.h:815:56: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGERRPRINTFWW(...) sprintf(logbuf, __VA_ARGS__); wordwrap(logbuf, 0); logerrprintb();
                                                        ^
plink_ld.c:11020:5: note: in expansion of macro 'LOGERRPRINTFWW'
     LOGERRPRINTFWW("Error: Invalid N_SIG value on line %" PRIuPTR " of %s .\n", line_idx, inprefix);
     ^
plink_common.h:815:56: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGERRPRINTFWW(...) sprintf(logbuf, __VA_ARGS__); wordwrap(logbuf, 0); logerrprintb();
                                                        ^
plink_ld.c:11024:5: note: in expansion of macro 'LOGERRPRINTFWW'
     LOGERRPRINTFWW("Error: Invalid BEST_CHISQ value on line %" PRIuPTR " of %s .\n", line_idx, inprefix);
     ^
plink_common.h:815:56: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGERRPRINTFWW(...) sprintf(logbuf, __VA_ARGS__); wordwrap(logbuf, 0); logerrprintb();
                                                        ^
plink_ld.c:11028:5: note: in expansion of macro 'LOGERRPRINTFWW'
     LOGERRPRINTFWW("Error: Line %" PRIuPTR " of %s has fewer tokens than expected.\n", line_idx, inprefix);
     ^
plink_common.h:815:56: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGERRPRINTFWW(...) sprintf(logbuf, __VA_ARGS__); wordwrap(logbuf, 0); logerrprintb();
                                                        ^
plink_ld.c:11032:5: note: in expansion of macro 'LOGERRPRINTFWW'
     LOGERRPRINTFWW("Error: Line %" PRIuPTR " of %s is pathologically long.\n", line_idx, inprefix);
     ^
plink_ld.c: In function 'int32_t test_mishap(FILE*, long unsigned int, char*, char*, double, long unsigned int, long unsigned int*, long unsigned int*, long unsigned int, char*, long unsigned int, uint32_t, char**, double, Chrom_info*, long unsigned int, long unsigned int*, long unsigned int)':
plink_common.h:803:51: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=]
 #define LOGPRINTF(...) sprintf(logbuf, __VA_ARGS__); logprintb();
                                                   ^
plink_ld.c:11463:5: note: in expansion of macro 'LOGPRINTF'
     LOGPRINTF("--test-mishap: %u loc%s checked (%" PRIuPTR " skipped).\n", inspected_ct, (inspected_ct == 1)? "us" : "i", marker_ct - inspected_ct);
     ^
plink_ld.c: In function 'int32_t set_test_common_init(pthread_t*, FILE*, long unsigned int, char*, char*, long unsigned int, long unsigned int*, long unsigned int, char*, long unsigned int, long unsigned int*, double*, Set_info*, Chrom_info*, long unsigned int, long unsigned int*, long unsigned int*, uint32_t, uint32_t, const char*, long unsigned int*, long unsigned int**, long unsigned int**, uint32_t**, uint32_t***, long unsigned int*, uint32_t*, uint32_t***, double*, double**, double**, uint32_t**, uint32_t**, long unsigned int**, uint32_t**, uint32_t**, long unsigned int**)':
plink_common.h:813:53: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=]
 #define LOGPRINTFWW(...) sprintf(logbuf, __VA_ARGS__); wordwrap(logbuf, 0); logprintb();
                                                     ^
plink_ld.c:12210:3: note: in expansion of macro 'LOGPRINTFWW'
   LOGPRINTFWW("%s set test: Testing %" PRIuPTR " set%s with at least one significant variant.\n", flag_descrip, set_ct, (set_ct == 1)? "" : "s");
   ^
plink_ld.c: In function 'int32_t clump_reports(FILE*, long unsigned int, char*, char*, long unsigned int, long unsigned int*, long unsigned int, char*, long unsigned int, uint32_t, uint32_t*, char**, long unsigned int*, Chrom_info*, long unsigned int, long unsigned int*, Clump_info*, long unsigned int*, uint32_t)':
plink_common.h:811:56: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGPREPRINTFWW(...) sprintf(logbuf, __VA_ARGS__); wordwrap(logbuf, 0);
                                                        ^
plink_ld.c:12809:4: note: in expansion of macro 'LOGPREPRINTFWW'
    LOGPREPRINTFWW("Error: Line %" PRIuPTR " of %s is pathologically long.\n", line_idx, fname_ptr);
    ^
plink_common.h:811:56: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGPREPRINTFWW(...) sprintf(logbuf, __VA_ARGS__); wordwrap(logbuf, 0);
                                                        ^
plink_ld.c:12891:4: note: in expansion of macro 'LOGPREPRINTFWW'
    LOGPREPRINTFWW("Error: Line %" PRIuPTR " of %s is pathologically long.\n", line_idx, fname_ptr);
    ^
plink_common.h:811:56: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGPREPRINTFWW(...) sprintf(logbuf, __VA_ARGS__); wordwrap(logbuf, 0);
                                                        ^
plink_ld.c:12923:2: note: in expansion of macro 'LOGPREPRINTFWW'
  LOGPREPRINTFWW("Error: Negative p-value on line %" PRIuPTR " of %s.\n", line_idx, fname_ptr);
  ^
plink_common.h:811:56: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGPREPRINTFWW(...) sprintf(logbuf, __VA_ARGS__); wordwrap(logbuf, 0);
                                                        ^
plink_ld.c:12949:6: note: in expansion of macro 'LOGPREPRINTFWW'
      LOGPREPRINTFWW("Error: p-value > 1 on line %" PRIuPTR " of %s.\n", line_idx, fname_ptr);
      ^
plink_common.h:803:51: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGPRINTF(...) sprintf(logbuf, __VA_ARGS__); logprintb();
                                                   ^
plink_ld.c:13843:7: note: in expansion of macro 'LOGPRINTF'
       LOGPRINTF("%" PRIuPTR " top variant ID%s missing; see the end of the .clumped file.\n", missing_variant_ct, (missing_variant_ct == 1)? "" : "s");
       ^
plink_ld.c:13850:147: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
         fprintf(stderr, "%" PRIuPTR " more top variant ID%s missing; see log file.\n", missing_variant_ct - 3, (missing_variant_ct == 4)? "" : "s");
                                                                                                                                                   ^
plink_ld.c: In function 'void fepi_counts_to_joint_effects_stats(uint32_t, uint32_t*, double*, double*, double*)':
plink_ld.c:3233:24: warning: 'ivv[3]' may be used uninitialized in this function [-Wmaybe-uninitialized]
   use_reg_stat = (ivv[3] > 0.5) && ((group_ct == 1) || (ivv[7] > 0.5));
                        ^
plink_misc.c: In function 'int32_t makepheno_load(FILE*, char*, long unsigned int, char*, long unsigned int, uint32_t*, long unsigned int*, long unsigned int**)':
plink_misc.c:176:106: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
       sprintf(logbuf, "Error: Line %" PRIuPTR " of --make-pheno file is pathologically long.\n", line_idx);
                                                                                                          ^
plink_misc.c:184:114: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
       sprintf(logbuf, "Error: Line %" PRIuPTR " of --make-pheno file has fewer tokens than expected.\n", line_idx);
                                                                                                                  ^
plink_misc.c: In function 'int32_t load_pheno(FILE*, long unsigned int, long unsigned int, char*, long unsigned int, uint32_t*, int32_t, uint32_t, uint32_t, char*, long unsigned int*, long unsigned int**, double**, char*, long unsigned int)':
plink_misc.c:273:96: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
  sprintf(logbuf, "Error: Line %" PRIuPTR " of --pheno file is pathologically long.\n", line_idx);
                                                                                                ^
plink_misc.c:338:113: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
           sprintf(logbuf, "Error: Line %" PRIuPTR " of --pheno file has fewer tokens than expected.\n", line_idx);
                                                                                                                 ^
plink_misc.c:401:107: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
     sprintf(logbuf, "Error: Line %" PRIuPTR " of --pheno file has fewer tokens than expected.\n", line_idx);
                                                                                                           ^
plink_misc.c: In function 'int32_t apply_cm_map(char*, char*, long unsigned int, long unsigned int*, uint32_t*, double*, Chrom_info*)':
plink_misc.c:541:104: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
         sprintf(logbuf, "Error: Line %" PRIuPTR " of --cm-map file is pathologically long.\n", line_idx);
                                                                                                        ^
plink_misc.c:554:99: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
  sprintf(logbuf, "Error: Invalid bp coordinate on line %" PRIuPTR " of --cm-map file.\n", line_idx);
                                                                                                   ^
plink_misc.c:566:106: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
  sprintf(logbuf, "Error: Invalid centimorgan position on line %" PRIuPTR " of --cm-map file.\n", line_idx);
                                                                                                          ^
plink_misc.c:573:106: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
    sprintf(logbuf, "Error: Invalid recombination rate on line %" PRIuPTR " of --cm-map file.\n", line_idx);
                                                                                                          ^
In file included from plink_misc.c:1:0:
plink_common.h:815:56: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGERRPRINTFWW(...) sprintf(logbuf, __VA_ARGS__); wordwrap(logbuf, 0); logerrprintb();
                                                        ^
plink_misc.c:598:7: note: in expansion of macro 'LOGERRPRINTFWW'
       LOGERRPRINTFWW("Warning: %" PRIuPTR " irregular line%s skipped in %s.\n", irreg_line_ct, (irreg_line_ct == 1)? "" : "s", fname_buf);
       ^
plink_misc.c:614:108: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
     sprintf(logbuf, "Error: Line %" PRIuPTR " of --cm-map file has fewer tokens than expected.\n", line_idx);
                                                                                                            ^
plink_misc.c: In function 'int32_t update_marker_cms(Two_col_params*, uint32_t*, uint32_t, char*, long unsigned int, long unsigned int, double*)':
plink_misc.c:675:100: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
  sprintf(logbuf, "Error: Line %" PRIuPTR " of --update-cm file is pathologically long.\n", line_idx);
                                                                                                    ^
plink_misc.c:712:114: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
       sprintf(logbuf, "Error: Invalid centimorgan position on line %" PRIuPTR " of --update-cm file.\n", line_idx);
                                                                                                                  ^
plink_misc.c:721:174: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
     sprintf(logbuf, "--update-cm: %" PRIuPTR " value%s changed, %" PRIuPTR " variant ID%s not present.\n", hit_ct, (hit_ct == 1)? "" : "s", miss_ct, (miss_ct == 1)? "" : "s");
                                                                                                                                                                              ^
plink_misc.c:721:174: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=]
plink_misc.c:723:100: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
     sprintf(logbuf, "--update-cm: %" PRIuPTR " value%s changed.\n", hit_ct, (hit_ct == 1)? "" : "s");
                                                                                                    ^
plink_misc.c:734:111: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
     sprintf(logbuf, "Error: Line %" PRIuPTR " of --update-cm file has fewer tokens than expected.\n", line_idx);
                                                                                                               ^
plink_misc.c: In function 'int32_t update_marker_pos(Two_col_params*, uint32_t*, uint32_t, char*, long unsigned int, long unsigned int, long unsigned int*, long unsigned int*, uint32_t*, uint32_t*, Chrom_info*)':
plink_misc.c:802:108: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
         sprintf(logbuf, "Error: Line %" PRIuPTR " of --update-map file is pathologically long.\n", line_idx);
                                                                                                            ^
plink_misc.c:839:108: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
       sprintf(logbuf, "Error: Invalid bp coordinate on line %" PRIuPTR " of --update-map file.\n", line_idx);
                                                                                                            ^
plink_misc.c:854:175: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
     sprintf(logbuf, "--update-map: %" PRIuPTR " value%s updated, %" PRIuPTR " variant ID%s not present.\n", hit_ct, (hit_ct == 1)? "" : "s", miss_ct, (miss_ct == 1)? "" : "s");
                                                                                                                                                                               ^
plink_misc.c:854:175: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=]
plink_misc.c:856:101: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
     sprintf(logbuf, "--update-map: %" PRIuPTR " value%s updated.\n", hit_ct, (hit_ct == 1)? "" : "s");
                                                                                                     ^
plink_misc.c:891:112: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
     sprintf(logbuf, "Error: Line %" PRIuPTR " of --update-map file has fewer tokens than expected.\n", line_idx);
                                                                                                                ^
plink_misc.c: In function 'int32_t update_marker_names(Two_col_params*, uint32_t*, uint32_t, char*, long unsigned int, long unsigned int)':
plink_misc.c:989:176: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
     sprintf(logbuf, "--update-name: %" PRIuPTR " value%s updated, %" PRIuPTR " variant ID%s not present.\n", hit_ct, (hit_ct == 1)? "" : "s", miss_ct, (miss_ct == 1)? "" : "s");
                                                                                                                                                                                ^
plink_misc.c:989:176: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=]
plink_misc.c:991:102: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
     sprintf(logbuf, "--update-name: %" PRIuPTR " value%s updated.\n", hit_ct, (hit_ct == 1)? "" : "s");
                                                                                                      ^
plink_misc.c: In function 'int32_t update_marker_alleles(char*, uint32_t*, uint32_t, char*, long unsigned int, long unsigned int, long unsigned int*, char**, long unsigned int*, char*, char*)':
plink_misc.c:1061:105: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
  sprintf(logbuf, "Error: Line %" PRIuPTR " of --update-alleles file is pathologically long.\n", line_idx);
                                                                                                         ^
plink_misc.c:1149:173: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
     sprintf(logbuf, "--update-alleles: %" PRIuPTR " variant%s updated, %" PRIuPTR " ID%s not present.\n", hit_ct, (hit_ct == 1)? "" : "s", miss_ct, (miss_ct == 1)? "" : "s");
                                                                                                                                                                             ^
plink_misc.c:1149:173: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=]
plink_misc.c:1151:107: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
     sprintf(logbuf, "--update-alleles: %" PRIuPTR " variant%s updated.\n", hit_ct, (hit_ct == 1)? "" : "s");
                                                                                                           ^
In file included from plink_misc.c:1:0:
plink_common.h:813:53: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGPRINTFWW(...) sprintf(logbuf, __VA_ARGS__); wordwrap(logbuf, 0); logprintb();
                                                     ^
plink_misc.c:1155:5: note: in expansion of macro 'LOGPRINTFWW'
     LOGPRINTFWW("%" PRIuPTR " update failure%s logged to %s .\n", err_ct, (err_ct == 1)? "" : "s", outname);
     ^
plink_common.h:805:54: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGERRPRINTF(...) sprintf(logbuf, __VA_ARGS__); logerrprintb();
                                                      ^
plink_misc.c:1172:5: note: in expansion of macro 'LOGERRPRINTF'
     LOGERRPRINTF("Error: Duplicate allele code on line %" PRIuPTR " of --update-alleles file.\n", line_idx);
     ^
plink_misc.c: In function 'int32_t flip_strand(char*, uint32_t*, uint32_t, char*, long unsigned int, long unsigned int, long unsigned int*, char**)':
plink_misc.c:1306:163: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
     sprintf(logbuf, "--flip: %" PRIuPTR " SNP%s flipped, %" PRIuPTR " SNP ID%s not present.\n", hit_ct, (hit_ct == 1)? "" : "s", miss_ct, (miss_ct == 1)? "" : "s");
                                                                                                                                                                   ^
plink_misc.c:1306:163: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=]
plink_misc.c:1308:93: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
     sprintf(logbuf, "--flip: %" PRIuPTR " SNP%s flipped.\n", hit_ct, (hit_ct == 1)? "" : "s");
                                                                                             ^
plink_misc.c: In function 'int32_t update_sample_ids(char*, char*, long unsigned int, long unsigned int, uint32_t*, char*)':
plink_misc.c:1366:106: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
       sprintf(logbuf, "Error: Line %" PRIuPTR " of --update-ids file is pathologically long.\n", line_idx);
                                                                                                          ^
plink_misc.c:1392:102: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
       sprintf(logbuf, "Error: Invalid IID '0' on line %" PRIuPTR " of --update-ids file.\n", line_idx);
                                                                                                      ^
plink_misc.c:1402:158: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
     sprintf(logbuf, "--update-ids: %" PRIuPTR " %s updated, %" PRIuPTR " ID%s not present.\n", hit_ct, species_str(hit_ct), miss_ct, (miss_ct == 1)? "" : "s");
                                                                                                                                                              ^
plink_misc.c:1402:158: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=]
plink_misc.c:1404:92: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
     sprintf(logbuf, "--update-ids: %" PRIuPTR " %s updated.\n", hit_ct, species_str(hit_ct));
                                                                                            ^
plink_misc.c: In function 'int32_t update_sample_parents(char*, char*, long unsigned int, long unsigned int, uint32_t*, char*, long unsigned int, char*, long unsigned int, long unsigned int*)':
plink_misc.c:1505:162: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
     sprintf(logbuf, "--update-parents: %" PRIuPTR " %s updated, %" PRIuPTR " ID%s not present.\n", hit_ct, species_str(hit_ct), miss_ct, (miss_ct == 1)? "" : "s");
                                                                                                                                                                  ^
plink_misc.c:1505:162: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=]
plink_misc.c:1507:96: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
     sprintf(logbuf, "--update-parents: %" PRIuPTR " %s updated.\n", hit_ct, species_str(hit_ct));
                                                                                                ^
plink_misc.c: In function 'int32_t update_sample_sexes(char*, uint32_t, char*, long unsigned int, long unsigned int, uint32_t*, long unsigned int*, long unsigned int*)':
plink_misc.c:1571:101: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
  sprintf(logbuf, "Error: Line %" PRIuPTR " of --update-sex file is pathologically long.\n", line_idx);
                                                                                                     ^
plink_misc.c:1602:165: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
       sprintf(logbuf, "Error: Invalid sex value on line %" PRIuPTR " of --update-sex file.\n(Acceptable values: 1/M = male, 2/F = female, 0 = missing.)\n", line_idx);
                                                                                                                                                                     ^
plink_misc.c:1622:158: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
     sprintf(logbuf, "--update-sex: %" PRIuPTR " %s updated, %" PRIuPTR " ID%s not present.\n", hit_ct, species_str(hit_ct), miss_ct, (miss_ct == 1)? "" : "s");
                                                                                                                                                              ^
plink_misc.c:1622:158: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=]
plink_misc.c:1624:92: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
     sprintf(logbuf, "--update-sex: %" PRIuPTR " %s updated.\n", hit_ct, species_str(hit_ct));
                                                                                            ^
plink_misc.c:1639:112: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
     sprintf(logbuf, "Error: Line %" PRIuPTR " of --update-sex file has fewer tokens than expected.\n", line_idx);
                                                                                                                ^
plink_misc.c: In function 'int32_t read_external_freqs(char*, long unsigned int, long unsigned int*, long unsigned int, char*, long unsigned int, Chrom_info*, char**, double*, uint32_t*, uint32_t)':
plink_misc.c:2045:102: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
      sprintf(logbuf, "Error: Invalid het count on line %" PRIuPTR " of --read-freq file.\n", line_idx);
                                                                                                      ^
plink_misc.c:2052:106: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
      sprintf(logbuf, "Error: Invalid hap. A1 count on line %" PRIuPTR " of --read-freq file.\n", line_idx);
                                                                                                          ^
plink_misc.c:2056:106: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
      sprintf(logbuf, "Error: Invalid hap. A2 count on line %" PRIuPTR " of --read-freq file.\n", line_idx);
                                                                                                          ^
plink_misc.c:2122:104: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
    sprintf(logbuf, "Error: Line %" PRIuPTR " of --read-freq has more tokens than expected.\n", line_idx);
                                                                                                        ^
In file included from plink_misc.c:1:0:
plink_common.h:805:54: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGERRPRINTF(...) sprintf(logbuf, __VA_ARGS__); logerrprintb();
                                                      ^
plink_misc.c:2135:7: note: in expansion of macro 'LOGERRPRINTF'
       LOGERRPRINTF("Error: Line %" PRIuPTR " of --read-freq file is pathologically long.\n", line_idx);
       ^
plink_common.h:805:54: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGERRPRINTF(...) sprintf(logbuf, __VA_ARGS__); logerrprintb();
                                                      ^
plink_misc.c:2146:5: note: in expansion of macro 'LOGERRPRINTF'
     LOGERRPRINTF("Error: Invalid hom. A1 count on line %" PRIuPTR " of --read-freq file.\n", line_idx);
     ^
plink_common.h:805:54: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGERRPRINTF(...) sprintf(logbuf, __VA_ARGS__); logerrprintb();
                                                      ^
plink_misc.c:2150:5: note: in expansion of macro 'LOGERRPRINTF'
     LOGERRPRINTF("Error: Invalid hom. A2 count on line %" PRIuPTR " of --read-freq file.\n", line_idx);
     ^
plink_common.h:805:54: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGERRPRINTF(...) sprintf(logbuf, __VA_ARGS__); logerrprintb();
                                                      ^
plink_misc.c:2154:5: note: in expansion of macro 'LOGERRPRINTF'
     LOGERRPRINTF("Error: Invalid NCHROBS value on line %" PRIuPTR " of --read-freq file.\n", line_idx);
     ^
plink_common.h:805:54: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGERRPRINTF(...) sprintf(logbuf, __VA_ARGS__); logerrprintb();
                                                      ^
plink_misc.c:2158:5: note: in expansion of macro 'LOGERRPRINTF'
     LOGERRPRINTF("Error: Invalid MAF on line %" PRIuPTR " of --read-freq file.\n", line_idx);
     ^
plink_common.h:805:54: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGERRPRINTF(...) sprintf(logbuf, __VA_ARGS__); logerrprintb();
                                                      ^
plink_misc.c:2162:5: note: in expansion of macro 'LOGERRPRINTF'
     LOGERRPRINTF("Error: A1 and A2 alleles match on line %" PRIuPTR " of --read-freq file.\n", line_idx);
     ^
plink_misc.c:2166:106: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
     sprintf(logbuf, "Error: Invalid chromosome code on line %" PRIuPTR" of --read-freq file.\n", line_idx);
                                                                                                          ^
In file included from plink_misc.c:1:0:
plink_common.h:805:54: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGERRPRINTF(...) sprintf(logbuf, __VA_ARGS__); logerrprintb();
                                                      ^
plink_misc.c:2173:5: note: in expansion of macro 'LOGERRPRINTF'
     LOGERRPRINTF("Error: Line %" PRIuPTR " of --read-freq file has fewer tokens than expected.\n", line_idx);
     ^
plink_common.h:805:54: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGERRPRINTF(...) sprintf(logbuf, __VA_ARGS__); logerrprintb();
                                                      ^
plink_misc.c:2180:5: note: in expansion of macro 'LOGERRPRINTF'
     LOGERRPRINTF("Error: Allele(s) on line %" PRIuPTR " of --read-freq file don't match loaded\nvalues.\n", line_idx);
     ^
plink_misc.c: In function 'int32_t load_ax_alleles(Two_col_params*, long unsigned int, long unsigned int*, long unsigned int, char**, long unsigned int*, long unsigned int*, char*, long unsigned int, double*, uint32_t)':
plink_common.h:811:56: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGPREPRINTFWW(...) sprintf(logbuf, __VA_ARGS__); wordwrap(logbuf, 0);
                                                        ^
plink_misc.c:2245:2: note: in expansion of macro 'LOGPREPRINTFWW'
  LOGPREPRINTFWW("Error: Line %" PRIuPTR " of %s is pathologically long.\n", line_idx, axalleles->fname);
  ^
plink_misc.c: In function 'int32_t sexcheck(FILE*, long unsigned int, char*, char*, long unsigned int, long unsigned int*, long unsigned int, long unsigned int*, long unsigned int, char*, uint32_t, uint32_t, long unsigned int, long unsigned int*, long unsigned int*, long long unsigned int, double, double, uint32_t, uint32_t, Chrom_info*, double*, uint32_t*)':
plink_common.h:811:56: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGPREPRINTFWW(...) sprintf(logbuf, __VA_ARGS__); wordwrap(logbuf, 0);
                                                        ^
plink_misc.c:3226:7: note: in expansion of macro 'LOGPREPRINTFWW'
       LOGPREPRINTFWW("--impute-sex: %" PRIuPTR " Xchr and %" PRIuPTR " Ychr variant(s) scanned, all sexes imputed. Report written to %s .\n", x_variant_ct, ytotal, outname);
       ^
plink_common.h:811:56: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=]
 #define LOGPREPRINTFWW(...) sprintf(logbuf, __VA_ARGS__); wordwrap(logbuf, 0);
                                                        ^
plink_misc.c:3226:7: note: in expansion of macro 'LOGPREPRINTFWW'
       LOGPREPRINTFWW("--impute-sex: %" PRIuPTR " Xchr and %" PRIuPTR " Ychr variant(s) scanned, all sexes imputed. Report written to %s .\n", x_variant_ct, ytotal, outname);
       ^
plink_common.h:811:56: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGPREPRINTFWW(...) sprintf(logbuf, __VA_ARGS__); wordwrap(logbuf, 0);
                                                        ^
plink_misc.c:3228:7: note: in expansion of macro 'LOGPREPRINTFWW'
       LOGPREPRINTFWW("--impute-sex: %" PRIuPTR " Xchr and %" PRIuPTR " Ychr variant(s) scanned, %" PRIuPTR "/%" PRIuPTR " sex%s imputed. Report written to %s .\n", x_variant_ct, ytotal, (sample_ct - gender_unk_ct), sample_ct, (sample_ct == 1)? "" : "es", outname);
       ^
plink_common.h:811:56: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=]
 #define LOGPREPRINTFWW(...) sprintf(logbuf, __VA_ARGS__); wordwrap(logbuf, 0);
                                                        ^
plink_misc.c:3228:7: note: in expansion of macro 'LOGPREPRINTFWW'
       LOGPREPRINTFWW("--impute-sex: %" PRIuPTR " Xchr and %" PRIuPTR " Ychr variant(s) scanned, %" PRIuPTR "/%" PRIuPTR " sex%s imputed. Report written to %s .\n", x_variant_ct, ytotal, (sample_ct - gender_unk_ct), sample_ct, (sample_ct == 1)? "" : "es", outname);
       ^
plink_common.h:811:56: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=]
 #define LOGPREPRINTFWW(...) sprintf(logbuf, __VA_ARGS__); wordwrap(logbuf, 0);
                                                        ^
plink_misc.c:3228:7: note: in expansion of macro 'LOGPREPRINTFWW'
       LOGPREPRINTFWW("--impute-sex: %" PRIuPTR " Xchr and %" PRIuPTR " Ychr variant(s) scanned, %" PRIuPTR "/%" PRIuPTR " sex%s imputed. Report written to %s .\n", x_variant_ct, ytotal, (sample_ct - gender_unk_ct), sample_ct, (sample_ct == 1)? "" : "es", outname);
       ^
plink_common.h:811:56: warning: format '%u' expects argument of type 'unsigned int', but argument 6 has type 'long unsigned int' [-Wformat=]
 #define LOGPREPRINTFWW(...) sprintf(logbuf, __VA_ARGS__); wordwrap(logbuf, 0);
                                                        ^
plink_misc.c:3228:7: note: in expansion of macro 'LOGPREPRINTFWW'
       LOGPREPRINTFWW("--impute-sex: %" PRIuPTR " Xchr and %" PRIuPTR " Ychr variant(s) scanned, %" PRIuPTR "/%" PRIuPTR " sex%s imputed. Report written to %s .\n", x_variant_ct, ytotal, (sample_ct - gender_unk_ct), sample_ct, (sample_ct == 1)? "" : "es", outname);
       ^
plink_common.h:811:56: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGPREPRINTFWW(...) sprintf(logbuf, __VA_ARGS__); wordwrap(logbuf, 0);
                                                        ^
plink_misc.c:3233:7: note: in expansion of macro 'LOGPREPRINTFWW'
       LOGPREPRINTFWW("--check-sex: %" PRIuPTR " Xchr and %" PRIuPTR " Ychr variant(s) scanned, no problems detected. Report written to %s .\n", x_variant_ct, ytotal, outname);
       ^
plink_common.h:811:56: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=]
 #define LOGPREPRINTFWW(...) sprintf(logbuf, __VA_ARGS__); wordwrap(logbuf, 0);
                                                        ^
plink_misc.c:3233:7: note: in expansion of macro 'LOGPREPRINTFWW'
       LOGPREPRINTFWW("--check-sex: %" PRIuPTR " Xchr and %" PRIuPTR " Ychr variant(s) scanned, no problems detected. Report written to %s .\n", x_variant_ct, ytotal, outname);
       ^
plink_common.h:811:56: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGPREPRINTFWW(...) sprintf(logbuf, __VA_ARGS__); wordwrap(logbuf, 0);
                                                        ^
plink_misc.c:3235:7: note: in expansion of macro 'LOGPREPRINTFWW'
       LOGPREPRINTFWW("--check-sex: %" PRIuPTR " Xchr and %" PRIuPTR " Ychr variant(s) scanned, %u problem%s detected. Report written to %s .\n", x_variant_ct, ytotal, problem_ct, (problem_ct == 1)? "" : "s", outname);
       ^
plink_common.h:811:56: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=]
 #define LOGPREPRINTFWW(...) sprintf(logbuf, __VA_ARGS__); wordwrap(logbuf, 0);
                                                        ^
plink_misc.c:3235:7: note: in expansion of macro 'LOGPREPRINTFWW'
       LOGPREPRINTFWW("--check-sex: %" PRIuPTR " Xchr and %" PRIuPTR " Ychr variant(s) scanned, %u problem%s detected. Report written to %s .\n", x_variant_ct, ytotal, problem_ct, (problem_ct == 1)? "" : "s", outname);
       ^
plink_misc.c: In function 'int32_t het_report(FILE*, long unsigned int, char*, char*, uint32_t, long unsigned int, long unsigned int*, long unsigned int, long unsigned int, long unsigned int*, long unsigned int, char*, uint32_t, uint32_t, long unsigned int, long unsigned int*, Chrom_info*, double*)':
plink_common.h:813:53: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=]
 #define LOGPRINTFWW(...) sprintf(logbuf, __VA_ARGS__); wordwrap(logbuf, 0); logprintb();
                                                     ^
plink_misc.c:3870:3: note: in expansion of macro 'LOGPRINTFWW'
   LOGPRINTFWW("--het%s: %" PRIuPTR " variant%s scanned, report written to %s .\n", loadbuf_f? " small-sample" : "", marker_ct, (marker_ct == 1)? "" : "s", outname);
   ^
plink_misc.c: In function 'int32_t fst_report(FILE*, long unsigned int, char*, char*, long unsigned int, long unsigned int*, long unsigned int, char*, long unsigned int, uint32_t*, Chrom_info*, long unsigned int, long unsigned int*, long unsigned int*, long unsigned int*, long unsigned int, uint32_t*, uint32_t*)':
plink_common.h:818:54: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGPRINTFWW5(...) sprintf(logbuf, __VA_ARGS__); wordwrap(logbuf, 5); logprintb();
                                                      ^
plink_misc.c:4021:3: note: in expansion of macro 'LOGPRINTFWW5'
   LOGPRINTFWW5("Writing --fst report (%" PRIuPTR " populations) to %s ... ", cluster_ct, outname);
   ^
plink_common.h:803:51: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGPRINTF(...) sprintf(logbuf, __VA_ARGS__); logprintb();
                                                   ^
plink_misc.c:4141:5: note: in expansion of macro 'LOGPRINTF'
     LOGPRINTF("%" PRIuPTR " marker%s (%u excluded).\n", marker_ct, (marker_ct == 1)? " with a valid Fst estimate" : "s with valid Fst estimates", skipped_marker_ct);
     ^
plink_common.h:803:51: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGPRINTF(...) sprintf(logbuf, __VA_ARGS__); logprintb();
                                                   ^
plink_misc.c:4143:5: note: in expansion of macro 'LOGPRINTF'
     LOGPRINTF("%" PRIuPTR " marker%s.\n", marker_ct, (marker_ct == 1)? " with a valid Fst estimate" : "s with valid Fst estimates");
     ^
plink_misc.c: In function 'int32_t score_report(Score_info*, FILE*, long unsigned int, long unsigned int, long unsigned int, long unsigned int*, long unsigned int*, char*, long unsigned int, char**, double*, long unsigned int, long unsigned int, long unsigned int*, char*, uint32_t, uint32_t, long unsigned int, long unsigned int*, long unsigned int*, long unsigned int*, double*, char*, uint32_t, Chrom_info*, char*, char*)':
plink_misc.c:4418:103: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
         sprintf(logbuf, "Error: Line %" PRIuPTR " of --score file is pathologically long.\n", line_idx);
                                                                                                       ^
In file included from plink_misc.c:1:0:
plink_common.h:815:56: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGERRPRINTFWW(...) sprintf(logbuf, __VA_ARGS__); wordwrap(logbuf, 0); logerrprintb();
                                                        ^
plink_misc.c:4440:5: note: in expansion of macro 'LOGERRPRINTFWW'
     LOGERRPRINTFWW("Warning: %" PRIuPTR " line%s skipped in --score file (%u due to variant ID mismatch, %u due to allele code mismatch); see %s for details.\n", miss_ct, (miss_ct == 1)? "" : "s", miss_varid_ct, miss_allele_ct, outname);
     ^
plink_misc.c:4517:111: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
    sprintf(logbuf, "Error: Line %" PRIuPTR " of --q-score-range data file is pathologically long.\n", line_idx);
                                                                                                               ^
In file included from plink_misc.c:1:0:
plink_common.h:805:54: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGERRPRINTF(...) sprintf(logbuf, __VA_ARGS__); logerrprintb();
                                                      ^
plink_misc.c:4552:7: note: in expansion of macro 'LOGERRPRINTF'
       LOGERRPRINTF("Warning: %" PRIuPTR " line%s skipped in --q-score-range data file.\n", miss_ct, (miss_ct == 1)? "" : "s");
       ^
plink_common.h:803:51: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGPRINTF(...) sprintf(logbuf, __VA_ARGS__); logprintb();
                                                   ^
plink_misc.c:4601:2: note: in expansion of macro 'LOGPRINTF'
  LOGPRINTF("--score: %" PRIuPTR " range%s processed", range_ct, (range_ct == 1)? "" : "s");
  ^
plink_common.h:803:51: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGPRINTF(...) sprintf(logbuf, __VA_ARGS__); logprintb();
                                                   ^
plink_misc.c:4603:4: note: in expansion of macro 'LOGPRINTF'
    LOGPRINTF(" (%" PRIuPTR " empty range%s skipped)", range_skip, (range_skip == 1)? "" : "s");
    ^
plink_misc.c:4611:110: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
  sprintf(logbuf, "Error: Line %" PRIuPTR " of --q-score-range range file is pathologically long.\n", line_idx);
                                                                                                              ^
plink_misc.c:4625:119: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
  sprintf(logbuf, "Error: Excessively long range name on line %" PRIuPTR " of --q-score-range range\nfile.\n", line_idx);
                                                                                                                       ^
In file included from plink_misc.c:1:0:
plink_common.h:805:54: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGERRPRINTF(...) sprintf(logbuf, __VA_ARGS__); logerrprintb();
                                                      ^
plink_misc.c:4887:5: note: in expansion of macro 'LOGERRPRINTF'
     LOGERRPRINTF("Error: Line %" PRIuPTR " of --q-score-range data file has fewer tokens than\nexpected.\n", line_idx);
     ^
plink_misc.c:4891:107: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
     sprintf(logbuf, "Error: Line %" PRIuPTR " of --score file has fewer tokens than expected.\n", line_idx);
                                                                                                           ^
plink_misc.c: In function 'int32_t meta_analysis_open_and_read_header(const char*, char*, long unsigned int, char*, uint32_t*, long unsigned int, long unsigned int, uint32_t, uint32_t*, gzFile_s**, uint32_t*, uint32_t*, long unsigned int*, uint32_t*)':
plink_misc.c:4942:93: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
  sprintf(logbuf, "Error: Line %" PRIuPTR " of %s is pathologically long.\n", line_idx, fname);
                                                                                             ^
plink_misc.c:5023:96: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
       sprintf(logbuf, "Error: Line %" PRIuPTR " of %s has too many columns.\n", line_idx, fname);
                                                                                                ^
plink_misc.c: In function 'int32_t meta_analysis(char*, char*, char*, char*, char*, char*, uint32_t, char*, char*, char*, double, Chrom_info*)':
plink_misc.c:5490:99: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
    sprintf(logbuf, "Error: Line %" PRIuPTR " of %s is pathologically long.\n", line_idx, fname_ptr);
                                                                                                   ^
plink_misc.c:5524:109: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
  sprintf(logbuf, "Error: Line %" PRIuPTR " of %s has an excessively long variant ID.\n", line_idx, fname_ptr);
                                                                                                             ^
In file included from plink_misc.c:1:0:
plink_common.h:813:53: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGPRINTFWW(...) sprintf(logbuf, __VA_ARGS__); wordwrap(logbuf, 0); logprintb();
                                                     ^
plink_misc.c:5680:5: note: in expansion of macro 'LOGPRINTFWW'
     LOGPRINTFWW("--meta-analysis: %" PRIuPTR " problematic line%s; see %s .\n", rejected_ct, (rejected_ct == 1)? "" : "s", outname);
     ^
plink_common.h:813:53: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGPRINTFWW(...) sprintf(logbuf, __VA_ARGS__); wordwrap(logbuf, 0); logprintb();
                                                     ^
plink_misc.c:6199:3: note: in expansion of macro 'LOGPRINTFWW'
   LOGPRINTFWW("--meta-analysis: %" PRIuPTR " variant%s processed; results written to %s .\n", final_variant_ct, (final_variant_ct == 1)? "" : "s", outname);
   ^
plink_rserve.c: In function 'int32_t rserve_call(char*, uint32_t, uint32_t, FILE*, long unsigned int, long unsigned int, long unsigned int, long unsigned int*, long unsigned int*, char*, long unsigned int, char**, uint32_t*, uint32_t, Chrom_info*, long unsigned int, long unsigned int*, uint32_t, long unsigned int*, double*, uint32_t, uint32_t*, uint32_t*, long unsigned int, double*, char*, char*)':
plink_rserve.c:90:97: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
       sprintf(logbuf, "Error: Line %" PRIuPTR " of --R file is pathologically long.\n", line_idx);
                                                                                                 ^
plink_set.c: In function 'int32_t load_range_list(FILE*, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, long unsigned int, char*, long unsigned int, uint32_t*, Chrom_info*, long unsigned int*, long unsigned int*, char**, long unsigned int*, Make_set_range***, long long unsigned int**, const char*)':
plink_set.c:286:105: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
  sprintf(logbuf, "Error: Line %" PRIuPTR " of %s file is pathologically long.\n", line_idx, file_descrip);
                                                                                                         ^
plink_set.c:300:113: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
  sprintf(logbuf, "Error: Line %" PRIuPTR " of %s file has fewer tokens than expected.\n", line_idx, file_descrip);
                                                                                                                 ^
plink_set.c:305:109: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
  sprintf(logbuf, "Error: Invalid chromosome code on line %" PRIuPTR " of %s file.\n", line_idx, file_descrip);
                                                                                                             ^
plink_set.c:406:110: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
       sprintf(logbuf, "Error: Line %" PRIuPTR " of %s file is pathologically long.\n", line_idx, file_descrip);
                                                                                                              ^
plink_set.c:420:118: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
       sprintf(logbuf, "Error: Line %" PRIuPTR " of %s file has fewer tokens than expected.\n", line_idx, file_descrip);
                                                                                                                      ^
plink_set.c:425:114: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
       sprintf(logbuf, "Error: Invalid chromosome code on line %" PRIuPTR " of %s file.\n", line_idx, file_descrip);
                                                                                                                  ^
plink_set.c:445:119: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
       sprintf(logbuf, "Error: Invalid range start position on line %" PRIuPTR " of %s file.\n", line_idx, file_descrip);
                                                                                                                       ^
plink_set.c:450:117: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
       sprintf(logbuf, "Error: Invalid range end position on line %" PRIuPTR " of %s file.\n", line_idx, file_descrip);
                                                                                                                     ^
plink_set.c:454:134: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
       sprintf(logbuf, "Error: Range end position smaller than range start on line %" PRIuPTR " of %s file.\n", line_idx, file_descrip);
                                                                                                                                      ^
In file included from plink_set.c:1:0:
plink_set.c: In function 'int32_t extract_exclude_range(char*, uint32_t*, long unsigned int, long unsigned int*, long unsigned int*, uint32_t, Chrom_info*)':
plink_common.h:803:51: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=]
 #define LOGPRINTF(...) sprintf(logbuf, __VA_ARGS__); logprintb();
                                                   ^
plink_set.c:590:5: note: in expansion of macro 'LOGPRINTF'
     LOGPRINTF("--%s range: %" PRIuPTR " variant%s excluded.\n", is_exclude? "exclude" : "extract", orig_marker_exclude_ct, (orig_marker_exclude_ct == 1)? "" : "s");
     ^
plink_set.c: In function 'int32_t define_sets(Set_info*, long unsigned int, long unsigned int*, uint32_t*, long unsigned int*, char*, long unsigned int, Chrom_info*)':
plink_common.h:803:51: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=]
 #define LOGPRINTF(...) sprintf(logbuf, __VA_ARGS__); logprintb();
                                                   ^
plink_set.c:1586:3: note: in expansion of macro 'LOGPRINTF'
   LOGPRINTF("--%sset: %" PRIuPTR " set%s defined.\n", make_set? "make-" : "", set_ct, (set_ct == 1)? "" : "s");
   ^
plink_set.c: In function 'int32_t annotate(Annot_info*, char*, char*, double, Chrom_info*)':
plink_set.c:2482:107: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
    sprintf(logbuf, "Error: Line %" PRIuPTR " of %s is pathologically long.\n", line_idx, aip->attrib_fname);
                                                                                                           ^
In file included from plink_set.c:1:0:
plink_common.h:813:53: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGPRINTFWW(...) sprintf(logbuf, __VA_ARGS__); wordwrap(logbuf, 0); logprintb();
                                                     ^
plink_set.c:2606:7: note: in expansion of macro 'LOGPRINTFWW'
       LOGPRINTFWW("--annotate attrib: %" PRIuPTR " variant ID%s and %" PRIuPTR " unique attribute%s loaded from %s.\n", snplist_attr_ct, (snplist_attr_ct == 1)? "" : "s", attr_id_ct, (attr_id_ct == 1)? "" : "s", aip->attrib_fname);
       ^
plink_common.h:813:53: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=]
 #define LOGPRINTFWW(...) sprintf(logbuf, __VA_ARGS__); wordwrap(logbuf, 0); logprintb();
                                                     ^
plink_set.c:2606:7: note: in expansion of macro 'LOGPRINTFWW'
       LOGPRINTFWW("--annotate attrib: %" PRIuPTR " variant ID%s and %" PRIuPTR " unique attribute%s loaded from %s.\n", snplist_attr_ct, (snplist_attr_ct == 1)? "" : "s", attr_id_ct, (attr_id_ct == 1)? "" : "s", aip->attrib_fname);
       ^
plink_common.h:813:53: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGPRINTFWW(...) sprintf(logbuf, __VA_ARGS__); wordwrap(logbuf, 0); logprintb();
                                                     ^
plink_set.c:2657:9: note: in expansion of macro 'LOGPRINTFWW'
         LOGPRINTFWW("--annotate ranges: %" PRIuPTR " annotations loaded from %s (counting multi-chromosome annotations once per spanned chromosome).\n", range_ct, aip->ranges_fname);
         ^
plink_set.c:2870:105: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
         sprintf(logbuf, "Error: Line %" PRIuPTR " of %s is pathologically long.\n", line_idx, aip->fname);
                                                                                                         ^
In file included from plink_set.c:1:0:
plink_common.h:813:53: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGPRINTFWW(...) sprintf(logbuf, __VA_ARGS__); wordwrap(logbuf, 0); logprintb();
                                                     ^
plink_set.c:3118:5: note: in expansion of macro 'LOGPRINTFWW'
     LOGPRINTFWW("--annotate: %" PRIuPTR " out of %" PRIuPTR " row%s annotated; new report written to %s .\n", annot_row_ct, total_row_ct, (total_row_ct == 1)? "" : "s", outname);
     ^
plink_common.h:813:53: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=]
 #define LOGPRINTFWW(...) sprintf(logbuf, __VA_ARGS__); wordwrap(logbuf, 0); logprintb();
                                                     ^
plink_set.c:3118:5: note: in expansion of macro 'LOGPRINTFWW'
     LOGPRINTFWW("--annotate: %" PRIuPTR " out of %" PRIuPTR " row%s annotated; new report written to %s .\n", annot_row_ct, total_row_ct, (total_row_ct == 1)? "" : "s", outname);
     ^
plink_common.h:813:53: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGPRINTFWW(...) sprintf(logbuf, __VA_ARGS__); wordwrap(logbuf, 0); logprintb();
                                                     ^
plink_set.c:3120:5: note: in expansion of macro 'LOGPRINTFWW'
     LOGPRINTFWW("--annotate: %" PRIuPTR " row%s annotated; new report written to %s .\n", total_row_ct, (total_row_ct == 1)? "" : "s", outname);
     ^
plink_set.c: In function 'int32_t gene_report(char*, char*, char*, uint32_t, char*, const char*, char*, char*, double, Chrom_info*)':
plink_common.h:815:56: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=]
 #define LOGERRPRINTFWW(...) sprintf(logbuf, __VA_ARGS__); wordwrap(logbuf, 0); logerrprintb();
                                                        ^
plink_set.c:3589:7: note: in expansion of macro 'LOGERRPRINTFWW'
       LOGERRPRINTFWW("Error: Line %" PRIuPTR " of %s is pathologically long.\n", line_idx, fname);
       ^
make[2]: Leaving directory '/«PKGBUILDDIR»'
make[1]: Leaving directory '/«PKGBUILDDIR»'
   dh_auto_test -a
 fakeroot debian/rules binary-arch
dh binary-arch
   dh_testroot -a
   dh_prep -a
   dh_auto_install -a
   debian/rules override_dh_install
make[1]: Entering directory '/«PKGBUILDDIR»'
# Rename binary from plink to plink1.9 to avoid name conflict
mv plink plink1.9
help2man --no-discard-stderr --name="whole genome SNP analysis" ./plink1.9 > plink1.9.1
dh_install
make[1]: Leaving directory '/«PKGBUILDDIR»'
   dh_installdocs -a
   dh_installchangelogs -a
   dh_installexamples -a
   dh_installman -a
   dh_perl -a
   dh_link -a
   dh_strip_nondeterminism -a
   dh_compress -a
   dh_fixperms -a
   dh_strip -a
   dh_makeshlibs -a
   dh_shlibdeps -a
dpkg-shlibdeps: warning: debian/plink1.9/usr/lib/debian-med/bin/plink1.9 contains an unresolvable reference to symbol __aeabi_atexit@CXXABI_ARM_1.3.3: it's probably a plugin
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/plink1.9/usr/lib/debian-med/bin/plink1.9 was not linked against libatlas.so.3 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/plink1.9/usr/lib/debian-med/bin/plink1.9 was not linked against libdl.so.2 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/plink1.9/usr/lib/debian-med/bin/plink1.9 was not linked against libcblas.so.3 (it uses none of the library's symbols)
   dh_installdeb -a
   dh_gencontrol -a
dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is not NFS-safe
   dh_md5sums -a
   dh_builddeb -a
dpkg-deb: building package 'plink1.9' in '../plink1.9_1.90~b3w-150903-1_armhf.deb'.
 dpkg-genchanges -B -mRaspbian wandboard test autobuilder <root@raspbian.org> >../plink1.9_1.90~b3w-150903-1_armhf.changes
dpkg-genchanges: binary-only arch-specific upload (source code and arch-indep packages not included)
 dpkg-source --after-build plink1.9-1.90~b3w-150903
dpkg-buildpackage: binary-only upload (no source included)
────────────────────────────────────────────────────────────────────────────────
Build finished at 20151215-0600

Finished
────────

I: Built successfully

┌──────────────────────────────────────────────────────────────────────────────┐
│ Post Build Chroot                                                            │
└──────────────────────────────────────────────────────────────────────────────┘


┌──────────────────────────────────────────────────────────────────────────────┐
│ Changes                                                                      │
└──────────────────────────────────────────────────────────────────────────────┘


plink1.9_1.90~b3w-150903-1_armhf.changes:
─────────────────────────────────────────

Format: 1.8
Date: Sat, 19 Sep 2015 15:44:10 +0200
Source: plink1.9
Binary: plink1.9
Architecture: armhf
Version: 1.90~b3w-150903-1
Distribution: stretch-staging
Urgency: low
Maintainer: Raspbian wandboard test autobuilder <root@raspbian.org>
Changed-By: Dylan Aïssi <bob.dybian@gmail.com>
Description:
 plink1.9   - whole-genome association analysis toolset
Closes: 799471
Changes:
 plink1.9 (1.90~b3w-150903-1) unstable; urgency=low
 .
   * New upstream release
   * debian/upstream/metadata: Update reference paper
   * debian/control: Disable build for unsupported architectures,
      thanks to Gert Wollny (Closes: #799471)
   * debian/copyright: Update
Checksums-Sha1:
 04043fe2d79c8776728e8d083fd6fa3fede5d9d6 694910 plink1.9_1.90~b3w-150903-1_armhf.deb
Checksums-Sha256:
 f9750ce36fe6933a91315eb72fc0fc2af1fb4ef7f5d7263732f8050f1e74d008 694910 plink1.9_1.90~b3w-150903-1_armhf.deb
Files:
 711c6194eb0b3ac58542852735a8daa3 694910 science optional plink1.9_1.90~b3w-150903-1_armhf.deb

┌──────────────────────────────────────────────────────────────────────────────┐
│ Package contents                                                             │
└──────────────────────────────────────────────────────────────────────────────┘


plink1.9_1.90~b3w-150903-1_armhf.deb
────────────────────────────────────

 new debian package, version 2.0.
 size 694910 bytes: control archive=1218 bytes.
    1232 bytes,    25 lines      control              
     741 bytes,    10 lines      md5sums              
 Package: plink1.9
 Version: 1.90~b3w-150903-1
 Architecture: armhf
 Maintainer: Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>
 Installed-Size: 1724
 Depends: libatlas3-base, libc6 (>= 2.4), libgcc1 (>= 1:4.4.0), liblapack3 | liblapack.so.3, libstdc++6 (>= 4.3.0), zlib1g (>= 1:1.2.6)
 Section: science
 Priority: optional
 Homepage: https://www.cog-genomics.org/plink2/
 Description: whole-genome association analysis toolset
  plink expects as input the data from SNP (single nucleotide polymorphism)
  chips of many individuals and their phenotypical description of a disease.
  It finds associations of single or pairs of DNA variations with a phenotype
  and can retrieve SNP annotation from an online source.
  .
  SNPs can evaluated individually or as pairs for their association with the
  disease phenotypes. The joint investigation of copy number variations is
  supported. A variety of statistical tests have been implemented.
  .
  plink1.9 is a comprehensive update of plink with new algorithms and new
  methods, faster and less memory consumer than the first plink.
  .
  Please note: The executable was renamed to plink1.9
  because of a name clash.  Please read more about this
  in /usr/share/doc/README.Debian.

drwxr-xr-x root/root         0 2015-12-15 06:00 ./
drwxr-xr-x root/root         0 2015-12-15 06:00 ./usr/
drwxr-xr-x root/root         0 2015-12-15 06:00 ./usr/bin/
lrwxrwxrwx root/root         0 2015-12-15 06:00 ./usr/bin/plink1.9 -> ../lib/debian-med/bin/plink1.9
drwxr-xr-x root/root         0 2015-12-15 05:59 ./usr/lib/
drwxr-xr-x root/root         0 2015-12-15 05:59 ./usr/lib/debian-med/
drwxr-xr-x root/root         0 2015-12-15 06:00 ./usr/lib/debian-med/bin/
-rwxr-xr-x root/root   1702916 2015-12-15 06:00 ./usr/lib/debian-med/bin/plink1.9
drwxr-xr-x root/root         0 2015-12-15 05:59 ./usr/share/
drwxr-xr-x root/root         0 2015-12-15 05:59 ./usr/share/doc/
drwxr-xr-x root/root         0 2015-12-15 06:00 ./usr/share/doc/plink1.9/
-rw-r--r-- root/root      1964 2015-09-25 19:47 ./usr/share/doc/plink1.9/README.Debian
-rw-r--r-- root/root      1628 2015-09-25 19:47 ./usr/share/doc/plink1.9/changelog.Debian.gz
-rw-r--r-- root/root      8697 2015-09-25 19:47 ./usr/share/doc/plink1.9/copyright
drwxr-xr-x root/root         0 2015-12-15 05:59 ./usr/share/doc/plink1.9/examples/
-rw-r--r-- root/root       325 2015-09-25 19:47 ./usr/share/doc/plink1.9/examples/README
-rw-r--r-- root/root       267 2015-09-25 19:47 ./usr/share/doc/plink1.9/examples/expected.plink.assoc
-rw-r--r-- root/root       126 2015-09-25 19:47 ./usr/share/doc/plink1.9/examples/expected.plink.frq
-rw-r--r-- root/root        27 2014-02-11 18:07 ./usr/share/doc/plink1.9/examples/toy.map
-rw-r--r-- root/root        58 2013-01-28 05:19 ./usr/share/doc/plink1.9/examples/toy.ped
drwxr-xr-x root/root         0 2015-12-15 05:59 ./usr/share/man/
drwxr-xr-x root/root         0 2015-12-15 06:00 ./usr/share/man/man1/
-rw-r--r-- root/root     27674 2015-12-15 05:59 ./usr/share/man/man1/plink1.9.1.gz


┌──────────────────────────────────────────────────────────────────────────────┐
│ Post Build                                                                   │
└──────────────────────────────────────────────────────────────────────────────┘


┌──────────────────────────────────────────────────────────────────────────────┐
│ Cleanup                                                                      │
└──────────────────────────────────────────────────────────────────────────────┘

Purging /«BUILDDIR»
Not cleaning session: cloned chroot in use

┌──────────────────────────────────────────────────────────────────────────────┐
│ Summary                                                                      │
└──────────────────────────────────────────────────────────────────────────────┘

Build Architecture: armhf
Build-Space: 14844
Build-Time: 794
Distribution: stretch-staging
Host Architecture: armhf
Install-Time: 340
Job: plink1.9_1.90~b3w-150903-1
Machine Architecture: armhf
Package: plink1.9
Package-Time: 1190
Source-Version: 1.90~b3w-150903-1
Space: 14844
Status: successful
Version: 1.90~b3w-150903-1
────────────────────────────────────────────────────────────────────────────────
Finished at 20151215-0600
Build needed 00:19:50, 14844k disc space