R package issues deploying shiny to beta.rstudioconnect.com - r

I had a shiny app that was deploying without problems on beta.rstudioconnect.com. I added some maps to it and then could no longer get it to work; one of the packages did not appear to be supported. I thought I might be able to get around this by using packrat on my project before deploying. However that didn't work. Now I can't seem to go back to my original version and don't understand where the problem lies. Does any of the following make any sense to anyone? what do I have to do to get back to my original (working) shiny? I had to take some lines out of the output to fit it in here:
Preparing to deploy application...DONE
Uploading bundle for application: 2539...DONE
Deploying bundle: 5321 for application: 2539 ...
Bundle requested R version 3.3.2; using /opt/R/3.3.1/bin/R which has version 3.3.1
2017/02/19 12:05:49.268297412 # Validating R library read / write permissions --------------------------------
2017/02/19 12:05:49.297061610 # Validating packrat installation ----------------------------------------------
2017/02/19 12:05:49.297171083 Installed packrat SHA is: 00bce0ead9f58d31c29e65fb7b87858586356f15
2017/02/19 12:05:49.297294331 Packaged packrat SHA is: 00bce0ead9f58d31c29e65fb7b87858586356f15
2017/02/19 12:05:49.298977087 Packrat is up-to-date.
2017/02/19 12:05:49.299134572 R version: 3.3.1
2017/02/19 12:05:49.299203258 packrat version: 0.4.8.11
2017/02/19 12:05:49.299948491 # Validating packrat cache read / write permissions ----------------------------
2017/02/19 12:05:49.494836685 Audited package hashes with local packrat installation.
2017/02/19 12:05:49.498803369 # Installing required R packages with `packrat::restore()` ---------------------
2017/02/19 12:05:51.169831244 Installing BH (1.62.0-1) ...
2017/02/19 12:05:51.182200494 Using cached BH.
2017/02/19 12:05:51.182461055 OK (symlinked cache)
2017/02/19 12:05:51.182679371 Installing DBI (0.5-1) ...
17/02/19 12:05:51.584223157 Installing packrat (0.4.8-1) ...
2017/02/19 12:05:51.595465126 Using cached packrat.
2017/02/19 12:05:51.595776430 OK (symlinked cache)
...
2017/02/19 12:05:52.163895821 Installing maptools (0.8-39) ...
2017/02/19 12:05:52.178467525 Using cached maptools.
2017/02/19 12:05:52.178690072 OK (symlinked cache)
2017/02/19 12:05:52.178939945 Installing dplyr (0.5.0) ...
2017/02/19 12:05:52.200480032 Using cached dplyr.
2017/02/19 12:05:52.200709370 OK (symlinked cache)
2017/02/19 12:05:52.200956042 Installing feather (0.3.1) ...
2017/02/19 12:06:05.282400309 [1] "Command failed (1)\n\nFailed to run system command:\n\n\t'/opt/R/3.3.1/lib/R/bin/R' --vanilla CMD INSTALL '/tmp/RtmpssUwbS/feather' --library='/opt/rstudio-connect/mnt/app/packrat/lib/x86_64-pc-linux-gnu/3.3.1' --install-tests --no-docs --no-multiarch --no-demo \n\nThe command failed with output:\n* installing *source* package 'feather' ...\n** package 'feather' successfully unpacked and MD5 sums checked\nPlatform is little endian. Good.\n** libs\ng++ -std=c++0x -I/opt/R/3.3.1/lib/R/include -DNDEBUG -I. -I/usr/local/include -I\"/opt/rstudio-connect/mnt/app/packrat/lib/x86_64-pc-linux-gnu/3.3.1/Rcpp/include\" -fpic -g -O2 -c RcppExports.cpp -o RcppExports.o\ng++ -std=c++0x -I/opt/R/3.3.1/lib/R/include -DNDEBUG -I. -I/usr/local/include -I\"/opt/rstudio-connect/mnt/app/packrat/lib/x86_64-pc-linux-gnu/3.3.1/Rcpp/include\" -fpic -g -O2 -c feather-read.cpp -o feather-read.o\ng++ -std=c++0x -I/opt/R/3.3.1/lib/R/include -DNDEBUG -I. -I/usr/local/include... <truncated>
t/mnt/app/packrat/lib/x86_64-pc-linux-gnu/3.3.1/Rcpp/include\" -fpic -g -O2 -c feather-types.cpp -o feather-types.o\ng++ -std=c++0x -I/opt/R/3.3.1/lib/R/include -DNDEBUG -I. -I/usr/local/include -I\"/opt/rstudio-connect/mnt/app/packrat/lib/x86_64-pc-linux-gnu/3.3.1/Rcpp/include\" -fpic -g -O2 -c feather-write.cpp -o feather-write.o\nIn file included from feather/api.h:24:0,\n from feather-read.cpp:4:\n./feather/common.h:24:28: error: both 'const' and 'constexpr' cannot be used here\n./feather/common.h:25:28: error: both 'const' and 'constexpr' cannot be used here\nIn file included from feather/api.h:25:0,\n from feather-read.cpp:4:\n./feather/io.h:73:29: error: expected ';' at end of member declaration\n./feather/io.h:73:35: error: 'override' does not name a type\n./feather/io.h:74:26: error: expected ';' at end of member declaration\n./feather/io.h:74:28: error: 'override' does not name a type\n./feather/io.h:75:59: error: expected ';' at end of m... <truncated>
ther/io.h:75:61: error: 'override' does not name a type\n./feather/io.h:93:29: error: expected ';' at end of member declaration\n./feather/io.h:93:35: error: 'override' does not name a type\n./feather/io.h:94:26: error: expected ';' at end of member declaration\n./feather/io.h:94:28: error: 'override' does not name a type\n./feather/io.h:95:59: error: expected ';' at end of member declaration\n./feather/io.h:95:61: error: 'override' does not name a type\n./feather/io.h:108:29: error: expected ';' at end of member declaration\n./feather/io.h:108:35: error: 'override' does not name a type\n./feather/io.h:109:26: error: expected ';' at end of member declaration\n./feather/io.h:109:28: error: 'override' does not name a type\n./feather/io.h:110:59: error: expected ';' at end of member declaration\n./feather/io.h:110:61: error: 'override' does not name a type\n./feather/io.h:150:16: error: expected ';' at end of member declaration\n./feather/io.h:150:18: error: 'override' does not name a typ... <truncated>
: error: expected ';' at end of member declaration\n./feather/io.h:151:35: error: 'override' does not name a type\n./feather/io.h:152:51: error: expected ';' at end of member declaration\n./feather/io.h:152:53: error: 'override' does not name a type\n./feather/io.h:172:16: error: expected ';' at end of member declaration\n./feather/io.h:172:18: error: 'override' does not name a type\n./feather/io.h:173:29: error: expected ';' at end of member declaration\n./feather/io.h:173:35: error: 'override' does not name a type\n./feather/io.h:174:51: error: expected ';' at end of member declaration\n./feather/io.h:174:53: error: 'override' does not name a type\nIn file included from feather/api.h:24:0,\n from feather-types.h:2,\n from feather-types.cpp:4:\n./feather/common.h:24:28: error: both 'const' and 'constexpr' cannot be used here\n./feather/common.h:25:28: error: both 'const' and 'constexpr' cannot be used here\nIn file included from feather/api.h:25:0,\n ... <truncated>
er-types.h:2,\n from feather-types.cpp:4:\n./feather/io.h:73:29: error: expected ';' at end of member declaration\n./feather/io.h:73:35: error: 'override' does not name a type\n./feather/io.h:74:26: error: expected ';' at end of member declaration\n./feather/io.h:74:28: error: 'override' does not name a type\n./feather/io.h:75:59: error: expected ';' at end of member declaration\n./feather/io.h:75:61: error: 'override' does not name a type\n./feather/io.h:93:29: error: expected ';' at end of member declaration\n./feather/io.h:93:35: error: 'override' does not name a type\n./feather/io.h:94:26: error: expected ';' at end of member declaration\n./feather/io.h:94:28: error: 'override' does not name a type\n./feather/io.h:95:59: error: expected ';' at end of member declaration\n./feather/io.h:95:61: error: 'override' does not name a type\n./feather/io.h:108:29: error: expected ';' at end of member declaration\n./feather/io.h:108:35: error: 'override' does not name a type\n.... <truncated>
ror: expected ';' at end of member declaration\n./feather/io.h:109:28: error: 'override' does not name a type\n./feather/io.h:110:59: error: expected ';' at end of member declaration\n./feather/io.h:110:61: error: 'override' does not name a type\n./feather/io.h:150:16: error: expected ';' at end of member declaration\n./feather/io.h:150:18: error: 'override' does not name a type\n./feather/io.h:151:29: error: expected ';' at end of member declaration\n./feather/io.h:151:35: error: 'override' does not name a type\n./feather/io.h:152:51: error: expected ';' at end of member declaration\n./feather/io.h:152:53: error: 'override' does not name a type\n./feather/io.h:172:16: error: expected ';' at end of member declaration\n./feather/io.h:172:18: error: 'override' does not name a type\n./feather/io.h:173:29: error: expected ';' at end of member declaration\n./feather/io.h:173:35: error: 'override' does not name a type\n./feather/io.h:174:51: error: expected ';' at end of member declaration\n... <truncated>
rror: 'override' does not name a type\nIn file included from feather/api.h:24:0,\n from feather_types.h:2,\n from RcppExports.cpp:4:\n./feather/common.h:24:28: error: both 'const' and 'constexpr' cannot be used here\n./feather/common.h:25:28: error: both 'const' and 'constexpr' cannot be used here\nIn file included from feather/api.h:25:0,\n from feather_types.h:2,\n from RcppExports.cpp:4:\n./feather/io.h:73:29: error: expected ';' at end of member declaration\n./feather/io.h:73:35: error: 'override' does not name a type\n./feather/io.h:74:26: error: expected ';' at end of member declaration\n./feather/io.h:74:28: error: 'override' does not name a type\n./feather/io.h:75:59: error: expected ';' at end of member declaration\n./feather/io.h:75:61: error: 'override' does not name a type\n./feather/io.h:93:29: error: expected ';' at end of member declaration\n./feather/io.h:93:35: error: 'override' does not name a type\n./fea... <truncated>
expected ';' at end of member declaration\n./feather/io.h:94:28: error: 'override' does not name a type\n./feather/io.h:95:59: error: expected ';' at end of member declaration\n./feather/io.h:95:61: error: 'override' does not name a type\n./feather/io.h:108:29: error: expected ';' at end of member declaration\n./feather/io.h:108:35: error: 'override' does not name a type\n./feather/io.h:109:26: error: expected ';' at end of member declaration\n./feather/io.h:109:28: error: 'override' does not name a type\n./feather/io.h:110:59: error: expected ';' at end of member declaration\n./feather/io.h:110:61: error: 'override' does not name a type\n./feather/io.h:150:16: error: expected ';' at end of member declaration\n./feather/io.h:150:18: error: 'override' does not name a type\n./feather/io.h:151:29: error: expected ';' at end of member declaration\n./feather/io.h:151:35: error: 'override' does not name a type\n./feather/io.h:152:51: error: expected ';' at end of member declaration\n./feathe... <truncated>
verride' does not name a type\n./feather/io.h:172:16: error: expected ';' at end of member declaration\n./feather/io.h:172:18: error: 'override' does not name a type\n./feather/io.h:173:29: error: expected ';' at end of member declaration\n./feather/io.h:173:35: error: 'override' does not name a type\n./feather/io.h:174:51: error: expected ';' at end of member declaration\n./feather/io.h:174:53: error: 'override' does not name a type\nIn file included from feather/api.h:24:0,\n from feather-write.cpp:4:\n./feather/common.h:24:28: error: both 'const' and 'constexpr' cannot be used here\n./feather/common.h:25:28: error: both 'const' and 'constexpr' cannot be used here\nIn file included from feather/api.h:25:0,\n from feather-write.cpp:4:\n./feather/io.h:73:29: error: expected ';' at end of member declaration\n./feather/io.h:73:35: error: 'override' does not name a type\n./feather/io.h:74:26: error: expected ';' at end of member declaration\n./feather/io.h:... <truncated>
does not name a type\n./feather/io.h:75:59: error: expected ';' at end of member declaration\n./feather/io.h:75:61: error: 'override' does not name a type\n./feather/io.h:93:29: error: expected ';' at end of member declaration\n./feather/io.h:93:35: error: 'override' does not name a type\n./feather/io.h:94:26: error: expected ';' at end of member declaration\n./feather/io.h:94:28: error: 'override' does not name a type\n./feather/io.h:95:59: error: expected ';' at end of member declaration\n./feather/io.h:95:61: error: 'override' does not name a type\n./feather/io.h:108:29: error: expected ';' at end of member declaration\n./feather/io.h:108:35: error: 'override' does not name a type\n./feather/io.h:109:26: error: expected ';' at end of member declaration\n./feather/io.h:109:28: error: 'override' does not name a type\n./feather/io.h:110:59: error: expected ';' at end of member declaration\n./feather/io.h:110:61: error: 'override' does not name a type\n./feather/io.h:150:16: error: exp... <truncated>
er declaration\n./feather/io.h:150:18: error: 'override' does not name a type\n./feather/io.h:151:29: error: expected ';' at end of member declaration\n./feather/io.h:151:35: error: 'override' does not name a type\n./feather/io.h:152:51: error: expected ';' at end of member declaration\n./feather/io.h:152:53: error: 'override' does not name a type\n./feather/io.h:172:16: error: expected ';' at end of member declaration\n./feather/io.h:172:18: error: 'override' does not name a type\n./feather/io.h:173:29: error: expected ';' at end of member declaration\n./feather/io.h:173:35: error: 'override' does not name a type\n./feather/io.h:174:51: error: expected ';' at end of member declaration\n./feather/io.h:174:53: error: 'override' does not name a type\nmake: *** [feather-types.o] Error 1\nmake: *** Waiting for unfinished jobs....\nmake: *** [feather-read.o] Error 1\nmake: *** [RcppExports.o] Error 1\nmake: *** [feather-write.o] Error 1\nERROR: compilation failed for package 'feather'\n* re... <truncated>
nect/mnt/app/packrat/lib/x86_64-pc-linux-gnu/3.3.1/feather'"
2017/02/19 12:06:05.283810404 Error: Command failed (1)
2017/02/19 12:06:05.283822886
2017/02/19 12:06:05.283836187 Failed to run system command:
2017/02/19 12:06:05.283839368
2017/02/19 12:06:05.283847263 '/opt/R/3.3.1/lib/R/bin/R' --vanilla CMD INSTALL '/tmp/RtmpssUwbS/feather' --library='/opt/rstudio-connect/mnt/app/packrat/lib/x86_64-pc-linux-gnu/3.3.1' --install-tests --no-docs --no-multiarch --no-demo
2017/02/19 12:06:05.283878906
2017/02/19 12:06:05.283889984 The command failed with output:
2017/02/19 12:06:05.283899167 * installing *source* package 'feather' ...
2017/02/19 12:06:05.283908105 ** package 'feather' successfully unpacked and MD5 sums checked
2017/02/19 12:06:05.283911064 Platform is little endian. Good.
2017/02/19 12:06:05.283918990 ** libs
2017/02/19 12:06:05.283921520 g++ -std=c++0x -I/opt/R/3.3.1/lib/R/include -DNDEBUG -I. -I/usr/local/include -I"/opt/rstudio-connect/mnt/app/packrat/lib/x86_64-pc-linux-gnu/3.3.1/Rcpp/include" -fpic -g -O2 -c RcppExports.cpp -o RcppExports.o
2017/02/19 12:06:05.283944289 g++ -std=c++0x -I/opt/R/3.3.1/lib/R/include -DNDEBUG -I. -I/usr/local/include -I"/opt/rstudio-connect/mnt/app/packrat/lib/x86_64-pc-linux-gnu/3.3.1/Rcpp/include" -fpic -g -O2 -c feather-read.cpp -o feather-read.o
2017/02/19 12:06:05.283947838 g++ -std=c++0x -I/opt/R/3.3.1/lib/R/include -DNDEBUG -I. -I/usr/local/include -I"/opt/rstudio-connect/mnt/app/packrat/lib/x86_64-pc-linux-gnu/3.3.1/Rcpp/include" -fpic -g -O2 -c feather-types.cpp -o feather-types.o
2017/02/19 12:06:05.283955637 g++ -std=c++0x -I/opt/R/3.3.1/lib/R/include -DNDEBUG -I. -I/usr/local/include -I"/opt/rstudio-connect/mnt/app/packrat/lib/x86_64-pc-linux-gnu/3.3.1/Rcpp/include" -fpic -g -O2 -c feather-write.cpp -o feather-write.o
2017/02/19 12:06:05.283958522 In file included from feather/api.h:24:0,
2017/02/19 12:06:05.283967685 from feather-read.cpp:4:
2017/02/19 12:06:05.283970576 ./feather/common.h:24:28: error: both 'const' and 'constexpr' cannot be used here
2017/02/19 12:06:05.283978363 ./feather/common.h:25:28: error: both 'const' and 'constexpr' cannot be used here
2017/02/19 12:06:05.283981078 In file included from feather/api.h:25:0,
2017/02/19 12:06:05.283989020 from feather-read.cpp:4:
2017/02/19 12:06:05.283991718 ./feather/io.h:73:29: error: expected ';' at end of member declaration
2017/02/19 12:06:05.283999364 ./feather/io.h:73:35: error: 'override' does not name a type
2017/02/19 12:06:05.284001824 ./feather/io.h:74:26: error: expected ';' at end of member declaration
2017/02/19 12:06:05.284162768 ./feather/io.h:172:18: error: 'override' does not name a type
2017/02/19 12:06:05.284165214 ./feather/io.h:173:29: error: expected ';' at end of member declaration
2017/02/19 12:06:05.284171921 ./feather/io.h:173:35: error: 'override' does not name a type
2017/02/19 12:06:05.307706691 Warning message:
2017/02/19 12:06:05.307863198 In packrat::restore(overwrite.dirty = TRUE, prompt = FALSE, restart = FALSE) :
2017/02/19 12:06:05.307879290 The most recent snapshot was generated using R version 3.3.2
2017/02/19 12:06:05.284174366 ./feather/io.h:174:51: error: expected ';' at end of member declaration
2017/02/19 12:06:05.284235118 ./feather/io.h:174:53: error: 'override' does not name a type
2017/02/19 12:06:05.284239266 In file included from feather/api.h:24:0,
2017/02/19 12:06:05.284246654 from feather-types.h:2,
2017/02/19 12:06:05.284249805 from feather-types.cpp:4:
2017/02/19 12:06:05.284256762 ./feather/common.h:24:28: error: both 'const' and 'constexpr' cannot be used here
2017/02/19 12:06:05.284259715 ./feather/common.h:25:28: error: both 'const' and 'constexpr' cannot be used here
2017/02/19 12:06:05.284266625 In file included from feather/api.h:25:0,
2017/02/19 12:06:05.284268985 from feather-types.h:2,
2017/02/19 12:06:05.284275396 from feather-types.cpp:4:
2017/02/19 12:06:05.284277912 ./feather/io.h:73:29: error: expected ';' at end of member declaration
2017/02/19 12:06:05.284302465 ./feather/io.h:73:35: error: 'override' does not name a type
2017/02/19 12:06:05.284310963 ./feather/io.h:74:26: error: expected ';' at end of member declaration
2017/02/19 12:06:05.284455903 ./feather/io.h:152:53: error: 'override' does not name a type
2017/02/19 12:06:05.284458901 ./feather/io.h:172:16: error: expected ';' at end of member declaration
2017/02/19 12:06:05.284465785 ./feather/io.h:172:18: error: 'override' does not name a type
2017/02/19 12:06:05.284468388 ./feather/io.h:173:29: error: expected ';' at end of member declaration
2017/02/19 12:06:05.284475582 ./feather/io.h:173:35: error: 'override' does not name a type
2017/02/19 12:06:05.284478069 ./feather/io.h:174:51: error: expected ';' at end of member declaration
2017/02/19 12:06:05.284499196 ./feather/io.h:174:53: error: 'override' does not name a type
2017/02/19 12:06:05.284502459 In file included from feather/api.h:24:0,
2017/02/19 12:06:05.284510402 from feather_types.h:2,
2017/02/19 12:06:05.284520035 from RcppExports.cpp:4:
2017/02/19 12:06:05.284528059 ./feather/common.h:24:28: error: both 'const' and 'constexpr' cannot be used here
2017/02/19 12:06:05.284530517 ./feather/common.h:25:28: error: both 'const' and 'constexpr' cannot be used here
2017/02/19 12:06:05.284537373 In file included from feather/api.h:25:0,
2017/02/19 12:06:05.284539717 from feather_types.h:2,
2017/02/19 12:06:05.284546913 from RcppExports.cpp:4:
2017/02/19 12:06:05.284549095 ./feather/io.h:73:29: error: expected ';' at end of member declaration
2017/02/19 12:06:05.284555829 ./feather/io.h:73:35: error: 'override' does not name a type
2017/02/19 12:06:05.284558295 ./feather/io.h:74:26: error: expected ';' at end of member declaration
2017/02/19 12:06:05.284565421 ./feather/io.h:74:28: error: 'override' does not name a type
2017/02/19 12:06:05.284568368 ./feather/io.h:75:59: error: expected ';' at end of member declaration
2017/02/19 12:06:05.284699666 ./feather/io.h:152:53: error: 'override' does not name a type
2017/02/19 12:06:05.284702743 ./feather/io.h:172:16: error: expected ';' at end of member declaration
2017/02/19 12:06:05.284709426 ./feather/io.h:172:18: error: 'override' does not name a typ
2017/02/19 12:06:05.284716004
2017/02/19 12:06:05.284724049 Unable to fully restore the R packages associated with this deployment.
2017/02/19 12:06:05.284726910 Please review the preceding messages to determine which package
2017/02/19 12:06:05.284734403 encountered installation difficulty and the cause of the failure.
2017/02/19 12:06:05.284737341
2017/02/19 12:06:05.284755686 Some typical reasons for package installation failures:
2017/02/19 12:06:05.284759213 * A system library needed by the R package is not installed.
2017/02/19 12:06:05.284766893 Some of the most common package dependencies are cataloged at:
2017/02/19 12:06:05.284769816 https://github.com/rstudio/shinyapps-package-dependencies
2017/02/19 12:06:05.284777079
2017/02/19 12:06:05.284779889 * The R package requires a newer version of R.
2017/02/19 12:06:05.284795781
2017/02/19 12:06:05.284799144 * The C/C++ compiler is outdated. This is often true for packages
2017/02/19 12:06:05.284806731 needing C++11 features.
2017/02/19 12:06:05.284810026
2017/02/19 12:06:05.284817282 * The R package is Windows-only or otherwise unavailable for this
2017/02/19 12:06:05.284820216 operating system.
2017/02/19 12:06:05.284827881
2017/02/19 12:06:05.284830674 * The package is housed in a private repository that requires
2017/02/19 12:06:05.284837746 authentication to access. For more details on this, see:
2017/02/19 12:06:05.284840342 http://docs.rstudio.com/connect/admin/process-management.html#private-packages
2017/02/19 12:06:05.284848534
2017/02/19 12:06:05.284851222 The package description and documentation will list system requirements
2017/02/19 12:06:05.284858379 and restrictions.
2017/02/19 12:06:05.284861051
2017/02/19 12:06:05.284883420 Please contact your RStudio Connect administrator for further help
2017/02/19 12:06:05.284887648 resolving this issue.
Application deployment failed with error: exit status 1\

Related

I get the following error when i build my project in flutter

C:\Users\Faheem\Desktop\dashboard>flutter build apk --profile
Building with sound null safety
/C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-9.0.2/lib/src/storage.dart:2:8: Error: Not found: 'dart:html'
import 'dart:html';
^
/C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core_web-1.6.2/lib/firebase_core_web.dart:9:8: Error: Not found: 'dart:html'
import 'dart:html';
^
/C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth_web-3.3.13/lib/src/firebase_auth_web_recaptcha_verifier_factory.dart:7:8: Error: Not found: 'dart:html'
import 'dart:html';
^
/C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-9.0.2/lib/src/utils.dart:2:8: Error: Not found: 'dart:html'
import 'dart:html';
^
/C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core_web-1.6.2/lib/firebase_core_web.dart:10:8: Error: Not found: 'dart:js'
import 'dart:js';
^
/C:/flutter/.pub-cache/hosted/pub.dartlang.org/js-0.6.3/lib/js.dart:8:1: Error: Not found: 'dart:js'
export 'dart:js' show allowInterop, allowInteropCaptureThis;
^
/C:/flutter/packages/flutter_web_plugins/lib/src/navigation/js_url_strategy.dart:13:8: Error: Not found: 'dart:html'
import 'dart:html' as html;
^
/C:/flutter/packages/flutter_web_plugins/lib/src/navigation/url_strategy.dart:6:8: Error: Not found: 'dart:html'
import 'dart:html' as html;
^
/C:/flutter/packages/flutter_web_plugins/lib/src/navigation/utils.dart:5:8: Error: Not found: 'dart:html'
import 'dart:html';
^
/C:/flutter/.pub-cache/hosted/pub.dartlang.org/js-0.6.3/lib/js_util.dart:8:1: Error: Not found: 'dart:js_util'
export 'dart:js_util';
^
/C:/flutter/packages/flutter_web_plugins/lib/src/navigation/js_url_strategy.dart:79:48: Error: Type 'html.EventListener' not found.
external ui.VoidCallback addPopStateListener(html.EventListener fn);
^^^^^^^^^^^^^^^^^^
/C:/flutter/packages/flutter_web_plugins/lib/src/navigation/url_strategy.dart:194:3: Error: Type 'html.Location' not found.
html.Location get _location => html.window.location;
^^^^^^^^^^^^^
/C:/flutter/packages/flutter_web_plugins/lib/src/navigation/url_strategy.dart:196:3: Error: Type 'html.History' not found.
html.History get _history => html.window.history;
^^^^^^^^^^^^
/C:/flutter/packages/flutter_web_plugins/lib/src/navigation/url_strategy.dart:199:28: Error: Type 'html.EventListener' not found.
void addPopStateListener(html.EventListener fn) {
^^^^^^^^^^^^^^^^^^
/C:/flutter/packages/flutter_web_plugins/lib/src/navigation/url_strategy.dart:204:31: Error: Type 'html.EventListener' not found.
void removePopStateListener(html.EventListener fn) {
^^^^^^^^^^^^^^^^^^
/C:/flutter/packages/flutter_web_plugins/lib/src/navigation/utils.dart:7:7: Error: Type 'AnchorElement' not found.
final AnchorElement _urlParsingNode = AnchorElement();
^^^^^^^^^^^^^
/C:/flutter/packages/flutter_web_plugins/lib/src/navigation/utils.dart:20:7: Error: Type 'Element' not found.
final Element? _baseElement = document.querySelector('base');
^^^^^^^
../../runtime/vm/zone.cc: 94: error: Out of memory.
version=2.16.2 (stable) (Tue Mar 22 13:15:13 2022 +0100) on "windows_x64"
pid=3640, thread=8308, isolate_group=main(00000000053F0BE0), isolate=(nil)(0000000000000000)
isolate_instructions=3e90000, vm_instructions=7ff6304d5460
pc 0x00007ff6306dd222 fp 0x000000000a36eb20 Dart_IsPrecompiledRuntime+0x21cd22
-- End of DumpStackTrace
=== Crash occured when compiling package:front_end/src/fasta/kernel/hierarchy/hierarchy_node.dart_ClassHierarc* What went wrong:
Execution failed for task ':app:compileFlutterBuildProfile'.
Process 'command 'C:\flutter\bin\flutter.bat'' finished with non-zero exit value 1
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org
Try these commands:
flutter clean
flutter packages get
dart pub get
If this doesn't solve your problem, I recommend starting a new project and moving your code and pubspec.yaml files there.

Error in installing passenger nginx module

I am getting an error in installing passenger nginx in MAC 10.14.
here are the logs:
src/cxx_supportlib/vendor-modified/boost/atomic/detail/ops_gcc_x86_dcas.hpp:408:16: error:
address argument to atomic builtin cannot be const-qualified
('const volatile
boost::atomics::detail::gcc_dcas_x86_64::storage_type *' (aka
'const volatile unsigned __int128 *') invalid)
return __sync_val_compare_and_swap(&storage, value, value);
^ ~~~~~~~~
1 error generated.
rake aborted!
Command failed with status (1): [c++ -o buildout/support-binaries/AgentFundamentals.o -Isrc/agent -Isrc/cxx_supportlib -Isrc/cxx_supportlib/vendor-copy -Isrc/cxx_supportlib/vendor-modified -Isrc/cxx_supportlib/vendor-modified/libev -Wno-ambiguous-member-template -Isrc/cxx_supportlib/vendor-copy/libuv/include -Isrc/cxx_supportlib/vendor-copy/websocketpp -I/usr/local/opt/openssl/include -D_REENTRANT -I/usr/local/include -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-long-long -Wno-missing-field-initializers -Wno-ambiguous-member-template -fvisibility=hidden -DVISIBILITY_ATTRIBUTE_SUPPORTED -DHAS_ALLOCA_H -DHAS_SFENCE -DHAS_LFENCE -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -g -fno-limit-debug-info -std=gnu++11 -Wno-unused-local-typedefs -Wno-format-nonliteral -DHAS_UNORDERED_MAP -c src/agent/Shared/Fundamentals/Implementation.cpp]
/Users/narendrakumawat/.rvm/gems/ruby-2.2.5#rails4115/gems/passenger-6.0.2/build/support/cplusplus.rb:53:in `run_compiler'
/Users/narendrakumawat/.rvm/gems/ruby-2.2.5#rails4115/gems/passenger-6.0.2/build/support/cplusplus.rb:104:in `compile_cxx'
/Users/narendrakumawat/.rvm/gems/ruby-2.2.5#rails4115/gems/passenger-6.0.2/build/support/cplusplus.rb:162:in `block in define_cxx_object_compilation_task'
/Users/narendrakumawat/.rvm/gems/ruby-2.2.5#rails4115/bin/ruby_executable_hooks:24:in `eval'
/Users/narendrakumawat/.rvm/gems/ruby-2.2.5#rails4115/bin/ruby_executable_hooks:24:in `<main>'
Tasks: TOP => nginx => nginx_without_native_support => buildout/support-binaries/PassengerAgent => buildout/support-binaries/AgentFundamentals.o
(See full trace by running task with --trace)
I already tried this also :
https://github.com/phusion/passenger/issues/2199

Install libraries on R terminal

I've uploaded my R code on the company's server in order to run it. It was running smoothly on my local R studio and now when I try to run it with Rscript my_script.r I get an enormous amount of errors when trying to install very basic libraries.
if (!require("ggrepel")) {
install.packages("ggrepel", repos="http://cran.fhcrc.org")
library(ggrepel)
}
if (!require("ggplot2")) {
install.packages("ggplot2", repos="http://cran.fhcrc.org")
library("ggplot2")
}
if (!require("gridExtra")) {
install.packages("gridExtra", repos="http://cran.fhcrc.org")
library("gridExtra")
}
This is my code to install the libraries and here's the error:
Loading required package: ggrepel
Installing package into ‘/home/yoda/Rlibs’
(as ‘lib’ is unspecified)
also installing the dependencies ‘tibble’, ‘ggplot2’
trying URL 'http://cran.fhcrc.org/src/contrib/tibble_1.2.tar.gz'
Content type 'application/x-gzip' length 54517 bytes (53 KB)
==================================================
downloaded 53 KB
trying URL 'http://cran.fhcrc.org/src/contrib/ggplot2_2.2.1.tar.gz'
Content type 'application/x-gzip' length 2213308 bytes (2.1 MB)
==================================================
downloaded 2.1 MB
trying URL 'http://cran.fhcrc.org/src/contrib/ggrepel_0.6.5.tar.gz'
Content type 'application/x-gzip' length 568599 bytes (555 KB)
==================================================
downloaded 555 KB
* installing *source* package ‘tibble’ ...
** package ‘tibble’ successfully unpacked and MD5 sums checked
** libs
g++ -m64 -I/usr/include/R -DNDEBUG -I/usr/local/include -I"/usr/lib64/R/library/Rcpp/include" -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c RcppExports.cpp -o RcppExports.o
g++ -m64 -I/usr/include/R -DNDEBUG -I/usr/local/include -I"/usr/lib64/R/library/Rcpp/include" -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c matrixToDataFrame.cpp -o matrixToDataFrame.o
matrixToDataFrame.cpp: In instantiation of ‘Rcpp::List copy_columns(const Rcpp::Matrix<RTYPE>&) [with int RTYPE = 10; Rcpp::List = Rcpp::Vector<19>]’:
matrixToDataFrame.cpp:91:48: required from here
matrixToDataFrame.cpp:71:41: error: no type named ‘ConstColumn’ in ‘class Rcpp::Matrix<10>’
typename Matrix<RTYPE>::ConstColumn column( m.column(j) ) ;
^
matrixToDataFrame.cpp:71:41: error: no type named ‘ConstColumn’ in ‘class Rcpp::Matrix<10>’
matrixToDataFrame.cpp:71:41: error: no type named ‘ConstColumn’ in ‘class Rcpp::Matrix<10>’
matrixToDataFrame.cpp: In instantiation of ‘Rcpp::List copy_columns(const Rcpp::Matrix<RTYPE>&) [with int RTYPE = 13; Rcpp::List = Rcpp::Vector<19>]’:
matrixToDataFrame.cpp:92:48: required from here
matrixToDataFrame.cpp:71:41: error: no type named ‘ConstColumn’ in ‘class Rcpp::Matrix<13>’
matrixToDataFrame.cpp:71:41: error: no type named ‘ConstColumn’ in ‘class Rcpp::Matrix<13>’
matrixToDataFrame.cpp:71:41: error: no type named ‘ConstColumn’ in ‘class Rcpp::Matrix<13>’
matrixToDataFrame.cpp: In instantiation of ‘Rcpp::List copy_columns(const Rcpp::Matrix<RTYPE>&) [with int RTYPE = 14; Rcpp::List = Rcpp::Vector<19>]’:
matrixToDataFrame.cpp:93:49: required from here
matrixToDataFrame.cpp:71:41: error: no type named ‘ConstColumn’ in ‘class Rcpp::Matrix<14>’
matrixToDataFrame.cpp:71:41: error: no type named ‘ConstColumn’ in ‘class Rcpp::Matrix<14>’
matrixToDataFrame.cpp:71:41: error: no type named ‘ConstColumn’ in ‘class Rcpp::Matrix<14>’
matrixToDataFrame.cpp: In instantiation of ‘Rcpp::List copy_columns(const Rcpp::Matrix<RTYPE>&) [with int RTYPE = 15; Rcpp::List = Rcpp::Vector<19>]’:
matrixToDataFrame.cpp:94:49: required from here
matrixToDataFrame.cpp:71:41: error: no type named ‘ConstColumn’ in ‘class Rcpp::Matrix<15>’
matrixToDataFrame.cpp:71:41: error: no type named ‘ConstColumn’ in ‘class Rcpp::Matrix<15>’
matrixToDataFrame.cpp:71:41: error: no type named ‘ConstColumn’ in ‘class Rcpp::Matrix<15>’
matrixToDataFrame.cpp: In instantiation of ‘Rcpp::List copy_columns(const Rcpp::Matrix<RTYPE>&) [with int RTYPE = 16; Rcpp::List = Rcpp::Vector<19>]’:
matrixToDataFrame.cpp:95:48: required from here
matrixToDataFrame.cpp:71:41: error: no type named ‘ConstColumn’ in ‘class Rcpp::Matrix<16>’
matrixToDataFrame.cpp:71:41: error: no type named ‘ConstColumn’ in ‘class Rcpp::Matrix<16>’
matrixToDataFrame.cpp:71:41: error: no type named ‘ConstColumn’ in ‘class Rcpp::Matrix<16>’
matrixToDataFrame.cpp: In instantiation of ‘Rcpp::List copy_columns(const Rcpp::Matrix<RTYPE>&) [with int RTYPE = 19; Rcpp::List = Rcpp::Vector<19>]’:
matrixToDataFrame.cpp:96:48: required from here
matrixToDataFrame.cpp:71:41: error: no type named ‘ConstColumn’ in ‘class Rcpp::Matrix<19>’
matrixToDataFrame.cpp:71:41: error: no type named ‘ConstColumn’ in ‘class Rcpp::Matrix<19>’
matrixToDataFrame.cpp:71:41: error: no type named ‘ConstColumn’ in ‘class Rcpp::Matrix<19>’
make: *** [matrixToDataFrame.o] Error 1
ERROR: compilation failed for package ‘tibble’
* removing ‘/home/yoda/Rlibs/tibble’
ERROR: dependency ‘tibble’ is not available for package ‘ggplot2’
* removing ‘/home/yoda/Rlibs/ggplot2’
* installing *source* package ‘ggrepel’ ...
** package ‘ggrepel’ successfully unpacked and MD5 sums checked
** libs
g++ -m64 -I/usr/include/R -DNDEBUG -I/usr/local/include -I"/usr/lib64/R/library/Rcpp/include" -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c RcppExports.cpp -o RcppExports.o
g++ -m64 -I/usr/include/R -DNDEBUG -I/usr/local/include -I"/usr/lib64/R/library/Rcpp/include" -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c repel_boxes.cpp -o repel_boxes.o
g++ -m64 -shared -L/usr/lib64/R/lib -Wl,-z,relro -o ggrepel.so RcppExports.o repel_boxes.o -L/usr/lib64/R/lib -lR
installing to /home/yoda/Rlibs/ggrepel/libs
** R
** inst
** preparing package for lazy loading
Error : package ‘ggplot2’ 1.0.1 was found, but >= 2.0.0 is required by ‘ggrepel’
ERROR: lazy loading failed for package ‘ggrepel’
* removing ‘/home/yoda/Rlibs/ggrepel’
The downloaded source packages are in
‘/tmp/RtmpukzDll/downloaded_packages’
Error in library(ggrepel) : there is no package called ‘ggrepel’
In addition: Warning messages:
1: In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, :
there is no package called ‘ggrepel’
2: In install.packages("ggrepel", repos = "http://cran.fhcrc.org") :
installation of package ‘tibble’ had non-zero exit status
3: In install.packages("ggrepel", repos = "http://cran.fhcrc.org") :
installation of package ‘ggplot2’ had non-zero exit status
4: In install.packages("ggrepel", repos = "http://cran.fhcrc.org") :
installation of package ‘ggrepel’ had non-zero exit status
Execution halted
I have no idea what's going on, and I have to submit this. Is there any way without having sudo rights to download and install an R package?

rhipe installation error: compilation failed for package ‘Rhipe’

I am new to this and I am trying to install Rhipe-0.74 on centos 6.2. I am getting following error.
[root#hadoop-master Rhipe]# R CMD INSTALL Rhipe_0.74.0.tar.gz
* installing to library ‘/usr/lib64/R/library’
* installing *source* package ‘Rhipe’ ...
** libs
g++ -m64 -I/usr/include/R -DNDEBUG -I/usr/local/include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -DUSEAUTOSHORT -DHAVE_UINTPTR_T `/usr/lib64/R/bin/R CMD config --cppflags` `pkg-config --cflags protobuf` -c rexp.pb.cc -o rexp.pb.o
In file included from rexp.pb.cc:4:
rexp.pb.h:17:2: error: #error This file was generated by an older version of protoc which is
rexp.pb.h:18:2: error: #error incompatible with your Protocol Buffer headers. Please
rexp.pb.h:19:2: error: #error regenerate this file with a newer version of protoc.
In file included from rexp.pb.cc:4:
rexp.pb.h: In member function ‘void REXP::clear_rawvalue()’:
rexp.pb.h:672: error: ‘kEmptyString’ is not a member of ‘google::protobuf::internal’
rexp.pb.h: In member function ‘void REXP::set_rawvalue(const std::string&)’:
rexp.pb.h:682: error: ‘kEmptyString’ is not a member of ‘google::protobuf::internal’
rexp.pb.h: In member function ‘void REXP::set_rawvalue(const char*)’:
rexp.pb.h:689: error: ‘kEmptyString’ is not a member of ‘google::protobuf::internal’
rexp.pb.h: In member function ‘void REXP::set_rawvalue(const void*, size_t)’:
rexp.pb.h:696: error: ‘kEmptyString’ is not a member of ‘google::protobuf::internal’
rexp.pb.h: In member function ‘std::string* REXP::mutable_rawvalue()’:
rexp.pb.h:703: error: ‘kEmptyString’ is not a member of ‘google::protobuf::internal’
rexp.pb.h: In member function ‘std::string* REXP::release_rawvalue()’:
rexp.pb.h:710: error: ‘kEmptyString’ is not a member of ‘google::protobuf::internal’
rexp.pb.h:714: error: ‘kEmptyString’ is not a member of ‘google::protobuf::internal’
rexp.pb.h: In member function ‘void STRING::clear_strval()’:
rexp.pb.h:853: error: ‘kEmptyString’ is not a member of ‘google::protobuf::internal’
rexp.pb.h: In member function ‘void STRING::set_strval(const std::string&)’:
rexp.pb.h:863: error: ‘kEmptyString’ is not a member of ‘google::protobuf::internal’
rexp.pb.h: In member function ‘void STRING::set_strval(const char*)’:
rexp.pb.h:870: error: ‘kEmptyString’ is not a member of ‘google::protobuf::internal’
rexp.pb.h: In member function ‘void STRING::set_strval(const char*, size_t)’:
rexp.pb.h:877: error: ‘kEmptyString’ is not a member of ‘google::protobuf::internal’
rexp.pb.h: In member function ‘std::string* STRING::mutable_strval()’:
rexp.pb.h:884: error: ‘kEmptyString’ is not a member of ‘google::protobuf::internal’
rexp.pb.h: In member function ‘std::string* STRING::release_strval()’:
rexp.pb.h:891: error: ‘kEmptyString’ is not a member of ‘google::protobuf::internal’
rexp.pb.h:895: error: ‘kEmptyString’ is not a member of ‘google::protobuf::internal’
rexp.pb.cc: In member function ‘void REXP::SharedCtor()’:
rexp.pb.cc:256: error: ‘kEmptyString’ is not a member of ‘google::protobuf::internal’
rexp.pb.cc: In member function ‘void REXP::SharedDtor()’:
rexp.pb.cc:265: error: ‘kEmptyString’ is not a member of ‘google::protobuf::internal’
rexp.pb.cc: In member function ‘virtual void REXP::Clear()’:
rexp.pb.cc:296: error: ‘kEmptyString’ is not a member of ‘google::protobuf::internal’
rexp.pb.cc: In member function ‘void STRING::SharedCtor()’:
rexp.pb.cc:905: error: ‘kEmptyString’ is not a member of ‘google::protobuf::internal’
rexp.pb.cc: In member function ‘void STRING::SharedDtor()’:
rexp.pb.cc:915: error: ‘kEmptyString’ is not a member of ‘google::protobuf::internal’
rexp.pb.cc: In member function ‘virtual void STRING::Clear()’:
rexp.pb.cc:945: error: ‘kEmptyString’ is not a member of ‘google::protobuf::internal’
make: *** [rexp.pb.o] Error 1
ERROR: compilation failed for package ‘Rhipe’
* removing ‘/usr/lib64/R/library/Rhipe’
As I understood the problem is due to multiple protobuf installation. I googled it but still couldn't resolve the issue. Please help me to solve this. Any help will be appreciated. Thank you in advance.
Maybe it's a bit late, but I was having the same issue and managed to install it by using protobuf version 2.5.0 and RHipe v0.75.1.3 in CentOS 7.
You can download this version of protobuf from here. Copy the tar.gz within /usr/local/lib and follow the instructions in the README (basically, unzip it and execute./configure, make and make install).
After that, set the required hadoop environment variables (PKG_CONFIG_PATH needs to point to /usr/local/lib/pkgconfig, or to the folder where you installed Protobuf). Finally, install the RHipe package. You can download older versions of RHipe from here.
Cheers.

Bad exit status from /var/tmp/rpm-tmp.b1DgAt (%build)

I am trying to compile Tizen source code. The compilation tools uses the rpm build environment. While compiling specific package I'm getting an rpm build issue "Bad exit status from /var/tmp/rpm-tmp.b1DgAt (%build)"
Here is my build log
Building CXX object CMakeFiles/osp-messaging.dir/src/FMsg_PushUrlRequestListener.cpp.o
[ 8s] [ 69%] Building CXX object CMakeFiles/osp-messaging.dir src/FMsg_WapPushManagerImpl.cpp.o
[ 8s] [ 71%] Building CXX object CMakeFiles/osp-messaging.dir/src/FMsg_WapPushMessageImpl.cpp.o
[ 8s] [ 73%] Building CXX object CMakeFiles/osp-messaging.dir/src/FMsg_ComposerEvent.cpp.o
[ 8s] [ 75%] Building CXX object CMakeFiles/osp-messaging.dir/src/FMsg_ComposerEventArg.cpp.o
[ 8s] [ 77%] Building CXX object CMakeFiles/osp-messaging.dir/src/FMsg_RecipientListImpl.cpp.o
[ 8s] [ 79%] Building CXX object CMakeFiles/osp-messaging.dir/src/FMsg_SmsEvent.cpp.o
[ 8s] [ 81%] Building CXX object CMakeFiles/osp-messaging.dir/src/FMsg_SmsEventArg.cpp.o
[ 9s] [ 83%] Building CXX object CMakeFiles/osp-messaging.dir/src/FMsg_SmsManagerImpl.cpp.o
[ 9s] [ 85%] [ 87%] Building CXX object CMakeFiles/osp-messaging.dir/src/FMsg_SmsMessageImpl.cpp.o
[ 9s] Building CXX object CMakeFiles/osp-messaging.dir/src/FMsg_CbsChannelImpl.cpp.o
[ 9s] [ 89%] Building CXX object CMakeFiles/osp-messaging.dir/src/FMsg_CbsMessageImpl.cpp.o
[ 9s] [ 91%] [ 93%] Building CXX object CMakeFiles/osp-messaging.dir/src/FMsg_EtwsPrimaryNotificationImpl.cpp.o
[ 9s] Building CXX object CMakeFiles/osp-messaging.dir/src/FMsg_MsgUtil.cpp.o
[ 9s] [ 95%] [ 97%] Building CXX object CMakeFiles/osp-messaging.dir/src/FMsg_SmsMmsCallbackHandler.cpp.o
[ 9s] Building CXX object CMakeFiles/osp-messaging.dir/src/FMsg_MessagingMessageTypes.cpp.o
[ 9s] [100%] Building CXX object CMakeFiles/osp-messaging.dir/src/FMsg_MessagingIpcProxy.cpp.o
[ 10s] In file included from /home/abuild/rpmbuild/BUILD/osp-messaging-1.2.2.0/src/FMsg_MessagingMessageTypes.cpp:24:0:
[ 10s] /home/abuild/rpmbuild/BUILD/osp-messaging-1.2.2.0/src/inc/FMsg_MessagingMessageTypes.h:35:1: error: 'MessagingMsgStart' was not declared in this scope
[ 10s] /home/abuild/rpmbuild/BUILD/osp-messaging-1.2.2.0/src/inc/FMsg_MessagingMessageTypes.h:37:1: error: 'MessagingMsgStart' was not declared in this scope
[ 10s] /home/abuild/rpmbuild/BUILD/osp-messaging-1.2.2.0/src/inc/FMsg_MessagingMessageTypes.h:38:1: error: 'MessagingMsgStart' was not declared in this scope
[ 10s] /home/abuild/rpmbuild/BUILD/osp-messaging-1.2.2.0/src/inc/FMsg_MessagingMessageTypes.h:42:1: error: 'MessagingMsgStart' was not declared in this scope
[ 10s] /home/abuild/rpmbuild/BUILD/osp-messaging-1.2.2.0/src/inc/FMsg_MessagingMessageTypes.h:43:1: error: 'MessagingMsgStart' was not declared in this scope
[ 10s] /home/abuild/rpmbuild/BUILD/osp-messaging-1.2.2.0/src/inc/FMsg_MessagingMessageTypes.h:45:1: error: 'MessagingMsgStart' was not declared in this scope
[ 10s] /home/abuild/rpmbuild/BUILD/osp-messaging-1.2.2.0/src/inc /FMsg_MessagingMessageTypes.h:46:1: error: 'MessagingMsgStart' was not declared in this scope
[ 10s] /home/abuild/rpmbuild/BUILD/osp-messaging-1.2.2.0/src/inc/FMsg_MessagingMessageTypes.h:49:1: error: 'MessagingMsgStart' was not declared in this scope
[ 10s] /home/abuild/rpmbuild/BUILD/osp-messaging-1.2.2.0/src/inc/FMsg_MessagingMessageTypes.h:50:1: error: 'MessagingMsgStart' was not declared in this scope
[ 10s] /home/abuild/rpmbuild/BUILD/osp-messaging-1.2.2.0/src/inc/FMsg_MessagingMessageTypes.h:51:1: error: 'MessagingMsgStart' was not declared in this scope
[ 10s] /home/abuild/rpmbuild/BUILD/osp-messaging-1.2.2.0/src/inc/FMsg_MessagingMessageTypes.h:52:1: error: 'MessagingMsgStart' was not declared in this scope
[ 10s] /home/abuild/rpmbuild/BUILD/osp-messaging-1.2.2.0/src/inc/FMsg_MessagingMessageTypes.h:53:1: error: 'MessagingMsgStart' was not declared in this scope
[ 10s] /home/abuild/rpmbuild/BUILD/osp-messaging-1.2.2.0/src/inc/FMsg_MessagingMessageTypes.h:54:1: error: 'MessagingMsgStart' was not declared in this scope
[ 10s] /home/abuild/rpmbuild/BUILD/osp-messaging-1.2.2.0/src/inc/FMsg_MessagingMessageTypes.h:55:1: error: 'MessagingMsgStart' was not declared in this scope
[ 10s] /home/abuild/rpmbuild/BUILD/osp-messaging-1.2.2.0/src/inc/FMsg_MessagingMessageTypes.h:56:1: error: 'MessagingMsgStart' was not declared in this scope
[ 10s] /home/abuild/rpmbuild/BUILD/osp-messaging-1.2.2.0/src/inc/FMsg_MessagingMessageTypes.h:61:1: error: 'MessagingMsgStart' was not declared in this scope
[ 10s] /home/abuild/rpmbuild/BUILD/osp-messaging-1.2.2.0/src/inc/FMsg_MessagingMessageTypes.h:63:1: error: 'MessagingMsgStart' was not declared in this scope
[ 10s] /home/abuild/rpmbuild/BUILD/osp-messaging-1.2.2.0/src/inc/FMsg_MessagingMessageTypes.h:64:1: error: 'MessagingMsgStart' was not declared in this scope
[ 10s] In file included from /home/abuild/rpmbuild/BUILD/osp-messaging-1.2.2.0/src/FMsg_MessagingMessageTypes.cpp:24:0:
[ 10s] /home/abuild/rpmbuild/BUILD/osp-messaging-1.2.2.0/src/inc/FMsg_MessagingMessageTypes.h:65:1: error: 'MessagingMsgStart' was not declared in this scope
[ 10s] make[2]: *** [CMakeFiles/osp-messaging.dir/src/FMsg_MessagingMessageTypes.cpp.o] Error 1
[ 10s] make[2]: *** Waiting for unfinished jobs....
[ 10s] In file included from /home/abuild/rpmbuild/BUILD/osp-messaging-1.2.2.0/src/FMsg_MessagingIpcProxy.cpp:31:0:
[ 10s] /home/abuild/rpmbuild/BUILD/osp-messaging-1.2.2.0/src/inc/FMsg_MessagingMessageTypes.h:35:1: error: 'MessagingMsgStart' was not declared in this scope
[ 10s] /home/abuild/rpmbuild/BUILD/osp-messaging-1.2.2.0/src/inc/FMsg_MessagingMessageTypes.h:37:1: error: 'MessagingMsgStart' was not declared in this scope
[ 10s] /home/abuild/rpmbuild/BUILD/osp-messaging-1.2.2.0/src/inc/FMsg_MessagingMessageTypes.h:38:1: error: 'MessagingMsgStart' was not declared in this scope
[ 10s] /home/abuild/rpmbuild/BUILD/osp-messaging-1.2.2.0/src/inc/FMsg_MessagingMessageTypes.h:42:1: error: 'MessagingMsgStart' was not declared in this scope
[ 10s] /home/abuild/rpmbuild/BUILD/osp-messaging-1.2.2.0/src/inc/FMsg_MessagingMessageTypes.h:43:1: error: 'MessagingMsgStart' was not declared in this scope
[ 10s] /home/abuild/rpmbuild/BUILD/osp-messaging-1.2.2.0/src/inc/FMsg_MessagingMessageTypes.h:45:1: error: 'MessagingMsgStart' was not declared in this scope
[ 10s] /home/abuild/rpmbuild/BUILD/osp-messaging-1.2.2.0/src/inc/FMsg_MessagingMessageTypes.h:46:1: error: 'MessagingMsgStart' was not declared in this scope
[ 10s] /home/abuild/rpmbuild/BUILD/osp-messaging-1.2.2.0/src/inc/FMsg_MessagingMessageTypes.h:49:1: error: 'MessagingMsgStart' was not declared in this scope
[ 10s] /home/abuild/rpmbuild/BUILD/osp-messaging-1.2.2.0/src/inc/FMsg_MessagingMessageTypes.h:50:1: error: 'MessagingMsgStart' was not declared in this scope
[ 10s] /home/abuild/rpmbuild/BUILD/osp-messaging-1.2.2.0/src/inc/FMsg_MessagingMessageTypes.h:51:1: error: 'MessagingMsgStart' was not declared in this scope
[ 10s] /home/abuild/rpmbuild/BUILD/osp-messaging-1.2.2.0/src/inc/FMsg_MessagingMessageTypes.h:52:1: error: 'MessagingMsgStart' was not declared in this scope
[ 10s] /home/abuild/rpmbuild/BUILD/osp-messaging-1.2.2.0/src/inc/FMsg_MessagingMessageTypes.h:53:1: error: 'MessagingMsgStart' was not declared in this scope
[ 10s] /home/abuild/rpmbuild/BUILD/osp-messaging-1.2.2.0/src/inc/FMsg_MessagingMessageTypes.h:54:1: error: 'MessagingMsgStart' was not declared in this scope
[ 10s] /home/abuild/rpmbuild/BUILD/osp-messaging-1.2.2.0/src/inc/FMsg_MessagingMessageTypes.h:55:1: error: 'MessagingMsgStart' was not declared in this scope
[ 10s] /home/abuild/rpmbuild/BUILD/osp-messaging-1.2.2.0/src/inc/FMsg_MessagingMessageTypes.h:56:1: error: 'MessagingMsgStart' was not declared in this scope
[ 10s] /home/abuild/rpmbuild/BUILD/osp-messaging-1.2.2.0/src/inc/FMsg_MessagingMessageTypes.h:61:1: error: 'MessagingMsgStart' was not declared in this scope
[ 10s] /home/abuild/rpmbuild/BUILD/osp-messaging-1.2.2.0/src/inc/FMsg_MessagingMessageTypes.h:63:1: error: 'MessagingMsgStart' was not declared in this scope
[ 10s] /home/abuild/rpmbuild/BUILD/osp-messaging-1.2.2.0/src/inc/FMsg_MessagingMessageTypes.h:64:1: error: 'MessagingMsgStart' was not declared in this scope
[ 10s] In file included from /home/abuild/rpmbuild/BUILD/osp-messaging-1.2.2.0/src/FMsg_MessagingIpcProxy.cpp:31:0:
[ 10s] /home/abuild/rpmbuild/BUILD/osp-messaging-1.2.2.0/src/inc/FMsg_MessagingMessageTypes.h:65:1: error: 'MessagingMsgStart' was not declared in this scope
[ 10s] /home/abuild/rpmbuild/BUILD/osp-messaging-1.2.2.0/src/FMsg_MessagingIpcProxy.cpp: In member function 'virtual void Tizen::Messaging::_MessagingProxy::OnIpcResponseReceived(Tizen::Io::_IpcClient&, const IPC::Message&)':
[ 10s] /home/abuild/rpmbuild/BUILD/osp-messaging-1.2.2.0/src/FMsg_MessagingIpcProxy.cpp:122:2: error: duplicate case value
[ 10s] /home/abuild/rpmbuild/BUILD/osp-messaging-1.2.2.0/src/FMsg_MessagingIpcProxy.cpp:121:2: error: previously used here
[ 10s] /home/abuild/rpmbuild/BUILD/osp-messaging-1.2.2.0/src/FMsg_MessagingIpcProxy.cpp:123:2: error: duplicate case value
[ 10s] /home/abuild/rpmbuild/BUILD/osp-messaging-1.2.2.0/src/FMsg_MessagingIpcProxy.cpp:121:2: error: previously used here
[ 10s] /home/abuild/rpmbuild/BUILD/osp-messaging-1.2.2.0/src/FMsg_MessagingIpcProxy.cpp:124:2: error: duplicate case value
[ 10s] /home/abuild/rpmbuild/BUILD/osp-messaging-1.2.2.0/src/FMsg_MessagingIpcProxy.cpp:121:2: error: previously used here
[ 10s] make[2]: *** [CMakeFiles/osp-messaging.dir/src/FMsg_MessagingIpcProxy.cpp.o] Error 1
[ 11s] make[1]: *** [CMakeFiles/osp-messaging.dir/all] Error 2
[ 11s] make: *** [all] Error 2
[ 11s] error: Bad exit status from /var/tmp/rpm-tmp.b1DgAt (%build)
[ 11s]
[ 11s]
[ 11s] RPM build errors:
[ 11s] Bad exit status from /var/tmp/rpm-tmp.b1DgAt (%build)
I'm using the following spec file
%define _debug_package %{nil}
%define __strip /bin/true
Name: osp-messaging
Summary: osp messaging library
Version: 1.2.2.0
Release: 2
Group: System/Libraries
License: Apache License, Version 2.0
Source0: %{name}-%{version}.tar.gz
BuildRequires: cmake
BuildRequires: pkgconfig(chromium)
BuildRequires: pkgconfig(capi-appfw-application)
BuildRequires: pkgconfig(msg-service)
BuildRequires: pkgconfig(push)
BuildRequires: pkgconfig(dbus-1)
BuildRequires: pkgconfig(dbus-glib-1)
BuildRequires: pkgconfig(email-service)
BuildRequires: pkgconfig(pkgmgr)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(libwbxml2)
BuildRequires: pkgconfig(osp-appfw)
BuildRequires: osp-appfw-internal-devel
BuildRequires: pkgconfig(osp-net)
BuildRequires: osp-net-internal-devel
BuildRequires: pkgconfig(osp-bluetooth)
BuildRequires: pkgconfig(osp-nfc)
BuildRequires: pkgconfig(osp-json)
BuildRequires: pkgconfig(osp-shell)
# runtime requires
Requires: osp-appfw
Requires: osp-bluetooth
Requires: osp-nfc
Requires: osp-json
Requires: osp-shell
%description
osp messaging library
%package devel
Summary: osp messaging library (Development)
Group: TO_BE/FILLED_IN
Requires: %{name} = %{version}-%{release}
%description devel
osp messaging library (DEV)
%package internal-devel
Summary: osp messaging library (Internal)
Group: TO_BE/FILLED_IN
Requires: %{name} = %{version}-%{release}
%description internal-devel
osp messaging library (Internal-DEV)
%package debug
Summary: osp messaging library (Development)
Group: TO_BE/FILLED_IN
Requires: %{name} = %{version}-%{release}
%description debug
osp messaging library (DEV)
%prep
%setup -q
%build
%if 0%{?tizen_build_binary_release_type_eng}
CXXFLAGS="$CXXFLAGS -D_SECURE_LOG"
%endif
MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
%ifarch %{ix86}
%if 0%{?simulator}
CXXFLAGS="$CXXFLAGS -D_OSP_DEBUG_ -D_OSP_X86_ -D_OSP_EMUL_" cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
%else
CXXFLAGS="$CXXFLAGS -D_OSP_DEBUG_ -D_OSP_X86_ " cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
%endif
%else
%if 0%{?tizen_build_binary_release_type_eng}
CXXFLAGS="-O2 -g -pipe -Wall -fno-exceptions -Wformat -Wformat-security -Wl,--as-needed -fmessage-length=0 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -D__SOFTFP__ -mthumb -Wa,-mimplicit-it=thumb -funwind-tables -D_OSP_DEBUG_ -D_SECURE_LOG -D_OSP_ARMEL_" cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
%else
CXXFLAGS="-O2 -g -pipe -Wall -fno-exceptions -Wformat -Wformat-security -Wl,--as-needed v-fmessage-length=0 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -D__SOFTFP__ -mthumb -Wa,-mimplicit-it=thumb -funwind-tables -D_OSP_DEBUG_ -D_OSP_ARMEL_" cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
%endif
%endif
# Call make instruction with smp support
make %{?jobs:-j%jobs}
%install
rm -rf %{buildroot}
mkdir -p %{buildroot}/usr/share/license
cp %{_builddir}/%{name}-%{version}/LICENSE.APLv2 %{buildroot}/usr/share/license/%{name}
%make_install
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%manifest osp-messaging.manifest
/usr/share/license/%{name}
%{_libdir}/osp/*.so*
%files devel
%{_includedir}/osp/*.h
%{_libdir}/pkgconfig/osp-messaging.pc
%files internal-devel
%{_includedir}/osp/messaging/*.h
%files debug
%{_libdir}/osp/debug/*.so*
The error is related to rpm build, can anyone help me in solving this rpm error?
The above errors are because of linking of files at runtime by the rpm build environment and hence it was showing errors under build section of the spec file
To solve the above errors add the following line at the beginning of the spec file of package
%define __debug_package %{nil}
If there is already a similar code(%define ^_debug_package %{nil}) replace it with the above code
The errors in the osp packages can also be solved by adding the above line to the spec file.
And also make sure that you use the release repo URL for compilation, you can use the following release repo URL
http://download.tizen.org/releases/2.2/tizen-2.2

Resources