Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#7773 closed defect (invalid)

make clean does not remove obsolete filter from filter_list.c

Reported by: Ulf Zibis Owned by:
Priority: normal Component: build system
Version: git-master Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:
How to reproduce:

  • Create a new filter and add it to libavfilter/Makefile.
  • Build the project --> success.
  • Remove the new filter and delete it from libavfilter/Makefile.
  • Clean and build the project --> error: vf_newfilter.c in filter_list.c not declared.

Change History (4)

comment:1 by Ulf Zibis, 3 years ago

Component: undeterminedbuild system
Version: unspecifiedgit-master

comment:2 by Elon Musk, 3 years ago

Resolution: invalid
Status: newclosed

This is not help channel for developing ffmpeg.

comment:3 by Ulf Zibis, 3 years ago

Resolution: invalid
Status: closedreopened

Hi,
this is not a help request, but a real bug report.

I followed doc/writing_filters.txt to create a new filter foobar.c.
Then I did:

  • ./configure
  • make
  • rm libavfilter/vf_foobar.c
  • delete foobar entry in libavfilter/MAKEFILE
  • delete foobar entry in libavfilter/allfilters.c
  • make clean
  • make

Result:

[....]
CC	libavfilter/allfilters.o
In file included from libavfilter/allfilters.c:461:0:
./libavfilter/filter_list.c:169:6: error: ‘ff_vf_foobar’ undeclared here (not in a function); did you mean ‘ff_vf_format’?
     &ff_vf_foobar,
      ^~~~~~~~~~~~
      ff_vf_format
ffbuild/common.mak:60: recipe for target 'libavfilter/allfilters.o' failed
make: *** [libavfilter/allfilters.o] Error 1

Workaround before ./configure is:

  • rm libavfilter/filter_list.c
Last edited 3 years ago by Ulf Zibis (previous) (diff)

comment:4 by Elon Musk, 3 years ago

Resolution: invalid
Status: reopenedclosed

Can not reproduce.

Note: See TracTickets for help on using tickets.