Re: build help needed, Trinity kdebase - 2 issues on Arch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 02/04/2011 09:19 PM, David C. Rankin wrote:
21:02 archangel:/dat_e/david/bld/tmp/kdebase> sudo makechrootpkg -r
/dat_e/david/bld
==> Making package: trinity 9999-1.0 (Sat Feb  5 03:02:26 UTC 2011)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
==> Extracting Sources...
==> Starting build()...
CMake Error: The source directory "/build" does not appear to contain
CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
     Aborting...
Build failed, check /dat_e/david/bld/copy/build

     I see that /dat_e/david/bld/copy holds a copy of the chroot and
/dat_e/david/bld/copy/build holds the PKGBUILD pkg, and src dirs. But cmake is
obviously not happy with the setup. CMakeList.txt is in my source kdebase dir,
but not the root or copy directories created by mkarchrootpkg. Is there
something I need to modify or change in PKGBUILD or the mkarchroot setup to have
it work with cmake??

     Any help appreciated.

I think this has to do with the fact that I'm building from a svn tree and not a tarball. The existing kdebase directory I'm building from look like this:

<snip>
drwxr-xr-x   6 david david  4096 Jan 25 13:46 libkonq
drwxr-xr-x   7 david david  4096 Jan 25 13:46 nsplugins
drwxr-xr-x   5 david david  4096 Jan 25 13:46 pics
-rw-r--r--   1 david david   127 Oct 11 16:53 AUTHORS
-rw-r--r--   1 david david  7480 Jan 25 13:47 CMakeLists.txt
-rw-r--r--   1 david david 18273 Jan 18 09:52 COPYING
-rw-r--r--   1 david david 20403 Jan 18 09:52 COPYING-DOCS
-rw-r--r--   1 david david  4077 Jan 25 13:47 ConfigureChecks.cmake
-rw-r--r--   1 david david  7966 Jan 18 09:52 INSTALL
-rw-r--r--   1 david david   429 Oct 11 16:53 Mainpage.dox
-rw-r--r--   1 david david   514 Oct 11 16:53 Makefile.am.in
-rw-r--r--   1 david david   451 Oct 11 16:53 Makefile.cvs
-rw-r--r--   1 david david  1547 Feb  4 13:07 PKGBUILD
-rw-r--r--   1 david david  9035 Jan 18 09:52 README
-rw-r--r--   1 david david  2914 Oct 11 16:53 README.pam
-rw-r--r--   1 david david  3056 Jan 25 13:47 config.h.cmake
-rw-r--r--   1 david david   811 Oct 11 16:53 configure.in.bot
-rw-r--r--   1 david david  8591 Oct 11 16:53 configure.in.in
-rw-r--r--   1 david david   333 Oct 11 16:53 kde.pamd
-rw-r--r--   1 david david   266 Oct 11 16:53 kde3
-rw-r--r--   1 david david   347 Oct 11 16:53 kdebase.lsm
-rw-r--r--   1 david david   214 Oct 11 16:53 kscreensaver.pamd
-rwxr-xr-x   1 david david  2410 Oct 11 16:53 mkpamserv
-rw-r--r--   1 david david 20934 Jan 18 09:52 startkde

How do I tell makechrootpkg to use the files in the same directory as the PKGBUILD? In the PKGBUILD I simply have:

source=()

for the source with works fine when running makepkg, but is somehow failing to copy the files to /dat_e/david/bld/copy/build/ when run with makechrootpkg. It is like I need a way to tell makechrootpkg to send

source=(all files in the same dir as PKGBUILD)

to makepkg.

I could specify an explicit list of directories and files in the PKGBUILD source(), but that seems strange.

What say the gurus?

--
David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux