<div dir="ltr">But why did I install htop on my DragonflyBSD with no problem? <div><br></div><div>I installed htop version 3.5.0, but your log files are for 3.4.0, due to my attached screenshot.</div><div><br></div><div>Is there any step-by-step tutorial (like I said) for porting any software to DragonflyBSD?</div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Tue, May 13, 2025 at 7:59 PM Justin Sherrill <<a href="mailto:justin@shiningsilence.com">justin@shiningsilence.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">It already exists in ports/dports. It's not showing up to install<br>
because the build fails on DragonFly. You can see the reason for the<br>
most recent failure by looking it up on the build machine, ironman.<br>
<br>
<a href="https://ironman.dragonflybsd.org/dports/snap-failures/Report/" rel="noreferrer" target="_blank">https://ironman.dragonflybsd.org/dports/snap-failures/Report/</a> (search<br>
for "htop")<br>
<br>
You'll see a link to the logfile of the failure:<br>
<br>
<a href="https://ironman.dragonflybsd.org/dports/snap-failures/sysutils___htop.log" rel="noreferrer" target="_blank">https://ironman.dragonflybsd.org/dports/snap-failures/sysutils___htop.log</a><br>
<br>
It fails when applying some DragonFly-specific patches. My first<br>
guess is that the version of htop changed and so the patches no longer<br>
apply cleanly. You can go through the process on the page you linked<br>
about dports and build the whole toolset so you can duplicate the<br>
error and try to change the patchfiles to get them to work. You could<br>
pull down the patches by themselves (<br>
<a href="https://github.com/DragonFlyBSD/DPorts/tree/master/sysutils/htop" rel="noreferrer" target="_blank">https://github.com/DragonFlyBSD/DPorts/tree/master/sysutils/htop</a> ) and<br>
try applying them as a shortcut, though it may not help anything if<br>
the error isn't obvious.<br>
<br>
On Tue, May 13, 2025 at 5:49 PM Sayed Mohammad Badiezadegan<br>
<<a href="mailto:mbzadegan@gmail.com" target="_blank">mbzadegan@gmail.com</a>> wrote:<br>
><br>
> Hi Everybody,<br>
><br>
> I have a question about porting "htop" to DragonflyBSD Dports.<br>
><br>
> I installed "htop" on my DragonFlyBSD from its source on GitHub. Now, how can I port it to the DragonflyBSD dport repository so that everyone can install it with the command "pkg install htop"<br>
><br>
> Is there any step-by-step tutorial that I can find on how I port software?<br>
> I can not find out what I should do after reading this page:<br>
> <a href="https://www.dragonflybsd.org/docs/howtos/DPortsContributions/" rel="noreferrer" target="_blank">https://www.dragonflybsd.org/docs/howtos/DPortsContributions/</a><br>
><br>
> Thank you.<br>
><br>
</blockquote></div>