Hi,
I'm unable to build this PKGBUILD in a clean archlinux:
-- Checking for module 'libopenjp2'
-- No package 'libopenjp2' found
CMake Error at /usr/share/cmake-3.8/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
Could NOT find OpenJPEG: Found unsuitable version "", but required is at
least "2.0.0" (found )
Call Stack (most recent call first):
/usr/share/cmake-3.8/Modules/FindPackageHandleStandardArgs.cmake:375 (_FPHSA_FAILURE_MESSAGE)
CMake/FindOpenJPEG.cmake:26 (find_package_handle_standard_args)
CMakeLists.txt:370 (find_package)
I guess there is a makedepend missing? The full buildlog is available at https://ci.virtapi.org/job/Arch_Package_gdcm/13/console
Search Criteria
Package Details: gdcm 2.8.0-9
| Git Clone URL: | https://aur.archlinux.org/gdcm.git (read-only) |
|---|---|
| Package Base: | gdcm |
| Description: | a C++ library for DICOM medical files |
| Upstream URL: | http://gdcm.sourceforge.net |
| Licenses: | |
| Submitter: | giniu |
| Maintainer: | crmullins |
| Last Packager: | crmullins |
| Votes: | 20 |
| Popularity: | 0.198663 |
| First Submitted: | 2013-01-10 11:55 |
| Last Updated: | 2017-07-01 19:30 |
Dependencies (5)
- cmake (cmake-git) (make)
- java-runtime (intellij-jdk, java-gcj-compat, jdk, jdk-arm, jdk-dcevm, jdk-devel, jdk5, jdk6, jdk7, jdk8, jdk8-j9-bin, jdk9-openj9-bin, jre, jre-devel, jre6, jre7, jre7-openjdk-infinality, jre8, jre8-openjdk-infinality, jre8-openjdk-jetbrains, jre8-openjdk-jetbrains-git, server-jre, tuxjdk, zulu-jdk, jre7-openjdk, jre8-openjdk, jre9-openjdk) (optional) – java bindings
- python2 (placeholder, pypy19, python26, stackless-python2) (optional) – python bindings
- swig (swig-git) (optional) – generate python wrappers
- vtk (vtk-git, vtk-visit) (optional) – vtk bindings
Required by (2)
Sources (1)
Latest Comments
bastelfreak commented on 2017-07-29 22:28
crmullins commented on 2017-07-01 19:31
Indeed, @femtomatic has the correct fix. PKGBUILD is updated. Thanks all.
femtomatic commented on 2017-07-01 16:00
Hi, the conflict can be resolved by adding -DGDCM_USE_SYSTEM_OPENJPEG:BOOL=ON to the cmake options.
I posted a corrected PKGBUILD here:
https://pastebin.com/FVH0R4QC
mkoloberdin commented on 2017-07-01 12:28
2.8.0-9 fails to install, conflicts with the openjpeg2 package:
error: failed to commit transaction (conflicting files)
gdcm: /usr/lib/pkgconfig/libopenjp2.pc exists in filesystem
$ pacman -Qo /usr/lib/pkgconfig/libopenjp2.pc
/usr/lib/pkgconfig/libopenjp2.pc is owned by openjpeg2 2.1.2-2
crmullins commented on 2016-09-09 15:10
Whoops, thanks @femtomatic. This was actually a stale .SRCINFO, I must have forgotten to re-generate it. The pkgrel should be 6 since this is a version update.
Chris
femtomatic commented on 2016-09-09 14:58
Hi, thanks for updating the package, there is a small error in the PKGBUILD pkgrel should be:
pkgrel=5
Thanks!
crmullins commented on 2016-07-29 14:47
Thanks again for your help @yan12125. This should be fixed.
Chris
yan12125 commented on 2016-07-29 13:53
Hi, thanks for updating gdcm to the latest version. Here's a minor issue: The CMake option GDCM_DOCUMENTATION_SKIP_MANPAGES has a different name in version 2.6.4 GDCM_BUILD_DOCBOOK_MANPAGES. I have to change -DGDCM_DOCUMENTATION_SKIP_MANPAGES:BOOL=ON to -DGDCM_BUILD_DOCBOOK_MANPAGES:BOOL=OFF, or I got docbook related errors.
crmullins commented on 2016-03-03 17:22
I see what the problem was:
The patch command was looking two directories up for the patch instead of one -- including the patch in the file index places it in the source dir. Thanks for catching this. Should be fixed now.
Chris
crmullins commented on 2016-03-01 11:33
Hi @manzo,
Here is the commit I pushed[1], I'm seeing the patch. Did I push it in the wrong way? When I "Download snapshot" and extract it's included in the tar file, and running makepkg in the directory seems to work. Also yaourt seems to find it.
In the meantime if it's urgent, you can download the patch at [2].
Chris
[1] https://aur.archlinux.org/cgit/aur.git/commit/?h=gdcm&id=97a35e17a8694507a73895f00884b90dd68ad20e
[2] https://github.com/malaterre/GDCM/commit/4c06d8fa0a107a03638045f5e0bd0ec11013e70b.patch