error in rpmbuild for MeeGo - rpmbuild

I am getting error when I am trying to do rpmbuild to build the kernel from source for MeeGo 1.2.
After run this command:
rpmbuild -bp --target $(uname -m) kernel-adaptation-intel-automative.spec
I am getting this error:
make ARCH=x86 listnewconfig
error: Bad exit status from /var/tmp/rpm-tmp.G80JZf

Related

recipe for target 'runtime_ccall.o' failed in installing julia (llvm?)

I just downloaded and installed the latest version of linux mint, mate. I want to install julia again but I get an strange error during the installation of v1.3.0
(... lots of output)
/home/usr/julia/usr/include/llvm/Support/MathExtras.h:545:38: required from here
/home/usr/julia/usr/include/llvm/Support/MathExtras.h:189:16: error: ‘static_assert’ was not declared in this scope
Makefile:165: recipe for target 'runtime_ccall.o' failed
make[1]: *** [runtime_ccall.o] Error 1
Makefile:75: recipe for target 'julia-src-release' failed
make: *** [julia-src-release] Error 2
This is somehow strange, but it appears to be related to LLVM. In trying to update LLVM I typed
sudo apt-get update -y
sudo apt-get install -y llvm
But the error keeps showing... any idea what am I missing?

HOW to fix pip3 intall pygdal==2.2.3.3 or pip3 install pygdal sent this error

error
Command "python setup.py egg_info" failed with error code 1 in C:\Users\USER\AppData\Local\Temp\pip-install-w_pz3 u2e\pygdal\
i try to install pygdal package i have always the same error
Command "python setup.py egg_info" failed with error code 1 in C:\Users\bough\AppData\Local\Temp\pip-install-w_pz3
u2e\pygdal\
python 3.6 python 3.7 the same error always
EDIT: Complete Error Text
e4cb71f72e29da0c25a1ea9135596a577/pygdal-2.2.3.3.tar.gz Complete
output from command python setup.py egg_info: running egg_info
creating pip-egg-info\pygdal.egg-info writing
pip-egg-info\pygdal.egg-info\PKG-INFO writing dependency_links to
pip-egg-info\pygdal.egg-info\dependency_links.txt writing requirements
to pip-egg-info\pygdal.egg-info\requires.txt writing top-level names
to pip-egg-info\pygdal.egg-info\top_level.txt writing manifest file
'pip-egg-info\pygdal.egg-info\SOURCES.txt' error: [WinError 2] The
system cannot find the file specified

Fail to install R XGBoost with GPU support on Windows 7

I tried to install XGBoost with GPU support in R on Windows 7. I followed the installation guide here (http://xgboost.readthedocs.io/en/latest/build.html#installing-r-package-with-gpu-support) and was all fine until the last step. I have spent past few days on searching and could not find solutions. Can somebody please help me?
This was the procedure I followed, in Git Bash:
git clone --recursive https://github.com/dmlc/xgboost
cd xgboost
git submodule init
git submodule update
mkdir build
cd build
cmake .. -G"Visual Studio 14 2015 Win64" -DUSE_CUDA=ON -DR_LIB=ON -DLIBR_EXECUTABLE="C:/Program Files/R/R-3.4.1/bin/x64/R.exe"
cmake --build . --target install --config Release
Got below errors at the last step
"C:\Users\geng\xgboost\build\install.vcxproj" (default target) (1) ->
(PostBuildEvent target) ->
EXEC : warning : running command 'make -f "Makevars.win" -f "C:/PROGRA~1/R/R-
34~1.2/etc/x64/Makeconf" -f "C:/PROGRA~1/R/R-34~1.2/share/make/winshlib.mk" SHL
IB="xgboost.dll" WIN=64 TCLBIN=64 OBJECTS=""' had status 127 [C:\Users\geng\xgb
oost\build\install.vcxproj]
"C:\Users\geng\xgboost\build\install.vcxproj" (default target) (1) ->
(PostBuildEvent target) ->
EXEC : error : compilation failed for package 'xgboost' [C:\Users\geng\xgboos
t\build\install.vcxproj]
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.ta
rgets(133,5): error MSB3073: The command "setlocal\r [C:\Users\geng\xgboost\bui
ld\install.vcxproj]
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targ
ets(133,5): error MSB3073: "C:\Program Files\CMake\bin\cmake.exe" -DBUILD_TYPE=
Release -P cmake_install.cmake\r [C:\Users\geng\xgboost\build\install.vcxproj]
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targ
ets(133,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd\r [C:\Users\geng\x
gboost\build\install.vcxproj]
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targ
ets(133,5): error MSB3073: :cmEnd\r [C:\Users\geng\xgboost\build\install.vcxpro
j]
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targ
ets(133,5): error MSB3073: endlocal & call :cmErrorLevel %errorlevel% & goto :c
mDone\r [C:\Users\geng\xgboost\build\install.vcxproj]
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targ
ets(133,5): error MSB3073: :cmErrorLevel\r [C:\Users\geng\xgboost\build\install
.vcxproj]
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targ
ets(133,5): error MSB3073: exit /b %1\r [C:\Users\geng\xgboost\build\install.vc
xproj]
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targ
ets(133,5): error MSB3073: :cmDone\r [C:\Users\geng\xgboost\build\install.vcxpr
oj]
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targ
ets(133,5): error MSB3073: if %errorlevel% neq 0 goto :VCEnd\r [C:\Users\geng\x
gboost\build\install.vcxproj]
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targ
ets(133,5): error MSB3073: :VCEnd" exited with code -1. [C:\Users\geng\xgboost\
build\install.vcxproj]
166 Warning(s)
2 Error(s)
If I executed this instead (cmake --build . --target xgboost --config Release), there was no error. However, I have no clue what I should do from here. If I simply do something like this:
cd R-package
"C:/Program Files/R/R-3.4.2/bin/R.exe" CMD INSTALL .
It ended with a different error like below. I do not know what I did wrong, would really appreciate your help. Thank you very much in advance!
geng#g20user MINGW64 ~/xgboost/build/R-package (master)
$ "C:/Program Files/R/R-3.4.2/bin/R.exe" CMD INSTALL .
* installing to library 'C:/Users/geng/Documents/R/win-library/3.4'
* installing *source* package 'xgboost' ...
** libs
*** arch - i386
Warning: running command 'make -f "Makevars.win" -f "C:/PROGRA~1/R/R-34~1.2/etc/
i386/Makeconf" -f "C:/PROGRA~1/R/R-34~1.2/share/make/winshlib.mk" SHLIB="xgboost
.dll" OBJECTS=""' had status 127
ERROR: compilation failed for package 'xgboost'
* removing 'C:/Users/geng/Documents/R/win-library/3.4/xgboost'
Never mind, I found out the reason. It was related to my Rtools setup. I reinstalled it and make sure the PATH has following two items, then problem solved.
c:\Rtools\bin;c:\Rtools\mingw_64\bin

carthage update is not work Task failed with exit code 65:

I try to use carthage update on xcode 8.3.1 to add the octokit, but when I excute the command carthage update, the terminal shows this error:
Build Failed
Task failed with exit code 65:
/usr/bin/xcrun xcodebuild -project /Users/xuliner/Downloads/octokit.objc-54474a6947342ddedb4f3dc37ca6e54c050d92bf/Carthage/Checkouts/Nimble/Nimble.xcodeproj -scheme Nimble-iOS -configuration Release -derivedDataPath /Users/xuliner/Library/Caches/org.carthage.CarthageKit/DerivedData/Nimble/v3.2.0 -sdk iphoneos ONLY_ACTIVE_ARCH=NO CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES clean build
This usually indicates that project itself failed to compile. Please check the xcodebuild log for more details: /var/folders/vn/c9ppdjg12rn8pj5r093g8_tr0000gn/T/carthage-xcodebuild.qEGXw6.log
I open the build log and it shows:
** BUILD FAILED **
The following build commands failed:
Check dependencies
(1 failure)
How can I fix that?

can't compile beta version of igraph from github

I use DevTools tools to install
install_github("igraph/rigraph")
I can install "gaborcsardi/pkgconfig" just fine, which is also required. But "igraph/rigraph" doesn't work. I need it because I'm using an experimental package that requires this version of igraph. I get the following error:
compilation terminated.
make: *** [foreign-graphml.o] Error 1
Warning: running command 'make -f "Makevars.win" -f "C:/PROGRA~1/R/R-33~1.1/etc/x64/Makeconf" -f "C:/PROGRA~1/R/R-33~1.1/share/make/winshlib.mk" SHLIB_LDFLAGS='$(SHLIB_CXXLDFLAGS)' SHLIB_LD='$(SHLIB_CXXLD)' SHLIB="igraph.dll" SHLIB_LIBADD='$(FLIBS)' WIN=64 TCLBIN=64 ' havde status 2
ERROR: compilation failed for package 'igraph'
* removing 'C:/Users/emil/Documents/R/win-library/3.3/igraph'
Error: Command failed (1)
NOTE! the line "Warning: running command" in the code is translated by myself, since this was in my OS language which is danish. I think it is an accurate translation, but the wording might be slightly different.
I'm on a 64-bit Windows. I also have Lubuntu 16.04 installed on the same machine, and there I don't have any problems with the install. I need to use the package on a windows machine, unfortunately. RTools 3.3 is installed.
I also filed this at the github page:
https://github.com/igraph/rigraph/issues/165

Resources