Opened 3 months ago

Closed 2 months ago

Last modified 2 months ago

#7773 closed defect (invalid)

make clean does not remove obsolete filter from filter_list.c

Reported by: UlfZibis 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 Changed 3 months ago by UlfZibis

  • Component changed from undetermined to build system
  • Version changed from unspecified to git-master

comment:2 Changed 3 months ago by richardpl

  • Resolution set to invalid
  • Status changed from new to closed

This is not help channel for developing ffmpeg.

comment:3 Changed 2 months ago by UlfZibis

  • Resolution invalid deleted
  • Status changed from closed to reopened

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 2 months ago by UlfZibis (previous) (diff)

comment:4 Changed 2 months ago by richardpl

  • Resolution set to invalid
  • Status changed from reopened to closed

Can not reproduce.

Note: See TracTickets for help on using tickets.