Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#14831 - tzdata 2009g-1 PKGBUILD patch file location error
Attached to Project:
Arch Linux
Opened by Baho Utot (baho-utot) - Monday, 25 May 2009, 23:28 GMT
Last edited by Jan de Groot (JGC) - Tuesday, 26 May 2009, 10:58 GMT
Opened by Baho Utot (baho-utot) - Monday, 25 May 2009, 23:28 GMT
Last edited by Jan de Groot (JGC) - Tuesday, 26 May 2009, 10:58 GMT
|
DetailsDescription:
When built in "Clean Chroot" ==> Making package: tzdata 2009g-1 i686 (Mon May 25 18:32:49 UTC 2009) ==> Checking Runtime Dependencies... ==> Checking Buildtime Dependencies... ==> Retrieving Sources... -> Using cached copy of tzcode2009e.tar.gz -> Using cached copy of tzdata2009g.tar.gz -> Using cached copy of Makefile.patch ==> Validating source files with md5sums... tzcode2009e.tar.gz ... Passed tzdata2009g.tar.gz ... Passed Makefile.patch ... Passed ==> Extracting Sources... -> bsdtar -x -f tzcode2009e.tar.gz -> bsdtar -x -f tzdata2009g.tar.gz ==> Entering fakeroot environment... ==> Starting build()... patch: **** Can't open patch file ../Makefile.patch : No such file or directory ==> ERROR: Build Failed. Aborting... PKGBUILD has: patch -Np1 -i ../Makefile.patch || return 1 fixed : patch -Np1 -i $srcdir/Makefile.patch || return 1 Additional info: * package version(s) * config and/or log files etc. Steps to reproduce: |
This task depends upon
Comment by Jan de Groot (JGC) -
Tuesday, 26 May 2009, 10:47 GMT
This shouldn't fail, though it is actually a bug. The Makefile.patch is referenced from $startdir instead of $srcdir. You're building with a standalone PKGBUILD and using a cached copy of Makefile.patch which isn't in $startdir.