DEPS: OSX: Missing deps (or not found due to their location under /opt/local)
Closed, InvalidPublic

Description

OSXBUILDER* missing deps.

Some deps are indeed installed, but projects aren't able to properly locate them in /opt/local and thus they'd need to fix their build systems (like e.g. kdepimlibs , kip-extras, kio-mtp or labplot, see T268 for the latter)!

See also the these two logs of Kanboard's tasks for this: 1 and 2.

Related Objects

StatusAssignedTask
Invalidbcooksley
DuplicateNone
kaning updated the task description. (Show Details)
kaning raised the priority of this task from to Needs Triage.
kaning added a project: build.kde.org.
kaning moved this task to In Progress on the build.kde.org board.
kaning updated the task description. (Show Details)
kaning updated the task description. (Show Details)
kaning triaged this task as Normal priority.
kaning added subscribers: kaning, scarlettclark.
kaning updated the task description. (Show Details)May 13 2015, 8:31 PM
kaning updated the task description. (Show Details)May 13 2015, 8:49 PM
kaning added a subtask: Restricted Maniphest Task.May 19 2015, 7:48 PM
kaning added a subtask: Restricted Maniphest Task.May 19 2015, 9:07 PM
kaning updated the task description. (Show Details)
scarlettclark added a subtask: Restricted Maniphest Task.May 19 2015, 9:09 PM
kaning added a subtask: Restricted Maniphest Task.May 19 2015, 9:19 PM
kaning added a subtask: Restricted Maniphest Task.May 19 2015, 9:25 PM
kaning closed subtask Restricted Maniphest Task as Invalid.May 20 2015, 8:56 PM
scarlettclark reopened subtask Restricted Maniphest Task as Open.May 21 2015, 12:53 AM
kaning added a subtask: Restricted Maniphest Task.May 22 2015, 4:17 AM
kaning added a subtask: Restricted Maniphest Task.May 22 2015, 4:19 AM
kaning added subtasks: Restricted Maniphest Task, Restricted Maniphest Task.May 30 2015, 10:00 AM
kaning added subtasks: Restricted Maniphest Task, Restricted Maniphest Task, Restricted Maniphest Task, Restricted Maniphest Task, Restricted Maniphest Task, Restricted Maniphest Task, Restricted Maniphest Task.Jun 8 2015, 9:58 PM
kaning closed subtask Restricted Maniphest Task as Resolved.
kaning closed subtask Restricted Maniphest Task as Wontfix.Jun 8 2015, 10:03 PM
kaning changed the status of subtask Restricted Maniphest Task from Wontfix to Invalid.
kaning edited subtasks, added: Restricted Maniphest Task; removed: Restricted Maniphest Task.Jun 8 2015, 10:05 PM
kaning removed a subtask: Restricted Maniphest Task.Jun 8 2015, 10:18 PM
kaning renamed this task from DEPS: Missing deps on OSX to DEPS: OSX: Missing deps (or not found due to their location under /opt/local).Jun 8 2015, 10:38 PM
kaning added a subtask: Restricted Maniphest Task.Jun 8 2015, 10:42 PM
kaning removed a subtask: Restricted Maniphest Task.
kaning removed a subtask: Restricted Maniphest Task.
kaning closed subtask Restricted Maniphest Task as Resolved.Jun 11 2015, 6:23 PM
kaning reopened subtask Restricted Maniphest Task as Open.
kaning closed subtask Restricted Maniphest Task as Resolved.
kaning closed subtask Restricted Maniphest Task as Resolved.Jun 11 2015, 6:25 PM
kaning added a subtask: Restricted Maniphest Task.Jun 12 2015, 6:37 AM
scarlettclark closed subtask Restricted Maniphest Task as Resolved.Jun 15 2015, 2:50 PM
kaning added a subtask: Restricted Maniphest Task.Jun 18 2015, 9:06 PM
kaning added a comment.EditedJun 20 2015, 7:03 AM

Ben has committed the use of extraPrefix to the builder config...

And I think this broke things for OSX now! See e.g. https://build.kde.org/job/kcoreaddons%20master%20kf5-qt5/PLATFORM=OSX,compiler=clang/10/console

Perhaps a rebuild from scratch is needed now!


I don't know the details of extraPrefix, but I just remember [one of René's recent posts on cmake's prefix[(https://lists.macosforge.org/pipermail/macports-users/2015-June/038794.html):

For all ye cmake gurus: have I overlooked the documentation for cmake's `--prefix` option or is it indeed an undocumented feature?
I just discovered that it has an effect that's slightly different from CMAKE_INSTALL_PREFIX ...

Thanks,
R.

Perhaps we revert this change for now and do a clean rebuild of qt5+KF5+apps on a separate CI system to study this more deeply, as from now on all projects will fail on OSX, which is why I am taking down both our builders.

Or remove the macports that already have a system lib?

Or remove the macports that already have a system lib?

I don't understand what you mean.

How will we recover from this now?
OB2 won't be available over the weekend, I have to say, as I am otherwise busy.
Time for some more hardware, again. :-)

Let me know if I can do something without having access to OB2.

Well I tried to remove jpeg from ob1 and we enter a dependency hell problem. It seems to me though that we want to use system libs rather than macports in most cases.
fwiw /opt/local/lib/libjpeg.dylib exists but notice the case is different.

I really don't see a way to proceed without forcing the use of system libs before macports via:
'export CFLAGS="-isystem/opt/local/include" \n' + 'export CXXFLAGS="-isystem/opt/local/include" \n'

But as Ben had me remove that I will have to wait for him to give suggestions. I am going to turn off OSX for the weekend (or until I hear from Ben) So have a good weekend.

kaning added a comment.EditedJun 20 2015, 3:11 PM

Well, whether we're using MacPorts' libs or the system ones is a decision to make!
Right now we have a mix of both anyways.
In some cases it might be better to use the system, in others one has to go for MacPorts version!

Re libjpeg.dylib: Ah, case (in)sensitivity hits us once again! (I had not noticed that yet.)

Your CFLAGS trick seems to be a must at the moment. :(

Yeah, let's wait for him and keep both OBs offline until we come up with a good plan.

BTW, I am happy that I saw this happening right at the beginning and could take both the builders down before an avalanche of build failures arose. :)

Should we perhaps add him to this task?

lol that would help, assigned fo Ben for now.

kaning added a comment.EditedJun 21 2015, 6:57 AM

Now that it is decided that MacPorts is to be isolated totally, we probably need to do something like what Boudewijn does for krita...

Or will we just create even more external projects in the way the CI system already supports now and supplement that with a new feature to create a self-containing application package instead?

Either way is a major undertaking, but unavoidable, as all dependencies should be system and vanilla.

Yet, one thing should not be forgotten in the process, MacPorts is there and would like to deliver all dependencies as it currently does.

As Rene always says: it's the freedom of choice we should keep. That holds for the dependence on tools and libs as well as something like the XDG_* env variables!!!

See T430 regarding removing MacPorts from qt5.

bcooksley changed the visibility from "All Users" to "Public (No Login Required)".Jul 31 2015, 9:39 AM
scarlettclark closed subtask Restricted Maniphest Task as Invalid.Jul 31 2015, 9:38 PM
scarlettclark closed subtask Restricted Maniphest Task as Invalid.
scarlettclark closed this task as Invalid.Aug 6 2015, 10:55 AM

Macports will not be available to builds.

scarlettclark closed subtask Restricted Maniphest Task as Invalid.Aug 6 2015, 11:09 AM
scarlettclark closed subtask Restricted Maniphest Task as Invalid.Apr 13 2016, 7:44 PM
scarlettclark closed subtask Restricted Maniphest Task as Invalid.
scarlettclark closed subtask Restricted Maniphest Task as Invalid.Apr 13 2016, 7:46 PM