SOLVED: plone.recipe.haproxy-1.1.1 : Failed to compile with user options when archive has a subdirectory
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
collective.buildout |
New
|
Undecided
|
Unassigned |
Bug Description
Hi,
I have tried to install haproxy on a Solaris system using plone.recipe.
[haproxy-build]
recipe = plone.recipe.
url = http://
cpu = ultrasparc
target = solaris
#pcre = 1
Then it fails, trying to compile the software for "generic" target ignoring user defined parameters.
The fact is that in file plone.recipe.
try:
try:
if not os.path.
except:
raise
If archive contains a subdirectory, like in http://
Below is a proposed patch:
*** 99,108 ****
! else:
! optionstring = ' '.join(
! ['='.join(x) for x in buildoptions.
! system("make %s %s" % (optionstring, extra_options))
--- 99,108 ----
!
! optionstring = ' '.join(
! ['='.join(x) for x in buildoptions.
! system("make %s %s" % (optionstring, extra_options))
Hope this can help.
Best regards.
summary: |
- plone.recipe.haproxy-1.1.1 : Failed to compile with user options when - archive has a subdirectory + SOLVED: plone.recipe.haproxy-1.1.1 : Failed to compile with user options + when archive has a subdirectory |