Bug 203919 - deskutils/owncloudclient: Add a DEBUG option
Summary: deskutils/owncloudclient: Add a DEBUG option
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Kubilay Kocak
URL:
Keywords: easy, patch, patch-ready
Depends on:
Blocks:
 
Reported: 2015-10-21 08:17 UTC by Yonas Yanfa
Modified: 2015-10-25 10:39 UTC (History)
0 users

See Also:


Attachments
Enable debugging (506 bytes, patch)
2015-10-21 08:17 UTC, Yonas Yanfa
no flags Details | Diff
Core dump back trace (13.45 KB, text/plain)
2015-10-22 04:26 UTC, Yonas Yanfa
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yonas Yanfa 2015-10-21 08:17:19 UTC
Created attachment 162275 [details]
Enable debugging

From https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203885

> A DEBUG option for the port might be handy to make user debugging easier in future.

I've attached a patch that might work (currently building, which takes a while).
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2015-10-21 08:37:25 UTC
Let me know when it passes and I'll commit, the change is ready in my local tree.
Comment 2 Yonas Yanfa 2015-10-22 04:25:04 UTC
Seems to work for me!
Comment 3 Yonas Yanfa 2015-10-22 04:26:54 UTC
Created attachment 162341 [details]
Core dump back trace

Here's a core dump back trace after DEBUG was enabled.
Comment 4 Yonas Yanfa 2015-10-25 10:13:42 UTC
@Kubilay Did you find any issues?
Comment 5 Kubilay Kocak freebsd_committer freebsd_triage 2015-10-25 10:25:15 UTC
@Yonas, I did not, thank you for the reminder :)

ETA < 60 minutes.
Comment 6 commit-hook freebsd_committer freebsd_triage 2015-10-25 10:38:48 UTC
A commit references this bug:

Author: koobs
Date: Sun Oct 25 10:38:28 UTC 2015
New revision: 400148
URL: https://svnweb.freebsd.org/changeset/ports/400148

Log:
  deskutils/owncloudclient: Add DEBUG option

  Add a debug option allowing users to easily enable debug builds. This can help
  isolation of particular bugs (like crashes) [1]

  [1] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203885

  PR:		203919
  Submitted by:	Yonas Yanfa <yonas fizk net> (maintainer)

Changes:
  head/deskutils/owncloudclient/Makefile
Comment 7 Kubilay Kocak freebsd_committer freebsd_triage 2015-10-25 10:39:05 UTC
Committed, thank you!