abuild sometimes counts package size wrong
I managed to create a package which contains a file in usr/bin. The fact that this file exists can be confirmed using tar -tvf the output of this command is the following:
-rw-r--r-- root/root 256 2015-10-03 03:28 .SIGN.RSA.soeren+alpine@soeren-tempel.net-55e4833d.rsa.pub
-rw-r--r-- root/root 1060 2015-10-03 03:28 .PKGINFO
drwxr-xr-x root/root 0 2015-10-03 03:28 usr/
drwxr-xr-x root/root 0 2015-10-03 03:28 usr/bin/
-rwxr-xr-x root/root 1309096 2015-10-03 03:28 usr/bin/ncmpcpp
When trying to install the package using `apk add` no error is encountered, however, the output of `apk info -L ncmpcpp` claims that the package doesn’t contain any files:
# apk add packages/testing/x86_64/ncmpcpp-0.6.7-r0.apk
(1/9) Installing boost-system (1.58.0-r1)
(2/9) Installing boost-filesystem (1.58.0-r1)
(3/9) Installing boost-date_time (1.58.0-r1)
(4/9) Installing boost-regex (1.58.0-r1)
(5/9) Installing boost-thread (1.58.0-r1)
(6/9) Installing boost (1.58.0-r1)
(7/9) Installing boost-program_options (1.58.0-r1)
(8/9) Installing taglib (1.9.1-r1)
(9/9) Installing ncmpcpp (0.6.7-r0)
Executing busybox-1.23.2-r9.trigger
OK: 2562 MiB in 476 packages
# apk info -L ncmpcpp
ncmpcpp-0.6.7-r0 contains:
#
I am using apk-tools 2.6.4, compiled for x86_64. The package which has this issue is attached below, I also encountered this error with a different package a few days ago. With the attached package I was able to reproduce this error on two different machines, both running edge.
(from redmine: issue id 4727, created on 2015-10-03, closed on 2017-05-29)
- Uploads:
- ncmpcpp-0.6.7-r0.apk
- APKBUILD ncmpcpp APKBUILD
- log.sync abuild output with sync invocation
- log vanilla abuild output