Skip to content

Is it possible to run Bear via manual LD_PRELOAD? #442

Answered by rizsotto
yugr asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @yugr , this is a good question. I don't think the LD_PRELOAD itself can help you out to solve the pbuilder limitation. (Definitely not with the 3.x versions, maybe with the 2.4 version.)

  • one of the workaround can be to run the pbuilder command itself inside Bear. bear --config config.json -- pbuilder ... The config file shall say that output.content.include_only_existing_source should set to false, and the output.content.paths_to_include should be set to the source directory of your project. (I would run first without the paths_to_include set, to see which files it lists.) You can speed up this process by running the intercept command once against the build, and just run subsequent c…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by rizsotto
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #441 on January 24, 2022 00:38.