Project

General

Profile

Bug #11642

make fails for target 'data/CMakeFiles/darktable.appdata_file.dir/all

Added by Walter Fitis almost 2 years ago. Updated almost 2 years ago.

Status:
Closed: upstream
Priority:
Low
Assignee:
-
Category:
Buildsystem
Target version:
Start date:
06/08/2017
Due date:
% Done:

0%

Affected Version:
git master branch
System:
Fedora/RHEL
bitness:
64-bit
hardware architecture:
amd64/x86

Description

- Checked out latest commit (be6a7065b37eae4d399f5ef39a3d138098d5672e)
- Ran the following command:

  git submodule init && git submodule update && ./build.sh --prefix /opt/darktable.new --buildtype Release --disable-flickr --disable-facebook --install --sudo

- Got the following error:
Merging translations into /home/walter/doc/projects/git/darktable/build/data/darktable.appdata.xml.
Scanning dependencies of target manpage-es-darktable.1
data/CMakeFiles/darktable.appdata_file.dir/build.make:87: recipe for target 'data/darktable.appdata.xml' failed
gmake[2]: *** [data/darktable.appdata.xml] Error 2
gmake[2]: *** Deleting file 'data/darktable.appdata.xml'
CMakeFiles/Makefile2:7879: recipe for target 'data/CMakeFiles/darktable.appdata_file.dir/all' failed
gmake[1]: *** [data/CMakeFiles/darktable.appdata_file.dir/all] Error 2
gmake[1]: *** Waiting for unfinished jobs....
[ 43%] Generating es/darktable.pod
[ 43%] Built target manpage_darktable-cli.1
[ 43%] Generating es/darktable-generate-cache.1
[ 43%] Generating es/darktable.1
[ 43%] Built target manpage-es-darktable-generate-cache.1
[ 43%] Built target manpage-es-darktable.1
Makefile:151: recipe for target 'all' failed
gmake: *** [all] Error 2

XML::Parser is installed:
# rpm -q perl
perl-5.24.1-385.fc25.x86_64

# rpm -q perl-XML-Parser
perl-XML-Parser-2.44-5.fc25.x86_64

# perl -MFile::Find=find -MFile::Spec::Functions -Tlw -e 'find { wanted => sub { print canonpath $_ if /\.pm\z/ }, no_chdir => 1 }, @INC'|grep 'XML/Parser'
/usr/lib64/perl5/vendor_perl/XML/Parser.pm
/usr/lib64/perl5/vendor_perl/XML/Parser/Expat.pm
/usr/lib64/perl5/vendor_perl/XML/Parser/Style/Debug.pm
/usr/lib64/perl5/vendor_perl/XML/Parser/Style/Stream.pm
/usr/lib64/perl5/vendor_perl/XML/Parser/Style/Tree.pm
/usr/lib64/perl5/vendor_perl/XML/Parser/Style/Objects.pm
/usr/lib64/perl5/vendor_perl/XML/Parser/Style/Subs.pm
/usr/lib64/perl5/vendor_perl/XML/Parser.pm
/usr/lib64/perl5/vendor_perl/XML/Parser/Expat.pm
/usr/lib64/perl5/vendor_perl/XML/Parser/Style/Debug.pm
/usr/lib64/perl5/vendor_perl/XML/Parser/Style/Stream.pm
/usr/lib64/perl5/vendor_perl/XML/Parser/Style/Tree.pm
/usr/lib64/perl5/vendor_perl/XML/Parser/Style/Objects.pm
/usr/lib64/perl5/vendor_perl/XML/Parser/Style/Subs.pm

# ls -l /usr/lib64/perl5/vendor_perl/XML/Parser.pm
-rw-r--r-- 1 root root 27108 Jan 12  2015 /usr/lib64/perl5/vendor_perl/XML/Parser.pm

debug.log Magnifier - Output of build.sh (7.85 KB) Walter Fitis, 06/08/2017 10:34 PM

CMakeCache.txt Magnifier (113 KB) Walter Fitis, 06/08/2017 10:53 PM

History

#1 Updated by Walter Fitis almost 2 years ago

Current kernel: 4.11.3-200.fc25.x86_64

#2 Updated by Walter Fitis almost 2 years ago

#3 Updated by Tobias Ellinghaus almost 2 years ago

Please try this:

cd /home/walter/doc/projects/git/darktable/
/usr/bin/intltool-merge --xml-style po data/darktable.appdata.xml.in /tmp/darktable.appdata.xml

Does that work?

#4 Updated by Walter Fitis almost 2 years ago

No luck, I even cloned the repository to a new location and reinstalled Perl with all modules, and intltool.

#5 Updated by Walter Fitis almost 2 years ago

As this might be OS-related then. I filed a bug report with Red Hat.

#6 Updated by Tobias Ellinghaus almost 2 years ago

Is there some error message shown when running intltool-merge manually?

#7 Updated by Walter Fitis almost 2 years ago

Merging translations into /tmp/darktable.appdata.xml.
You must have XML::Parser installed to run /usr/bin/intltool-merge

Sorry that I wasn't clear on that.

#8 Updated by Tobias Ellinghaus almost 2 years ago

  • Status changed from New to Closed: upstream

I see. So I assume that

perl -e "use XML::Parser;" 

throws an error?

I am closing this as it seems it's an upstream bug, either in intltool-merge, Perl, or in how Redhat packages those. Should you find any indication that we are doing something wrong then just write here and we can re-open and fix it.

#9 Updated by Roman Lebedev almost 2 years ago

  • Target version set to 2.4.0

Also available in: Atom PDF