Bug 1161470 - perl-Tk-804.032-4.fc22 FTBFS: No rule to make target 'pTk/default.h', needed by 'Tk.o'
Summary: perl-Tk-804.032-4.fc22 FTBFS: No rule to make target 'pTk/default.h', needed ...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-Tk
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-11-07 08:18 UTC by Petr Pisar
Modified: 2014-11-07 09:16 UTC (History)
2 users (show)

Fixed In Version: perl-Tk-804.032-5.fc22
Clone Of:
Environment:
Last Closed: 2014-11-07 09:16:33 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
CPAN 100044 0 None None None Never

Description Petr Pisar 2014-11-07 08:18:31 UTC
perl-Tk-804.032-4.fc22 fails to build in F22:

Running Mkbootstrap for Tk ()
TKGLUE
"/usr/bin/perl" "/usr/share/perl5/ExtUtils/xsubpp"  -typemap "/usr/share/perl5/ExtUtils/typemap" -typemap "/builddir/build/BUILD/Tk-804.032/Tk/typemap"  Tk.xs > Tk.xsc && mv Tk.xsc Tk.c
make: *** No rule to make target 'pTk/default.h', needed by 'Tk.o'.  Stop.

Difference between last working and failing build root is:

Removed packages:
	audit-libs-2.4
	groff-base-1.22.2
	hwdata-0.270
	libjpeg-turbo-1.3.1
	libjpeg-turbo-devel-1.3.1
	libpng-1.6.12
	libpng-devel-1.6.12
	perl-ExtUtils-MakeMaker-6.98
	perl-HTTP-Tiny-0.050
	perl-Pod-Perldoc-3.24
	perl-Pod-Usage-1.63
	systemd-216
	systemd-libs-216
	tzdata-2014h
Added packages:
	audit-libs-2.4.1
	hwdata-0.271
	libjpeg-turbo-1.3.90
	libjpeg-turbo-devel-1.3.90
	libpng-1.6.14
	libpng-devel-1.6.14
	perl-ExtUtils-MakeMaker-7.00
	perl-Pod-Parser-1.62
	systemd-217
	systemd-libs-217
	tzdata-2014i

This is probably caused by upgrading perl-ExtUtils-MakeMaker from 6.98 to 7.00 and fixed by upstream commit:

commit f579b535e68977bab6547ac58a0fe62791ea2309
Author: Slaven Rezic <slaven>
Date:   Thu Nov 6 20:02:45 2014 +0000

    Tk::MMutil: use $^X instead of $self->{PERL}
    
    Since ExtUtils::MakeMaker 6.99_10, the PERL object member is quoted.
    This caused the subsequent extraction commands to be run with an
    invalid command (the perl binary *with* quotes). Unfortunately
    this system() call failed silently, so the real problem showed
    up in a strange dependency problem, see
    https://rt.cpan.org/Ticket/Display.html?id=100044
    
    Instead of $self->{PERL}, now simply $^X is used. Also, the
    extraction commands do not fail silently anymore.
    
    Reference to the EUMM ticket:
    https://rt.cpan.org/Ticket/Display.html?id=100159


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