Home » Developing U++ » Releasing U++ » Tarball issues
Re: Tarball issues [message #47431 is a reply to message #47425] |
Sun, 15 January 2017 23:09 |
Sender Ghost
Messages: 301 Registered: November 2008
|
Senior Member |
|
|
amrein wrote on Sun, 15 January 2017 20:32For now on, I do a manual fix with before running make:
sed -i -e 's|\$\$|$$$$|g' uppsrc/Makefile.in
I don't know how to fix umk. It needs to not just duplicate but quadruplicate the '$' character found in file names when it creates Makefile.
I tried following sed patch instead:
% sed -i '.bak' -e '/.tpp/s|\$|$$|g' Makefile
But this makes Makefile incompatible with GNU make (gmake on FreeBSD):
% gmake
<...>
gmake: *** No rule to make target 'ide/app.tpp/About$$en-us.tppi', needed by '_out/ide/CLANG-Bsd-Clang-Freebsd-Gui-Main-Mt-Posix-Shared/About.o'. Stop.
I guess, this is not a solution for current (umk/theide) generator of exported Makefile, because on other platforms GNU make may be used. Otherwise, possible to generate BSD and GNU compatible make files with different names: BSDmakefile and GNUmakefile. The GNU make may use GNUmakefile and BSD make may use BSDmakefile first.
The mentioned issue was partially fixed with using compiler generated dependency information, some patch for which I attached in another topic (as a fix for another issue). For example, Clang compiler (on FreeBSD 10.3) escapes "$" character(s) to "$$" for dependencies:
% touch build_info.h
% c++ -MM -c -pipe -Wno-logical-op-parentheses -std=c++11 -DflagGUI -DflagMT -DflagCLANG -DflagSHARED -DflagPOSIX -DflagBSD -DflagFREEBSD -DflagNOGTK -I./ `pkg-config freetype2 -cflags` ide/About.cpp | grep .tpp
Core/topic_group.h ide/app.tpp/all.i ide/app.tpp/About$$en-us.tppi \
ide/app.tpp/AdvancedReplace$$en-us.tppi \
ide/app.tpp/AndroidBuilder$$en-us.tppi ide/app.tpp/Assist$$en-us.tppi \
ide/app.tpp/BSD$$en-us.tppi ide/app.tpp/Blitz$$en-us.tppi \
ide/app.tpp/ConfiguringPackagesAssemblies$$en-us.tppi \
ide/app.tpp/Contact$$en-us.tppi ide/app.tpp/Cpp$$en-us.tppi \
ide/app.tpp/CrossComp$$en-gb.tppi ide/app.tpp/Files$$en-us.tppi \
ide/app.tpp/FindFile$$en-us.tppi ide/app.tpp/Flags$$en-us.tppi \
ide/app.tpp/GPL$$en-us.tppi ide/app.tpp/GettingStarted$$en-us.tppi \
ide/app.tpp/GettingStarted$$ru-ru.tppi ide/app.tpp/IconDes$$en-us.tppi \
ide/app.tpp/IntroductionToUPP$$en-us.tppi ide/app.tpp/Keys$$en-us.tppi \
ide/app.tpp/NewProject$$en-us.tppi \
ide/app.tpp/PackageTemplates$$en-us.tppi \
ide/app.tpp/PackagesAssembliesAndNests$$en-us.tppi \
ide/app.tpp/PackagesAssembliesAndNests$$ru-ru.tppi \
ide/app.tpp/Sponsor$$en-us.tppi ide/app.tpp/Topic$$en-us.tppi \
ide/app.tpp/cmdline$$en-us.tppi ide/app.tpp/esc$$en-us.tppi \
ide/app.tpp/importext$$en-us.tppi ide/app.tpp/index$$en-us.tppi \
ide/app.tpp/index$$ru-ru.tppi ide/app.tpp/install$$en-us.tppi \
ide/app.tpp/install$$ru-ru.tppi ide/app.tpp/macros$$en-us.tppi \
ide/app.tpp/special$$en-us.tppi ide/app.tpp/umk$$en-us.tppi \
ide/app.tpp/upp$$en-us.tppi build_info.h
This works for BSD make just for first run, while dependency information wasn't generated yet (which may be enough for first build without interruptions).
The other possible solution is to rename directories/files with "$" characters, but this also may require to change other parts of source code.
The devel/upp FreeBSD port just uses gmake to build release version, which doesn't have this issue.
[Updated on: Mon, 16 January 2017 13:56] Report message to a moderator
|
|
|
|
|
Tarball issues
By: mirek on Mon, 09 January 2017 09:47
|
|
|
Re: Tarball issues
By: amrein on Mon, 09 January 2017 11:22
|
|
|
Re: Tarball issues
By: amrein on Tue, 10 January 2017 19:57
|
|
|
Re: Tarball issues
By: Klugier on Tue, 10 January 2017 21:09
|
|
|
Re: Tarball issues
By: mirek on Tue, 10 January 2017 22:47
|
|
|
Re: Tarball issues
By: mirek on Tue, 10 January 2017 22:49
|
|
|
Re: Tarball issues
By: amrein on Wed, 11 January 2017 04:54
|
|
|
Re: Tarball issues
By: Klugier on Wed, 11 January 2017 13:01
|
|
|
Re: Tarball issues
By: amrein on Wed, 11 January 2017 15:15
|
|
|
Re: Tarball issues
By: Klugier on Wed, 11 January 2017 17:35
|
|
|
Re: Tarball issues
By: mirek on Wed, 11 January 2017 20:21
|
|
|
Re: Tarball issues
By: amrein on Wed, 11 January 2017 22:09
|
|
|
Re: Tarball issues
By: amrein on Wed, 11 January 2017 22:42
|
|
|
Re: Tarball issues
|
|
|
Re: Tarball issues
By: mirek on Thu, 12 January 2017 08:49
|
|
|
Re: Tarball issues
By: Tom1 on Thu, 12 January 2017 09:10
|
|
|
Re: Tarball issues
By: Tom1 on Thu, 12 January 2017 12:27
|
|
|
Re: Tarball issues
By: amrein on Thu, 12 January 2017 16:41
|
|
|
Re: Tarball issues
By: Klugier on Thu, 12 January 2017 21:17
|
|
|
Re: Tarball issues
By: amrein on Thu, 12 January 2017 23:06
|
|
|
Re: Tarball issues
By: Tom1 on Fri, 13 January 2017 10:19
|
|
|
Re: Tarball issues
By: amrein on Sat, 14 January 2017 22:18
|
|
|
Re: Tarball issues
By: amrein on Sat, 14 January 2017 22:35
|
|
|
Re: Tarball issues
By: Klugier on Sat, 14 January 2017 22:53
|
|
|
Re: Tarball issues
By: Tom1 on Sat, 14 January 2017 23:21
|
|
|
Re: Tarball issues
By: amrein on Sun, 15 January 2017 21:32
|
|
|
Re: Tarball issues
By: Klugier on Sun, 15 January 2017 22:33
|
|
|
Re: Tarball issues
By: amrein on Sun, 15 January 2017 22:59
|
|
|
Re: Tarball issues
By: mirek on Mon, 16 January 2017 11:20
|
|
|
Re: Tarball issues
|
|
|
Re: Tarball issues
By: amrein on Mon, 16 January 2017 00:51
|
|
|
Re: Tarball issues
By: Klugier on Sat, 14 January 2017 22:40
|
|
|
Re: Tarball issues
By: amrein on Sat, 14 January 2017 22:50
|
|
|
Re: Tarball issues
|
|
|
Re: Tarball issues
By: amrein on Sun, 15 January 2017 17:47
|
|
|
Re: Tarball issues
By: amrein on Sun, 15 January 2017 17:50
|
|
|
Re: Tarball issues
By: Klugier on Sun, 15 January 2017 21:38
|
|
|
Re: Tarball issues
By: Klugier on Sun, 15 January 2017 22:13
|
|
|
Re: Tarball issues
By: amrein on Sun, 15 January 2017 23:37
|
|
|
Re: Tarball issues
By: amrein on Sun, 15 January 2017 21:37
|
|
|
Re: Tarball issues
By: amrein on Mon, 16 January 2017 19:21
|
|
|
Re: Tarball issues
|
|
|
Re: Tarball issues
By: amrein on Tue, 17 January 2017 09:23
|
|
|
Re: Tarball issues
By: amrein on Tue, 17 January 2017 09:37
|
|
|
Re: Tarball issues
|
|
|
Re: Tarball issues
By: amrein on Tue, 17 January 2017 19:01
|
|
|
Re: Tarball issues
|
|
|
Re: Tarball issues
By: amrein on Wed, 18 January 2017 07:49
|
|
|
Re: Tarball issues
|
|
|
Re: Tarball issues
By: amrein on Wed, 18 January 2017 13:44
|
|
|
Re: Tarball issues
|
Goto Forum:
Current Time: Fri Mar 29 02:47:45 CET 2024
Total time taken to generate the page: 0.01608 seconds
|