Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Welcome to Software Development on Codidact!

Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.

Comments on How to preserve pip install temporary directory for error analyse?

Post

How to preserve pip install temporary directory for error analyse?

+0
−0

Here I am trying to install a pip package.

While installation, pip tries to compile something.

With meson.

Meson calls cmake.

Cmake fails on a missing dependency.

Then, meson fails on the failed cmake.

Then, pip fails on the failed meson.

Then, pip deletes the temporary directory for the compilation and exits.

On this way, I can not see the meson logs, exactly what failed.

How to break this chain? I believe, pip should not deleted anything if I specify it on this way.

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.
Why should this post be closed?

1 comment thread

I have found `pip --no-clean`, but it still does not work. Most importantly, pip has created about 5 ... (1 comment)
I have found `pip --no-clean`, but it still does not work. Most importantly, pip has created about 5 ...
peterh‭ wrote about 9 hours ago

I have found pip --no-clean, but it still does not work. Most importantly, pip has created about 5 directories in /tmp, and the one referred in the error report is not among them. Although pip --no-clean might be an useful answer in many cases. In my specific case, now I try to hook the rmdir, unlink, unlinkat syscalls with an empty return in an LD_PRELOAD-ed shared lib.