Opened 12 months ago

Closed 12 months ago

Last modified 12 months ago

#15570 closed defect (fixed)

anitest.bkl fails to generate makefiles

Reported by: kosenko Owned by:
Priority: normal Milestone: 3.0.0
Component: build Version:
Keywords: Cc:
Blocked By: Blocking:
Patch: yes

Description

Command bakefile_gen -b ../../samples/animate/anitest.bkl -f autoconf fails with error

[1/1] generating autoconf from ../../samples/animate/anitest.bkl
/wxWidgets/samples/animate/anitest.bkl:4: error: can't find file '../../../build/bakefiles/common_samples.bkl'

Path to common_samples.bkl defers from the same path in minimal.bkl
Error somehow appeared after r74907

Attachments (1)

anitest_bkl.patch download (461 bytes) - added by kosenko 12 months ago.

Download all attachments as: .zip

Change History (5)

Changed 12 months ago by kosenko

comment:1 follow-up: Changed 12 months ago by vadz

Something totally mysterious is going on here :-( The bakefile_gen command still works for me, even though the path is clearly wrong. OTOH the path has been wrong ever since this file was created, so I don't even know if it's more surprising that it still works for me or that it doesn't work for you.

I do know that I don't understand what's going on here but I'm going to apply the patch nevertheless, thanks.

comment:2 Changed 12 months ago by VZ

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

(In [74979]) Fix wrong common_samples.bkl include path in animate sample bakefile.

Surprisingly, the wrong path somehow worked all this time and still works in
some installation, but not all of them. Using the correct path shouldn't hurt
though.

Closes #15570.

comment:3 in reply to: ↑ 1 ; follow-up: Changed 12 months ago by kosenko

The bakefile_gen command still works for me, even though the path is clearly wrong.


You need to remove bakefile cache file .bakefile_gen.state before bakefile_gen run.

OTOH the path has been wrong ever since this file was created


Something changed in r74907, I found out this using git bisect.

comment:4 in reply to: ↑ 3 Changed 12 months ago by vadz

Replying to kosenko:

The bakefile_gen command still works for me, even though the path is clearly wrong.


You need to remove bakefile cache file .bakefile_gen.state before bakefile_gen run.

I forgot to write it but I did remove it, it didn't change anything, it still worked for me.

OTOH the path has been wrong ever since this file was created


Something changed in r74907, I found out this using git bisect.

But this revision doesn't touch anything related to this...

Note: See TracTickets for help on using tickets.