After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 710403 - failure to build: mkdir: cannot create directory 'blib/lib/Gnome2': File exists
failure to build: mkdir: cannot create directory 'blib/lib/Gnome2': File exists
Status: RESOLVED FIXED
Product: gnome-perl
Classification: Bindings
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtk2-perl-bugs
gtk2-perl-bugs
Depends on:
Blocks:
 
 
Reported: 2013-10-17 16:41 UTC by Damyan Ivanov
Modified: 2013-12-08 17:40 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
add -p to mkdir invocation (621 bytes, patch)
2013-10-17 16:41 UTC, Damyan Ivanov
none Details | Review

Description Damyan Ivanov 2013-10-17 16:41:13 UTC
Created attachment 257560 [details] [review]
add -p to mkdir invocation

Trying to build 1.043 on a clean Debian/unstable fails with:

...
chmod 644 blib/arch/auto/Gnome2/Gnome2.bs
Parsing XS files...
Generating POD...
Loaded 3 extra types from doctypes
Loaded 9 extra types from /usr/lib/perl5/Gtk2/Install/doctypes
Loaded 13 extra types from /usr/lib/perl5/Gnome2/VFS/Install/doctypes
Loaded 8 extra types from /usr/lib/perl5/Glib/Install/doctypes
Loaded 7 extra types from /usr/lib/perl5/Cairo/Install/doctypes
Loaded 2 extra types from /usr/lib/perl5/Pango/Install/doctypes
Creating POD index...
mkdir blib/lib/Gnome2
mkdir: cannot create directory 'blib/lib/Gnome2': File exists
make[1]: *** [blib/lib/Gnome2/enums.pod] Error 1

This seems to be caused by the newly added line in Makefile.PL:

mkdir blib/lib/\$(NAME)

Adding -p to that command allows the build to proceed successfully. The attached patch does exactly that.

Thanks for considering,
     dam, Debian Perl Group
Comment 1 Torsten Schoenfeld 2013-12-08 17:40:12 UTC
Should be fixed in 1.044.