Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1095274 - ERROR 'unknown type httpd_totpcgi_script_t' at token ';' on line 5216
Summary: ERROR 'unknown type httpd_totpcgi_script_t' at token ';' on line 5216
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: totpcgi
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Konstantin Ryabitsev
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1107456 (view as bug list)
Depends On:
Blocks: F21FTBFS
TreeView+ depends on / blocked
 
Reported: 2014-05-07 11:52 UTC by Michael Schwendt
Modified: 2014-11-18 12:16 UTC (History)
3 users (show)

Fixed In Version: totpcgi-0.5.5-4.fc21
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-11-18 12:16:00 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Michael Schwendt 2014-05-07 11:52:56 UTC
totpcgi-selinux is on the Rawhide broken deps report for a long time, and the fix for that would be easy, but it fails to rebuild for Fedora newer than 20:

[...]
+ pushd selinux
~/build/BUILD/totpcgi-0.5.5/selinux ~/build/BUILD/totpcgi-0.5.5
+ for selinuxvariant in mls strict targeted
+ make NAME=mls -f /usr/share/selinux/devel/Makefile
Compiling mls totpcgi module
totpcgi.te:55: Warning: miscfiles_read_certs() has been deprecated, please use miscfiles_read_generic_certs() instead.
totpcgi.te:58: Warning: miscfiles_read_certs() has been deprecated, please use miscfiles_read_generic_certs() instead.
totpcgi.te":41:ERROR 'unknown type httpd_totpcgi_script_t' at token ';' on line 5216:
	typeattribute httpd_totpcgi_script_t syslog_client_type;
#line 41
/usr/bin/checkmodule:  error(s) encountered while parsing configuration
/usr/bin/checkmodule:  loading policy configuration from tmp/totpcgi.tmp
make: *** [tmp/totpcgi.mod] Error 1

Comment 1 Till Maas 2014-11-13 18:42:55 UTC
*** Bug 1107456 has been marked as a duplicate of this bug. ***

Comment 2 Till Maas 2014-11-13 20:03:49 UTC
There are now patches in the master branch that fix the build. Tested on Fedora 20, scratch build for Rawhide is here:
http://koji.fedoraproject.org/koji/taskinfo?taskID=8132784

Comment 3 Fedora Update System 2014-11-15 23:25:59 UTC
totpcgi-0.5.5-4.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/totpcgi-0.5.5-4.fc21

Comment 4 Fedora Update System 2014-11-16 14:41:20 UTC
Package totpcgi-0.5.5-4.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing totpcgi-0.5.5-4.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-15164/totpcgi-0.5.5-4.fc21
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2014-11-18 12:16:00 UTC
totpcgi-0.5.5-4.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.