Bug 62688 - New port: net/mad_fcl version 0.5
Summary: New port: net/mad_fcl version 0.5
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-11 13:30 UTC by Mohacsi Janos
Modified: 2004-02-16 12:51 UTC (History)
0 users

See Also:


Attachments
file.shar (6.21 KB, text/plain)
2004-02-11 13:30 UTC, Mohacsi Janos
no flags Details
mad_fcl.shar3 (8.85 KB, TEXT/PLAIN; charset=US-ASCII)
2004-02-16 12:22 UTC, Mohacsi Janos
no flags Details
output (10.00 KB, TEXT/PLAIN; charset=US-ASCII)
2004-02-16 12:22 UTC, Mohacsi Janos
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mohacsi Janos 2004-02-11 13:30:12 UTC
	MAD/Flute reliable unicast/multicast sending/receiving tool version 0.5.
        It is an implementation of the RFC3450 Asynchronous Layered Coding
        (ALC).

How-To-Repeat: 	Apply this shar.
Comment 1 Kirill Ponomarev freebsd_committer freebsd_triage 2004-02-12 12:34:42 UTC
State Changed
From-To: open->feedback

Please test this port on 4.x: 

1) You need to use <sys/types.h> in sdplib/port_misc.c 
2) It fails to compile on 4.x: 
port_misc.c: In function `susleep': 
port_misc.c:146: storage size of `delay' isn't known 
port_misc.c:160: warning: implicit declaration of function `select' 
port_misc.c:146: warning: unused variable `delay' 
port_misc.c: At top level: 
port_misc.c:70: warning: `use_syslog' defined but not used
Comment 2 Mohacsi Janos 2004-02-13 15:24:24 UTC
Hi,
	Here is the "\r" removed and FreeBSD 4.x tested version of shar.

	Regards,
		Janos
=========================================



# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	mad_fcl
#	mad_fcl/pkg-plist
#	mad_fcl/pkg-descr
#	mad_fcl/distinfo
#	mad_fcl/Makefile
#	mad_fcl/files
#	mad_fcl/files/patch-Makefile
#	mad_fcl/files/patch-alclib::Makefile
#	mad_fcl/files/patch-flute::Makefile
#	mad_fcl/files/patch-sdplib::Makefile
#	mad_fcl/files/patch-sdplib::port_misc.c
#	mad_fcl/files/patch-alclib::fec.c
#	mad_fcl/files/patch-flute::fdt.c
#
echo c - mad_fcl
mkdir -p mad_fcl > /dev/null 2>&1
echo x - mad_fcl/pkg-plist
sed 's/^X//' >mad_fcl/pkg-plist << 'END-of-mad_fcl/pkg-plist'
Xbin/flute
X%%PORTDOCS%%%%DOCSDIR%%/fdt-example.xml
X%%PORTDOCS%%%%DOCSDIR%%/flute-sdp-example.sdp
X%%PORTDOCS%%%%DOCSDIR%%/README.TXT
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
END-of-mad_fcl/pkg-plist
echo x - mad_fcl/pkg-descr
sed 's/^X//' >mad_fcl/pkg-descr << 'END-of-mad_fcl/pkg-descr'
XMAD-FLUTE is an implementation of FLUTE - File Delivery over
XUnidirectional Transport (IETF draft). FLUTE is a protocol for the
Xunidirectional delivery of files over the Internet, which is particularly
Xsuited to multicast networks. FLUTE builds on Asyncronous Layered Coding
X(ALC), the base protocol designed for massively scalable multicast
Xdistribution (RFC 3450). ALC is a protocol instantiation of Layered Coding
XTransport building block (LCT) (RFC 3451). MAD-ALC is an implementation of
Xthe ALC/LCT protocols. The MAD/TUT project is going on at Tampere
XUniversity of Technology (TUT).
X
XWWW: http://www.atm.tut.fi/mad/
X
XJanos Mohacsi <janos.mohacsi@bsd.hu>
END-of-mad_fcl/pkg-descr
echo x - mad_fcl/distinfo
sed 's/^X//' >mad_fcl/distinfo << 'END-of-mad_fcl/distinfo'
XMD5 (mad_fcl_v0.5_src.tar.gz) = 02fd60b5d60aa3fd41dd85bd443ec1f9
XSIZE (mad_fcl_v0.5_src.tar.gz) = 96072
END-of-mad_fcl/distinfo
echo x - mad_fcl/Makefile
sed 's/^X//' >mad_fcl/Makefile << 'END-of-mad_fcl/Makefile'
X# New ports collection makefile for:	mad_fcl
X# Date created:				03.02.2003
X# Whom:					Janos.Mohacsi@bsd.hu
X#
X# $FreeBSD$
X#
X
XPORTNAME=	mad_fcl
XPORTVERSION=	0.5
XCATEGORIES=	net ipv6
XMASTER_SITES=	http://www.atm.tut.fi/mad/download/
XDISTNAME=	${PORTNAME}_v${PORTVERSION}_src
X
XMAINTAINER=	Janos.Mohacsi@bsd.hu
XCOMMENT=	FLUTE - File Delivery over Unidirectional Transport implementation
X
XLIB_DEPENDS=	expat.4:${PORTSDIR}/textproc/expat2
X
XUSE_GMAKE=	yes
X
XDOC_FILES=	fdt-example.xml flute-sdp-example.sdp
X
Xpre-patch:
X	# Fixing the end-of-lines:
X	for f in `${FIND} ${WRKSRC}/.. -type f` ; do \
X		${TR} -d '\015' < $$f > $$f.noms && \
X			${CAT} $$f.noms > $$f && ${RM} $$f.noms; done
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/bin/flute ${PREFIX}/bin
X.ifndef(NOPORTDOCS)
X	@${MKDIR} ${DOCSDIR}
X.for file in ${DOC_FILES}
X	@${INSTALL_DATA} ${WRKSRC}/doc/${file} ${DOCSDIR}
X.endfor
X	${INSTALL_DATA} ${WRKSRC}/README.TXT ${DOCSDIR}
X.endif
X
X.include <bsd.port.mk>
END-of-mad_fcl/Makefile
echo c - mad_fcl/files
mkdir -p mad_fcl/files > /dev/null 2>&1
echo x - mad_fcl/files/patch-Makefile
sed 's/^X//' >mad_fcl/files/patch-Makefile << 'END-of-mad_fcl/files/patch-Makefile'
X--- Makefile.orig	Fri Feb 13 15:58:54 2004
X+++ Makefile	Fri Feb 13 15:58:54 2004
X@@ -4,21 +4,21 @@
X 	@echo "-------------------"
X 	@echo "*** ALC library ***"
X 	@echo "-------------------"
X-	mkdir lib; cd alclib; make clean; make
X+	mkdir lib; cd alclib; gmake clean; gmake
X 	@echo "done"
X
X sdplib ::
X 	@echo "-------------------"
X 	@echo "*** SDP library ***"
X 	@echo "-------------------"
X-	mkdir lib; cd sdplib; make clean; make
X+	mkdir lib; cd sdplib; gmake clean; gmake
X 	@echo "done"
X
X flute ::
X 	@echo "-------------------------"
X 	@echo "*** flute application ***"
X 	@echo "-------------------------"
X-	mkdir bin; cd flute; make clean; make
X+	mkdir bin; cd flute; gmake clean; gmake
X 	@echo "done"
X
X clean :
END-of-mad_fcl/files/patch-Makefile
echo x - mad_fcl/files/patch-alclib::Makefile
sed 's/^X//' >mad_fcl/files/patch-alclib::Makefile << 'END-of-mad_fcl/files/patch-alclib::Makefile'
X--- alclib/Makefile.orig	Fri Feb 13 15:58:54 2004
X+++ alclib/Makefile	Fri Feb 13 15:58:54 2004
X@@ -1,7 +1,7 @@
X #CC = ccmalloc gcc-2.95
X #CC = g++
X CC = gcc
X-CFLAGS += -Wall -g -fPIC -DLINUX
X+CFLAGS += -Wall -g -fPIC -O -DLINUX
X
X SOURCES = alc_channel.c alc_hdr.c alc_rx.c alc_session.c alc_socket.c alc_tx.c \
X 	lct_hdr.c mad.c mad_cc.c transport.c blocking_alg.c fec.c null_fec.c rs_fec.c
END-of-mad_fcl/files/patch-alclib::Makefile
echo x - mad_fcl/files/patch-flute::Makefile
sed 's/^X//' >mad_fcl/files/patch-flute::Makefile << 'END-of-mad_fcl/files/patch-flute::Makefile'
X--- flute/Makefile.orig	Fri Feb 13 15:58:54 2004
X+++ flute/Makefile	Fri Feb 13 15:58:54 2004
X@@ -1,10 +1,10 @@
X #CC = ccmalloc gcc-2.95
X #CC = g++
X CC = gcc
X-CFLAGS += -Wall -g -I/usr/local/expat-1.95.6/lib/ -I/usr/local/ssl/include/ -I/usr/java/j2sdk1.4.2/include/ \
X-	 -I/usr/java/j2sdk1.4.2/include/linux/ -DLINUX -D__VXWORKS_OS__
X-LFLAGS += -DLINUX -D__VXWORKS_OS__ -L../lib -L/usr/local/expat-1.95.6/.libs/ -L/usr/local/ssl/lib/ \
X-	-lalc -lsdp -lexpat -lpthread -lm -lssl -lcrypto #-lmpatrol -lelf
X+CFLAGS += -Wall -g -O -I/usr/local/include/ \
X+	 -DLINUX -D__VXWORKS_OS__
X+LFLAGS += -DLINUX -pthread -L../lib -L/usr/local/lib \
X+	-lalc -lsdp -lexpat -lm -lssl -lcrypto #-lmpatrol -lelf
X
X SOURCES = main.c flute.c sender.c receiver.c fdt.c fdt_gen.c mad_md5.c uri.c getdnsname.c
X
END-of-mad_fcl/files/patch-flute::Makefile
echo x - mad_fcl/files/patch-sdplib::Makefile
sed 's/^X//' >mad_fcl/files/patch-sdplib::Makefile << 'END-of-mad_fcl/files/patch-sdplib::Makefile'
X--- sdplib/Makefile.orig	Fri Feb 13 15:58:54 2004
X+++ sdplib/Makefile	Fri Feb 13 15:58:54 2004
X@@ -1,6 +1,6 @@
X #CC = ccmalloc gcc-2.95
X CC = gcc
X-CFLAGS += -Wall -g -fPIC -DLINUX -D__VXWORKS_OS__
X+CFLAGS += -Wall -g -fPIC -DLINUX -O -D__VXWORKS_OS__
X
X SOURCES = port_list.c port_misc.c sdp_accessor.c sdp_rfc2327.c sdplib.c
X
END-of-mad_fcl/files/patch-sdplib::Makefile
echo x - mad_fcl/files/patch-sdplib::port_misc.c
sed 's/^X//' >mad_fcl/files/patch-sdplib::port_misc.c << 'END-of-mad_fcl/files/patch-sdplib::port_misc.c'
X--- sdplib/port_misc.c.orig	Fri Feb 13 15:58:54 2004
X+++ sdplib/port_misc.c	Fri Feb 13 15:58:54 2004
X@@ -47,6 +47,7 @@
X #  include <sys/unistd.h>
X #endif
X
X+#define HAVE_UNISTD_H
X #if defined (HAVE_UNISTD_H)
X #  include <unistd.h>
X #endif
X@@ -55,6 +56,9 @@
X #  include <syslog.h>
X #endif
X
X+#include <sys/types.h>
X+#include <sys/time.h>
X+#define HAVE_SYS_SELECT_H
X #if defined (HAVE_SYS_SELECT_H)
X #  include <sys/select.h>
X #endif
END-of-mad_fcl/files/patch-sdplib::port_misc.c
echo x - mad_fcl/files/patch-alclib::fec.c
sed 's/^X//' >mad_fcl/files/patch-alclib::fec.c << 'END-of-mad_fcl/files/patch-alclib::fec.c'
X--- alclib/fec.c.orig	Fri Feb 13 15:58:54 2004
X+++ alclib/fec.c	Fri Feb 13 15:58:54 2004
X@@ -268,8 +268,7 @@
X     return p ;
X }
X
X-#define NEW_GF_MATRIX(rows, cols) \
X-    (gf *)my_malloc(rows * cols * sizeof(gf), " ## __LINE__ ## " )
X+#define NEW_GF_MATRIX(rows, cols) (gf *)my_malloc(rows * cols * sizeof(gf), " ## __LINE__ ## " )
X
X /*
X  * initialize the data structures used for computations in GF.
X@@ -350,8 +349,7 @@
X  *
X  * Note that gcc on
X  */
X-#define addmul(dst, src, c, sz) \
X-    if (c != 0) addmul1(dst, src, c, sz)
X+#define addmul(dst, src, c, sz)  if (c != 0) addmul1(dst, src, c, sz)
X
X #define UNROLL 16 /* 1, 4, 8, 16 */
X static void
END-of-mad_fcl/files/patch-alclib::fec.c
echo x - mad_fcl/files/patch-flute::fdt.c
sed 's/^X//' >mad_fcl/files/patch-flute::fdt.c << 'END-of-mad_fcl/files/patch-flute::fdt.c'
X--- flute/fdt.c.orig	Fri Feb 13 15:58:54 2004
X+++ flute/fdt.c	Fri Feb 13 15:58:54 2004
X@@ -113,14 +113,14 @@
X #ifdef WIN32
X                                 file->file_len = _atoi64(*(++atts));
X #else
X-                                file->file_len = atoll(*(++atts));
X+                                file->file_len = strtoll(*(++atts), NULL, 10);
X #endif
X                         }
X 			else if(!strcmp(*atts, "Transfer-Length")) {
X #ifdef WIN32
X 				file->toi_len = _atoi64(*(++atts));
X #else
X-				file->toi_len = atoll(*(++atts));
X+				file->toi_len = strtoll(*(++atts),NULL, 10);
X #endif
X 			}
X 			else if(!strcmp(*atts, "Content-Type")) {
X@@ -179,7 +179,7 @@
X #ifdef WIN32
X 				fdt->expires = _atoi64(*(++atts));
X #else
X-				fdt->expires = atoll(*(++atts));
X+				fdt->expires = strtoll(*(++atts), NULL, 10);
X #endif
X 			}
X 			else if(!strcmp(*atts, "Complete")) {
END-of-mad_fcl/files/patch-flute::fdt.c
exit
Comment 3 Kirill Ponomarev freebsd_committer freebsd_triage 2004-02-13 16:00:25 UTC
Hi,

On Fri, Feb 13, 2004 at 04:24:24PM +0100, Mohacsi Janos wrote:
> Hi,
> 	Here is the "\r" removed and FreeBSD 4.x tested version of shar.

No, it does not work either:

===>  Applying FreeBSD patches for mad_fcl-0.5
1 out of 1 hunks failed--saving rejects to Makefile.rej
>> Patch patch-Makefile failed to apply cleanly.
*** Error code 1

Please remove existing port, apply shar, and test it.

-Kirill
Comment 4 Mohacsi Janos 2004-02-13 16:15:52 UTC
Hi Kirill,
	This is strange! Here is the output of my terminal on
FreeBSD-4.9-STABLE:

Script started on Fri Feb 13 17:11:12 2004
mohacsi@skye> make
===>  Extracting for mad_fcl-0.5
>> Checksum OK for mad_fcl_v0.5_src.tar.gz.
===>  Patching for mad_fcl-0.5
# Fixing the end-of-lines:
for f in `/usr/bin/find /mirror/ports/tmp/mad_fcl/work/mad_fcl_v0.5_src/.. -type f` ; do  /usr/bin/tr -d '\015' < $f > $f.noms &&  /bin/cat $f.noms > $f && /bin/rm $f.noms; done
===>  Applying FreeBSD patches for mad_fcl-0.5
===>   mad_fcl-0.5 depends on executable: gmake - found
===>   mad_fcl-0.5 depends on shared library: expat.4 - found
===>  Configuring for mad_fcl-0.5
===>  Building for mad_fcl-0.5
-------------------
*** ALC library ***
-------------------
mkdir lib; cd alclib; gmake clean; gmake
gmake[1]: Entering directory `/mirror/ports/tmp/mad_fcl/work/mad_fcl_v0.5_src/alclib'
rm -f ../lib/libalc.a *.o *~
gmake[1]: Leaving directory `/mirror/ports/tmp/mad_fcl/work/mad_fcl_v0.5_src/alclib'
gmake[1]: Entering directory `/mirror/ports/tmp/mad_fcl/work/mad_fcl_v0.5_src/alclib'
gcc -c -O -pipe -march=pentiumpro -Wall -g -fPIC -O -DLINUX -o alc_channel.o alc_channel.c
gcc -c -O -pipe -march=pentiumpro -Wall -g -fPIC -O -DLINUX -o alc_hdr.o alc_hdr.c
gcc -c -O -pipe -march=pentiumpro -Wall -g -fPIC -O -DLINUX -o alc_rx.o alc_rx.c
alc_rx.c: In function `analyze_packet':
alc_rx.c:221: warning: `toi' might be used uninitialized in this function
alc_rx.c:226: warning: `toilen' might be used uninitialized in this function
alc_rx.c:229: warning: `sbn' might be used uninitialized in this function
alc_rx.c:230: warning: `esid' might be used uninitialized in this function
alc_rx.c:232: warning: `eslen' might be used uninitialized in this function
alc_rx.c:233: warning: `sblen' might be used uninitialized in this function
alc_rx.c:234: warning: `max_sblen' might be used uninitialized in this function
alc_rx.c:236: warning: `max_nb_of_es' might be used uninitialized in this function
alc_rx.c:239: warning: `fec_inst_id' might be used uninitialized in this function
alc_rx.c:241: warning: `fdt_instance_id' might be used uninitialized in this function
alc_rx.c:254: warning: `hel' might be used uninitialized in this function
alc_rx.c: In function `alc_recv2':
alc_rx.c:875: warning: `tmp_toi' might be used uninitialized in this function
alc_rx.c: In function `object_exist':
alc_rx.c:1157: warning: `trans_obj' might be used uninitialized in this function
gcc -c -O -pipe -march=pentiumpro -Wall -g -fPIC -O -DLINUX -o alc_session.o alc_session.c
gcc -c -O -pipe -march=pentiumpro -Wall -g -fPIC -O -DLINUX -o alc_socket.o alc_socket.c
gcc -c -O -pipe -march=pentiumpro -Wall -g -fPIC -O -DLINUX -o alc_tx.o alc_tx.c
alc_tx.c: In function `alc_send':
alc_tx.c:69: warning: `tr_block' might be used uninitialized in this function
alc_tx.c:78: warning: `packet_length' might be used uninitialized in this function
gcc -c -O -pipe -march=pentiumpro -Wall -g -fPIC -O -DLINUX -o lct_hdr.o lct_hdr.c
gcc -c -O -pipe -march=pentiumpro -Wall -g -fPIC -O -DLINUX -o mad.o mad.c
gcc -c -O -pipe -march=pentiumpro -Wall -g -fPIC -O -DLINUX -o mad_cc.o mad_cc.c
gcc -c -O -pipe -march=pentiumpro -Wall -g -fPIC -O -DLINUX -o transport.o transport.c
gcc -c -O -pipe -march=pentiumpro -Wall -g -fPIC -O -DLINUX -o blocking_alg.o blocking_alg.c
gcc -c -O -pipe -march=pentiumpro -Wall -g -fPIC -O -DLINUX -o fec.o fec.c
gcc -c -O -pipe -march=pentiumpro -Wall -g -fPIC -O -DLINUX -o null_fec.o null_fec.c
gcc -c -O -pipe -march=pentiumpro -Wall -g -fPIC -O -DLINUX -o rs_fec.o rs_fec.c
creating library ../lib/libalc.a...
ar rc ../lib/libalc.a alc_channel.o alc_hdr.o alc_rx.o alc_session.o alc_socket.o alc_tx.o lct_hdr.o mad.o mad_cc.o transport.o blocking_alg.o fec.o null_fec.o rs_fec.o
ranlib ../lib/libalc.a
gmake[1]: Leaving directory `/mirror/ports/tmp/mad_fcl/work/mad_fcl_v0.5_src/alclib'
done
-------------------
*** SDP library ***
-------------------
mkdir lib; cd sdplib; gmake clean; gmake
mkdir: lib: File exists
gmake[1]: Entering directory `/mirror/ports/tmp/mad_fcl/work/mad_fcl_v0.5_src/sdplib'
rm -f ../lib/libsdp.a *.o *~
gmake[1]: Leaving directory `/mirror/ports/tmp/mad_fcl/work/mad_fcl_v0.5_src/sdplib'
gmake[1]: Entering directory `/mirror/ports/tmp/mad_fcl/work/mad_fcl_v0.5_src/sdplib'
gcc -c -O -pipe -march=pentiumpro -Wall -g -fPIC -DLINUX -O -D__VXWORKS_OS__ -o port_list.o port_list.c
gcc -c -O -pipe -march=pentiumpro -Wall -g -fPIC -DLINUX -O -D__VXWORKS_OS__ -o port_misc.o port_misc.c
port_misc.c:72: warning: `use_syslog' defined but not used
gcc -c -O -pipe -march=pentiumpro -Wall -g -fPIC -DLINUX -O -D__VXWORKS_OS__ -o sdp_accessor.o sdp_accessor.c
gcc -c -O -pipe -march=pentiumpro -Wall -g -fPIC -DLINUX -O -D__VXWORKS_OS__ -o sdp_rfc2327.o sdp_rfc2327.c
gcc -c -O -pipe -march=pentiumpro -Wall -g -fPIC -DLINUX -O -D__VXWORKS_OS__ -o sdplib.o sdplib.c
creating library ../lib/libsdp.a...
ar rc ../lib/libsdp.a port_list.o port_misc.o sdp_accessor.o sdp_rfc2327.o sdplib.o
ranlib ../lib/libsdp.a
gmake[1]: Leaving directory `/mirror/ports/tmp/mad_fcl/work/mad_fcl_v0.5_src/sdplib'
done
-------------------------
*** flute application ***
-------------------------
mkdir bin; cd flute; gmake clean; gmake
gmake[1]: Entering directory `/mirror/ports/tmp/mad_fcl/work/mad_fcl_v0.5_src/flute'
rm -f ../bin/flute *.o *~
gmake[1]: Leaving directory `/mirror/ports/tmp/mad_fcl/work/mad_fcl_v0.5_src/flute'
gmake[1]: Entering directory `/mirror/ports/tmp/mad_fcl/work/mad_fcl_v0.5_src/flute'
gcc -c -O -pipe -march=pentiumpro -Wall -g -O -I/usr/local/include/ -DLINUX -D__VXWORKS_OS__ -o main.o main.c
gcc -c -O -pipe -march=pentiumpro -Wall -g -O -I/usr/local/include/ -DLINUX -D__VXWORKS_OS__ -o flute.o flute.c
flute.c: In function `receiver_in_ui_mode':
flute.c:695: warning: decimal constant is so large that it is unsigned
flute.c:620: warning: unused variable `retval'
flute.c: In function `receiver_in_file_list_mode':
flute.c:945: warning: decimal constant is so large that it is unsigned
flute.c: In function `receiver_in_jni_file_list_mode':
flute.c:1229: warning: unused variable `buf'
flute.c:1226: warning: `file' might be used uninitialized in this function
gcc -c -O -pipe -march=pentiumpro -Wall -g -O -I/usr/local/include/ -DLINUX -D__VXWORKS_OS__ -o sender.o sender.c
gcc -c -O -pipe -march=pentiumpro -Wall -g -O -I/usr/local/include/ -DLINUX -D__VXWORKS_OS__ -o receiver.o receiver.c
receiver.c: In function `recvfile':
receiver.c:59: warning: `tmp_file_name' might be used uninitialized in this function
receiver.c: In function `fdtbasedrecv':
receiver.c:276: warning: decimal constant is so large that it is unsigned
receiver.c: In function `fdtbasedrecv2':
receiver.c:441: warning: decimal constant is so large that it is unsigned
receiver.c:397: warning: `file' might be used uninitialized in this function
receiver.c: In function `fdtbasedrecv3':
receiver.c:702: warning: decimal constant is so large that it is unsigned
receiver.c:653: warning: `file' might be used uninitialized in this function
gcc -c -O -pipe -march=pentiumpro -Wall -g -O -I/usr/local/include/ -DLINUX -D__VXWORKS_OS__ -o fdt.o fdt.c
fdt.c: In function `fdt_thread':
fdt.c:305: warning: decimal constant is so large that it is unsigned
fdt.c:370: warning: decimal constant is so large that it is unsigned
gcc -c -O -pipe -march=pentiumpro -Wall -g -O -I/usr/local/include/ -DLINUX -D__VXWORKS_OS__ -o fdt_gen.o fdt_gen.c
fdt_gen.c: In function `generate_fdt':
fdt_gen.c:76: warning: decimal constant is so large that it is unsigned
fdt_gen.c: In function `encode_directory':
fdt_gen.c:342: warning: long unsigned int format, different type arg (arg 3)
fdt_gen.c: In function `encode_file':
fdt_gen.c:424: warning: long unsigned int format, different type arg (arg 3)
gcc -c -O -pipe -march=pentiumpro -Wall -g -O -I/usr/local/include/ -DLINUX -D__VXWORKS_OS__ -o mad_md5.o mad_md5.c
gcc -c -O -pipe -march=pentiumpro -Wall -g -O -I/usr/local/include/ -DLINUX -D__VXWORKS_OS__ -o uri.o uri.c
uri.c: In function `parse_authority':
uri.c:252: warning: unused variable `port'
uri.c: In function `parse_hostport':
uri.c:288: warning: unused variable `port'
uri.c:287: warning: unused variable `host'
uri.c: In function `parse_path':
uri.c:407: warning: unused variable `end'
uri.c:404: warning: unused variable `passwd'
uri.c:403: warning: unused variable `user'
uri.c: In function `parse_userinfo':
uri.c:583: warning: unused variable `passwd'
uri.c:582: warning: unused variable `user'
gcc -c -O -pipe -march=pentiumpro -Wall -g -O -I/usr/local/include/ -DLINUX -D__VXWORKS_OS__ -o getdnsname.o getdnsname.c
gcc -o ../bin/flute main.o flute.o sender.o receiver.o fdt.o fdt_gen.o mad_md5.o uri.o getdnsname.o -DLINUX -pthread -L../lib -L/usr/local/lib -lalc -lsdp -lexpat -lm -lssl -lcrypto
gmake[1]: Leaving directory `/mirror/ports/tmp/mad_fcl/work/mad_fcl_v0.5_src/flute'
done
mohacsi@skye> ^Dexit

Script done on Fri Feb 13 17:11:31 2004


What can be the problem?


Janos Mohacsi
Network Engineer, Research Associate
NIIF/HUNGARNET, HUNGARY
Key 00F9AF98: 8645 1312 D249 471B DBAE  21A2 9F52 0D1F 00F9 AF98

On Fri, 13 Feb 2004, Kirill Ponomarew wrote:

> Hi,
>
> On Fri, Feb 13, 2004 at 04:24:24PM +0100, Mohacsi Janos wrote:
> > Hi,
> > 	Here is the "\r" removed and FreeBSD 4.x tested version of shar.
>
> No, it does not work either:
>
> ===>  Applying FreeBSD patches for mad_fcl-0.5
> 1 out of 1 hunks failed--saving rejects to Makefile.rej
> >> Patch patch-Makefile failed to apply cleanly.
> *** Error code 1
>
> Please remove existing port, apply shar, and test it.
>
> -Kirill
>
Comment 5 Mohacsi Janos 2004-02-16 12:22:24 UTC
Dear Kirill,
	I tried from the beginning. See attached file named output. I send
also the shar as an attachment. It might be corrupted during the transfer.

Can you send me your complete output and the rejected file?

Best Regards,

Janos Mohacsi
Network Engineer, Research Associate
NIIF/HUNGARNET, HUNGARY
Key 00F9AF98: 8645 1312 D249 471B DBAE  21A2 9F52 0D1F 00F9 AF98

On Fri, 13 Feb 2004, Kirill Ponomarew wrote:

> Hi,
>
> On Fri, Feb 13, 2004 at 04:24:24PM +0100, Mohacsi Janos wrote:
> > Hi,
> > 	Here is the "\r" removed and FreeBSD 4.x tested version of shar.
>
> No, it does not work either:
>
> ===>  Applying FreeBSD patches for mad_fcl-0.5
> 1 out of 1 hunks failed--saving rejects to Makefile.rej
> >> Patch patch-Makefile failed to apply cleanly.
> *** Error code 1
>
> Please remove existing port, apply shar, and test it.
>
> -Kirill
>
Comment 6 Kirill Ponomarev freebsd_committer freebsd_triage 2004-02-16 12:51:17 UTC
State Changed
From-To: feedback->closed

New port added, thanks!