build failure: No rule to make target `src/service/database.vala'

Bug #1176860 reported by Pim Vullers on 2013-05-06
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Feedler
Critical
Daniel Kur

Bug Description

When trying to build feedler I get the following error:
...
make[2]: Leaving directory `/tmp/portage/net-news/feedler-9999/work/feedler-9999_build'
/usr/bin/cmake -E cmake_progress_report /tmp/portage/net-news/feedler-9999/work/feedler-9999_build/CMakeFiles 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83
[ 89%] Built target translations_1
make -f src/service/CMakeFiles/feedler-service.dir/build.make src/service/CMakeFiles/feedler-service.dir/depend
make[2]: Entering directory `/tmp/portage/net-news/feedler-9999/work/feedler-9999_build'
make[2]: *** No rule to make target `/tmp/portage/net-news/feedler-9999/work/feedler-9999/src/service/database.vala', needed by `src/service/abstract.c'. Stop.
make[2]: Leaving directory `/tmp/portage/net-news/feedler-9999/work/feedler-9999_build'
make[1]: *** [src/service/CMakeFiles/feedler-service.dir/all] Error 2
make[1]: Leaving directory `/tmp/portage/net-news/feedler-9999/work/feedler-9999_build'
make: *** [all] Error 2

So probably some files are missing, or a CMakeLists.txt file has not been updated properly.

This is on Gentoo Linux with Feedler from trunk.

Pim Vullers (pimvullers) wrote :
Daniel Kur (daniel-m-kur) wrote :

Hmm.. I dont know what is a problem:-|
For test I permanently delete all contents of 'build' folder and after in terminal:
cmake ..
make
make install
and everything works fine.

Try this:
 1. Pull to the newest revision.
 2. Remove all files from 'build' folder.
 3. Rebuild all

Pim Vullers (pimvullers) wrote :

Just made a fresh checkout and build (using vala-0.20)... same issue, see attached log.

Daniel Kur (daniel-m-kur) wrote :

Thanks for better log ;-)

I found the bug and probably fixed it. Please try last revision!

Pim Vullers (pimvullers) wrote :

Thanks, it is now indeed fixed.

(The first one was generated by the Gentoo Linux ebuild system which uses parallel build, make -j5. The newer one was manual with just make :-)

Changed in feedler:
status: New → Fix Committed
Changed in feedler:
assignee: nobody → Daniel Kur (daniel-m-kur)
importance: Undecided → Critical
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers