Package Details: jeuclid-core 3.1.9-1

Git Clone URL: https://aur.archlinux.org/jeuclid-core.git (read-only)
Package Base: jeuclid-core
Description: MathML renderer for Java
Upstream URL: http://jeuclid.sourceforge.net/
Licenses: Apache
Submitter: td123
Maintainer: MRWITEK
Last Packager: MRWITEK
Votes: 28
Popularity: 0.217793
First Submitted: 2011-12-07 20:36
Last Updated: 2015-06-09 18:18

Latest Comments

MRWITEK commented on 2016-12-31 00:15

Turns out it is bsdtar bug. I reported it:
https://github.com/libarchive/libarchive/issues/853

hcar commented on 2016-12-28 09:44

I have the same problem as jumostedo. Extracting the file with "bsdtar -xf" yields the same error, however, using "bsdtar -P -xf" works fine. Unzip also does the job.

source=("http://downloads.sourceforge.net/jeuclid/jeuclid-minimal-$pkgver-distribution.zip")
noextract=("jeuclid-minimal-$pkgver-distribution.zip")
md5sums=('c89067cdb005008f2ad46d579ed2086b')

prepare() {
bsdtar -P -xf *.zip
}

package() {
install -Dm644 $srcdir/jeuclid-minimal-$pkgver/repo/$pkgname-$pkgver.jar $pkgdir/usr/share/java/jeuclid/$pkgname.jar
}

jumostedu commented on 2016-12-22 23:11

The drive is not full, also happens on hard drive and /tmp for example. And also it works with unzip. What worse things could there be? :)
I can install other AUR packages just fine. In the forum discussion linked in my previous post, it is mentioned that "Certain zip files can't be handled by bsdtar" whatever that means. Although there is not the "Could not stat" error mentioned.
But well, might also be something with the invocation of bsdtar in makepkg? Whatever, I could install it and others with the same problem can see my solution, so we might just wait.

MRWITEK commented on 2016-12-22 13:11

jumostedu, on my side bsdtar works all right. I think, 'Could not stat' errors are raised by the filesystem, maybe your drive is full? or worse?

jumostedu commented on 2016-12-22 12:12

I had problems building the package, it got

==> Extracting sources...
-> Extracting jeuclid-minimal-3.1.9-distribution.zip with bsdtar
jeuclid-minimal-3.1.9/bin/: Could not stat jeuclid-minimal-3.1.9/bin
jeuclid-minimal-3.1.9/bin/mml2xxx: Could not stat jeuclid-minimal-3.1.9/bin/mml2xxx
jeuclid-minimal-3.1.9/bin/mathviewer: Could not stat jeuclid-minimal-3.1.9/bin/mathviewer
jeuclid-minimal-3.1.9/bin/listfonts: Could not stat jeuclid-minimal-3.1.9/bin/listfonts
jeuclid-minimal-3.1.9/bin/foprep: Could not stat jeuclid-minimal-3.1.9/bin/foprep
jeuclid-minimal-3.1.9/repo/: Could not stat jeuclid-minimal-3.1.9/repo
jeuclid-minimal-3.1.9/repo/jeuclid-core-3.1.9.jar: Could not stat jeuclid-minimal-3.1.9/repo/jeuclid-core-3.1.9.jar
jeuclid-minimal-3.1.9/repo/commons-logging-1.1.1.jar: Could not stat jeuclid-minimal-3.1.9/repo/commons-logging-1.1.1.jar
jeuclid-minimal-3.1.9/repo/batik-svg-dom-1.7.jar: Could not stat jeuclid-minimal-3.1.9/repo/batik-svg-dom-1.7.jar
jeuclid-minimal-3.1.9/repo/batik-anim-1.7.jar: Could not stat jeuclid-minimal-3.1.9/repo/batik-anim-1.7.jar
jeuclid-minimal-3.1.9/repo/batik-awt-util-1.7.jar: Could not stat jeuclid-minimal-3.1.9/repo/batik-awt-util-1.7.jar
jeuclid-minimal-3.1.9/repo/batik-util-1.7.jar: Could not stat jeuclid-minimal-3.1.9/repo/batik-util-1.7.jar
jeuclid-minimal-3.1.9/repo/batik-dom-1.7.jar: Could not stat jeuclid-minimal-3.1.9/repo/batik-dom-1.7.jar
jeuclid-minimal-3.1.9/repo/batik-css-1.7.jar: Could not stat jeuclid-minimal-3.1.9/repo/batik-css-1.7.jar
jeuclid-minimal-3.1.9/repo/batik-ext-1.7.jar: Could not stat jeuclid-minimal-3.1.9/repo/batik-ext-1.7.jar
jeuclid-minimal-3.1.9/repo/xml-apis-1.3.04.jar: Could not stat jeuclid-minimal-3.1.9/repo/xml-apis-1.3.04.jar
jeuclid-minimal-3.1.9/repo/xml-apis-ext-1.3.04.jar: Could not stat jeuclid-minimal-3.1.9/repo/xml-apis-ext-1.3.04.jar
jeuclid-minimal-3.1.9/repo/batik-xml-1.7.jar: Could not stat jeuclid-minimal-3.1.9/repo/batik-xml-1.7.jar
jeuclid-minimal-3.1.9/repo/batik-parser-1.7.jar: Could not stat jeuclid-minimal-3.1.9/repo/batik-parser-1.7.jar
jeuclid-minimal-3.1.9/repo/xmlgraphics-commons-1.3.1.jar: Could not stat jeuclid-minimal-3.1.9/repo/xmlgraphics-commons-1.3.1.jar
jeuclid-minimal-3.1.9/repo/commons-io-1.3.1.jar: Could not stat jeuclid-minimal-3.1.9/repo/commons-io-1.3.1.jar
jeuclid-minimal-3.1.9/repo/jeuclid-cli-3.1.9.jar: Could not stat jeuclid-minimal-3.1.9/repo/jeuclid-cli-3.1.9.jar
jeuclid-minimal-3.1.9/repo/commons-cli-1.2.jar: Could not stat jeuclid-minimal-3.1.9/repo/commons-cli-1.2.jar
jeuclid-minimal-3.1.9/repo/commons-lang-2.4.jar: Could not stat jeuclid-minimal-3.1.9/repo/commons-lang-2.4.jar
jeuclid-minimal-3.1.9/repo/jeuclid-mathviewer-3.1.9.jar: Could not stat jeuclid-minimal-3.1.9/repo/jeuclid-mathviewer-3.1.9.jar
jeuclid-minimal-3.1.9/repo/AppleJavaExtensions-1.2.jar: Could not stat jeuclid-minimal-3.1.9/repo/AppleJavaExtensions-1.2.jar
jeuclid-minimal-3.1.9/repo/dejavu-fonts-2.29.jar: Could not stat jeuclid-minimal-3.1.9/repo/dejavu-fonts-2.29.jar
jeuclid-minimal-3.1.9/repo/stix-fonts-1.0-beta-2.jar: Could not stat jeuclid-minimal-3.1.9/repo/stix-fonts-1.0-beta-2.jar
jeuclid-minimal-3.1.9/repo/ams-fonts-1.0.jar: Could not stat jeuclid-minimal-3.1.9/repo/ams-fonts-1.0.jar
jeuclid-minimal-3.1.9/repo/maven-metadata-appassembler.xml: Could not stat jeuclid-minimal-3.1.9/repo/maven-metadata-appassembler.xml
jeuclid-minimal-3.1.9/bin/mml2xxx.bat: Could not stat jeuclid-minimal-3.1.9/bin/mml2xxx.bat
jeuclid-minimal-3.1.9/bin/mathviewer.bat: Could not stat jeuclid-minimal-3.1.9/bin/mathviewer.bat
jeuclid-minimal-3.1.9/bin/listfonts.bat: Could not stat jeuclid-minimal-3.1.9/bin/listfonts.bat
jeuclid-minimal-3.1.9/bin/foprep.bat: Could not stat jeuclid-minimal-3.1.9/bin/foprep.bat
jeuclid-minimal-3.1.9/LICENSE.txt: Could not stat jeuclid-minimal-3.1.9/LICENSE.txt
jeuclid-minimal-3.1.9/NOTICE: Could not stat jeuclid-minimal-3.1.9/NOTICE
bsdtar: Error exit delayed from previous errors.
==> ERROR: Failed to extract jeuclid-minimal-3.1.9-distribution.zip
Aborting...

I got a solution from here: https://bbs.archlinux.org/viewtopic.php?id=52933
So i added

makedepends=('unzip')
noextract=("jeuclid-minimal-$pkgver-distribution.zip")
build() {
unzip jeuclid-minimal-$pkgver-distribution.zip
}

to the PKGBUILD.