Arch Linux

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#14668 - makepkg generates wrong package if directory name is 38 chars or longer

Attached to Project: Arch Linux
Opened by h4v (h4v) - Sunday, 10 May 2009, 18:06 GMT
Last edited by Allan McRae (Allan) - Monday, 11 May 2009, 01:01 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
makepkg generates wrong package if extracted directory has directory which name is 38 characters or longer

Additional info:
* pacman: 3.2.2-1

Steps to reproduce:
wget http://otos.pl/~h4vv/dict-dictionaries/PKGBUILD
wget http://otos.pl/~h4vv/dict-dictionaries/dic.tbz
makepkg
then package contains /usr/... and /share/...
if you shrink directory name st-dd_wwwwwwww.ma.org_sk_en-pl-2.4.2 (from dic.tbz) only by one character everything is OK
This task depends upon

Closed by  Allan McRae (Allan)
Monday, 11 May 2009, 01:01 GMT
Reason for closing:  Not a bug
Comment by Gerardo Exequiel Pozzi (djgera) - Sunday, 10 May 2009, 20:46 GMT
Hi, I can see what is wrong :S this is wrong? what is the output expected?

$ pacman -Qlp stardict-dictionaries-0.1-1-i686.pkg.tar.gz
stardict-dictionaries /usr/
stardict-dictionaries /usr/share/
stardict-dictionaries /usr/share/stardict/
stardict-dictionaries /usr/share/stardict/dic/
stardict-dictionaries /usr/share/stardict/dic/st-dd_www.ma.org_sk_pl-en-2.4.2/
stardict-dictionaries /usr/share/stardict/dic/st-dd_www.ma.org_sk_pl-en-2.4.2/dictd_www.mova.org_slovnyk_pl-en.dict.dz
stardict-dictionaries /usr/share/stardict/dic/st-dd_www.ma.org_sk_pl-en-2.4.2/dictd_www.mova.org_slovnyk_pl-en.idx
stardict-dictionaries /usr/share/stardict/dic/st-dd_www.ma.org_sk_pl-en-2.4.2/dictd_www.mova.org_slovnyk_pl-en.ifo
stardict-dictionaries /usr/share/stardict/dic/st-dd_wwwwwwwww.ma.org_sk_en-pl-2.4.2/
stardict-dictionaries /usr/share/stardict/dic/st-dd_wwwwwwwww.ma.org_sk_en-pl-2.4.2/dictd_www.mova.org_slovnyk_en-pl.dict.dz
stardict-dictionaries /usr/share/stardict/dic/st-dd_wwwwwwwww.ma.org_sk_en-pl-2.4.2/dictd_www.mova.org_slovnyk_en-pl.idx
stardict-dictionaries /usr/share/stardict/dic/st-dd_wwwwwwwww.ma.org_sk_en-pl-2.4.2/dictd_www.mova.org_slovnyk_en-pl.ifo

PS: Do not use $startdir/src and $startdir/pkg use $srcdir and $pkgdir instead ;)
Comment by h4v (h4v) - Sunday, 10 May 2009, 21:05 GMT
That's weird. I've checked it with mc and there it looks broken. It seem to be a problem with mc. Sorry for bothering, thanks for a tip.

Loading...