[ https://issues.apache.org/jira/browse/THRIFT-2917?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Simon South updated THRIFT-2917: -------------------------------- Attachment: 0001-thrift-2917-make-clean-breaks-test-c_glib.patch Thanks for the bug report and the explanation, [~jensg]. I've attached a patch that changes {{make clean}} so it deletes only the files _within_ generated folders, leaving the {{.deps}} subfolder intact. This produces the desired behaviour: * {{make clean}} now deletes only the files generated via {{make}}, while * {{make distclean}} empties completely the generated folders. Importantly, {{make clean}} no longer breaks the build! > "make clean" breaks test/c_glib > ------------------------------- > > Key: THRIFT-2917 > URL: https://issues.apache.org/jira/browse/THRIFT-2917 > Project: Thrift > Issue Type: Bug > Components: C glib - Library > Environment: openSUSE 13.2 > Reporter: Jens Geyer > Assignee: Simon South > Attachments: 0001-thrift-2917-make-clean-breaks-test-c_glib.patch > > > Today I ran into a situation where I wanted to do a {{make clean}} in the > test/c_glib directory only. After that, the build was no longer possible and > always ended with: > {code} > $> make > Makefile:564: gen-c_glib/.deps/t_test_second_service.Plo: File or folder not > found > Makefile:565: gen-c_glib/.deps/t_test_thrift_test.Plo: File or folder not > found > Makefile:566: gen-c_glib/.deps/t_test_thrift_test_types.Plo: File or folder > not found > make: *** No rule to make target > 'gen-c_glib/.deps/t_test_thrift_test_types.Plo'. Stop. > {code} > After running ./configure again the problem went away. -- This message was sent by Atlassian JIRA (v6.3.4#6332)