[arch-general] makepkg is creating BOTH a /pkg and pkgusr on build??

David C. Rankin drankinatty at suddenlinkmail.com
Fri May 18 01:26:01 EDT 2012


Guys,

  Building a small app (GNU External Ballistic Calculator) for Arch. When the
PKGBUILD goes to package the file it create both

/pkg
/pkgusr

directories. It puts the .PKGINFO in /pkg and then the executable and libs under
/pkgusr -- what is up with that?? Anybody seen this before?  I've grepped the
source (Makefiles, etc..) and there is no reference to "pkgusr" so what's up?

Literally, the package part creates:

00:21 nirvana:~/arch/pkg/bld/tmp> ls -l
total 268
drwxr-xr-x 2 david david   4096 May 18 00:13 pkg
drwxr-xr-x 4 david david   4096 May 18 00:13 pkgusr
drwxr-xr-x 3 david david   4096 May 18 00:03 src
-rw-r--r-- 1 david david    560 May 18 00:13 gebc-1.07-1-x86_64.pkg.tar.xz
-rw-r--r-- 1 david david 136471 May 17 23:58 gebc-1.07-src.tar.gz
-rw-r--r-- 1 david david 107212 May 17 23:58 gebc.diff
-rw-r--r-- 1 david david    904 May 17 23:58 gebc-fl_draw.diff
-rw-r--r-- 1 david david   1393 May 17 23:57 PKGBUILD
00:21 nirvana:~/arch/pkg/bld/tmp> l pkg
total 12
drwxr-xr-x 2 david david 4096 May 18 00:13 .
drwxr-xr-x 5 david david 4096 May 18 00:13 ..
-rw-r--r-- 1 david david  573 May 18 00:13 .PKGINFO
00:21 nirvana:~/arch/pkg/bld/tmp> ls -l pkgusr
total 8
drwxr-xr-x 2 david david 4096 May 18 00:13 bin
drwxr-xr-x 2 david david 4096 May 18 00:13 lib

The resulting package gebc-1.07-1-x86_64.pkg.tar.xz doesn't contain anything but
the pkginfo file. Where do I look to figure out why this new /pkgusr dir has
popped up?

-- 
David C. Rankin, J.D.,P.E.


More information about the arch-general mailing list