Hi,

Since the London BoF I've been integrating BuildKit into my profiles but there's an issue with the versions of drush and/or drush_make which means it doesn't build properly when including other make files. I did have a combination of versions which was working, but now I'm not getting any working and not sure whether it's drush or drush_make that's the problem.

With the latest versions of drush and drush_make it gives the 'The following modules are required but not found" error so isn't finding the modules in the buildkit profile folder; if I use a previous version of drush_make it gives me a 'cannot redeclare function' error as it downloads all the buildkit modules into both the buildkit /and/ my own profile folder, which surely isn't correct as you don't want two copies of module code in your tree.

So before I go creating issues on either drush or drush_make I was looking for some direction - I remember it was talked about in the BoF so it's a known problem, just don't know where to start looking to try and fix it, feeling lost now I can't rebuild my profiles :(

ta!

Comments

langworthy’s picture

The first problem sounds like #1252716: Makefiles with multiple profiles no longer grab like projects to me. As for the second, I haven't had problems when I have two profiles in my codebase, each with similar contrib projects. Are the profiles named differently?

What I've been doing is rather than include[] the Build Kit distro.make I just duplicate it into my own custom distro.make and include my custom profile.

Let me know if this helps.

favrik’s picture

I'm having the same issue related to the "The following modules are required but not found" error. All the modules are installed in the buildkit profile, but not on my profile, so it seems like the

; Include Build Kit distro makefile via URL
includes[] = http://drupalcode.org/project/buildkit.git/blob_plain/refs/heads/7.x-2.x:/distro.make

line is not working. :S

The buildkit project does state to use drush make 2.0 beta 9 but not sure how to retrieve that specific version.

Any hints?

langworthy’s picture

favrik that sounds like the same problem experience in the OP. Try my tips in comment #1 and please let me know if you have any further issues.

Anonymous’s picture

I've done some digging and added some info on your other issue over here:

http://drupal.org/node/1252716#comment-5032478

cossovich’s picture

I got the same problem when I recently upgraded Drush Make. I've since rolled back a version. Here's the combo that is currently working for me:
Drush 4.5
Drush Make 2.2

langworthy’s picture

Status: Active » Fixed

I have no problems using Drush 5.1 which includes drush make. I'm closing this ticket for now. Please re-open if you have a further problem.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.