Ticket #2290 (new defect)
Solaris patch command is not compatible with GNU patch
| Reported by: | adiroiban | Owned by: | |
|---|---|---|---|
| Priority: | patches-accepted | Milestone: | 0.8.+ |
| Version: | 0.8.5 | Keywords: | sprint |
| Cc: | adi@… |
Description
On Solaris, the default patch command is not compatible with the GNU Patch for which Buildbot was designed.
On Solaris users can install the gpatch package which is the GNU patch command.
For system where only buildbot is running users can replace the /bin/patch with gpatch and buildbot works.
Another option is to change Buildbot to use gpatch on Solaris.
I just wanted to know if you think that this is a bug, and if things can be improved, what changed would like you like to see in buildbot.
Thanks!
Change History
comment:2 Changed 12 months ago by dustin
- Milestone changed from undecided to 0.8.+
adiroiban, do you want to work up a patch or pull request for this?
comment:3 Changed 12 months ago by adiroiban
Hi,
Sorry for taking so long to reply.
I will for toward providing a fix for this. I will submit the work over github.
Thanks for the ping.
Adi
comment:4 Changed 10 months ago by adiroiban
- Cc adi@… added
Hi,
I have created an initial pull request for fixing this ticket.
The request is at: https://github.com/buildbot/buildbot/pull/474
Is still requires more work but I just want to know if this is the right direction.
Thanks!
![[Buildbot Logo]](/chrome/site/header-text-transparent.png)
I don't think Buildbot should automatically try to do anything. But having an option to specify the patch command sounds like a good plan.