Re: [Fink-devel] FINK: minicom on 10.7

2011-12-22 Thread Hanspeter Niederstrasser
On 12/6/2011 3:21 PM, Luigi Gangitano wrote:
> Builds and works. :-)
>
> Thanks!

Chris, I've updated minicom to v2.5 to work on 10.7 after not hearing 
any response.

Someone feel free to test on 10.5/6 and update there if wanted.

Hanspeter

--
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] FINK: minicom on 10.7

2011-12-06 Thread Luigi Gangitano
Builds and works. :-)

Thanks!

This is the buildlog:

~ fink install minicom
Scanning package description files..
Information about 3911 packages read in 2 seconds.
The following package will be installed or updated:
 minicom
The following additional package will be installed:
 libgettext8-dev
Do you want to continue? [Y/n] 
curl --connect-timeout 30 -f -L -A 'fink/0.31.5' -O 
http://distfiles.master.finkmirrors.net/minicom_2.5.orig.tar.gz
  % Total% Received % Xferd  Average Speed   TimeTime Time  Current
 Dload  Upload   Total   SpentLeft  Speed
  0 00 00 0  0  0 --:--:-- --:--:-- --:--:-- 0
curl: (22) The requested URL returned error: 404
### execution of curl failed, exit code 22
Downloading the file "minicom_2.5.orig.tar.gz" failed.

(1) Give up
(2) Retry the same mirror
(3) Retry another mirror from your continent
(4) Retry another mirror
(5) Retry using next mirror set "debian"

Default answer will be chosen in 120 seconds...
How do you want to proceed? [3] 
curl --connect-timeout 30 -f -L -A 'fink/0.31.5' -O 
http://distfiles.aah.de.eu.finkmirrors.net/fink-distfiles/minicom_2.5.orig.tar.gz
  % Total% Received % Xferd  Average Speed   TimeTime Time  Current
 Dload  Upload   Total   SpentLeft  Speed
  0 00 00 0  0  0 --:--:-- --:--:-- --:--:-- 0
curl: (22) The requested URL returned error: 404
### execution of curl failed, exit code 22
Downloading the file "minicom_2.5.orig.tar.gz" failed.

(1) Give up
(2) Retry the same mirror
(3) Retry another mirror from your continent
(4) Retry another mirror
(5) Retry using next mirror set "debian"

Default answer will be chosen in 120 seconds...
How do you want to proceed? [5] 5
curl --connect-timeout 30 -f -L -A 'fink/0.31.5' -O 
http://ftp.it.debian.org/debian/pool/main/m/minicom/minicom_2.5.orig.tar.gz
  % Total% Received % Xferd  Average Speed   TimeTime Time  Current
 Dload  Upload   Total   SpentLeft  Speed
100  803k  100  803k0 0   471k  0  0:00:01  0:00:01 --:--:--  597k
Reading buildlock packages...
/sw/bin/dpkg-lockwait -i 
/sw/fink/dists/stable/main/binary-darwin-x86_64/base/libgettext8-dev_0.17-19_darwin-x86_64.deb
Selezionato il pacchetto libgettext8-dev, che non lo era.
dpkg: valuto la rimozione di libgettext3-dev in favore di libgettext8-dev ...
dpkg: si, il pacchetto libgettext3-dev verrĂ  rimosso in favore di 
libgettext8-dev.
(Lettura del database ... 31765 file e directory attualmente installati.)
Spacchettamento di libgettext8-dev (da 
.../libgettext8-dev_0.17-19_darwin-x86_64.deb) ...
Configuro libgettext8-dev (0.17-19) ...
Clearing dependency_libs of .la files being installed

Setting runtime build-lock...
dpkg-deb -b /sw/src/fink.build/root-fink-buildlock-minicom-2.5-1 
/sw/src/fink.build
dpkg-deb: costruisco il pacchetto `fink-buildlock-minicom-2.5-1' in 
`/sw/src/fink.build/fink-buildlock-minicom-2.5-1_2011.12.06-21.17.59_darwin-x86_64.deb'.
Installing build-lock package...
/sw/bin/dpkg-lockwait -i 
/sw/src/fink.build/fink-buildlock-minicom-2.5-1_2011.12.06-21.17.59_darwin-x86_64.deb
Selezionato il pacchetto fink-buildlock-minicom-2.5-1, che non lo era.
(Lettura del database ... 31758 file e directory attualmente installati.)
Spacchettamento di fink-buildlock-minicom-2.5-1 (da 
.../fink-buildlock-minicom-2.5-1_2011.12.06-21.17.59_darwin-x86_64.deb) ...
Configuro fink-buildlock-minicom-2.5-1 (2011.12.06-21.17.59) ...

gzip -dc /sw/src/minicom_2.5.orig.tar.gz | /sw/bin/tar -xf -  --no-same-owner 
--no-same-permissions 
perl -pi -e 's/(if test) -d (\$UUCPLOCK)/\1 -n "\2"/' configure
perl -pi -e 's/(if test) -c (\$DFL_PORT)/\1 -n "\2"/' configure
perl -pi -e 's/getopt.h//g' lib/Makefile.in
rm lib/getopt.h
perl -pi -e 's|minicom_LDADD \= |minicom_LDADD \= \@LIBICONV\@ |g' 
src/Makefile.in
./configure --prefix=/sw --enable-lock-dir=/sw/var/run/minicom 
--enable-dfl-port=/dev/tty.modem --mandir='${prefix}/share/man' 
--infodir='${prefix}/share/info'
checking for a BSD-compatible install... /sw/bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /sw/bin/mkdir -p
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc 

Re: [Fink-devel] FINK: minicom on 10.7

2011-12-06 Thread Hanspeter Niederstrasser
On 12/6/2011 11:45 AM, Luigi Gangitano wrote:
> Hi,
>
> I've just tried to build the current (2.1-13) minicom package on Lion 10.7 
> and builds fail. Please find the attached build log for details.
>
> Regards,
>
> L
>
> ~ fink install minicom
> Scanning package description files..
> Information about 3911 packages read in 1 seconds.
> The following package will be installed or updated:
>   minicom
> The following additional package will be installed:
>   libgettext3-dev
> Do you want to continue? [Y/n]

> gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/sw/include  -I../lib  -g -O2 -Wall -W 
> -c updown.c
> minicom.c:156:13: error: static declaration of 'getline' follows non-static 
> declaration
> static ELM *getline(w, no)
>  ^
> /usr/include/stdio.h:449:9: note: previous declaration is here
> ssize_t getline(char ** __restrict, size_t * __restrict, FILE * __restrict) 
> __OSX_AVAILABLE_STARTING(__MAC_10_7, __IPHONE_4_3);
>  ^
> minicom.c:197:31: error: too few arguments to function call, expected 3, have 
> 2
>  wdrawelm(w, f, getline(w, y++));
> ~~~   ^
> minicom.c:225:24: error: too few arguments to function call, expected 3, have 
> 2
>  tmp_e = getline(w, y++);
>  ~~~   ^
> minicom.c:324:35: error: too few arguments to function call, expected 3, have 
> 2
>  tmp_e = getline(w_hist, next_line);
>  ~~~  ^
> minicom.c:393:43: error: too few arguments to function call, expected 3, have 
> 2
>  wdrawelm_inverse(w, y, getline(w, y+citey));
> ~~~   ^
> minicom.c:395:35: error: too few arguments to function call, expected 3, have 
> 2
>  wdrawelm(w, y, getline(w, y+citey));
> ~~~   ^
> minicom.c:419:22: error: too few arguments to function call, expected 3, have 
> 2
>  tmp_e = getline(w, y);
>  ~~~ ^
> minicom.c:602:34: error: too few arguments to function call, expected 3, have 
> 2
>  tmp_e = getline(b_us, y);
>  ~~~^
> minicom.c:621:57: error: too few arguments to function call, expected 3, have 
> 2
>  if (inverse) wdrawelm_inverse(b_us, 0, getline(b_us, y));
> ~~~^
> minicom.c:622:41: error: too few arguments to function call, expected 3, have 
> 2
>  else wdrawelm(b_us, 0, getline(b_us, y));
> ~~~^
> minicom.c:655:49: error: too few arguments to function call, expected 3, have 
> 2
>  tmp_e = getline(b_us, y + b_us->ys - 1);
>  ~~~   ^
> minicom.c:676:36: error: too few arguments to function call, expected 3, have 
> 2
>getline(b_us, y + b_us->ys - 1));
>~~~   ^
> minicom.c:679:36: error: too few arguments to function call, expected 3, have 
> 2
>getline(b_us, y + b_us->ys - 1));
>~~~   ^
> minicom.c:763:59: error: too few arguments to function call, expected 3, have 
> 2
>  wdrawelm_inverse(b_us, cite_y, getline(b_us, cite_ystart));
> ~~~  ^
> minicom.c:844:10: warning: format string is not a string literal (potentially 
> insecure) [-Wformat-security]
>printf(_("A terminal program for Linux and other unix-like systems.\n\n"));
>   ^~
> ./intl.h:14:18: note: instantiated from:
> # define _(Text) gettext (Text)
>   ^

> 26 warnings and 14 errors generated.
> make[2]: *** [minicom.o] Error 1
> make[2]: *** Waiting for unfinished jobs
> config.c:34:1: warning: function '_rcsid' is not needed and will not be 
> emitted [-Wunneeded-internal-declaration]
> RCSID("$Id: config.c,v 1.5 2003/04/21 23:56:46 al-guest Exp $")
> ^
> ./rcsid.h:11:57: note: instantiated from:
> # define RCSID(x) static char rcsid[] = x; static char *_rcsid(void) { 
> _rcsid(); return rcsid; }
>  ^
> updown.c:26:1: warning: function '_rcsid' is not needed and will not be 
> emitted [-Wunneeded-internal-declaration]
> RCSID("$Id: updown.c,v 1.1.1.1 2003/03/30 18:55:54 al-guest Exp $")
> ^
> ./rcsid.h:11:57: note: instantiated from:
> # define RCSID(x) static char rcsid[] = x; static char *_rcsid(void) { 
> _rcsid(); return rcsid; }
>  ^
> 7 warnings generated.
> 1 warning generated.
> 1 warning generated.
> make[1]: *** [all-recursive] Error 1
> make: *** [all-recursive-am] Error 2
> ### execution of make failed, exit code 2
> Removing ru

[Fink-devel] FINK: minicom on 10.7

2011-12-06 Thread Luigi Gangitano
Hi,

I've just tried to build the current (2.1-13) minicom package on Lion 10.7 and 
builds fail. Please find the attached build log for details.

Regards,

L

~ fink install minicom
Scanning package description files..
Information about 3911 packages read in 1 seconds.
The following package will be installed or updated:
 minicom
The following additional package will be installed:
 libgettext3-dev
Do you want to continue? [Y/n] 
curl --connect-timeout 30 -f -L -A 'fink/0.31.5' -O 
http://distfiles.master.finkmirrors.net/minicom_2.1.orig.tar.gz
  % Total% Received % Xferd  Average Speed   TimeTime Time  Current
 Dload  Upload   Total   SpentLeft  Speed
100  593k  100  593k0 0  66063  0  0:00:09  0:00:09 --:--:-- 81611
Reading buildlock packages...
/sw/bin/dpkg-lockwait -i 
/sw/fink/dists/stable/main/binary-darwin-x86_64/base/libgettext3-dev_0.14.5-4_darwin-x86_64.deb
Selezionato il pacchetto libgettext3-dev, che non lo era.
dpkg: valuto la rimozione di libgettext8-dev in favore di libgettext3-dev ...
dpkg: si, il pacchetto libgettext8-dev verrĂ  rimosso in favore di 
libgettext3-dev.
(Lettura del database ... 31758 file e directory attualmente installati.)
Spacchettamento di libgettext3-dev (da 
.../libgettext3-dev_0.14.5-4_darwin-x86_64.deb) ...
Configuro libgettext3-dev (0.14.5-4) ...
Clearing dependency_libs of .la files being installed

Setting runtime build-lock...
dpkg-deb -b /sw/src/fink.build/root-fink-buildlock-minicom-2.1-13 
/sw/src/fink.build
dpkg-deb: costruisco il pacchetto `fink-buildlock-minicom-2.1-13' in 
`/sw/src/fink.build/fink-buildlock-minicom-2.1-13_2011.12.06-17.40.57_darwin-x86_64.deb'.
Installing build-lock package...
/sw/bin/dpkg-lockwait -i 
/sw/src/fink.build/fink-buildlock-minicom-2.1-13_2011.12.06-17.40.57_darwin-x86_64.deb
Selezionato il pacchetto fink-buildlock-minicom-2.1-13, che non lo era.
(Lettura del database ... 31765 file e directory attualmente installati.)
Spacchettamento di fink-buildlock-minicom-2.1-13 (da 
.../fink-buildlock-minicom-2.1-13_2011.12.06-17.40.57_darwin-x86_64.deb) ...
Configuro fink-buildlock-minicom-2.1-13 (2011.12.06-17.40.57) ...

gzip -dc /sw/src/minicom_2.1.orig.tar.gz | /sw/bin/tar -xf -  --no-same-owner 
--no-same-permissions 
perl -pi -e 's/(if test) -d (\$UUCPLOCK)/\1 -n "\2"/' configure
perl -pi -e 's/(if test) -c (\$DFL_PORT)/\1 -n "\2"/' configure
perl -pi -e 's/getopt.h//g' lib/Makefile.in
rm lib/getopt.h
perl -pi -e 's/BC/BC_/g' src/window.c
./configure --prefix=/sw --enable-lock-dir=/sw/var/run/minicom 
--enable-dfl-port=/dev/tty.modem --mandir='${prefix}/share/man' 
--infodir='${prefix}/share/info'
checking for a BSD-compatible install... /sw/bin/ginstall -c
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... yes
checking for working aclocal-1.4... missing
checking for working autoconf... found
checking for working automake-1.4... missing
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking whether gcc needs -traditional... no
checking for a BSD-compatible install... /sw/bin/ginstall -c
checking for ranlib... ranlib
checking for strerror in -lcposix... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking for AIX... no
rm: impossibile rimuovere "conftest.dSYM": Is a directory
checking for gcc option to accept ANSI C... none needed
checking build system type... i386-apple-darwin11.2.0
checking host system type... i386-apple-darwin11.2.0
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for off_t... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking whether we are using the GNU C Library 2.1 or newer... rm: impossibile 
rimuovere "conftest.dSYM": Is a directory
no
checking argz.h usability... no
checking argz.h presence... no
checking for argz.h... no
checking limits.h usability... yes
checking limits.h presence... yes
checking for limit