Modify

Opened 3 years ago

Closed 3 years ago

#18961 closed defect (not_a_bug)

odhcp6c package building issue (maybe all packages that use cmake)

Reported by: Gaetano Owned by: developers
Priority: normal Milestone:
Component: packages Version: Trunk
Keywords: odhcp6c Cc:

Description

The package is not correctly compiled after changing the configuration options.

For example, if I change the value of EXT_PREFIX_CLASS option, and build the package again, the value of this option is not updated in the build_dir and the package is compiled with the old value.

Maybe I'm wrong, but think this is a problem present in all packages that use cmake.
Normally, the configuration options are passed directly to make program as argument (e.g. -DCONFIG_FOO_ENABLED). On the contrary, when packages relies on cmake, the configuration options are passed during the configure phase so once the package has been configured for the first time the configuration options cannot be updated.

Is there a way to force a package to be reconfigured every time you build it?

Attachments (0)

Change History (1)

comment:1 Changed 3 years ago by nbd

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

if you unpack the package using quilt, it will call the configure step every time.

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.