[aur-general] LaTeX compilation error in makepkg
Hi, I resurrected beamer-theme-metropolis when aurphan showed me that it's maintainer had orphaned it because I use it quite a lot. The upstream was recently updated, but I cannot get it to compile from makepkg -- the latex compiler complains that it cannot write to it's log file. I didn't change the PKGBUILD besides updating the version and dependencies. Output: https://vps1.piater.name/commie/#5O9xSO3P Everything works if I cd into $srcdir/$pkgname-$pkgver and execute make from the shell. Does anyone have an idea what the problem might be? Cheers, Bennett -- GPG fingerprint: 871F 1047 7DB3 DDED 5FC4 47B2 26C7 E577 EF96 7808
On 09/02/17 10:21 AM, Bennett Piater wrote:
Hi, I resurrected beamer-theme-metropolis when aurphan showed me that it's maintainer had orphaned it because I use it quite a lot.
The upstream was recently updated, but I cannot get it to compile from makepkg -- the latex compiler complains that it cannot write to it's log file. I didn't change the PKGBUILD besides updating the version and dependencies.
Output: https://vps1.piater.name/commie/#5O9xSO3P
Everything works if I cd into $srcdir/$pkgname-$pkgver and execute make from the shell.
Does anyone have an idea what the problem might be?
Cheers, Bennett
The problem is permissions. I think "make" and "makepkg" would only give different results if you executed them as different users.
On 02/09/2017 05:50 PM, Connor Behan via aur-general wrote:
The problem is permissions. I think "make" and "makepkg" would only give different results if you executed them as different users.
I'm executing them as the same user, though. -- GPG fingerprint: 871F 1047 7DB3 DDED 5FC4 47B2 26C7 E577 EF96 7808
On 9 Feb 2017, at 15:21, Bennett Piater <bennett@piater.name> wrote:
Hi, I resurrected beamer-theme-metropolis when aurphan showed me that it's maintainer had orphaned it because I use it quite a lot.
The upstream was recently updated, but I cannot get it to compile from makepkg -- the latex compiler complains that it cannot write to it's log file. I didn't change the PKGBUILD besides updating the version and dependencies.
Output: https://vps1.piater.name/commie/#5O9xSO3P
Everything works if I cd into $srcdir/$pkgname-$pkgver and execute make from the shell.
I've tried to build beamer-theme-metropois in a "clean" Docker container with minimal set of packages, and I cannot reproduce your error: beamer-theme-metropolis builds and installs perfectly (I haven't tried using it though). As you haven't provided PKGBUILD file I'm only guessing what changes you have made to it to make it work. Apart from changing "pkgver" and "sha5sums" variables I also had to modify "depends" array. I'm attaching the diff below: Are you building in a "clean" environment? --- PKGBUILD | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index c693213..099ccfe 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,15 +1,15 @@ # Maintainer: Bennett Piater <bennett at piater dot name> pkgname=beamer-theme-metropolis -pkgver=1.1 +pkgver=1.2 pkgrel=1 pkgdesc="A modern LaTeX Beamer theme" url="https://github.com/matze/mtheme" arch=("any") license=("custom:cc-by-sa-4.0") -depends=("texlive-core" "texlive-pictures" "otf-fira-fonts") +depends=("texlive-core" "texlive-pictures" "texlive-latexextra" "otf-fira-mono" "otf-fira-sans") source=("https://github.com/matze/mtheme/archive/v${pkgver}.tar.gz") install=metropolis-theme.install -sha512sums=('36eb3778e0acf75539e2d8d930ebc81202a4a6648d485963010459f25424a334c4bdf5d10f9619415908564faa282f726913ba3eba8a498f0ec9e286181540d2') +sha512sums=('61e921a425f16b3fd12961533a5e2ec790d7d80e06d98a837156693082dd8254dfb9840498ce8e561924fb8c5241e9934e9cb1e7b7f1f8caef3cbd8edfae4af7') build() { # Generate the style files. -- 2.11.0 --- Vanush "Misha" Paturyan Senior Technical Officer Room 120 Computer Science Department EOLAS Building Maynooth University Maynooth
Well yeah, I'm building in a clean chroot using the devtools (mkarchchroot + makechrootpkg)... :/ My PKGBUILD looks almost exactly like what you did, yes. Pasted here: https://vps1.piater.name/commie/#xWcSmoLX I'm frankly stunned... On 02/09/2017 08:29 PM, Vanush "Misha" Paturyan via aur-general wrote:
I've tried to build beamer-theme-metropois in a "clean" Docker container with minimal set of packages, and I cannot reproduce your error: beamer-theme-metropolis builds and installs perfectly (I haven't tried using it though).
As you haven't provided PKGBUILD file I'm only guessing what changes you have made to it to make it work. Apart from changing "pkgver" and "sha5sums" variables I also had to modify "depends" array. I'm attaching the diff below:
Are you building in a "clean" environment?
--- PKGBUILD | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/PKGBUILD b/PKGBUILD index c693213..099ccfe 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,15 +1,15 @@ # Maintainer: Bennett Piater <bennett at piater dot name> pkgname=beamer-theme-metropolis -pkgver=1.1 +pkgver=1.2 pkgrel=1 pkgdesc="A modern LaTeX Beamer theme" url="https://github.com/matze/mtheme" arch=("any") license=("custom:cc-by-sa-4.0") -depends=("texlive-core" "texlive-pictures" "otf-fira-fonts") +depends=("texlive-core" "texlive-pictures" "texlive-latexextra" "otf-fira-mono" "otf-fira-sans") source=("https://github.com/matze/mtheme/archive/v${pkgver}.tar.gz") install=metropolis-theme.install -sha512sums=('36eb3778e0acf75539e2d8d930ebc81202a4a6648d485963010459f25424a334c4bdf5d10f9619415908564faa282f726913ba3eba8a498f0ec9e286181540d2') +sha512sums=('61e921a425f16b3fd12961533a5e2ec790d7d80e06d98a837156693082dd8254dfb9840498ce8e561924fb8c5241e9934e9cb1e7b7f1f8caef3cbd8edfae4af7')
build() { # Generate the style files. -- 2.11.0
--- Vanush "Misha" Paturyan Senior Technical Officer Room 120 Computer Science Department EOLAS Building Maynooth University Maynooth
-- GPG fingerprint: 871F 1047 7DB3 DDED 5FC4 47B2 26C7 E577 EF96 7808
On 10 Feb 2017, at 18:45, Bennett Piater <bennett@piater.name> wrote:
Well yeah, I'm building in a clean chroot using the devtools (mkarchchroot + makechrootpkg)... :/
My PKGBUILD looks almost exactly like what you did, yes.
Pasted here: https://vps1.piater.name/commie/#xWcSmoLX
I'm frankly stunned…
What if you stick a "set -x" just before the build() declaration in the PKGBUILD (that would generate a much bigger output, but might shed some light on what exactly is going on with your system). Misha. --- Vanush "Misha" Paturyan Senior Technical Officer Room 120 Computer Science Department EOLAS Building Maynooth University Maynooth
I believe this is your issue: https://github.com/matze/mtheme/issues/217 For the record, this theme is already included in texlive-latexextra present in the repo (but obviously at version 1.1 though), and that’s the reason why it was deleted: https://lists.archlinux.org/pipermail/aur-requests/2016-October/013975.html So, I’m gonna have to delete once again, since I think our policy is to not invade the AUR with each CTAN package already in TeX Live, even if obviously the CTAN version is more recent than the one in TeX Live. If you want to use your PKGBUILD locally, just add -j1 in the make command of the PKGBUILD. ;) Cheers, Bruno Le 10/02/2017 à 19:45, Bennett Piater a écrit :
Well yeah, I'm building in a clean chroot using the devtools (mkarchchroot + makechrootpkg)... :/
My PKGBUILD looks almost exactly like what you did, yes.
Pasted here: https://vps1.piater.name/commie/#xWcSmoLX
I'm frankly stunned...
I believe this is your issue: https://github.com/matze/mtheme/issues/217
Thanks a bunch, now I finally understand that weird problem! :) I hate not understanding something ;)
For the record, this theme is already included in texlive-latexextra present in the repo (but obviously at version 1.1 though), and that’s the reason why it was deleted: https://lists.archlinux.org/pipermail/aur-requests/2016-October/013975.html
So, I’m gonna have to delete once again, since I think our policy is to not invade the AUR with each CTAN package already in TeX Live, even if obviously the CTAN version is more recent than the one in TeX Live.
I completely missed that, so no worries. Thanks for your help! :)
If you want to use your PKGBUILD locally, just add -j1 in the make command of the PKGBUILD. ;)
Cheers, Bruno
Cheers, Bennett -- GPG fingerprint: 871F 1047 7DB3 DDED 5FC4 47B2 26C7 E577 EF96 7808
Bennett Piater <bennett@piater.name> writes:
Hi, I resurrected beamer-theme-metropolis when aurphan showed me that it's maintainer had orphaned it because I use it quite a lot.
The upstream was recently updated, but I cannot get it to compile from makepkg -- the latex compiler complains that it cannot write to it's log file. I didn't change the PKGBUILD besides updating the version and dependencies.
Output: https://vps1.piater.name/commie/#5O9xSO3P
Everything works if I cd into $srcdir/$pkgname-$pkgver and execute make from the shell.
Does anyone have an idea what the problem might be?
Cheers, Bennett -- GPG fingerprint: 871F 1047 7DB3 DDED 5FC4 47B2 26C7 E577 EF96 7808
Hello, the PKGBUILD in AUR works fine here. You probably need to show your PKGBUILD for version 1.2 here. Best Regards Stefan
participants (5)
-
Bennett Piater
-
Bruno Pagani
-
Connor Behan
-
Stefan Husmann
-
Vanush "Misha" Paturyan