{"action":"created","issue":{"url":"https://api.github.com/repos/OpenSCAP/openscap/issues/393","repository_url":"https://api.github.com/repos/OpenSCAP/openscap","labels_url":"https://api.github.com/repos/OpenSCAP/openscap/issues/393/labels{/name}","comments_url":"https://api.github.com/repos/OpenSCAP/openscap/issues/393/comments","events_url":"https://api.github.com/repos/OpenSCAP/openscap/issues/393/events","html_url":"https://github.com/OpenSCAP/openscap/issues/393","id":149421738,"number":393,"title":"probe_rpmverify does not compile on RHEL5 and SLES11","user":{"login":"AndreasKrause","id":6349253,"avatar_url":"https://avatars.githubusercontent.com/u/6349253?v=3","gravatar_id":"","url":"https://api.github.com/users/AndreasKrause","html_url":"https://github.com/AndreasKrause","followers_url":"https://api.github.com/users/AndreasKrause/followers","following_url":"https://api.github.com/users/AndreasKrause/following{/other_user}","gists_url":"https://api.github.com/users/AndreasKrause/gists{/gist_id}","starred_url":"https://api.github.com/users/AndreasKrause/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndreasKrause/subscriptions","organizations_url":"https://api.github.com/users/AndreasKrause/orgs","repos_url":"https://api.github.com/users/AndreasKrause/repos","events_url":"https://api.github.com/users/AndreasKrause/events{/privacy}","received_events_url":"https://api.github.com/users/AndreasKrause/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/OpenSCAP/openscap/milestones/7","html_url":"https://github.com/OpenSCAP/openscap/milestones/1.2.10","labels_url":"https://api.github.com/repos/OpenSCAP/openscap/milestones/7/labels","id":1560978,"number":7,"title":"1.2.10","description":"","creator":{"login":"isimluk","id":6666052,"avatar_url":"https://avatars.githubusercontent.com/u/6666052?v=3","gravatar_id":"","url":"https://api.github.com/users/isimluk","html_url":"https://github.com/isimluk","followers_url":"https://api.github.com/users/isimluk/followers","following_url":"https://api.github.com/users/isimluk/following{/other_user}","gists_url":"https://api.github.com/users/isimluk/gists{/gist_id}","starred_url":"https://api.github.com/users/isimluk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isimluk/subscriptions","organizations_url":"https://api.github.com/users/isimluk/orgs","repos_url":"https://api.github.com/users/isimluk/repos","events_url":"https://api.github.com/users/isimluk/events{/privacy}","received_events_url":"https://api.github.com/users/isimluk/received_events","type":"User","site_admin":false},"open_issues":28,"closed_issues":2,"state":"open","created_at":"2016-02-03T13:11:01Z","updated_at":"2016-04-28T07:49:08Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2016-04-19T10:47:45Z","updated_at":"2016-04-28T08:10:30Z","closed_at":null,"body":"Anticipating a future release of openscap-1.2.9 I tried to compile a current snapshot of maint-1.2. On this occasion I stumbled upon problems compiling probe_rpmverify on RHEL5 and SLES11. Guess it's somehow related to the version of rpmlib on these systems. Any chance to fix that before 1.2.9 is released?\r\n\r\n    creating probe_rpmverify\r\n    if gcc -DHAVE_CONFIG_H -I. -I. -I../../..     -O2 -g -m64 -mtune=generic -pipe -std=c99 -W -Wall -Wnonnull -Wshadow -Wformat -Wundef -Wno-unused-parameter -Wmissing-prototypes -Wno-unknown-pragmas -D_GNU_SOURCE -DOSCAP_THREAD_SAFE -D_POSIX_C_SOURCE=200112L -Wno-unused-function -I/usr/include/libxml2   -DOSCAP_THREAD_SAFE -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DTHREAD_SAFE -DSEAP_THREAD_SAFE -I../../../src -I../../../src/common -I../../../src/common/public -I../../../src/source/public -I../../../src/OVAL -I../../../src/OVAL/public -I../../../src/OVAL/probes/public -I../../../src/OVAL/probes/SEAP/public -I../../../lib -MT probe_rpmverifyfile-rpmverifyfile.o -MD -MP -MF \".deps/probe_rpmverifyfile-rpmverifyfile.Tpo\" -c -o probe_rpmverifyfile-rpmverifyfile.o `test -f 'unix/linux/rpmverifyfile.c' || echo './'`unix/linux/rpmverifyfile.c; \\\r\n    \tthen mv -f \".deps/probe_rpmverifyfile-rpmverifyfile.Tpo\" \".deps/probe_rpmverifyfile-rpmverifyfile.Po\"; else rm -f \".deps/probe_rpmverifyfile-rpmverifyfile.Tpo\"; exit 1; fi\r\n    unix/linux/rpmverifyfile.c: In function 'rpmverify_additem':\r\n    unix/linux/rpmverifyfile.c:366: error: 'RPMVERIFY_FILEDIGEST' undeclared (first use in this function)\r\n    unix/linux/rpmverifyfile.c:366: error: (Each undeclared identifier is reported only once\r\n    unix/linux/rpmverifyfile.c:366: error: for each function it appears in.)\r\n    unix/linux/rpmverifyfile.c: At top level:\r\n    unix/linux/rpmverifyfile.c:401: error: 'VERIFY_FILEDIGEST' undeclared here (not in a function)\r\n    unix/linux/rpmverifyfile.c:401: warning: missing initializer\r\n    unix/linux/rpmverifyfile.c:401: warning: (near initialization for 'rpmverifyfile_bhmap[10].a_flag')\r\n    unix/linux/rpmverifyfile.c:402: error: 'VERIFY_CAPS' undeclared here (not in a function)\r\n    unix/linux/rpmverifyfile.c:402: warning: missing initializer\r\n    unix/linux/rpmverifyfile.c:402: warning: (near initialization for 'rpmverifyfile_bhmap[11].a_flag')\r\n    make[3]: *** [probe_rpmverifyfile-rpmverifyfile.o] Error 1\r\n    make[3]: Leaving directory `/usr/src/redhat/BUILD/openscap-maint-1.2/src/OVAL/probes'\r\n    make[2]: *** [all-recursive] Error 1\r\n    make[2]: Leaving directory `/usr/src/redhat/BUILD/openscap-maint-1.2/src/OVAL/probes'\r\n    make[1]: *** [all-recursive] Error 1\r\n    make[1]: Leaving directory `/usr/src/redhat/BUILD/openscap-maint-1.2'\r\n    make: *** [all] Error 2\r\n    error: Bad exit status from /var/tmp/rpm-tmp.71732 (%build)\r\n    \r\n    \r\n    RPM build errors:\r\n        Bad exit status from /var/tmp/rpm-tmp.71732 (%build)\r\n"},"comment":{"url":"https://api.github.com/repos/OpenSCAP/openscap/issues/comments/215343349","html_url":"https://github.com/OpenSCAP/openscap/issues/393#issuecomment-215343349","issue_url":"https://api.github.com/repos/OpenSCAP/openscap/issues/393","id":215343349,"user":{"login":"praving5","id":11082039,"avatar_url":"https://avatars.githubusercontent.com/u/11082039?v=3","gravatar_id":"","url":"https://api.github.com/users/praving5","html_url":"https://github.com/praving5","followers_url":"https://api.github.com/users/praving5/followers","following_url":"https://api.github.com/users/praving5/following{/other_user}","gists_url":"https://api.github.com/users/praving5/gists{/gist_id}","starred_url":"https://api.github.com/users/praving5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/praving5/subscriptions","organizations_url":"https://api.github.com/users/praving5/orgs","repos_url":"https://api.github.com/users/praving5/repos","events_url":"https://api.github.com/users/praving5/events{/privacy}","received_events_url":"https://api.github.com/users/praving5/received_events","type":"User","site_admin":false},"created_at":"2016-04-28T08:10:30Z","updated_at":"2016-04-28T08:10:30Z","body":"@AndreasKrause which SLES 11 version? I am using SLES 11 SP3 and rpmverify works great there. I am using OpenSCAP 1.2.5 though and have installed it from [here](http://download.opensuse.org/repositories/security/SLE_11_SP3/x86_64/)"}}