❦  1 septembre 2013 22:50 CEST, Michael Stapelberg <[email protected]> :

>> OK. But fixing the error is not sufficient. Can't those examples be
>> compiled if they are not in a separate directory? I am a total noob with
>> Go.
> The problem is that each of the examples is declaring it is the package
> “main” with a function called “main”, and that’s not okay if they are in
> the same directory.
>
>> Last commit is one year and a half. I am only packaging it because it is
>> a reverse dependency of ngrok that I would like to package.
> Maybe ngrok could be convinced to switch to Go’s internal log package?

Hi Michael!

I am unconfortable about both options. In many communities, Debian guys
already have the reputation to be difficult to accomodate, asking things
nobody else is asking. So, I would not like to start asking ngrok to use
another log package while they are happy with the current one or log4go
to make the examples compilable while I could install them just as
examples.

Instead, I will come with a patch for dh-golang to allow to specify
which packages should be compiled (and default to ...). In the meantime,
I will look at the other dependencies.
-- 
Make sure every module hides something.
            - The Elements of Programming Style (Kernighan & Plauger)

Attachment: signature.asc
Description: PGP signature

Reply via email to