Build is broken on 2.8 on darwin platform #54765

Closed
opened 2018-04-23 01:47:39 +02:00 by Tycho Tatitsccheff · 12 comments

System Information
Operating system and graphics card

Blender Version
Broken: branch 2.8, commit 574c0fe38f
Worked: branch 2.8, commit c23f33ac9e

Short description of error

Build is broken on 2.8 on darwin platform.

image.png

Exact steps for others to reproduce the error

  • follow wiki to setup build environment
  • open Xcode
  • run build
  • boom

image.png

Potentiel patch to fix

diff --git a/source/blender/editors/screen/area.c b/source/blender/editors/screen/area.c
index 588a2abec53..0897ac6f9a9 100644
--- a/source/blender/editors/screen/area.c
+++ b/source/blender/editors/screen/area.c
@@ -662,7 +662,7 @@ static void area_azone_initialize(wmWindow *win, const bScreen *screen, ScrArea

        /* can't click on bottom corners on OS X, already used for resizing */
 #ifdef __APPLE__
-       if (!(sa->totrct.xmin == 0 && sa->totrct.ymin == 0) || WM_window_is_fullscreen(win))
+       if (!(sa->totrct.xmin == 0 && sa->totrct.ymin == 0) || WM_window_is_fullscreen(win)) {
 #else
        (void)win;
 #endif
@@ -700,6 +700,10 @@ static void area_azone_initialize(wmWindow *win, const bScreen *screen, ScrArea
                az->y2 = coords[i][3];
                BLI_rcti_init(&az->rect, az->x1, az->x2, az->y1, az->y2);
        }
+       #ifdef __APPLE__
+       }
+       #endif
 }

 static void fullscreen_azone_initialize(ScrArea *sa, ARegion *ar)

After the patch, it builds.
I'm not sure of the correctness of the patch so I did not opened a diferential.

cc @ideasman42

**System Information** Operating system and graphics card **Blender Version** Broken: branch 2.8, commit 574c0fe38f Worked: branch 2.8, commit c23f33ac9e **Short description of error** Build is broken on 2.8 on darwin platform. ![image.png](https://archive.blender.org/developer/F2940979/image.png) **Exact steps for others to reproduce the error** - follow wiki to setup build environment - open Xcode - run build - boom ![image.png](https://archive.blender.org/developer/F2940979/image.png) **Potentiel patch to fix** ``` diff --git a/source/blender/editors/screen/area.c b/source/blender/editors/screen/area.c index 588a2abec53..0897ac6f9a9 100644 --- a/source/blender/editors/screen/area.c +++ b/source/blender/editors/screen/area.c @@ -662,7 +662,7 @@ static void area_azone_initialize(wmWindow *win, const bScreen *screen, ScrArea /* can't click on bottom corners on OS X, already used for resizing */ #ifdef __APPLE__ - if (!(sa->totrct.xmin == 0 && sa->totrct.ymin == 0) || WM_window_is_fullscreen(win)) + if (!(sa->totrct.xmin == 0 && sa->totrct.ymin == 0) || WM_window_is_fullscreen(win)) { #else (void)win; #endif @@ -700,6 +700,10 @@ static void area_azone_initialize(wmWindow *win, const bScreen *screen, ScrArea az->y2 = coords[i][3]; BLI_rcti_init(&az->rect, az->x1, az->x2, az->y1, az->y2); } + #ifdef __APPLE__ + } + #endif } static void fullscreen_azone_initialize(ScrArea *sa, ARegion *ar) ``` After the patch, it builds. I'm not sure of the correctness of the patch so I did not opened a diferential. cc @ideasman42

Added subscribers: @ideasman42, @TychoTat

Added subscribers: @ideasman42, @TychoTat

This issue was referenced by ede19477c8

This issue was referenced by ede19477c825a52aaca224eb72fd708adc7871f9
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Philipp Oeser self-assigned this 2018-04-23 10:01:20 +02:00
Member

Thanx for investigating and raising awareness.

However, currently we are aware of many issues in 2.8 and actively working to fix them. But since replying to reports takes time, we have decided to limit bug reports to module team members.

Thanx for investigating and raising awareness. However, currently we are aware of many issues in 2.8 and actively working to fix them. But since replying to reports takes time, we have decided to limit bug reports to [module team ](https://wiki.blender.org/index.php/Dev:Doc/Process/Module_Owners/List) members.

Changed status from 'Archived' to: 'Resolved'

Changed status from 'Archived' to: 'Resolved'

Added subscriber: @brecht

Added subscriber: @brecht

Thanks for the patch, the fix I committed was different since we now need to exclude both bottom corners of the window.

Thanks for the patch, the fix I committed was different since we now need to exclude both bottom corners of the window.

Your welcome @brecht.

@lichtwerk I understand I wasn't going to open an issue to a alpha branch without suggesting a patch. If you prefer I can not open any reports next time : what do you think ? what is better for you ?

Your welcome @brecht. @lichtwerk I understand I wasn't going to open an issue to a alpha branch without suggesting a patch. If you prefer I can not open any reports next time : what do you think ? what is better for you ?
Member

Added subscriber: @LazyDodo

Added subscriber: @LazyDodo
Member

Tasks about build issues aren't allowed as outlined on the bug report form.

It's best to [post a differential ]] if you have a patch ready, however, since this is in the 2.8 branch, it's a little easier to manage if you submit the differential using [ https:*wiki.blender.org/index.php/Dev:Doc/Tools/Code_Review | arc

Tasks about build issues aren't allowed [as outlined ](https://developer.blender.org/maniphest/task/edit/form/1/) on the bug report form. It's best to [post a differential ]] if you have a patch ready, however, since this is in the 2.8 branch, it's a little easier to manage if you submit the differential using [[ https:*wiki.blender.org/index.php/Dev:Doc/Tools/Code_Review | arc ](https:*developer.blender.org/differential/diff/create/)

Sure.

sorry that I didn't read the bug form properly.
will post a diff next time :)

Sure. sorry that I didn't read the bug form properly. will post a diff next time :)
Sign in to join this conversation.
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
5 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#54765
No description provided.