Daenyth/pkgtools — Issue #42: Error when makepkg from pkgtools 23-3 is trying to run zipman
Author: sputnick-dev
Created: 2012-01-25 00:10:19+00:00
State: open

Hi,

as I have had reported above on bbs https://bbs.archlinux.org/viewtopic.php?pid=1047129#p1047129 mapepkg seems broken.

When trying to install weboob-git AUR package :

[code]
(...)
changing mode of /var/abs/local/yaourtbuild/weboob-git/pkg/usr/bin/wetboobs to 755
changing mode of /var/abs/local/yaourtbuild/weboob-git/pkg/usr/bin/traveloob to 755
==> Tidying install...
-> Purging unwanted files...
-> Compressing man and info pages...
==> ERROR: An unknown error has occurred. Exiting...
==> ERROR: An unknown error has occurred. Exiting...
==> ERROR: An unknown error has occurred. Exiting...
==> ERROR: An unknown error has occurred. Exiting...
==> ERROR: An unknown error has occurred. Exiting...
==> ERROR: An unknown error has occurred. Exiting...
==> ERROR: An unknown error has occurred. Exiting...
==> ERROR: An unknown error has occurred. Exiting...
==> ERROR: An unknown error has occurred. Exiting...
==> ERROR: An unknown error has occurred. Exiting...
==> ERROR: An unknown error has occurred. Exiting...
==> ERROR: An unknown error has occurred. Exiting...
==> ERROR: An unknown error has occurred. Exiting...
==> ERROR: An unknown error has occurred. Exiting...
==> ERROR: An unknown error has occurred. Exiting...
==> ERROR: An unknown error has occurred. Exiting...
==> ERROR: An unknown error has occurred. Exiting...
==> ERROR: An unknown error has occurred. Exiting...
==> ERROR: An unknown error has occurred. Exiting...
==> ERROR: An unknown error has occurred. Exiting...
==> ERROR: An unknown error has occurred. Exiting...
==> ERROR: An unknown error has occurred. Exiting...
==> ERROR: An unknown error has occurred. Exiting...
==> ERROR: An unknown error has occurred. Exiting...
==> ERROR: An unknown error has occurred. Exiting...
-> Stripping unneeded symbols from binaries and libraries...
==> Creating package...
-> Generating .PKGINFO file...
-> Compressing package...
==> Finished making: weboob-git 20120125-1 (Wed Jan 25 00:52:43 CET 2012)
==> Installing package weboob-git with pacman -U...
loading packages...
warning: weboob-git-20120125-1 is up to date -- reinstalling
resolving dependencies...
looking for inter-conflicts...

Targets (1): weboob-git-20120125-1

Total Installed Size: 6.18 MiB
Net Upgrade Size: 0.00 MiB

Proceed with installation? [Y/n] Y
(1/1) checking package integrity [##########################################################################] 100%
(1/1) loading package files [##########################################################################] 100%
(1/1) checking for file conflicts [##########################################################################] 100%
(1/1) upgrading weboob-git [##########################################################################] 100%
root@FreAkyLab:/var/abs/local/yaourtbuild/weboob-git#
[/code]

makepkg is bash, so it's simple to debug :

The [b]find[/b] command fails to find some man pages (qvideoob.1) :
[code]
# LANG=C bash -x /usr/bin/makepkg -si --asroot
(...)
+ IFS='
'
+ read -rd '' -a hardlinks
++ find usr/man usr/info usr/share/man usr/share/info usr/local/man usr/local/info usr/local/share/man usr/local/share/info 'opt/*/man' 'opt/*/info' '!' -name qvideoob.1 -samefile usr/share/man/man1/qvideoob.1
++++ gettext 'An unknown error has occurred. Exiting...'
+++ trap_exit 'An unknown error has occurred. Exiting...'
+++ (( ! INFAKEROOT ))
+++ echo
+++ error 'An unknown error has occurred. Exiting...'
+++ local 'mesg=An unknown error has occurred. Exiting...'
+++ shift
++++ gettext ERROR:
+++ printf '==> ERROR: An unknown error has occurred. Exiting...\n'
==> ERROR: An unknown error has occurred. Exiting...
+++ [[ -n '' ]]
+++ exit 1
+ true
+ rm -f
+ gzip -9 usr/share/man/man1/qvideoob.1
(...)
[/code]

Regards,
sputnick.