Bug 1158392 - perl-ZeroMQ-0.23-7.fc22 FTBFS: xs/perl_zeromq.h:6:20: fatal error: ppport.h: No such file or directory
Summary: perl-ZeroMQ-0.23-7.fc22 FTBFS: xs/perl_zeromq.h:6:20: fatal error: ppport.h: ...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-ZeroMQ
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Petr Pisar
QA Contact: Fedora Extras Quality Assurance
URL: http://koji.fedoraproject.org/koji/ta...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-10-29 09:56 UTC by Petr Pisar
Modified: 2014-10-30 15:47 UTC (History)
2 users (show)

Fixed In Version: perl-ZeroMQ-0.23-8.fc22
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-10-30 15:47:56 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Petr Pisar 2014-10-29 09:56:29 UTC
perl-ZeroMQ-0.23-7.fc22 fails to build in F22 because ppport.h header files is missing:

Writing ppport.h
Cannot create ppport.h because: 
 + Using zmq.h from /usr/include/zmq.h
Warning: prerequisite Devel::PPPort 3.19 not found.
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for ZeroMQ
+ make -j4
"/usr/bin/perl" "-Iinc" "/usr/share/perl5/vendor_perl/ExtUtils/xsubpp"  -typemap "/usr/share/perl5/ExtUtils/typemap"  xs/perl_zeromq.xs > xs/perl_zeromq.xsc && mv xs/perl_zeromq.xsc xs/perl_zeromq.c
Running Mkbootstrap for ZeroMQ ()
chmod 644 "ZeroMQ.bs"
cp lib/ZeroMQ/Raw.pm blib/lib/ZeroMQ/Raw.pm
cp lib/ZeroMQ/Socket.pm blib/lib/ZeroMQ/Socket.pm
cp lib/ZeroMQ.pm blib/lib/ZeroMQ.pm
cp lib/ZeroMQ/Context.pm blib/lib/ZeroMQ/Context.pm
cp lib/ZeroMQ/Message.pm blib/lib/ZeroMQ/Message.pm
cp lib/ZeroMQ/Constants.pm blib/lib/ZeroMQ/Constants.pm
cp lib/ZeroMQ/Poller.pm blib/lib/ZeroMQ/Poller.pm
gcc -c  "-Ixs" "-I." -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wextra -Wdeclaration-after-statement -Wc++-compat -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches  -m64 -mtune=generic   -DVERSION=\"0.23\" -DXS_VERSION=\"0.23\" -o xs/perl_zeromq.o -fPIC "-I/usr/lib64/perl5/CORE"   xs/perl_zeromq.c
In file included from xs/perl_zeromq.xs:1:0:
xs/perl_zeromq.h:6:20: fatal error: ppport.h: No such file or directory
 #include "ppport.h"

Difference between last working and failing build root is:

Removed packages:
	ccache-3.1.9
	file-5.19
	file-libs-5.19
	libblkid-2.25.1
	libmount-2.25.1
	libsmartcols-2.25.1
	libuuid-2.25.1
	libuuid-devel-2.25.1
	libxml2-2.9.1
	openssl-libs-1.0.1i
	perl-Encode-2.62
	perl-ExtUtils-Install-1.67
	perl-ExtUtils-MakeMaker-6.98
	perl-Module-CoreList-5.20141002
	perl-Test-Simple-1.001006
	sqlite-3.8.6
	util-linux-2.25.1
Added packages:
	ccache-3.1.10
	fedora-release-cloud-22
	file-5.20
	file-libs-5.20
	libblkid-2.25.2
	libmount-2.25.2
	libsmartcols-2.25.2
	libuuid-2.25.2
	libuuid-devel-2.25.2
	libxml2-2.9.2
	openssl-libs-1.0.1j
	perl-Encode-2.63
	perl-ExtUtils-Install-2.04
	perl-ExtUtils-MakeMaker-7.00
	perl-Test-Simple-1.001008
	sqlite-3.8.7
	util-linux-2.25.2

You forgot to declare build-time dependency on `perl(Devel::PPPort) >= 3.19' probably.


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