Pacman

Historical bug tracker for the Pacman package manager.

The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues

This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
Tasklist

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
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

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

Closed by  Allan McRae (Allan)
Thursday, 23 May 2013, 01:32 GMT
Reason for closing:  Not a bug
Comment by Allan McRae (Allan) - Thursday, 23 May 2013, 00:18 GMT
Umm... what is the problem? All packages do this.
Comment by Sergio Tridente (TioDuke) - Thursday, 23 May 2013, 01:27 GMT
Sorry. It seems I wasn't paying enough attention. I though that the behaviour was to put everything directly inside pkg, without any parent directory (did that change recently?)

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".

Loading...