Package Details: shiny-server-git 1:1.5.21.1012.r0.gbe6a189-1

Git Clone URL: https://aur.archlinux.org/shiny-server-git.git (read-only, click to copy)
Package Base: shiny-server-git
Description: Host Shiny applications over the web
Upstream URL: https://rstudio.com/shiny/server
Licenses: AGPL3
Conflicts: shiny-server
Provides: shiny-server
Submitter: hwkiller
Maintainer: a821
Last Packager: a821
Votes: 6
Popularity: 0.000000
First Submitted: 2014-01-11 06:46 (UTC)
Last Updated: 2023-12-17 21:43 (UTC)

Dependencies (7)

Required by (0)

Sources (4)

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

ConorIA commented on 2018-04-04 02:47 (UTC) (edited on 2018-05-20 23:26 (UTC) by ConorIA)

The pkver() function also needs to be corrected to pkgver() (it is missing the 'g') and updated. This might also mean changing the epoch, since 1.5 is smaller than 20160223.

pkgver(){
  cd "$srcdir/$_gitname"
  git describe --tags --long | sed -E 's/v//;s/([^-]*-g)/r\1/;s/-/./g'
}

ConorIA commented on 2018-04-04 02:15 (UTC) (edited on 2018-04-04 02:18 (UTC) by ConorIA)

Looks like we'll need a call to external/node/install-node.sh.

https://github.com/rstudio/shiny-server/commit/2a1555c577b9fb43f916bd8ddcc4bf7b94f2a0c6

EDIT: Adding (cd .. && external/node/install-node.sh) before the other two similar lines does the trick.

tealeaf commented on 2018-03-21 21:35 (UTC)

@hwkiller: I can confirm that this works changing the references to gcc-6/gcc6/g++-6, but fails with the existing PKGBUILD with gcc-5 references. (I haven't tested gcc7.)

I'm reporting it here, as I've now reproduced this across a couple of systems. Would it be possible to update the PKGBUILD to gcc6?

SataMaxx commented on 2017-11-22 21:50 (UTC)

@hwkiller sorry I didn't see your comment! There is an issue on the shiny-server github about compilation under Arch : https://github.com/rstudio/shiny-server/issues/207 Apparently it's supposed to be fixed, but building fails for now (when trying to recompile the npm modules included in shiny-server), with gcc7.

hwkiller commented on 2017-09-26 15:21 (UTC)

Ah, it seems to be due to the CFLAGS. The newest arch linux makepkg.conf has -fno-plt in the CFLAGS and CXXFLAGS. I don't have that switch currently. For the time being, you can temporarily remove that from your CFLAGS. Could also try the gcc-6 option; I haven't tested that yet. If you want to, just change anything that references gcc-5 to gcc-6.

hiberbear commented on 2017-09-26 14:30 (UTC)

@hwkiller here is the error message:==> Starting build()... -- The C compiler identification is GNU 5.4.0 -- The CXX compiler identification is GNU 5.4.0 -- Check for working C compiler: /bin/gcc-5 -- Check for working C compiler: /bin/gcc-5 -- broken CMake Error at /usr/share/cmake-3.9/Modules/CMakeTestCCompiler.cmake:51 (message): The C compiler "/bin/gcc-5" is not able to compile a simple test program. It fails with the following output: Change Dir: /tmp/yaourt-tmp-shao/aur-shiny-server-git/src/shiny-server/tmp/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_ac53c/fast" /usr/bin/make -f CMakeFiles/cmTC_ac53c.dir/build.make CMakeFiles/cmTC_ac53c.dir/build make[1]: Entering directory '/tmp/yaourt-tmp-shao/aur-shiny-server-git/src/shiny-server/tmp/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_ac53c.dir/testCCompiler.c.o /bin/gcc-5 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -o CMakeFiles/cmTC_ac53c.dir/testCCompiler.c.o -c /tmp/yaourt-tmp-shao/aur-shiny-server-git/src/shiny-server/tmp/CMakeFiles/CMakeTmp/testCCompiler.c gcc-5: error: unrecognized command line option ‘-fno-plt’ make[1]: *** [CMakeFiles/cmTC_ac53c.dir/build.make:66: CMakeFiles/cmTC_ac53c.dir/testCCompiler.c.o] Error 1 make[1]: Leaving directory '/tmp/yaourt-tmp-shao/aur-shiny-server-git/src/shiny-server/tmp/CMakeFiles/CMakeTmp' make: *** [Makefile:126: cmTC_ac53c/fast] Error 2 CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:3 (project) -- Configuring incomplete, errors occurred! See also "/tmp/yaourt-tmp-shao/aur-shiny-server-git/src/shiny-server/tmp/CMakeFiles/CMakeOutput.log". See also "/tmp/yaourt-tmp-shao/aur-shiny-server-git/src/shiny-server/tmp/CMakeFiles/CMakeError.log". ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Makepkg was unable to build shiny-server-git. ==> Restart building shiny-server-git ? [y/N] ==> -----------------------------------------

hwkiller commented on 2017-09-25 17:56 (UTC)

I'm not sure why it is not working for you. I just re-created my package and it seems to compile and package up just fine?

hiberbear commented on 2017-09-22 13:29 (UTC)

The shiny package could not be installed. @marekpetrik, where part have you modified to make it work?

marekpetrik commented on 2017-09-14 12:21 (UTC)

The package does not compile for me. Some of the command line arguments appear to be incompatible with gcc-5. It does not compile with gcc-7 either. But compiles and installs fine with gcc-6. It also seems to be running fine.