Bug 1382021

Summary: zoneminder-1.28.1-6.fc26 FTBFS: expected identifier before numeric constant
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: zoneminderAssignee: Charles R. Anderson <cra>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: cra, fedora
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://apps.fedoraproject.org/koschei/build/2187466
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-01-06 17:08:57 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Petr Pisar 2016-10-05 14:26:47 UTC
zoneminder-1.28.1-6.fc26 fails to build in F26:

g++ -DHAVE_CONFIG_H -I. -I..  -I/usr/include -I/usr/include -I/usr/include -D__STDC_CONSTANT_MACROS -Wall -finline-functions -fomit-frame-pointer -I/usr/include -D__STDC_CONSTANT_MACROS  -D__STDC_CONSTANT_MACROS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -c -o zmc.o zmc.cpp
[...]
In file included from /usr/lib/gcc/i686-redhat-linux/6.2.1/include/limits.h:168:0,
                 from /usr/lib/gcc/i686-redhat-linux/6.2.1/include/syslimits.h:7,
                 from /usr/lib/gcc/i686-redhat-linux/6.2.1/include/limits.h:34,
                 from /usr/include/values.h:27,
                 from zmc.cpp:22:
zm_image.h:125:25: error: expected identifier before numeric constant
  enum { CHAR_HEIGHT=11, CHAR_WIDTH=6 };
                         ^
zm_image.h:125:25: error: expected '}' before numeric constant
zm_image.h:125:25: error: expected unqualified-id before numeric constant

A difference in the buil root when this error first appeared is:

        libjpeg-turbo-devel 	1.5.0-3.fc26 	> 	1.5.0-4.fc26
	libcrypt-nss 	2.24.90-6.fc26 	> 	2.24.90-7.fc26
	bash 	4.3.43-2.fc26 	> 	4.3.43-3.fc26
	glibc 	2.24.90-6.fc26 	> 	2.24.90-7.fc26
	libjpeg-turbo 	1.5.0-3.fc26 	> 	1.5.0-4.fc26
	glibc-all-langpacks 	2.24.90-6.fc26 	> 	2.24.90-7.fc26
	crypto-policies 	20160718-2.gitdb5ca59.... 	> 	20160921-1.git75b9b04....
	glibc-common 	2.24.90-6.fc26 	> 	2.24.90-7.fc26
	glibc-devel 	2.24.90-6.fc26 	> 	2.24.90-7.fc26
	glibc-headers 	2.24.90-6.fc26 	> 	2.24.90-7.fc26
	diffutils 	3.3-13.fc24 	> 	3.5-1.fc26
	sqlite-libs 	3.14.1-1.fc26 	> 	3.14.2-1.fc26
	kernel-headers 	4.8.0-0.rc7.git0.1.... 	> 	4.8.0-0.rc7.git1.1....
	binutils 	2.27-6.fc26 	> 	2.27-7.fc26

Comment 1 Fedora Admin XMLRPC Client 2017-01-02 01:54:28 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 2 Charles R. Anderson 2017-01-06 17:08:57 UTC
zoneminder retired from Fedora and moving to RPM Fusion.

https://bugzilla.rpmfusion.org/show_bug.cgi?id=4393