Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#43492 - [xpad] 4.5.0-1 incorrectly installs something in /build

Attached to Project: Community Packages
Opened by Hector A Escobedo (hectorae) - Sunday, 18 January 2015, 03:44 GMT
Last edited by Sergej Pupykin (sergej) - Monday, 19 January 2015, 12:04 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
After installing xpad 4.5.0-1, I noticed an unusual new top-level directory under the root directory, /build. I was pretty sure this was not a standard top-level directory, and looking inside it I immediately found that it contained a path leading to a single documentation file, /build/xpad/pkg/xpad/usr/lib/xpad/help/xpad-user-help.txt in full. From the directory names, it's pretty obvious that this was actually meant to be installed under /usr/lib/xpad/help and the packaging went wrong somehow.

Although this is not a critical file, it may affect the program's behavior when not able to find the help to display.

This is not an upstream bug. It is a packaging error. Checking the PKGBUILD from ABS, I can clearly see the problem. The line that reads:
make DESTDIR=$pkgdir install helpdir=$pkgdir/usr/lib/xpad/help
should read instead:
make DESTDIR=$pkgdir install helpdir=/usr/lib/xpad/help
since apparently the Makefile treats $(helpdir) as internal to $(DESTDIR). This should be easily fixed.

Steps to reproduce:
1. Install community/xpad 4.5.0-1
2. $ ls /
3. $ ls -R /build
3. $ pacman -Ql xpad | grep build

Thank you for your attention.
This task depends upon

Closed by  Sergej Pupykin (sergej)
Monday, 19 January 2015, 12:04 GMT
Reason for closing:  Fixed

Loading...