Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » umk fails on launchpad
umk fails on launchpad [message #44488] Tue, 17 March 2015 07:17 Go to next message
bonami is currently offline  bonami
Messages: 186
Registered: June 2007
Location: Beijing
Experienced Member
my code depends on upp.
here is part of the failure
make[1]: Entering directory `/build/buildd/ezcomm-3.6'
building...
umk ${PWD},/usr/share/upp/uppsrc ezcomm GCC -brv +GUI,SHARED,MT ${PWD}/ezcomm
Inline assembly: /build/buildd/ezcomm-3.6;/usr/share/upp/uppsrc
Output directory: /home/buildd/.upp/umk/_out
Main package: /build/buildd/ezcomm-3.6/ezcomm/ezcomm.upp
Build method: 
Invalid build method
make[1]: *** [all] Error 3

this command line works fine on my local machine.
Is GCC not recognized on launchpad servers?
And by the way, will this output directory not be recognized by launchpad?
Re: umk fails on launchpad [message #44489 is a reply to message #44488] Tue, 17 March 2015 07:46 Go to previous messageGo to next message
Sender Ghost is currently offline  Sender Ghost
Messages: 299
Registered: November 2008
Experienced Member
Hello.

bonami wrote on Tue, 17 March 2015 06:17
Is GCC not recognized on launchpad servers?

I guess, there is a need to create the GCC build method (GCC.bm) file inside of "/home/buildd/.upp/umk" directory, based on your output information. You might find it on your local machine inside of "${HOME}/.upp/theide" or "/usr/share/upp" directory on launchpad, if you installed shared U++ source files there.

The list of directories where current umk searches build methods (*.bm) and assemblies (*.var) is follows:
${HOME}/.upp/umk
${HOME}/.upp/theide
${HOME}/.upp/ide
${HOME}
executable directory
bonami wrote on Tue, 17 March 2015 06:17
And by the way, will this output directory not be recognized by launchpad?

As far as I know, the output directory need to create before using umk.

Also there are some examples in other topic.

[Updated on: Tue, 17 March 2015 08:58]

Report message to a moderator

Re: umk fails on launchpad [message #44490 is a reply to message #44489] Tue, 17 March 2015 09:41 Go to previous messageGo to next message
dolik.rce is currently offline  dolik.rce
Messages: 1778
Registered: August 2008
Location: Czech Republic
Senior Contributor

Sender Ghost wrote on Tue, 17 March 2015 07:46
Hello.

bonami wrote on Tue, 17 March 2015 06:17
Is GCC not recognized on launchpad servers?

I guess, there is a need to create the GCC build method (GCC.bm) file inside of "/home/buildd/.upp/umk" directory, based on your output information.

You can also pass full path to the *.bm file instead of just GCC. See the examples in documentation.

Best regards,
Honza
Re: umk fails on launchpad [message #44492 is a reply to message #44490] Tue, 17 March 2015 10:10 Go to previous messageGo to next message
Sender Ghost is currently offline  Sender Ghost
Messages: 299
Registered: November 2008
Experienced Member
Hello, Jan.
dolik.rce wrote on Tue, 17 March 2015 08:41
See the examples in documentation.

Yes, I read it a long time ago. My current understanding is based on the reading of U++ source files. The quality of this understanding is different question, where the answer might change over time.

Thanks for pointing it out, if it would help to resolve the mentioned issue(s).

[Updated on: Tue, 17 March 2015 10:29]

Report message to a moderator

Re: umk fails on launchpad [message #44498 is a reply to message #44488] Wed, 18 March 2015 09:30 Go to previous messageGo to next message
bonami is currently offline  bonami
Messages: 186
Registered: June 2007
Location: Beijing
Experienced Member
please check the error "Invalid build method" at last
building...
umk ${PWD},/usr/share/upp/uppsrc ezcomm ./GCC.bm -brv +GUI,SHARED,MT ${PWD}/ezcomm
Inline assembly: /build/buildd/ezcomm-3.6.1;/usr/share/upp/uppsrc
Output directory: /home/buildd/.upp/umk/_out
Main package: /build/buildd/ezcomm-3.6.1/ezcomm/ezcomm.upp
Build method: /build/buildd/ezcomm-3.6.1/GCC.bm
----- CtrlLib ( GUI SHARED MT GCC BLITZ LINUX POSIX ) (1 / 9)
cd /usr/share/upp/uppsrc/CtrlLib
/usr/share/upp/uppsrc/CtrlLib/XPTheme.dli(1) : blocks BLITZ of /usr/share/upp/uppsrc/CtrlLib/ChWin32.cpp
/usr/share/upp/uppsrc/CtrlLib/ChGtk.h(1) : blocks BLITZ of /usr/share/upp/uppsrc/CtrlLib/ChGtk0.cpp
/usr/share/upp/uppsrc/CtrlLib/ChGtk.h(1) : blocks BLITZ of /usr/share/upp/uppsrc/CtrlLib/ChGtk.cpp
BLITZ: LabelBase.cpp Button.cpp Switch.cpp EditField.cpp Text.cpp LineEdit.cpp DocEdit.cpp ScrollBar.cpp HeaderCtrl.cpp ArrayCtrl.cpp MultiButton.cpp PopupTable.cpp DropList.cpp DropChoice.cpp Static.cpp Splitter.cpp FrameSplitter.cpp SliderCtrl.cpp ColumnList.cpp Progress.cpp AKeys.cpp RichTextView.cpp Prompt.cpp Help.cpp DateTimeCtrl.cpp SuggestCtrl.cpp Bar.cpp MenuItem.cpp MenuBar.cpp ToolButton.cpp ToolBar.cpp ToolTip.cpp StatusBar.cpp TabCtrl.cpp TreeCtrl.cpp DropTree.cpp DlgColor.cpp ColorPopup.cpp ColorPusher.cpp FileList.cpp FileSel.cpp FileSelUtil.cpp PrinterJob.cpp Windows.cpp Win32.cpp Gtk.cpp TrayIconWin32.cpp TrayIconX11.cpp TrayIconGtk.cpp Update.cpp CtrlUtil.cpp LNGCtrl.cpp Ch.cpp
ChWin32.cpp
g++ -c  -I"/build/buildd/ezcomm-3.6.1" -I"/usr/share/upp/uppsrc" -I"/usr/include/freetype2" -I"/usr/include/gtk-2.0" -I"/usr/include/glib-2.0" -I"/usr/lib/glib-2.0/include" -I"/usr/lib/gtk-2.0/include" -I"/usr/include/cairo" -I"/usr/include/pango-1.0" -I"/usr/include/atk-1.0" -I"/usr/include/gdk-pixbuf-2.0" -I"/usr/lib/i386-linux-gnu/glib-2.0/include" -I"/usr/lib/x86_64-linux-gnu/glib-2.0/include" -I"/usr/lib/i386-linux-gnu/gtk-2.0/include" -I"/usr/lib/x86_64-linux-gnu/gtk-2.0/include" -I"/usr/include/gtk-3.0/gdk" -I"/home/buildd/.upp/umk/_out/CtrlLib/GCC.Blitz.Gui.Mt.Shared" -DflagGUI -DflagSHARED -DflagMT -DflagGCC -DflagBLITZ -DflagLINUX -DflagPOSIX  -fexceptions -Os -finline-limit=20 -ffunction-sections -fdata-sections -x c++ "/usr/share/upp/uppsrc/CtrlLib/ChWin32.cpp"  -o "/home/buildd/.upp/umk/_out/CtrlLib/GCC.Blitz.Gui.Mt.Shared/ChWin32.o"
compiled in (0:00.00)
ChGtk0.cpp
g++ -c  -I"/build/buildd/ezcomm-3.6.1" -I"/usr/share/upp/uppsrc" -I"/usr/include/freetype2" -I"/usr/include/gtk-2.0" -I"/usr/include/glib-2.0" -I"/usr/lib/glib-2.0/include" -I"/usr/lib/gtk-2.0/include" -I"/usr/include/cairo" -I"/usr/include/pango-1.0" -I"/usr/include/atk-1.0" -I"/usr/include/gdk-pixbuf-2.0" -I"/usr/lib/i386-linux-gnu/glib-2.0/include" -I"/usr/lib/x86_64-linux-gnu/glib-2.0/include" -I"/usr/lib/i386-linux-gnu/gtk-2.0/include" -I"/usr/lib/x86_64-linux-gnu/gtk-2.0/include" -I"/usr/include/gtk-3.0/gdk" -I"/home/buildd/.upp/umk/_out/CtrlLib/GCC.Blitz.Gui.Mt.Shared" -DflagGUI -DflagSHARED -DflagMT -DflagGCC -DflagBLITZ -DflagLINUX -DflagPOSIX  -fexceptions -Os -finline-limit=20 -ffunction-sections -fdata-sections -x c++ "/usr/share/upp/uppsrc/CtrlLib/ChGtk0.cpp"  -o "/home/buildd/.upp/umk/_out/CtrlLib/GCC.Blitz.Gui.Mt.Shared/ChGtk0.o"
compiled in (0:00.00)
ChGtk.cpp
g++ -c  -I"/build/buildd/ezcomm-3.6.1" -I"/usr/share/upp/uppsrc" -I"/usr/include/freetype2" -I"/usr/include/gtk-2.0" -I"/usr/include/glib-2.0" -I"/usr/lib/glib-2.0/include" -I"/usr/lib/gtk-2.0/include" -I"/usr/include/cairo" -I"/usr/include/pango-1.0" -I"/usr/include/atk-1.0" -I"/usr/include/gdk-pixbuf-2.0" -I"/usr/lib/i386-linux-gnu/glib-2.0/include" -I"/usr/lib/x86_64-linux-gnu/glib-2.0/include" -I"/usr/lib/i386-linux-gnu/gtk-2.0/include" -I"/usr/lib/x86_64-linux-gnu/gtk-2.0/include" -I"/usr/include/gtk-3.0/gdk" -I"/home/buildd/.upp/umk/_out/CtrlLib/GCC.Blitz.Gui.Mt.Shared" -DflagGUI -DflagSHARED -DflagMT -DflagGCC -DflagBLITZ -DflagLINUX -DflagPOSIX  -fexceptions -Os -finline-limit=20 -ffunction-sections -fdata-sections -x c++ "/usr/share/upp/uppsrc/CtrlLib/ChGtk.cpp"  -o "/home/buildd/.upp/umk/_out/CtrlLib/GCC.Blitz.Gui.Mt.Shared/ChGtk.o"
compiled in (0:00.00)
CtrlLib.icpp
g++ -c  -I"/build/buildd/ezcomm-3.6.1" -I"/usr/share/upp/uppsrc" -I"/usr/include/freetype2" -I"/usr/include/gtk-2.0" -I"/usr/include/glib-2.0" -I"/usr/lib/glib-2.0/include" -I"/usr/lib/gtk-2.0/include" -I"/usr/include/cairo" -I"/usr/include/pango-1.0" -I"/usr/include/atk-1.0" -I"/usr/include/gdk-pixbuf-2.0" -I"/usr/lib/i386-linux-gnu/glib-2.0/include" -I"/usr/lib/x86_64-linux-gnu/glib-2.0/include" -I"/usr/lib/i386-linux-gnu/gtk-2.0/include" -I"/usr/lib/x86_64-linux-gnu/gtk-2.0/include" -I"/usr/include/gtk-3.0/gdk" -I"/home/buildd/.upp/umk/_out/CtrlLib/GCC.Blitz.Gui.Mt.Shared" -DflagGUI -DflagSHARED -DflagMT -DflagGCC -DflagBLITZ -DflagLINUX -DflagPOSIX  -fexceptions -Os -finline-limit=20 -ffunction-sections -fdata-sections -x c++ "/usr/share/upp/uppsrc/CtrlLib/CtrlLib.icpp"  -o "/home/buildd/.upp/umk/_out/CtrlLib/GCC.Blitz.Gui.Mt.Shared/CtrlLib.o"
g++ -c  -I"/build/buildd/ezcomm-3.6.1" -I"/usr/share/upp/uppsrc" -I"/usr/include/freetype2" -I"/usr/include/gtk-2.0" -I"/usr/include/glib-2.0" -I"/usr/lib/glib-2.0/include" -I"/usr/lib/gtk-2.0/include" -I"/usr/include/cairo" -I"/usr/include/pango-1.0" -I"/usr/include/atk-1.0" -I"/usr/include/gdk-pixbuf-2.0" -I"/usr/lib/i386-linux-gnu/glib-2.0/include" -I"/usr/lib/x86_64-linux-gnu/glib-2.0/include" -I"/usr/lib/i386-linux-gnu/gtk-2.0/include" -I"/usr/lib/x86_64-linux-gnu/gtk-2.0/include" -I"/usr/include/gtk-3.0/gdk" -I"/home/buildd/.upp/umk/_out/CtrlLib/GCC.Blitz.Gui.Mt.Shared" -DflagGUI -DflagSHARED -DflagMT -DflagGCC -DflagBLITZ -DflagLINUX -DflagPOSIX  -fexceptions -Os -finline-limit=20 -ffunction-sections -fdata-sections "/home/buildd/.upp/umk/_out/CtrlLib/GCC.Blitz.Gui.Mt.Shared/$blitz.cpp" -o "/home/buildd/.upp/umk/_out/CtrlLib/GCC.Blitz.Gui.Mt.Shared/$blitz.o"
g++ -c  -I"/build/buildd/ezcomm-3.6.1" -I"/usr/share/upp/uppsrc" -I"/usr/include/freetype2" -I"/usr/include/gtk-2.0" -I"/usr/include/glib-2.0" -I"/usr/lib/glib-2.0/include" -I"/usr/lib/gtk-2.0/include" -I"/usr/include/cairo" -I"/usr/include/pango-1.0" -I"/usr/include/atk-1.0" -I"/usr/include/gdk-pixbuf-2.0" -I"/usr/lib/i386-linux-gnu/glib-2.0/include" -I"/usr/lib/x86_64-linux-gnu/glib-2.0/include" -I"/usr/lib/i386-linux-gnu/gtk-2.0/include" -I"/usr/lib/x86_64-linux-gnu/gtk-2.0/include" -I"/usr/include/gtk-3.0/gdk" -I"/home/buildd/.upp/umk/_out/CtrlLib/GCC.Blitz.Gui.Mt.Shared" -DflagGUI -DflagSHARED -DflagMT -DflagGCC -DflagBLITZ -DflagLINUX -DflagPOSIX  -fexceptions -Os -finline-limit=20 -ffunction-sections -fdata-sections -x c++ "/usr/share/upp/uppsrc/CtrlLib/ChWin32.cpp"  -o "/home/buildd/.upp/umk/_out/CtrlLib/GCC.Blitz.Gui.Mt.Shared/ChWin32.o"
g++ -c  -I"/build/buildd/ezcomm-3.6.1" -I"/usr/share/upp/uppsrc" -I"/usr/include/freetype2" -I"/usr/include/gtk-2.0" -I"/usr/include/glib-2.0" -I"/usr/lib/glib-2.0/include" -I"/usr/lib/gtk-2.0/include" -I"/usr/include/cairo" -I"/usr/include/pango-1.0" -I"/usr/include/atk-1.0" -I"/usr/include/gdk-pixbuf-2.0" -I"/usr/lib/i386-linux-gnu/glib-2.0/include" -I"/usr/lib/x86_64-linux-gnu/glib-2.0/include" -I"/usr/lib/i386-linux-gnu/gtk-2.0/include" -I"/usr/lib/x86_64-linux-gnu/gtk-2.0/include" -I"/usr/include/gtk-3.0/gdk" -I"/home/buildd/.upp/umk/_out/CtrlLib/GCC.Blitz.Gui.Mt.Shared" -DflagGUI -DflagSHARED -DflagMT -DflagGCC -DflagBLITZ -DflagLINUX -DflagPOSIX  -fexceptions -Os -finline-limit=20 -ffunction-sections -fdata-sections -x c++ "/usr/share/upp/uppsrc/CtrlLib/ChGtk0.cpp"  -o "/home/buildd/.upp/umk/_out/CtrlLib/GCC.Blitz.Gui.Mt.Shared/ChGtk0.o"
g++ -c  -I"/build/buildd/ezcomm-3.6.1" -I"/usr/share/upp/uppsrc" -I"/usr/include/freetype2" -I"/usr/include/gtk-2.0" -I"/usr/include/glib-2.0" -I"/usr/lib/glib-2.0/include" -I"/usr/lib/gtk-2.0/include" -I"/usr/include/cairo" -I"/usr/include/pango-1.0" -I"/usr/include/atk-1.0" -I"/usr/include/gdk-pixbuf-2.0" -I"/usr/lib/i386-linux-gnu/glib-2.0/include" -I"/usr/lib/x86_64-linux-gnu/glib-2.0/include" -I"/usr/lib/i386-linux-gnu/gtk-2.0/include" -I"/usr/lib/x86_64-linux-gnu/gtk-2.0/include" -I"/usr/include/gtk-3.0/gdk" -I"/home/buildd/.upp/umk/_out/CtrlLib/GCC.Blitz.Gui.Mt.Shared" -DflagGUI -DflagSHARED -DflagMT -DflagGCC -DflagBLITZ -DflagLINUX -DflagPOSIX  -fexceptions -Os -finline-limit=20 -ffunction-sections -fdata-sections -x c++ "/usr/share/upp/uppsrc/CtrlLib/ChGtk.cpp"  -o "/home/buildd/.upp/umk/_out/CtrlLib/GCC.Blitz.Gui.Mt.Shared/ChGtk.o"
compiled in (0:02.49)
Invalid build method
g++ -c  -I"/build/buildd/ezcomm-3.6.1" -I"/usr/share/upp/uppsrc" -I"/usr/include/freetype2" -I"/usr/include/gtk-2.0" -I"/usr/include/glib-2.0" -I"/usr/lib/glib-2.0/include" -I"/usr/lib/gtk-2.0/include" -I"/usr/include/cairo" -I"/usr/include/pango-1.0" -I"/usr/include/atk-1.0" -I"/usr/include/gdk-pixbuf-2.0" -I"/usr/lib/i386-linux-gnu/glib-2.0/include" -I"/usr/lib/x86_64-linux-gnu/glib-2.0/include" -I"/usr/lib/i386-linux-gnu/gtk-2.0/include" -I"/usr/lib/x86_64-linux-gnu/gtk-2.0/include" -I"/usr/include/gtk-3.0/gdk" -I"/home/buildd/.upp/umk/_out/CtrlLib/GCC.Blitz.Gui.Mt.Shared" -DflagGUI -DflagSHARED -DflagMT -DflagGCC -DflagBLITZ -DflagLINUX -DflagPOSIX  -fexceptions -Os -finline-limit=20 -ffunction-sections -fdata-sections -x c++ "/usr/share/upp/uppsrc/CtrlLib/CtrlLib.icpp"  -o "/home/buildd/.upp/umk/_out/CtrlLib/GCC.Blitz.Gui.Mt.Shared/CtrlLib.o"
CtrlLib: 57 file(s) built in (0:27.18), 476 msecs / file, duration = 27783 msecs, parallelization 40%
Re: umk fails on launchpad [message #44503 is a reply to message #44488] Thu, 19 March 2015 04:40 Go to previous message
bonami is currently offline  bonami
Messages: 186
Registered: June 2007
Location: Beijing
Experienced Member
The error is caused by, in Makefile, the third of umk parameters does not accept relative path.

In line 36 of Makefile,
cp ${source_files} ${program_name}

I'm so puzzled how the building runs on the server.
1. In home dir /build/buildd, mkdir ezcomm-3.6.1 and get the code, or extract the code zip.
2. under the code dir, run make.
3. Makefile will copy source code to a subdir ezcomm and compile there?

[Updated on: Thu, 19 March 2015 05:51]

Report message to a moderator

Previous Topic: valgrind problem, heap-leak debugging
Next Topic: Makefile's install depends on all
Goto Forum:
  


Current Time: Thu May 28 00:27:09 CEST 2020

Total time taken to generate the page: 0.01487 seconds