No rule to make target _detail.hpp after 2014 01 15

Bug #1271316 reported by herrold
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Expired
Undecided
Unassigned

Bug Description

I have started seeing this error since last week

[herrold@centos-6 kicad]$ grep _detail.hpp *txt | grep "No rule"
buildlog-20140115.txt:make[2]: *** No rule to make target `../include/gal/opengl/glm/./core/_detail.hpp', needed by `common/CMakeFiles/gal.dir/drawpanel_gal.cpp.o'. Stop.

buildlog-20140120.txt:make[2]: *** No rule to make target `../include/gal/opengl/glm/./core/_detail.hpp', needed by `common/CMakeFiles/gal.dir/drawpanel_gal.cpp.o'. Stop.

buildlog-20140121.txt:make[2]: *** No rule to make target `../include/gal/opengl/glm/./core/_detail.hpp', needed by `common/CMakeFiles/gal.dir/drawpanel_gal.cpp.o'. Stop.
[herrold@centos-6 kicad]$

I will add the -k option to see if anything else is newly failing

Tags: compilation
Revision history for this message
herrold (herrold) wrote :

so probably in tag:4619

-rw-rw-r--. 1 herrold herrold 23716540 Jan 13 10:34 ./kicad-tag-4619.tar.gz
-rw-rw-r--. 1 herrold herrold 23748852 Jan 20 12:07 ./kicad-tag-4625.tar.gz
-rw-rw-r--. 1 herrold herrold 23748664 Jan 21 11:02 ./kicad-tag-4629.tar.gz

Revision history for this message
jean-pierre charras (jp-charras) wrote :

file _detail.hpp is not missing in include/gal/opengl/glm/core/
see:
http://bazaar.launchpad.net/~kicad-product-committers/kicad/product/files/head:/include/gal/opengl/glm/core/

Perhaps something is wrong in your local bzr working copy.

Changed in kicad:
status: New → Incomplete
Revision history for this message
herrold (herrold) wrote :

No that is not it. The file is present

-- the error message is saying that a Makefile rule does not exist for it

[herrold@centos-6 kicad]$ find ./kicad/ -name "_detail.*"
./kicad/include/gal/opengl/glm/core/_detail.hpp
[herrold@centos-6 kicad]$

Revision history for this message
jean-pierre charras (jp-charras) wrote :

Usually, this is the message which is printed when a file is not found, or cannot be read.
There is no makefile rule to make it because this file is part of source, and should not be made.

Again, I am thinking something is wrong in your local bzr working copy.

Revision history for this message
herrold (herrold) wrote :

your use of a pronoun in comment #4 is confusing -- what file do you think does not need to be generated by a Makefile?

Revision history for this message
jean-pierre charras (jp-charras) wrote :

I am talking about _detail.hpp, because it is a file which is in Kicad sources.

Revision history for this message
herrold (herrold) wrote :

[herrold@centos-6 kicad]$ find -name _detail.hpp -a -exec md5sum {} \;
0754c85b47da1f5305cae5de457af9ad ./kicad/include/gal/opengl/glm/core/_detail.hpp
0754c85b47da1f5305cae5de457af9ad ./kicad_/include/gal/opengl/glm/core/_detail.hpp
^C
[herrold@centos-6 kicad]$ ls -al ./kicad/include/gal/opengl/glm/core/_detail.hpp ./kicad_/include/gal/opengl/glm/core/_detail.hpp ; date
-rw-rw-r--. 1 herrold herrold 9705 Jan 9 18:41 ./kicad_/include/gal/opengl/glm/core/_detail.hpp
-rw-rw-r--. 1 herrold herrold 9705 Jan 27 11:31 ./kicad/include/gal/opengl/glm/core/_detail.hpp
Wed Feb 5 15:51:45 EST 2014
[herrold@centos-6 kicad]$

Revision history for this message
herrold (herrold) wrote :
Revision history for this message
Maciej Suminski (orsonmmz) wrote :

Hi herrold,

Have you tried doing a fresh build? The log you have sent does not seem to me like an usual cmake build log - rather it looks like preparing a RPM package. If a clean build does not work for you, could you please send the output of:
$ VERBOSE=1 make

Regards,
Orson

Revision history for this message
herrold (herrold) wrote :

I see your bug comment #9 ... I get so many from launchpad that I often miss 'direct' ones ... new build log shortly. Sorry for the delay

My build process FIRST does a conventional gmake build with a 'make clean' phase, and only if that succeeds, moves on to RPM building

Revision history for this message
herrold (herrold) wrote :

here is

Revision history for this message
Maciej Suminski (orsonmmz) wrote :

Hi herrold,

The first thing that I can see faulty is the boost build. Please remove contents of .downloads-by-cmake and boost_root folders.
I assume that all the files mentioned in lines 28872-28886 exist.
It seems that you are using some RPM build script. Could you try the default method and check if results are different (bzr branch lp:kicad; cd kicad; mkdir build; cd build; cmake ..; make)? I cannot see anything particularly wrong in the log.
I am not sure, but I think that irw or jcapik on #kicad have built it successfully on CentOS, maybe they could share the build script?

Regards,
Orson

Revision history for this message
herrold (herrold) wrote :

hi

I am in the channel as orc_emac actually

PLEASE ignore the RPM aspect ... I build in two phases, first traditional tarball and only THEN (when success) rebuild it all again for RPM purposes, as said in comment #10

I can and do periodically remove the directrories you mention, but the penalty of a 500 meg download is hard to pay over and over again, so I set up the cacheing folders for the boost deviation

I will amend my build script with an option to emit a record and demonstration of the removal of the two directories, and push up a new 'nl' annotated build log

The error details at: 28868 of course are emitted by 28867

the file at '272 is absent

[herrold@centos-6 ~]$ date ; find /home/herrold/rpmbuild/BUILD/kicad-20140313/include/gal/ -name _fixes.hpp
Fri Mar 14 11:21:19 EDT 2014
[herrold@centos-6 ~]$

I ran a process to inventory all files from a bit above that point and will upload it in a moment

$ ( date ; find /home/herrold/rpmbuild/BUILD/kicad-20140313/include/gal/ -type f ) > filelist_1271316-20140314.txt

Revision history for this message
herrold (herrold) wrote :
Revision history for this message
herrold (herrold) wrote :

being worked --- avoid auto-expiration

Changed in kicad:
status: Incomplete → In Progress
Revision history for this message
jean-pierre charras (jp-charras) wrote :

Your issue is very strange, because it seems many files which are part of kicad sources are not found, although they are on your disk.

When I have a very strange issue like this, I try to rebuild from scratch kicad, using a new pristine copy of kicad sources, made from bzr repos.

Martin Errenst (imp-d)
tags: added: compilation
Revision history for this message
Blair Bonnett (bcb) wrote :

This (as far as I can tell unreproducible) build issue is over a year old. I am going to mark as incomplete. If anybody can reproduce this problem on a recent bzr version, please update us.

Changed in kicad:
status: In Progress → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for KiCad because there has been no activity for 60 days.]

Changed in kicad:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.