CRLF vs LF mismatches errors when patching OpenCollada in "make deps" #74018
Labels
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#74018
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When I recently tried to "make deps" as a prerequisite to "make full", I got a failure at «external_opencollada» where the patching phase failed due to dos/unix line endings mismatches (CRLF vs LF).
I had to modify the build_files/build_environment/patches/opencollada.diff file to prepend CRs for CMakeLists.txt and Externals/LibXML/CMakeLists.txt
And change "opencollada.cmake" to pass the --binary option to "patch"
Last time I built a static blender from scratch, the problem didn't exist. I tried destroying the complete build_linux and build_linux_full dirs, and that didn't solve anything. Is the problem known ? How often do you rebuild the deps in the buildbots ?
I use the CentOs7 reference platform, with the same script as what sergey uses to setup blender's buildbots. I am trying to build
f6d5a95513
which is a recent master HEAD.Here is the diff I had to apply for "make deps" to succeed, where ^M denotes a CR char.
Added subscriber: @FrnchFrgg
Added subscribers: @Sergey, @iss
I am really not sure here. I tried to apply patch and it failed with "patch does not apply"
I would suggest asking on https://blender.chat or @Sergey directly
The patch is not applicable as-is, since I had to edit it to replace CRs by ^M so that you can see them. Doing so or posting the patch here might have corrupted it by removing or adding a space, and since it is a diff of diffs formatting issues will confuse git or patch.
I also tried to ask on #blender in freenode, but had no answer. Such highly specific problems are not suited to a user IRC channel, IMHO.
Added subscriber: @LazyDodo
This is something what I've fixed in
c2a251d655
but it was re-introduced in8c509f98e1
.Would really be nice to find a solution which will not be so much fragile. Maybe convert files to native EOL? @LazyDodo, any other ideas?
Added subscriber: @Blendify
Changed status from 'Needs Triage' to: 'Resolved'
This was fixed by
d109ea5ee5