FS#35432 - [pacman] makepkg defines pkgdir as pkg/$pkgname
Attached to Project:
Pacman
Opened by Sergio Tridente (TioDuke) - Wednesday, 22 May 2013, 23:59 GMT
Last edited by Allan McRae (Allan) - Thursday, 23 May 2013, 01:32 GMT
Opened by Sergio Tridente (TioDuke) - Wednesday, 22 May 2013, 23:59 GMT
Last edited by Allan McRae (Allan) - Thursday, 23 May 2013, 01:32 GMT
|
Details
Description:
When making a package the result is that all files are inserted inside a directory with the name of the package. For example: libvisio +--->etc +--->usr +---->bin +---->include +---->lib I traced down the problem to the pkgdir variable being defined as pkg/$pkgname. This problem seems to be happening on packages whose sources are pulled from git. I tried a couple of them : libvisio and gimp-resynth-git (which have worked in the past). I tried non git packages and everything seemed fine. I tested this on both architectures. Additional info: * package version(s) 4.1.1 * config and/or log files etc. Steps to reproduce:Description: When making a package the result is that all files are inserted inside a directory with the name of the package. For example: libvisio +--->etc +--->usr +---->bin +---->include +---->lib I traced down the problem to the pkgdir variable being defined as pkg/$pkgname. This problem seems to be happening on packages whose sources are pulled from git. I tried a couple of them : libvisio and gimp-resynth-git (which have worked in the past). I tried non git packages and everything seemed fine. I tested this on both architectures. Additional info: * package version(s) 4.1.1 * config and/or log files etc. Steps to reproduce: Make package using sources from git. Make package using sources from git. |
This task depends upon
My misunderstanding came from me trying to make the libvisio package (which, in fact, does not pull sources from git - another mistake I made, sorry): I swear I saw it created a package (tar.xz) with the name of the package as a directory and then inside the real structure, as I explained earlier. I have just tried to make it again and it seems to have worked fine, as expected.
So whatever I saw, it never happened or there was a temporary glitch which got solved by some update. Anyway, I feel sorry for making you waste your time. I'll double check next time.
Please, close this "bug".