Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build-error "use of internal package not allowed" when using Go 1.6 on ArchLinux #21

Closed
tradem opened this issue Apr 2, 2016 · 8 comments

Comments

@tradem
Copy link

tradem commented Apr 2, 2016

Hi,

im currently trying to compile gocryptfs by using the bash script which ends in the following build error:

package .
    imports github.com/rfjakob/gocryptfs/internal/configfile: use of internal package not allowed
package .
    imports github.com/rfjakob/gocryptfs/internal/contentenc: use of internal package not allowed
package .
    imports github.com/rfjakob/gocryptfs/internal/cryptocore: use of internal package not allowed
package .
    imports github.com/rfjakob/gocryptfs/internal/fusefrontend: use of internal package not allowed
package .
    imports github.com/rfjakob/gocryptfs/internal/nametransform: use of internal package not allowed
package .
    imports github.com/rfjakob/gocryptfs/internal/toggledlog: use of internal package not allowed

go build produces the same result.

Any hints or advice to overcome this build error. I am using Go 1.6.

BTW: Building with gcc-go results in

could not determine kind of name for C.SSLv3_method

I installed openssl (there is no extra dev-Packge for ArchLinux) before.

@rfjakob
Copy link
Owner

rfjakob commented Apr 2, 2016 via email

@rfjakob
Copy link
Owner

rfjakob commented Apr 3, 2016

Hmm. I cannot reproduce this, it builds just fine on my machine with Go 1.6. I have added Go 1.6 to the Travis build options, and it seems to work there as well: https://travis-ci.org/rfjakob/gocryptfs/jobs/120486918

@alphazo
Copy link

alphazo commented Apr 26, 2016

Same issue here on ArchLinux. According to one member from the ArchLinux forum:

The problem is that it's looking for SSLv3, which Arch doesn't ship as it's old and insecure

For information ArchLinux currently ships with openssl 1.0.2.g-3.

@rfjakob
Copy link
Owner

rfjakob commented Apr 26, 2016 via email

@rfjakob
Copy link
Owner

rfjakob commented Apr 27, 2016

Ok I have begun working on this, seems to be doable. Stay tuned, I think I can finish it next week.

rfjakob added a commit that referenced this issue May 1, 2016
This will allow us to get rid of the dependency to spacemonkeygo/openssl
that causes problems on Arch Linux
( #21 )
rfjakob added a commit that referenced this issue May 4, 2016
...complete with tests and benchmark.

This will allow us to get rid of the dependency to spacemonkeygo/openssl
that causes problems on Arch Linux
( #21 )
@rfjakob
Copy link
Owner

rfjakob commented May 4, 2016

I have just released gocryptfs v0.10-rc1 that has dropped the dependency to spacemonkeygo. Please give it a try!

@alphazo
Copy link

alphazo commented May 4, 2016

Thanks. It compiles just fine now under ArchLinux.

@rfjakob rfjakob closed this as completed May 8, 2016
@alphazo
Copy link

alphazo commented May 9, 2016

FYI, gocryptfs can now easily be compiled & installed on ArchLinux via AUR.

https://aur.archlinux.org/packages/gocryptfs/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants