On Thu, Nov 22, 2007 at 03:12:41PM -0500, Travis Willard wrote:
i have made a build for bsc-beta,i have a line:
make PREFIX=$startdir/pkg/opt/bsc install || return 1
variable its wrong,makepkg make empty pkg and skip "return 1"
make: Nothing to be done for `install'. ==> Tidying install... -> Removing info/doc files... -> Compressing man pages... -> Stripping debugging symbols from binarie ==> Creating package... -> Generating .FILELIST file... -> Generating .PKGINFO file... -> Compressing package... ==> Leaving fakeroot environment. ==> Finished making: bsc-beta (Thu Nov 22 19:
in the stable version this thing is working correct and return an error
==> Removing info/doc files... ==> Compressing man pages... ==> Stripping debugging symbols from libraries... ==> Stripping symbols from binaries... ==> Generating .FILELIST file... tar: *: Cannot stat: No such file or directory tar: Error exit delayed from previous errors ==> Generating .PKGINFO file... ==> Compressing package... tar: *: Cannot stat: No such file or directory tar: Error exit delayed from previous errors ==> ERROR: Failed to create package file.
That's a bugfix - the previous version is the buggy one. A packager should be able to build empty packages if they want. It's up to you to ensure your package was built correctly.
I'm confused here. So the error comes from tar, and not from "make install", right? The "return 1" isn't skipped as it was pretented? That would be a bit odd.