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

Add Web Station/PHP5.6 as dependency #2591

Closed
wants to merge 1 commit into from

Conversation

A----
Copy link

@A---- A---- commented Jan 9, 2017

Motivation: Add required dependencies to ruTorrent
Linked issues: #2215

Checklist

  • Build rule all-supported completed successfully
  • Package upgrade completed successfully
  • New installation of package completed successfully

Can't make all on a Windows host?

debootstrap --foreign --arch powerpc jessie /spksrc/spk/debian-chroot/work/staging/var/chroottarget "http://ftp.debian.org/debian"
mknod: '/spksrc/spk/debian-chroot/work/staging/var/chroottarget/test-dev-null': Operation not permitted
E: Cannot install into target '/spksrc/spk/debian-chroot/work/staging/var/chroottarget' mounted with noexec or nodev
Makefile:55: recipe for target 'debian-chroot_extra_install' failed

Sorry :(

@Dr-Bean
Copy link
Contributor

Dr-Bean commented Jan 9, 2017

Can't make all on a Windows host?

I don't understand what this means. See the README for instructions on how to set up a development environment.

@Dr-Bean
Copy link
Contributor

Dr-Bean commented Jan 9, 2017

This also needs a change to the Makefile. See https://github.com/SynoCommunity/spksrc/blob/master/spk/cops/Makefile#L23, otherwise the dir won't be included. Hence the request to check if the package compiles and works correctly :)

@A----
Copy link
Author

A---- commented Jan 9, 2017

I tried, but doing a make all in the container tries to do a mknod /spksrc/spk/debian-chroot/work/staging/var/chroottarget/test-dev-null, which it cannot do since its a docker volume and the underlying FS does not support this (Windows, non-hyper-V).

At least that's my guess.

@Dr-Bean
Copy link
Contributor

Dr-Bean commented Jan 9, 2017

This is a PR for rutorrent, no? Why run a make all in the first place? It has a very specific use, and you'll generally have no need to run that command.
Enter the rutorrent dir, and run make all-supported instead.

@Dr-Bean
Copy link
Contributor

Dr-Bean commented Jan 9, 2017

After re-reading your comment, I think I understand the confusion. Take a look at this link for some information on how spksrc works: https://github.com/SynoCommunity/spksrc/wiki/Developers-HOW-TO

@A----
Copy link
Author

A---- commented Jan 9, 2017

Thanks, I did not find this doc. Currently downloading things! (toolchains)

@A----
Copy link
Author

A---- commented Jan 10, 2017

The docker method cannot work on a Windows host, when doing a make all-supported in the package folder. It tries to create sym and hard-links is the mounted volume /spksrc, which it does not know how to handle.
I copied /spksrc to another folder insisde the container and its now building.

I'll add the conf and rebuild if it all goes right.

@ghost
Copy link

ghost commented Jan 24, 2017

Do you know how to get ruTorrent running for DSM6?

@A----
Copy link
Author

A---- commented Jan 30, 2017

I'm sorry, but I can't make it work on my Docker environment. It's still the old Docker Toolbox, not the Docker for Windows. Sorry 🤷‍♂️

@bamtan check #2215 . I made it work

@Dr-Bean
Copy link
Contributor

Dr-Bean commented Jan 30, 2017

@A---- I'm not sure how to interpret your comment, but assuming you're talking about not getting (whatever flavor of) Docker on a Windows platform to work for compiling: Try using the VM approach instead: https://github.com/SynoCommunity/spksrc#virtual-machine. Imo, that's still the preferred method, because of the complete isolation of the host. Even using Docker on *nix has downsides for cross-compiling.

Also, if Docker for Windows doesn't work in general, then we should probably add that info to the README. I haven't a clue, I don't use Windows myself, so I'm going off of your issue description here ;)

@ghost
Copy link

ghost commented Jan 30, 2017

@A---- is there anywhere I can contact you? i'd love some help on setting ruTorrent up on a DS216j (no Docker support).

@A----
Copy link
Author

A---- commented Jan 30, 2017

@Dr-Bean I'm not sure that it does not work, someone would have to confirm that.
@bamtan Please check the issue #2215, it has all the information I have on the subject. Namely, install Webstation prior to ruTorrent and how to pass the PATH env variable for it to work.

@ghost
Copy link

ghost commented Jan 31, 2017

@A---- I still get Error 403 when trying to access ruTorrent, could you write a tutorial on setting this up? Reading through #2215 is quite confusing for me. I'd appreciate it a lot. Are you on IRC by any chance? Perhaps I can contact you on there for assistance?

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

Successfully merging this pull request may close these issues.

3 participants