{"action":"opened","issue":{"url":"https://api.github.com/repos/mapfish/mapfish-print/issues/521","repository_url":"https://api.github.com/repos/mapfish/mapfish-print","labels_url":"https://api.github.com/repos/mapfish/mapfish-print/issues/521/labels{/name}","comments_url":"https://api.github.com/repos/mapfish/mapfish-print/issues/521/comments","events_url":"https://api.github.com/repos/mapfish/mapfish-print/issues/521/events","html_url":"https://github.com/mapfish/mapfish-print/issues/521","id":221311413,"number":521,"title":"Possible to build mapfish-print on CentOS7, OEL7 or RHEL?","user":{"login":"mlechner","id":1194826,"avatar_url":"https://avatars3.githubusercontent.com/u/1194826?v=3","gravatar_id":"","url":"https://api.github.com/users/mlechner","html_url":"https://github.com/mlechner","followers_url":"https://api.github.com/users/mlechner/followers","following_url":"https://api.github.com/users/mlechner/following{/other_user}","gists_url":"https://api.github.com/users/mlechner/gists{/gist_id}","starred_url":"https://api.github.com/users/mlechner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mlechner/subscriptions","organizations_url":"https://api.github.com/users/mlechner/orgs","repos_url":"https://api.github.com/users/mlechner/repos","events_url":"https://api.github.com/users/mlechner/events{/privacy}","received_events_url":"https://api.github.com/users/mlechner/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-04-12T16:01:32Z","updated_at":"2017-04-12T16:01:32Z","closed_at":null,"body":"Hi,\r\n\r\nanybody who is able to build mapfish-print 3 on a RHEL-based Distribution? I tried CentOS7 and OracleLinux7 (incl. Intsallation of msttfcorefonts, same openjdk, ... But the builds (master) fail while the same code builds without problems on Ubuntu.\r\n\r\n537 tests completed, 15 failed, 38 skipped\r\n:core:test FAILED\r\nFAILURE: Build failed with an exception.\r\nWhat went wrong:\r\nExecution failed for task ':core:test'.\r\n\r\nMost of the failures are similar to:\r\njava.lang.AssertionError: similarity difference between images is: 403.5678381635484 which is greater than the max distance of 52.0\r\n\r\nTo reproduce the errors simply use a minimal docker container like this:\r\n\r\n```\r\ndocker run -i -t centos \"/bin/bash\"\r\n```\r\n\r\nand do within the root prompt of the container:\r\n\r\n```\r\nyum update && yum -y install epel-release\r\nyum -y install git java-1.8.0-openjdk which curl cabextract xorg-x11-font-utils fontconfig\r\nyum -y install https://downloads.sourceforge.net/project/mscorefonts2/rpms/msttcore-fonts-installer-2.6-1.noarch.rpm\r\ngit clone https://github.com/mapfish/mapfish-print.git\r\ncd mapfish-print/\r\n./gradlew build\r\n```\r\n\r\n"}}
{"actor":{"display_login":"mlechner"}}