Re: Request for new release

2018-06-25 Thread Stipe Tolj

Hi all,

ok, the pure build issue could be solved, thanks to Alex's research 
about this:


https://lists.gnu.org/archive/html/bug-automake/2009-06/msg1.html

ChangeLog:

https://redmine.kannel.org/projects/kannel/repository/revisions/5226/diff

but, when we use a parallel build, i.e. via 'make -j6' we run into a 
build error:


cc -std=gnu99 -D_REENTRANT=1 -I. -Igw -g -O2 -D_XOPEN_SOURCE=600 
-D_BSD_SOURCE -D_DEFAULT_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2 
-I/usr/include/openssl -o gwlib/xmlrpc.o -c gwlib/xmlrpc.c

make -C utils
make[1]: Entering directory `/home/tolj/src/kannel/devel/gateway/utils'
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I..-I. -I../gw -I../gwlib -I.. 
-g -O2 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE 
-D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/openssl -MT 
seewbmp.o -MD -MP -MF .deps/seewbmp.Tpo -c -o seewbmp.o seewbmp.c
make[1]: *** No rule to make target `../libgwlib.a', needed by 
`seewbmp'.  Stop.

make[1]: *** Waiting for unfinished jobs
mv -f .deps/seewbmp.Tpo .deps/seewbmp.Po
make[1]: Leaving directory `/home/tolj/src/kannel/devel/gateway/utils'
make: *** [utils] Error 2
make: *** Waiting for unfinished jobs

This is due to the non-complete migration to the auto-tools suite. 
Continuing here with a non-parallel 'make' does finalize the build.



Am 19.06.2018 15:25, schrieb Stipe Tolj:

Am 19.06.2018 15:18, schrieb Stipe Tolj:

Hi all,

ok, the next piece of "cake" here:

When I bootstrap the code either on Debian 8 (amd64) or on CentOS 7
(amd64), I can './configure && make' on the same that i bootstrapped,
but no on the other.

I.e. here is what I get on Debian 8, when using a Centos 7 bootstrapped
codebase:

tolj@d8-64:~/src/kannel/svn/gateway-1.4.5-c7$ make -C utils
make: Entering directory
'/home/tolj/src/kannel/svn/gateway-1.4.5-c7/utils'
cd .. && make am--refresh
make[1]: Entering directory '/home/tolj/src/kannel/svn/gateway-1.4.5-c7'
Makefile:331: .depend: No such file or directory
for dir in gw gw/smsc gwlib test wmlscript checks wap radius; do \
for file in $dir/*.c; do \
gcc -std=gnu99 -D_REENTRANT=1 -I. -Igw -g -O2 -D_XOPEN_SOURCE=600
-D_BSD_SOURCE -D_DEFAULT_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2
-I/usr/include/openssl -MM $file -MT $dir/`basename $file .c`.o -MT
$dir/`basename $file .c`.i; done; done > .depend
make[1]: *** No rule to make target 'am--refresh'. Stop.
make[1]: Leaving directory '/home/tolj/src/kannel/svn/gateway-1.4.5-c7'
Makefile:436: recipe for target '../aclocal.m4' failed
make: *** [../aclocal.m4] Error 2
make: Leaving directory
'/home/tolj/src/kannel/svn/gateway-1.4.5-c7/utils'
tolj@d8-64:~/src/kannel/svn/gateway-1.4.5-c7$

I get some more info when running in debug:

...
Considering target file '../aclocal.m4'.
Pruning file '../acinclude.m4'.
Pruning file '../configure.in'.
Finished prerequisites of target file '../aclocal.m4'.
Prerequisite '../acinclude.m4' is newer than target '../aclocal.m4'.
Prerequisite '../configure.in' is newer than target '../aclocal.m4'.
Must remake target '../aclocal.m4'.
make: Entering directory
'/home/tolj/src/kannel/svn/gateway-1.4.5-c7/utils'
cd .. && make am--refresh

Now, how do you bootstrap the code so that the resulting environment CAN
be './configure && make'ed on any machine?


we obviously don't want a normal user to make all the GNU auto-tools
installed to be able to compile Kannel itself, right?




--
Best Regards,
Stipe Tolj

---
Düsseldorf, NRW, Germany

Kannel Foundation tolj.org system architecture
http://www.kannel.org/http://www.tolj.org/

stolj at kannel.org   st at tolj.org
---



Re: Request for new release

2018-06-19 Thread Stipe Tolj

Am 19.06.2018 15:18, schrieb Stipe Tolj:

Hi all,

ok, the next piece of "cake" here:

When I bootstrap the code either on Debian 8 (amd64) or on CentOS 7
(amd64), I can './configure && make' on the same that i bootstrapped,
but no on the other.

I.e. here is what I get on Debian 8, when using a Centos 7 bootstrapped
codebase:

tolj@d8-64:~/src/kannel/svn/gateway-1.4.5-c7$ make -C utils
make: Entering directory '/home/tolj/src/kannel/svn/gateway-1.4.5-c7/utils'
cd .. && make am--refresh
make[1]: Entering directory '/home/tolj/src/kannel/svn/gateway-1.4.5-c7'
Makefile:331: .depend: No such file or directory
for dir in gw gw/smsc gwlib test wmlscript checks wap radius; do \
for file in $dir/*.c; do \
gcc -std=gnu99 -D_REENTRANT=1 -I. -Igw -g -O2 -D_XOPEN_SOURCE=600
-D_BSD_SOURCE -D_DEFAULT_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2
-I/usr/include/openssl -MM $file -MT $dir/`basename $file .c`.o -MT
$dir/`basename $file .c`.i; done; done > .depend
make[1]: *** No rule to make target 'am--refresh'. Stop.
make[1]: Leaving directory '/home/tolj/src/kannel/svn/gateway-1.4.5-c7'
Makefile:436: recipe for target '../aclocal.m4' failed
make: *** [../aclocal.m4] Error 2
make: Leaving directory '/home/tolj/src/kannel/svn/gateway-1.4.5-c7/utils'
tolj@d8-64:~/src/kannel/svn/gateway-1.4.5-c7$

I get some more info when running in debug:

...
Considering target file '../aclocal.m4'.
Pruning file '../acinclude.m4'.
Pruning file '../configure.in'.
Finished prerequisites of target file '../aclocal.m4'.
Prerequisite '../acinclude.m4' is newer than target '../aclocal.m4'.
Prerequisite '../configure.in' is newer than target '../aclocal.m4'.
Must remake target '../aclocal.m4'.
make: Entering directory '/home/tolj/src/kannel/svn/gateway-1.4.5-c7/utils'
cd .. && make am--refresh

Now, how do you bootstrap the code so that the resulting environment CAN
be './configure && make'ed on any machine?


we obviously don't want a normal user to make all the GNU auto-tools 
installed to be able to compile Kannel itself, right?


--
Best Regards,
Stipe Tolj

---
Düsseldorf, NRW, Germany

Kannel Foundation tolj.org system architecture
http://www.kannel.org/http://www.tolj.org/

stolj at kannel.org   st at tolj.org
---



Re: Request for new release

2018-06-19 Thread Stipe Tolj

Hi all,

ok, the next piece of "cake" here:

When I bootstrap the code either on Debian 8 (amd64) or on CentOS 7 
(amd64), I can './configure && make' on the same that i bootstrapped, 
but no on the other.


I.e. here is what I get on Debian 8, when using a Centos 7 bootstrapped 
codebase:


tolj@d8-64:~/src/kannel/svn/gateway-1.4.5-c7$ make -C utils
make: Entering directory '/home/tolj/src/kannel/svn/gateway-1.4.5-c7/utils'
cd .. && make  am--refresh
make[1]: Entering directory '/home/tolj/src/kannel/svn/gateway-1.4.5-c7'
Makefile:331: .depend: No such file or directory
for dir in gw gw/smsc gwlib test wmlscript checks wap radius; do \
for file in $dir/*.c; do \
gcc -std=gnu99 -D_REENTRANT=1 -I. -Igw -g -O2 -D_XOPEN_SOURCE=600 
-D_BSD_SOURCE -D_DEFAULT_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2 
-I/usr/include/openssl -MM $file -MT $dir/`basename $file .c`.o -MT 
$dir/`basename $file .c`.i; done; done > .depend

make[1]: *** No rule to make target 'am--refresh'.  Stop.
make[1]: Leaving directory '/home/tolj/src/kannel/svn/gateway-1.4.5-c7'
Makefile:436: recipe for target '../aclocal.m4' failed
make: *** [../aclocal.m4] Error 2
make: Leaving directory '/home/tolj/src/kannel/svn/gateway-1.4.5-c7/utils'
tolj@d8-64:~/src/kannel/svn/gateway-1.4.5-c7$

I get some more info when running in debug:

...
 Considering target file '../aclocal.m4'.
   Pruning file '../acinclude.m4'.
   Pruning file '../configure.in'.
  Finished prerequisites of target file '../aclocal.m4'.
  Prerequisite '../acinclude.m4' is newer than target '../aclocal.m4'.
  Prerequisite '../configure.in' is newer than target '../aclocal.m4'.
 Must remake target '../aclocal.m4'.
make: Entering directory '/home/tolj/src/kannel/svn/gateway-1.4.5-c7/utils'
cd .. && make  am--refresh

Now, how do you bootstrap the code so that the resulting environment CAN 
be './configure && make'ed on any machine?


--
Best Regards,
Stipe Tolj

---
Düsseldorf, NRW, Germany

Kannel Foundation tolj.org system architecture
http://www.kannel.org/http://www.tolj.org/

stolj at kannel.org   st at tolj.org
---



Re: Request for new release

2018-06-19 Thread amalysh
you don’t need dtd URL at all, see here:

https://tdg.docbook.org/tdg/4.5/ch02.html#ch.create.pubids 


it’s enough to have this one:

DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN“

Thanks,
Alex


> Am 19.06.2018 um 12:39 schrieb Stipe Tolj :
> 
> Am 19.06.2018 11:51, schrieb amal...@kannel.org:
>> I found issue, IMHO, but no fix right now, will check later. Issue is that 
>> DTD is moved to https schema
>> and it looks like jade is not able to get it.
> 
> yep, it redirects from http:// to https:// scheme, but actually we NEEDED to 
> change the URL itself, as the official DTD locutions moved.
> 
> Now corrected in svn trunk. Continuing with release push.
> 
> Stipe
> 
> -- 
> Best Regards,
> Stipe Tolj
> 
> ---
> Düsseldorf, NRW, Germany
> 
> Kannel Foundation tolj.org system architecture
> http://www.kannel.org/http://www.tolj.org/
> 
> stolj at kannel.org   st at tolj.org
> ---
> 



Re: Request for new release

2018-06-19 Thread Stipe Tolj

Am 19.06.2018 11:51, schrieb amal...@kannel.org:

I found issue, IMHO, but no fix right now, will check later. Issue is that DTD 
is moved to https schema
and it looks like jade is not able to get it.


yep, it redirects from http:// to https:// scheme, but actually we 
NEEDED to change the URL itself, as the official DTD locutions moved.


Now corrected in svn trunk. Continuing with release push.

Stipe

--
Best Regards,
Stipe Tolj

---
Düsseldorf, NRW, Germany

Kannel Foundation tolj.org system architecture
http://www.kannel.org/http://www.tolj.org/

stolj at kannel.org   st at tolj.org
---



Re: Request for new release

2018-06-19 Thread amalysh
I found issue, IMHO, but no fix right now, will check later. Issue is that DTD 
is moved to https schema
and it looks like jade is not able to get it.

Alex


> Am 19.06.2018 um 11:32 schrieb Stipe Tolj :
> 
> Am 19.06.2018 10:39, schrieb Stipe Tolj:
>> 
>> I'm trying to setup a Fedora Core 7 VM to see if we can produce the docs
>> there, and then "figure" out why it's not working on any of the major
>> latest distros.
> 
> same with Fedora Core 7 (x86), for svn trunk and r5200 which was the last 
> that seemed to have build on vm1.kannel.org:
> 
> https://www.kannel.org/download/kannel-userguide-snapshot/userguide.html
> 
> Strange!!! Anyone?
> 
> -- 
> Best Regards,
> Stipe Tolj
> 
> ---
> Düsseldorf, NRW, Germany
> 
> Kannel Foundation tolj.org system architecture
> http://www.kannel.org/http://www.tolj.org/
> 
> stolj at kannel.org   st at tolj.org
> ---
> 




Re: Request for new release

2018-06-19 Thread Stipe Tolj

Am 19.06.2018 10:39, schrieb Stipe Tolj:


I'm trying to setup a Fedora Core 7 VM to see if we can produce the docs
there, and then "figure" out why it's not working on any of the major
latest distros.


same with Fedora Core 7 (x86), for svn trunk and r5200 which was the 
last that seemed to have build on vm1.kannel.org:


https://www.kannel.org/download/kannel-userguide-snapshot/userguide.html

Strange!!! Anyone?

--
Best Regards,
Stipe Tolj

---
Düsseldorf, NRW, Germany

Kannel Foundation tolj.org system architecture
http://www.kannel.org/http://www.tolj.org/

stolj at kannel.org   st at tolj.org
---



Re: Request for new release

2018-06-19 Thread Stipe Tolj

Am 19.06.2018 10:29, schrieb Alexander Malysh:

Hi Stipe,

unfortunately I don’t remember anymore :-(


Hi Alex,

this will be a pain in the a..

I'm trying to setup a Fedora Core 7 VM to see if we can produce the docs 
there, and then "figure" out why it's not working on any of the major 
latest distros.


BTW, same issue with the bison/yacc thing for WMLScript that we see from 
time to time on recent Ubuntu-16|18.


Cheers,
Stipe

--
Best Regards,
Stipe Tolj

---
Düsseldorf, NRW, Germany

Kannel Foundation tolj.org system architecture
http://www.kannel.org/http://www.tolj.org/

stolj at kannel.org   st at tolj.org
---



Re: Request for new release

2018-06-18 Thread Stipe Tolj

Am 18.06.2018 19:22, schrieb Stipe Tolj:


Alex, was this the time the Fedora Core 27 was updated?


on vm1.kannel.org is what I meant.


--
Best Regards,
Stipe Tolj

---
Düsseldorf, NRW, Germany

Kannel Foundation tolj.org system architecture
http://www.kannel.org/http://www.tolj.org/

stolj at kannel.org   st at tolj.org
---



Re: Request for new release

2018-06-18 Thread Stipe Tolj

Hi all,

ok, I enrolled to tag the current svn trunk for 1.4.5 stable.

Bootstrapped on Debian-8 (amd64) and committed bootstrapped version to 
SVN /branches/stable_1_4_5. NEWS, ChangeLog is updated and in place.


Following 'doc/makedist' tried to build the DocBook documentation, but 
it keeps failing on any of the following distros: Debian 8, CentOS 7, 
Fedora Core 27, Fedora Core 11.


We see from the snapshot:
https://www.kannel.org/download/kannel-userguide-snapshot/userguide.html

that this "stopped working" since r5200, dated 2018-02-14.

Alex, was this the time the Fedora Core 27 was updated?

Anyone being able to "make docs"? We're getting the following errors:

sed "s/#FIGTYPE#/.png/;s/#VERSION#/svn-r5213M/;s/#DATE#/`date 
+%Y.%m.%d`/;s/#DRAFTS#/IGNORE/" doc/wtls/wtls.xml > doc/wtls/wtls.tmp
jade -V nochunks -t sgml -d 
/usr/share/sgml/docbook/dsssl-stylesheets-1.79/html/docbook.dsl 
/usr/share/sgml/docbook/dsssl-stylesheets-1.79/dtds/decls/xml.dcl 
doc/wtls/wtls.tmp > doc/wtls/wtls.html
jade:doc/wtls/wtls.tmp:7:0:E: DTD did not contain element declaration 
for document type name

jade:doc/wtls/wtls.tmp:10:5:E: element "book" undefined
jade:doc/wtls/wtls.tmp:11:7:E: element "title" undefined
jade:doc/wtls/wtls.tmp:12:9:E: element "chapter" undefined
jade:doc/wtls/wtls.tmp:13:8:E: element "title" undefined
jade:doc/wtls/wtls.tmp:14:7:E: element "para" undefined
jade:doc/wtls/wtls.tmp:14:49:E: element "citetitle" undefined
jade:doc/wtls/wtls.tmp:15:7:E: element "para" undefined
jade:doc/wtls/wtls.tmp:16:15:E: element "itemizedlist" undefined
jade:doc/wtls/wtls.tmp:17:12:E: element "listitem" undefined
jade:doc/wtls/wtls.tmp:18:9:E: element "para" undefined
...

I have no clue at the moment why exactly it is complaining. Any DocBook 
gurus arround?


--
Best Regards,
Stipe Tolj

---
Düsseldorf, NRW, Germany

Kannel Foundation tolj.org system architecture
http://www.kannel.org/http://www.tolj.org/

stolj at kannel.org   st at tolj.org
---



Re: Request for new release

2018-06-06 Thread Stipe Tolj

Am 05.06.2018 10:43, schrieb amal...@kannel.org:

Hi Stipe,

any showstopper ?


Hi,

no formal showstopper actually. I was testing all the platforms that we 
used to support (FreeBSD, NetBSD, Solaris 11) to confirm if we have any 
build issues there.


Will package the 1.4.5 release ASAP.

--
Best Regards,
Stipe Tolj

---
Düsseldorf, NRW, Germany

Kannel Foundation tolj.org system architecture
http://www.kannel.org/http://www.tolj.org/

stolj at kannel.org   st at tolj.org
---



Re: Request for new release

2018-06-05 Thread amalysh
Hi Stipe,

any showstopper ?

Thanks,
Alex

> Am 18.05.2018 um 14:24 schrieb Stipe Tolj :
> 
> Am 16.05.2018 13:53, schrieb amal...@kannel.org:
>> I think trunk is stable enough to get stable 1.4.5 ?
> 
> agree. Ok, let's go then with 1.4.5. Then roll more changes into 1.5.1 for 
> new devel release in 3-4 months.
> 
> Will update you when I got it packaged.
> 
> Cheers,
> Stipe
> 
> -- 
> Best Regards,
> Stipe Tolj
> 
> ---
> Düsseldorf, NRW, Germany
> 
> Kannel Foundation tolj.org system architecture
> http://www.kannel.org/http://www.tolj.org/
> 
> stolj at kannel.org   st at tolj.org
> ---
> 




Re: Request for new release

2018-05-18 Thread Stipe Tolj

Am 16.05.2018 13:53, schrieb amal...@kannel.org:

I think trunk is stable enough to get stable 1.4.5 ?


agree. Ok, let's go then with 1.4.5. Then roll more changes into 1.5.1 
for new devel release in 3-4 months.


Will update you when I got it packaged.

Cheers,
Stipe

--
Best Regards,
Stipe Tolj

---
Düsseldorf, NRW, Germany

Kannel Foundation tolj.org system architecture
http://www.kannel.org/http://www.tolj.org/

stolj at kannel.org   st at tolj.org
---



Re: Request for new release

2018-05-17 Thread amalysh
I think trunk is stable enough to get stable 1.4.5 ?

Alex

> Am 16.05.2018 um 12:58 schrieb Stipe Tolj :
> 
> Am 16.05.2018 12:31, schrieb amal...@kannel.org:
>> Hi Stipe, all,
>> 
>> is there any chance you create and new release of kannel or should I 
>> check/do it ?
> 
> I can roll the new release later today.
> 
> Shall we stick to devel branch release 1.5.1 as version tag?
> 
> -- 
> Best Regards,
> Stipe Tolj
> 
> ---
> Düsseldorf, NRW, Germany
> 
> Kannel Foundation tolj.org system architecture
> http://www.kannel.org/http://www.tolj.org/
> 
> stolj at kannel.org   st at tolj.org
> ---




Re: Request for new release

2018-05-17 Thread amalysh
I think trunk is stable enough to get stable 1.4.5 ?

Alex

> Am 16.05.2018 um 12:58 schrieb Stipe Tolj :
> 
> Am 16.05.2018 12:31, schrieb amal...@kannel.org:
>> Hi Stipe, all,
>> 
>> is there any chance you create and new release of kannel or should I 
>> check/do it ?
> 
> I can roll the new release later today.
> 
> Shall we stick to devel branch release 1.5.1 as version tag?
> 
> -- 
> Best Regards,
> Stipe Tolj
> 
> ---
> Düsseldorf, NRW, Germany
> 
> Kannel Foundation tolj.org system architecture
> http://www.kannel.org/http://www.tolj.org/
> 
> stolj at kannel.org   st at tolj.org
> ---




Re: Request for new release

2018-05-16 Thread Stipe Tolj

Am 16.05.2018 12:31, schrieb amal...@kannel.org:

Hi Stipe, all,

is there any chance you create and new release of kannel or should I check/do 
it ?


I can roll the new release later today.

Shall we stick to devel branch release 1.5.1 as version tag?

--
Best Regards,
Stipe Tolj

---
Düsseldorf, NRW, Germany

Kannel Foundation tolj.org system architecture
http://www.kannel.org/http://www.tolj.org/

stolj at kannel.org   st at tolj.org
---