Package Details: hdfview-bin 3.1.0-1

Git Clone URL: https://aur.archlinux.org/hdfview-bin.git (read-only, click to copy)
Package Base: hdfview-bin
Description: a GUI browser for reading hdf5 files - prebuilt binaries from the HDF group
Upstream URL: https://www.hdfgroup.org/downloads/hdfview/
Licenses: custom
Conflicts: hdfview, hdfview-beta
Provides: hdfview
Replaces: hdfview-beta
Submitter: chrisjbillington
Maintainer: chrisjbillington
Last Packager: chrisjbillington
Votes: 0
Popularity: 0.000000
First Submitted: 2019-10-26 19:48
Last Updated: 2019-10-26 19:48

Dependencies (0)

Required by (0)

Sources (3)

Pinned Comments

chrisjbillington commented on 2019-10-26 19:59

Note that you must download the source file HDFView-3.1.0-centos7_64.tar.gz yourself from the HDF group, which requires making an account on their site. Link here. Copy the file to the same directory as the PKGBUILD before running makepkg.

If using yay for example, run yay -S hdfview-bin, and you will see an error message about the missing source file. Then, copy HDFView-3.1.0-centos7_64.tar.gz into ~/.cache/yay/hdfview-bin and run yay -S hdfview-bin again to complete the installation.

If anyone knows how to circumvent the HDF group's forcing of you to make an account so I can have the PKGBUILD download the source file, I'm all ears. Their license does not disallow redistributing the binaries, but rehosting them seems like poor form.

Latest Comments

chrisjbillington commented on 2020-02-12 15:35

@ajkswamy it is working for me presently, so must be an issue specific to your setup.

Googling the error you're getting suggests a workaround might be to change your GTK theme.

You can run a single app with a different GTK theme using the GTK_THEME environment variable, so if that turns out to be the issue you could modify /usr/bin/hdfview to set the environment variable before running hdfview.sh, e.g.

#!/usr/bin/env bash
GTK_THEME=Adwaita /opt/HDFView/3.1.0/hdfview.sh -root $PWD "$@"

You also might try using the hdfview AUR package to build from source on your machine, in case the issue is specific to the build from the HDF group.

ajkswamy commented on 2020-02-12 11:25

I tried to use this and I get the following error when I start HDFVIEW:

(process:176520): Gtk-WARNING **: 12:11:03.195: Locale not supported by C library. Using the fallback 'C' locale.

A fatal error has been detected by the Java Runtime Environment:
SIGSEGV (0xb) at pc=0x00007fc4a2a2fc70, pid=176520, tid=176521
JRE version: OpenJDK Runtime Environment (11.0.1+13) (build 11.0.1+13-LTS)
Java VM: OpenJDK 64-Bit Server VM (11.0.1+13-LTS, mixed mode, sharing, tiered, compressed oops, g1 gc, linux-amd64)
Problematic frame:
C [libglib-2.0.so.0+0x77c70] g_str_hash+0x0
Core dump will be written. Default location: Core dumps may be processed with "/usr/lib/systemd/systemd-coredump %P %u %g %s %t %c %h" (or dumping to /opt/HDFView/3.1.0/core.176520)
An error report file with more information is saved as:
/tmp/hs_err_pid176520.log
If you would like to submit a bug report, please visit:
http://bugreport.java.com/bugreport/crash.jsp
The crash happened outside the Java Virtual Machine in native code.
See problematic frame for where to report the bug.

./hdfview.sh: line 43: 176520 Aborted (core dumped) "$JAVABIN/java" "$JAVAOPTS" -Djava.library.path="$INSTALLDIR/lib:$INSTALLDIR/lib/ext" -Dhdfview.root="$INSTALLDIR" -cp "$INSTALLDIR/lib/*:$INSTALLDIR/lib/extra/slf4j-nop-1.7.25.jar" hdf.view.HDFView "$@"

chrisjbillington commented on 2019-10-26 19:59

Note that you must download the source file HDFView-3.1.0-centos7_64.tar.gz yourself from the HDF group, which requires making an account on their site. Link here. Copy the file to the same directory as the PKGBUILD before running makepkg.

If using yay for example, run yay -S hdfview-bin, and you will see an error message about the missing source file. Then, copy HDFView-3.1.0-centos7_64.tar.gz into ~/.cache/yay/hdfview-bin and run yay -S hdfview-bin again to complete the installation.

If anyone knows how to circumvent the HDF group's forcing of you to make an account so I can have the PKGBUILD download the source file, I'm all ears. Their license does not disallow redistributing the binaries, but rehosting them seems like poor form.