Sorry if I sound stupid to post here, but the instructions on the project home page do not produce any result.

Here is the output

quickstart@qs091:/var/www/testing2$ drush make http://bit.ly/gOT8mp --prepare-install --working-copy /var/www/2drupal
quickstart@qs091:/var/www/testing2$ drush make http://bit.ly/gOT8mp --verbose --prepare-install --working-copy /var/www/2drupal
Executing: mkdir '/tmp/drush_make_tmp_1300525778'
Executing: mkdir '/tmp/drush_make_tmp_1300525778/__download__'
Executing: ls '/tmp/drush_make_tmp_1300525778/__download__'
Calling chdir(/tmp/drush_make_tmp_1300525778/__download__)
Executing: curl -LOD '/tmp/drush_make_tmp_1300525778/__header__' 'http://bit.ly/gOT8mp'
Calling chdir(/var/www/testing2)
Executing: ls '/tmp/drush_make_tmp_1300525778/__download__'
Executing: mv '/tmp/drush_make_tmp_1300525778/__download__/gOT8mp' '/tmp/drush_make_tmp_1300525778/drupalorg_testing.make.bootstrap'
Executing: rm -f '/tmp/drush_make_tmp_1300525778/__header__'
Executing: rm -rf '/tmp/drush_make_tmp_1300525778/__download__'
Calling unlink(/tmp/drush_make_tmp_1300525778/drupalorg_testing.make.bootstrap)
Command dispatch complete [notice]
quickstart@qs091:/var/www/testing2$

I am using quickstart project having ubuntu 10.10. It has drush and srush make installed.

CommentFileSizeAuthor
#9 drupalorg_make_verbose.txt107.5 KBSheldon Rampton
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

naxoc’s picture

No directory appears? If no do you have write permissons to /var/www/2drupal?

princemishra’s picture

yes /var/www has 777 permissions!

quickstart@qs091:/var$ ls -l
total 40
drwxr-xr-x  2 root       root  4096 2011-03-24 13:53 backups
drwxr-xr-x 19 root       root  4096 2011-03-12 11:25 cache
drwxr-xr-x 62 root       root  4096 2011-03-12 11:25 lib
drwxrwsr-x  2 root       staff 4096 2010-10-07 04:15 local
drwxrwxrwt  3 root       root    60 2011-03-24 13:54 lock
drwxr-xr-x 17 root       root  4096 2011-03-24 13:53 log
drwxrwsr-x  2 root       mail  4096 2010-10-07 10:56 mail
drwxr-xr-x  2 root       root  4096 2010-10-07 10:56 opt
drwxr-xr-x 15 root       root   680 2011-03-24 14:35 run
drwxr-xr-x  6 root       root  4096 2011-03-12 12:01 spool
drwxrwxrwt  3 root       root  4096 2011-03-19 18:21 tmp
drwxrwxrwx 20 quickstart root  4096 2011-03-24 17:04 www
quickstart@qs091:/var$

changed the ownership of /var/www to quickstart user, still no luck!

naxoc’s picture

Hmm. Weird. And you have git installed too?

princemishra’s picture

yes git is installed! I am using the quickstart VM http://drupal.org/project/quickstart
Are there any other services that need to run (e.g. gitosis) for it to function?

naxoc’s picture

No, I don't think any other services are needed for it to function. It is working fine for me. Is there a way you can run it without the quickstart project?

princemishra’s picture

I could not get "drush make" working on my ubuntu 10.04 box so I went for quickstart. I'll try doing that on fedora today but that will take some time. Meanwhile, can you provide me an alternate download location of the profile that does not require drush? Something like "extract and go" like they have provided for 1.x-dev releases?

webchick’s picture

Status: Active » Postponed (maintainer needs more info)

http://drupalcode.org/project/drupalorg_testing.git/snapshot/refs/heads/... is a snapshot of the profile, if that's what you mean?

Both the instructions and the code have changed since this was posted, so curious to see if it's still a problem.

princemishra’s picture

tried that again.....no luck..!!
no output shown.

Sheldon Rampton’s picture

FileSize
107.5 KB

I don't know if I'm experiencing the same problems as the problem documented in this ticket, but drush make isn't working for me either. Everything seems to go smoothly until I get these three lines:

Unable to clone jquery_ui from https://github.com/jquery/jquery-ui. [error]
Unable to clone jquery_ui_2 from https://github.com/jquery/jquery-ui. [error]
Unable to clone glip from https://github.com/halstead/glip. [error]

Drush make then terminates, but the desired codebase is not created.

I'm attaching a text file listing the results of drush make http://bit.ly/gOT8mp --prepare-install --verbose --working-copy /Users/sheldonrampton/Sites/civic_commons/mydrupalorg

It contains a bunch of lines that look like this:


Executing: mkdir '/var/folders/Gc/GcPhicOsE14HLEYXbtn+3U+++TM/-Tmp-/drush_make_tmp_1309395789/__download__'
Executing: ls '/var/folders/Gc/GcPhicOsE14HLEYXbtn+3U+++TM/-Tmp-/drush_make_tmp_1309395789/__download__'
Calling chdir(/var/folders/Gc/GcPhicOsE14HLEYXbtn+3U+++TM/-Tmp-/drush_make_tmp_1309395789/__download__)
Executing: curl -LOD '/var/folders/Gc/GcPhicOsE14HLEYXbtn+3U+++TM/-Tmp-/drush_make_tmp_1309395789/__header__' 'http://updates.drupal.org/release-history/google_analytics/6.x'
Calling chdir(/Users/sheldonrampton/Sites/civic_commons)
Executing: ls '/var/folders/Gc/GcPhicOsE14HLEYXbtn+3U+++TM/-Tmp-/drush_make_tmp_1309395789/__download__'
Executing: mv '/var/folders/Gc/GcPhicOsE14HLEYXbtn+3U+++TM/-Tmp-/drush_make_tmp_1309395789/__download__/6.x' '/var/folders/Gc/GcPhicOsE14HLEYXbtn+3U+++TM/-Tmp-/drush_make_tmp_1309395789/6.x'
Executing: rm -f '/var/folders/Gc/GcPhicOsE14HLEYXbtn+3U+++TM/-Tmp-/drush_make_tmp_1309395789/__header__'
Executing: rm -rf '/var/folders/Gc/GcPhicOsE14HLEYXbtn+3U+++TM/-Tmp-/drush_make_tmp_1309395789/__download__'
Calling unlink(/var/folders/Gc/GcPhicOsE14HLEYXbtn+3U+++TM/-Tmp-/drush_make_tmp_1309395789/6.x)
Project information for google_analytics retrieved.                                                                                                [ok]

It appears to me that drush is creating the build in the temporary directory listed above -- /var/folders/Gc/GcPhicOsE14HLEYXbtn+3U+++TM/-Tmp-/drush_make_tmp_1309395789 -- but then terminates without copying the build into its intended destination.

As confirmation for this theory, ls /var/folders/Gc/GcPhicOsE14HLEYXbtn+3U+++TM/-Tmp-/drush_make_tmp_1309395789 returns the following result:

__build__
__git__

__build__ contains a Drupal codebase, and inside the profiles directory it contains a directory drupalorg_testing which seems to contain the expected modules. However, the profile's libraries directory only contains two empty directories for glip and jquery.ui.

Is it possible that drush_make is failing to retrieve the libraries and therefore exiting early before moving the build from its temporary location to the target directory?

naxoc’s picture

@Sheldon Rampton did you use the master branch?

Sheldon Rampton’s picture

@naxoc I just used drush make http://bit.ly/gOT8mp --prepare-install --working-copy /pathto/mydirectory

That should be master, right?

moshe weitzman’s picture

drush make just worked for me using instructions on project page.

Sheldon Rampton’s picture

moshe, do you know what accounts for the difference between your experience on March 13 and your experience today?

greg.1.anderson’s picture

I had experiences similar to the reports above a couple of days ago, but find it to be working yesterday and today. I did not check the history in git, but I do no think that my technique changed.

Note that if you get errors from drush make, then the target directory is removed. Some errors are okay -- for example, patch files that are already applied will show an error message, but the make will still succeed. Running drush make with --debug might show you what is going wrong.

A couple of other things of note: the makefile uses "master" for the version of a number of components, which can cause the makefile to fail if something bad gets checked in to any of these modules. This could explain transient failures of the makefile. See also #1204682: makefile isn't getting versioncontrol module.

greg.1.anderson’s picture

Status: Postponed (maintainer needs more info) » Fixed

I am confused by my results from #14 now, as it seems that the instructions from the project page should have been broken since 20 May, when the apachesolr project added an apachesolr.make file that must be called with --no-core. See #1227940: Module dependency fixes to drupalorg_testing.make.

To get drupalorg_testing.make to build today, first patch drush_make with #1206340: introduce an options array in the root level of the makefile, then grab drupalorg_testing.make.bootstrap, patch it with #1227940: Module dependency fixes to drupalorg_testing.make, and then run it via:

drush make drupalorg_testing/drupalorg_testing.make.bootstrap --prepare-install --working-copy /srv/www/drupalorg

n.b. that is the same line from the project page instructions, except with the short url to drupalorg_testing.make.bootstrap replaced with a path to your patched version.

The instructions on the project page should just work again once all of the above referenced patches are committed. Marking this as 'fixed' for now, although it is likely that it periodically become a problem again if dependent components pulled from master break.

naxoc’s picture

greg.1.anderson are you using the 3.0-dev of drush make? I can't make this work at all :-\

greg.1.anderson’s picture

I'm using the 6.x-3.x branch pulled from git on 14 July, patched as mentioned in #15. Don't forget to patch drupalorg_testing.make.bootstrap with the patch from #1227940: Module dependency fixes to drupalorg_testing.make.

This will get easier once these patches are committed to their respective projects. Also, I am suspecting now that perhaps in #14 I was using the exact versions of drush and drush_make recommended on the drupalorg_testing project page, whereas in #15 I was using master of drush and drush_make. Didn't go back and test that theory, though.

greg.1.anderson’s picture

The instructions on the project page seem to be working w/out modification today on either drush_make 2.x or 3.x.

Status: Fixed » Closed (fixed)

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