On Mon, 15 Jan 2018, Thomas Caravia wrote:

> I'm not familiar with rpm but my packaging is just this:
> 
> 1) package/compile: you'll need "redo" to build

Sorry, doesn't work for me:

bash-4.2$ package/compile 
redo: ERROR: all: Cannot find .do file to use.
bash-4.2$ sh -ex package/compile
+ '[' '!' -d package ']'
+ '[' '!' -d source ']'
+ ./package/prepare
+ ./package/make
redo: ERROR: all: Cannot find .do file to use.
bash-4.2$ 

The redo build works, but isn't perfect either:

bash-4.2$ package/compile
./package/tools: line 17: type: clang++: not found
redo.cpp: In function void read_db_line(std::istream&, Information&, 
std::string&):
redo.cpp:394:14: warning: unused variable c [-Wunused-variable]
  switch (int c = s.get()) {
              ^
popt.cpp: In member function virtual void popt::table_definition::help():
popt.cpp:147:13: warning: unused variable short_name [-Wunused-variable]
    if (char short_name = n->query_short_name()) l += 2;
             ^
popt.cpp:149:14: warning: unused variable short_name [-Wunused-variable]
     if (char short_name = n->query_short_name()) l += 1;
              ^
popt.cpp:162:14: warning: unused variable short_name [-Wunused-variable]
     if (char short_name = n->query_short_name()) t += "|";
              ^
bash-4.2$ 

Build platform is Fedora linux.

Reply via email to