bug-mailutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-mailutils] how to download mailutils sources from git for next


From: Franta Hanzlík
Subject: Re: [bug-mailutils] how to download mailutils sources from git for next offline build
Date: Thu, 6 Jul 2017 16:54:53 +0200

On Sat, 10 Jun 2017 14:44:07 +0200
"Pierre-Jean" <address@hidden> wrote:

> Hello Franta,
> 
> > How should I do that minimal tarbal, with ./configure for my system
> > autoconf, with .po files, radius.m4 and all needed files for mailutils
> > build - and withou other balast?  
> 
> I think that `make dist` should do what you want. That's a default option for
> gnu automake. There's also a `make distcheck`, which constructs the tarball
> and additionnaly ensure most use case works, by attempting to build the
> resulted tarball in a temporary directory. You'll find the documentation on 
> the
> automake/autotool website.
> 
> Kind Regards,
> Pierre-Jean.

On Sat, 10 Jun 2017 19:08:54 +0300
Sergey Poznyakoff <address@hidden> wrote:

> Franta Hanzlík <address@hidden> ha escrit:
> 
> > Please, what is best way for preparing mailutils package for subsequent
> > build on destination machine,  
> 
> make distcheck


Hello Pierre-Jean and Sergey,

thanks for your advices. Again I found some time working on compiling
 mailutils, but results are not good:

- "make dist" ends with the contents of the directory 30 MB larger than
it was before.

- "make distcheck" produces decent tarball (~ 2.6 MB .tar.xz) and
continues with makeutils build. But after while it ends with error
...
  CC       inc.o
  CC       list.o
  CC       mail.o
  CC       mailline.o
  CC       mailvar.o
  CC       mbox.o
  CC       msgset.o
msgset.c:1176:5: error: two or more data types in declaration specifiers
msgset.c:1176:1: warning: useless type name in empty declaration [enabled by 
default]
msgset.c: In function ‘parse’:
msgset.c:1273:8: error: expected identifier or ‘(’ before ‘=’ token
msgset.c:1273:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
msgset.c:1380:7: error: expected expression before ‘char’
msgset.c:1383:12: error: expected identifier or ‘(’ before ‘=’ token
msgset.c:1383:7: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
msgset.c:1386:7: error: expected expression before ‘char’
msgset.c:1388:12: error: expected identifier or ‘(’ before ‘=’ token
msgset.c:1393:40: error: expected expression before ‘<=’ token
msgset.c:1420:8: error: expected identifier or ‘(’ before ‘=’ token
msgset.c:1420:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
msgset.c:1750:13: error: expected expression before ‘char’
msgset.c:1799:11: error: expected expression before ‘char’
msgset.c:1802:8: error: expected expression before ‘char’
msgset.c:1809:9: error: expected identifier or ‘(’ before ‘=’ token
msgset.c:1809:4: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
msgset.c:1907:7: error: expected expression before ‘char’
msgset.c:1911:40: error: expected expression before ‘<=’ token
make[4]: *** [msgset.o] Error 1
make[4]: Leaving directory 
`/mnt/ARCHIV/misc_src/mailutils/mailutils-3.2.93/mailutils-3.2.93/_build/mail'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory 
`/mnt/ARCHIV/misc_src/mailutils/mailutils-3.2.93/mailutils-3.2.93/_build/mail'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory 
`/mnt/ARCHIV/misc_src/mailutils/mailutils-3.2.93/mailutils-3.2.93/_build'
make[1]: *** [all] Error 2
make[1]: Leaving directory 
`/mnt/ARCHIV/misc_src/mailutils/mailutils-3.2.93/mailutils-3.2.93/_build'
make: *** [distcheck] Error 1


I will get the same result when I take produced mailutils-3.2.93.tar.xz,
unpack it and then do ./configure && make :
...
  CC       list.o
  CC       mail.o
  CC       mailline.o
  CC       mailvar.o
  CC       mbox.o
  CC       msgset.o
msgset.c:1176:5: error: two or more data types in declaration specifiers
 int char;
     ^
msgset.c:1176:1: warning: useless type name in empty declaration [enabled by 
default]
 int char;
 ^
msgset.c: In function ‘parse’:
msgset.c:1273:8: error: expected identifier or ‘(’ before ‘=’ token
   char = YYEMPTY; /* Cause a token to be read.  */
        ^
msgset.c:1273:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
   char = YYEMPTY; /* Cause a token to be read.  */
   ^
msgset.c:1380:7: error: expected expression before ‘char’
   if (char == YYEMPTY)
       ^
msgset.c:1383:12: error: expected identifier or ‘(’ before ‘=’ token
       char = YYLEX;
            ^
msgset.c:1383:7: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
       char = YYLEX;
       ^
msgset.c:1386:7: error: expected expression before ‘char’
   if (char <= YYEOF)
       ^
msgset.c:1388:12: error: expected identifier or ‘(’ before ‘=’ token
       char = yytoken = YYEOF;
            ^
msgset.c:1393:40: error: expected expression before ‘<=’ token
       yytoken = YYTRANSLATE (char);
                                        ^
msgset.c:1420:8: error: expected identifier or ‘(’ before ‘=’ token
   char = YYEMPTY;
        ^
msgset.c:1420:3: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
   char = YYEMPTY;
   ^
msgset.c:1750:13: error: expected expression before ‘char’
   yytoken = char == YYEMPTY ? YYEMPTY : YYTRANSLATE (char);
             ^
msgset.c:1799:11: error: expected expression before ‘char’
       if (char <= YYEOF)
           ^
msgset.c:1802:8: error: expected expression before ‘char’
    if (char == YYEOF)
        ^
msgset.c:1809:9: error: expected identifier or ‘(’ before ‘=’ token
    char = YYEMPTY;
         ^
msgset.c:1809:4: warning: ISO C90 forbids mixed declarations and code 
[-Wdeclaration-after-statement]
    char = YYEMPTY;
    ^
msgset.c:1907:7: error: expected expression before ‘char’
   if (char != YYEMPTY)
       ^
msgset.c:1911:40: error: expected expression before ‘<=’ token
       yytoken = YYTRANSLATE (char);
                                        ^
make[3]: *** [msgset.o] Error 1
make[3]: Leaving directory 
`/mnt/ARCHIV/dist/RH/MyRPMs/tmp/mailutils-3.2.93/mail'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory 
`/mnt/ARCHIV/dist/RH/MyRPMs/tmp/mailutils-3.2.93/mail'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/ARCHIV/dist/RH/MyRPMs/tmp/mailutils-3.2.93'
make: *** [all] Error 2


(I tried it with actual git version mailutils-3.2.93 ce4b84ab)

Regards, Franta
--
I hope the Fedora will have a better init and no binary logs



reply via email to

[Prev in Thread] Current Thread [Next in Thread]