현재 프로젝트를 Fedora RPM에 패키지하려고합니다. 따라서 나는 다음과 같은 사양 사용 : - 나는 "빌드"내부 xbuild하는 RPM 구축하려고하면 http://sourceforge.net/p/audiocuesheet/code/145/tree/trunk/RPM%20Build/AudioCuesheetEditor.specrpmbuild의 xbuild가 작동하지 않습니다.
을 단계를 다음과 같이 출력은 : 내가 사용하는 경우
+ xbuild /property:Configuration=Release AudioCuesheetEditor.sln
XBuild Engine Version 2.10.8.0
Mono, Version 2.10.8.0
Copyright (C) Marek Sieradzki 2005-2008, Novell 2008-2011.
Build started 01/01/2013 16:53:18.
__________________________________________________
Project "/home/makerpm/rpmbuild/BUILD/AudioCuesheetEditor-0.2.1/AudioCuesheetEditor.sln" (default target(s)):
Target ValidateSolutionConfiguration:
Building solution configuration "Release|x86".
Target Build:
Project "/home/makerpm/rpmbuild/BUILD/AudioCuesheetEditor-0.2.1/AudioCuesheetEditor.csproj" (default target(s)):
Target PrepareForBuild:
Configuration: Release Platform: x86
Created directory "bin/Release/"
Created directory "obj/x86/Release/"
Target CopyNonResxEmbeddedResources:
Copying file from '/home/makerpm/rpmbuild/BUILD/AudioCuesheetEditor-0.2.1/gtk-gui/gui.stetic' to '/home/makerpm/rpmbuild/BUILD/AudioCuesheetEditor-0.2.1/obj/x86/Release/AudioCuesheetEditor.gtk-gui.gui.stetic'
Target GenerateSatelliteAssemblies:
No input files were specified for target GenerateSatelliteAssemblies, skipping.
Target CoreCompile:
Tool /usr/bin/gmcs execution started with arguments: /noconfig /debug- /optimize- /out:obj/x86/Release/AudioCuesheetEditor.exe /resource:obj/x86/Release/AudioCuesheetEditor.gtk-gui.gui.stetic,gui.stetic gtk-gui/generated.cs MainWindow.cs gtk-gui/MainWindow.cs AssemblyInfo.cs Language.cs Speechfile.cs Option.cs Program.cs Optionfile.cs Cuesheet.cs Track.cs Cuesheetfile.cs Audiofile.cs TextInputfile.cs Projectfile.cs MainClass.cs Logfile.cs OptionWindow.cs gtk-gui/AudioCuesheetEditor.OptionWindow.cs /target:winexe /main:AudioCuesheetEditor.MainClass /reference:/usr/lib/mono/2.0/System.dll /reference:/usr/lib/mono/2.0/Mono.Posix.dll /reference:/usr/lib/mono/gtk-sharp-2.0/gtk-sharp.dll /reference:/usr/lib/mono/gtk-sharp-2.0/gdk-sharp.dll /reference:/usr/lib/mono/gtk-sharp-2.0/glib-sharp.dll /reference:/usr/lib/mono/gtk-sharp-2.0/glade-sharp.dll /reference:/usr/lib/mono/gtk-sharp-2.0/pango-sharp.dll /reference:/usr/lib/mono/gtk-sharp-2.0/atk-sharp.dll /reference:/usr/lib/mono/2.0/System.Xml.dll /warn:4
gtk-gui/MainWindow.cs(152,51): error CS1012: Too many characters in character literal
gtk-gui/MainWindow.cs(171,52): error CS1012: Too many characters in character literal
gtk-gui/MainWindow.cs(199,53): error CS1012: Too many characters in character literal
gtk-gui/AudioCuesheetEditor.OptionWindow.cs(181,67): error CS1012: Too many characters in character literal
gtk-gui/AudioCuesheetEditor.OptionWindow.cs(247,64): error CS1012: Too many characters in character literal
Task "Csc" execution -- FAILED
Done building target "CoreCompile" in project "/home/makerpm/rpmbuild/BUILD/AudioCuesheetEditor-0.2.1/AudioCuesheetEditor.csproj".-- FAILED
Done building project "/home/makerpm/rpmbuild/BUILD/AudioCuesheetEditor-0.2.1/AudioCuesheetEditor.csproj".-- FAILED
Task "MSBuild" execution -- FAILED
Done building target "Build" in project "/home/makerpm/rpmbuild/BUILD/AudioCuesheetEditor-0.2.1/AudioCuesheetEditor.sln".-- FAILED
Done building project "/home/makerpm/rpmbuild/BUILD/AudioCuesheetEditor-0.2.1/AudioCuesheetEditor.sln".-- FAILED
Build FAILED.
interessting 일이며, 표준 소스 패키지와 완벽하게 작동 모든게 xbuild 실행
이[[email protected] AudioCuesheetEditor-src-v0.2.1]$ xbuild /property:Configuration=Release AudioCuesheetEditor.sln
XBuild Engine Version 2.10.8.0
Mono, Version 2.10.8.0
Copyright (C) Marek Sieradzki 2005-2008, Novell 2008-2011.
Build started 01.01.2013 16:54:17.
__________________________________________________
Project "/home/sven/Downloads/AudioCuesheetEditor-src-v0.2.1/AudioCuesheetEditor.sln" (default target(s)):
Target ValidateSolutionConfiguration:
Building solution configuration "Release|x86".
Target Build:
Project "/home/sven/Downloads/AudioCuesheetEditor-src-v0.2.1/AudioCuesheetEditor.csproj" (default target(s)):
Target PrepareForBuild:
Configuration: Release Platform: x86
Created directory "bin/Release/"
Created directory "obj/x86/Release/"
Target CopyNonResxEmbeddedResources:
Copying file from '/home/sven/Downloads/AudioCuesheetEditor-src-v0.2.1/gtk-gui/gui.stetic' to '/home/sven/Downloads/AudioCuesheetEditor-src-v0.2.1/obj/x86/Release/AudioCuesheetEditor.gtk-gui.gui.stetic'
Target GenerateSatelliteAssemblies:
No input files were specified for target GenerateSatelliteAssemblies, skipping.
Target CoreCompile:
Tool /usr/bin/gmcs execution started with arguments: /noconfig /debug- /optimize- /out:obj/x86/Release/AudioCuesheetEditor.exe /resource:obj/x86/Release/AudioCuesheetEditor.gtk-gui.gui.stetic,gui.stetic gtk-gui/generated.cs MainWindow.cs gtk-gui/MainWindow.cs AssemblyInfo.cs Language.cs Speechfile.cs Option.cs Program.cs Optionfile.cs Cuesheet.cs Track.cs Cuesheetfile.cs Audiofile.cs TextInputfile.cs Projectfile.cs MainClass.cs Logfile.cs OptionWindow.cs gtk-gui/AudioCuesheetEditor.OptionWindow.cs /target:winexe /main:AudioCuesheetEditor.MainClass /reference:/usr/lib/mono/2.0/System.dll /reference:/usr/lib/mono/2.0/Mono.Posix.dll /reference:/usr/lib/mono/gtk-sharp-2.0/gtk-sharp.dll /reference:/usr/lib/mono/gtk-sharp-2.0/gdk-sharp.dll /reference:/usr/lib/mono/gtk-sharp-2.0/glib-sharp.dll /reference:/usr/lib/mono/gtk-sharp-2.0/glade-sharp.dll /reference:/usr/lib/mono/gtk-sharp-2.0/pango-sharp.dll /reference:/usr/lib/mono/gtk-sharp-2.0/atk-sharp.dll /reference:/usr/lib/mono/2.0/System.Xml.dll /warn:4
Target _CopyDeployFilesToOutputDirectoryPreserveNewest:
Creating directory '/home/sven/Downloads/AudioCuesheetEditor-src-v0.2.1/bin/Release/resources'
Copying file from '/home/sven/Downloads/AudioCuesheetEditor-src-v0.2.1/resources/Texts.xml' to '/home/sven/Downloads/AudioCuesheetEditor-src-v0.2.1/bin/Release/resources/Texts.xml'
Copying file from '/home/sven/Downloads/AudioCuesheetEditor-src-v0.2.1/LICENCE_DE.TXT' to '/home/sven/Downloads/AudioCuesheetEditor-src-v0.2.1/bin/Release/LICENCE_DE.TXT'
Copying file from '/home/sven/Downloads/AudioCuesheetEditor-src-v0.2.1/LICENCE_EN.TXT' to '/home/sven/Downloads/AudioCuesheetEditor-src-v0.2.1/bin/Release/LICENCE_EN.TXT'
Copying file from '/home/sven/Downloads/AudioCuesheetEditor-src-v0.2.1/LICENCE.TXT' to '/home/sven/Downloads/AudioCuesheetEditor-src-v0.2.1/bin/Release/LICENCE.TXT'
Copying file from '/home/sven/Downloads/AudioCuesheetEditor-src-v0.2.1/README.TXT' to '/home/sven/Downloads/AudioCuesheetEditor-src-v0.2.1/bin/Release/README.TXT'
Creating directory '/home/sven/Downloads/AudioCuesheetEditor-src-v0.2.1/bin/Release/resources/icons'
Copying file from '/home/sven/Downloads/AudioCuesheetEditor-src-v0.2.1/resources/icons/application-x-cue-64.png' to '/home/sven/Downloads/AudioCuesheetEditor-src-v0.2.1/bin/Release/resources/icons/application-x-cue-64.png'
Copying file from '/home/sven/Downloads/AudioCuesheetEditor-src-v0.2.1/resources/icons/application-x-cue-48.png' to '/home/sven/Downloads/AudioCuesheetEditor-src-v0.2.1/bin/Release/resources/icons/application-x-cue-48.png'
Copying file from '/home/sven/Downloads/AudioCuesheetEditor-src-v0.2.1/resources/icons/application-x-cue-32.png' to '/home/sven/Downloads/AudioCuesheetEditor-src-v0.2.1/bin/Release/resources/icons/application-x-cue-32.png'
Copying file from '/home/sven/Downloads/AudioCuesheetEditor-src-v0.2.1/resources/icons/application-x-cue-24.png' to '/home/sven/Downloads/AudioCuesheetEditor-src-v0.2.1/bin/Release/resources/icons/application-x-cue-24.png'
Copying file from '/home/sven/Downloads/AudioCuesheetEditor-src-v0.2.1/resources/icons/application-x-cue-22.png' to '/home/sven/Downloads/AudioCuesheetEditor-src-v0.2.1/bin/Release/resources/icons/application-x-cue-22.png'
Copying file from '/home/sven/Downloads/AudioCuesheetEditor-src-v0.2.1/resources/icons/application-x-cue-16.png' to '/home/sven/Downloads/AudioCuesheetEditor-src-v0.2.1/bin/Release/resources/icons/application-x-cue-16.png'
Copying file from '/home/sven/Downloads/AudioCuesheetEditor-src-v0.2.1/resources/icons/application-x-cue-48.ico' to '/home/sven/Downloads/AudioCuesheetEditor-src-v0.2.1/bin/Release/resources/icons/application-x-cue-48.ico'
Copying file from '/home/sven/Downloads/AudioCuesheetEditor-src-v0.2.1/resources/icons/application-x-cue-32.ico' to '/home/sven/Downloads/AudioCuesheetEditor-src-v0.2.1/bin/Release/resources/icons/application-x-cue-32.ico'
Copying file from '/home/sven/Downloads/AudioCuesheetEditor-src-v0.2.1/resources/icons/application-x-cue-24.ico' to '/home/sven/Downloads/AudioCuesheetEditor-src-v0.2.1/bin/Release/resources/icons/application-x-cue-24.ico'
Copying file from '/home/sven/Downloads/AudioCuesheetEditor-src-v0.2.1/resources/icons/application-x-cue-22.ico' to '/home/sven/Downloads/AudioCuesheetEditor-src-v0.2.1/bin/Release/resources/icons/application-x-cue-22.ico'
Copying file from '/home/sven/Downloads/AudioCuesheetEditor-src-v0.2.1/resources/icons/application-x-cue-16.ico' to '/home/sven/Downloads/AudioCuesheetEditor-src-v0.2.1/bin/Release/resources/icons/application-x-cue-16.ico'
Copying file from '/home/sven/Downloads/AudioCuesheetEditor-src-v0.2.1/CHANGELOG.TXT' to '/home/sven/Downloads/AudioCuesheetEditor-src-v0.2.1/bin/Release/CHANGELOG.TXT'
Copying file from '/home/sven/Downloads/AudioCuesheetEditor-src-v0.2.1/KNOWN_ISSUES.TXT' to '/home/sven/Downloads/AudioCuesheetEditor-src-v0.2.1/bin/Release/KNOWN_ISSUES.TXT'
Creating directory '/home/sven/Downloads/AudioCuesheetEditor-src-v0.2.1/bin/Release/samples'
Copying file from '/home/sven/Downloads/AudioCuesheetEditor-src-v0.2.1/samples/Sample_Inputfile.txt' to '/home/sven/Downloads/AudioCuesheetEditor-src-v0.2.1/bin/Release/samples/Sample_Inputfile.txt'
Copying file from '/home/sven/Downloads/AudioCuesheetEditor-src-v0.2.1/samples/Sample_Project.ace' to '/home/sven/Downloads/AudioCuesheetEditor-src-v0.2.1/bin/Release/samples/Sample_Project.ace'
Copying file from '/home/sven/Downloads/AudioCuesheetEditor-src-v0.2.1/samples/Sample_Inputfile2.txt' to '/home/sven/Downloads/AudioCuesheetEditor-src-v0.2.1/bin/Release/samples/Sample_Inputfile2.txt'
Copying file from '/home/sven/Downloads/AudioCuesheetEditor-src-v0.2.1/resources/icons/application-x-cue-128.png' to '/home/sven/Downloads/AudioCuesheetEditor-src-v0.2.1/bin/Release/resources/icons/application-x-cue-128.png'
Target DeployOutputFiles:
Copying file from '/home/sven/Downloads/AudioCuesheetEditor-src-v0.2.1/obj/x86/Release/AudioCuesheetEditor.exe' to '/home/sven/Downloads/AudioCuesheetEditor-src-v0.2.1/bin/Release/AudioCuesheetEditor.exe'
Done building project "/home/sven/Downloads/AudioCuesheetEditor-src-v0.2.1/AudioCuesheetEditor.csproj".
The project 'Packages' is disabled for solution configuration 'Release|x86'.
Done building project "/home/sven/Downloads/AudioCuesheetEditor-src-v0.2.1/AudioCuesheetEditor.sln".
Build succeeded.
0 Warning(s)
0 Error(s)
Time Elapsed 00:00:00.8477090
그래서, 아무도 말해 줄 수, rpmbuild에서 빌드가 실패 왜? 미리 감사드립니다.
인사말 스벤
아무도 어떤 생각을 이용하여 자신을 찾을 수 있을까? – Sven
가능한 경우 rpmbuild 단계에서/build : diag 스위치를 설정하여 xbuild에게 오류에 대한 추가 정보를 생성하도록 요청하십시오. 오류 및 원인을 파악한 후에는 쉽게 해결할 수 있습니다. –