When compiling ports/palm/coldsync, the USB support is NOT enabled, even though it looks like we try to enable it. It looks as though the REINPLACE stuff doesn't do the right thing. Fix: Fix REINPLACE commands appropriately. How-To-Repeat: ===> Cleaning for libiconv-1.8_1 ===> Cleaning for gettext-0.11.5_1 ===> Cleaning for libtool-1.3.4_4 ===> Cleaning for p5-Palm-1.2.4 ===> Cleaning for expat-1.95.5 ===> Cleaning for coldsync-2.1.3_3 ===> Extracting for coldsync-2.1.3_3 >> Checksum OK for coldsync-2.1.3.tar.gz. ===> coldsync-2.1.3_3 depends on shared library: intl.4 - found ===> Patching for coldsync-2.1.3_3 ===> Applying FreeBSD patches for coldsync-2.1.3_3 /usr/bin/sed -i.bak -E -e 's,udi\.(\S+),udi.udi_\1,g;' -e 's,ur\.(\S+),ur.ucr_\1,g;' /usr/ports/palm/coldsync/work/coldsync-2.1.3/configure /usr/ports/palm/coldsync/work/coldsync-2.1.3/libpconn/PConnection_usb.c ===> Configuring for coldsync-2.1.3_3 creating cache ./config.cache checking for gcc... cc checking whether the C compiler (cc -O -pipe -L/usr/local/lib) works... yes checking whether the C compiler (cc -O -pipe -L/usr/local/lib) is a cross-compiler... no checking whether we are using GNU C... yes checking whether cc accepts -g... yes checking how to run the C preprocessor... cc -E checking for AIX... no checking for c++... c++ checking whether the C++ compiler (c++ -Wall -ansi -pedantic -O -pipe -L/usr/local/lib) works... yes checking whether the C++ compiler (c++ -Wall -ansi -pedantic -O -pipe -L/usr/local/lib) is a cross-compiler... no checking whether we are using GNU C++... yes checking whether c++ accepts -g... yes checking whether the C++ compiler understands 'bool'... yes checking whether the C++ compiler understands new-style casts... yes checking for ranlib... ranlib checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel checking for flex... flex checking for yywrap in -lfl... yes checking for gettext in -lintl... yes checking for xgettext... xgettext checking for GNU xgettext... yes checking for gettext... gettext checking for GNU gettext... yes checking for msgmerge... msgmerge checking for GNU msgmerge... yes checking for msgfmt... msgfmt checking for GNU msgfmt... yes checking for bison... bison -y checking for perl... /usr/bin/perl checking for pod2man... /usr/bin/pod2man checking for sed... /usr/bin/sed checking for date... date checking for mkdep... mkdep checking for mkid... no checking for gtar... gtar checking for gzip... gzip checking for lint... lint checking for makeinfo... makeinfo checking for GNU makeinfo... yes checking for texi2dvi... texi2dvi checking for dvips... dvips checking for texi2html... texi2html checking for yyerror in -ly... yes checking for ANSI C header files... yes checking for dirent.h that defines DIR... yes checking for opendir in -ldir... no checking for d_type in struct dirent... yes checking for fcntl.h... yes checking for libintl.h... yes checking for locale.h... yes checking for resolv.h... yes checking for strings.h... yes checking for stropts.h... no checking for termios.h... yes checking for unistd.h... yes checking for arpa/nameser.h... yes checking for sys/select.h... yes checking for sys/sockio.h... yes checking for sys/time.h... yes checking for sys/types.h... yes checking for sys/param.h... yes checking for netinet/in.h... yes checking for inline... __inline__ checking for working const... yes checking for mode_t... yes checking for off_t... yes checking for pid_t... yes checking return type of signal handlers... void checking for size_t... yes checking for uid_t in sys/types.h... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for tm_zone in struct tm... yes checking for socklen_t... yes checking for sa_len in struct sockaddr... yes checking for struct sockaddr_in6... yes checking for fpurge... yes checking for getopt... yes checking for memcpy... yes checking for memset... yes checking for bzero... yes checking for mkstemp... yes checking for select... yes checking for rename... yes checking for strchr... yes checking for strncpy... yes checking for cfmakeraw... yes checking for socketpair... yes checking for usleep... yes checking for strcasecmp... yes checking for strncasecmp... yes checking for snprintf... yes checking for vfprintf... yes checking for vsnprintf... yes checking for library containing inet_pton... none required checking for library containing inet_aton... none required checking for library containing inet_ntop... none required checking for library containing inet_ntoa... none required checking for library containing gethostbyname2... none required checking for library containing gethostbyname... none required checking whether ENODEV is defined... yes checking whether O_BINARY is defined... no checking for BSD USB support... no checking for socks behind the sofa... no updating cache ./config.cache creating ./config.status creating Make.rules creating doc/version.texi creating config.h Checking if your kit is complete... Looks good Writing Makefile for ColdSync ===> Building for coldsync-2.1.3_3 all: Entering directory `./include' all: Entering directory `./include/pconn' all: Leaving directory `./include/pconn' all: Leaving directory `./include' all: Entering directory `./libpconn' cc -Wall -ansi -pedantic -O -pipe -DHAVE_CONFIG_H -I. -I./.. -I./../include -I/usr/local/include -c cfmakeraw.c cc -Wall -ansi -pedantic -O -pipe -DHAVE_CONFIG_H -I. -I./.. -I./../include -I/usr/local/include -c dlp_cmd.c In file included from dlp_cmd.c:33: /usr/include/stdlib.h:110: warning: ANSI C does not support `long long' /usr/include/stdlib.h:114: warning: ANSI C does not support `long long' cc -Wall -ansi -pedantic -O -pipe -DHAVE_CONFIG_H -I. -I./.. -I./../include -I/usr/local/include -c dlp_rpc.c In file included from dlp_rpc.c:15: /usr/include/stdlib.h:110: warning: ANSI C does not support `long long' /usr/include/stdlib.h:114: warning: ANSI C does not support `long long' cc -Wall -ansi -pedantic -O -pipe -DHAVE_CONFIG_H -I. -I./.. -I./../include -I/usr/local/include -c util.c cc -Wall -ansi -pedantic -O -pipe -DHAVE_CONFIG_H -I. -I./.. -I./../include -I/usr/local/include -c dlp.c In file included from dlp.c:18: /usr/include/stdlib.h:110: warning: ANSI C does not support `long long' /usr/include/stdlib.h:114: warning: ANSI C does not support `long long' cc -Wall -ansi -pedantic -O -pipe -DHAVE_CONFIG_H -I. -I./.. -I./../include -I/usr/local/include -c netsync.c In file included from netsync.c:10: /usr/include/stdlib.h:110: warning: ANSI C does not support `long long' /usr/include/stdlib.h:114: warning: ANSI C does not support `long long' cc -Wall -ansi -pedantic -O -pipe -DHAVE_CONFIG_H -I. -I./.. -I./../include -I/usr/local/include -c palm_errno.c cc -Wall -ansi -pedantic -O -pipe -DHAVE_CONFIG_H -I. -I./.. -I./../include -I/usr/local/include -c padp.c In file included from padp.c:20: /usr/include/stdlib.h:110: warning: ANSI C does not support `long long' /usr/include/stdlib.h:114: warning: ANSI C does not support `long long' cc -Wall -ansi -pedantic -O -pipe -DHAVE_CONFIG_H -I. -I./.. -I./../include -I/usr/local/include -c slp.c In file included from slp.c:17: /usr/include/stdlib.h:110: warning: ANSI C does not support `long long' /usr/include/stdlib.h:114: warning: ANSI C does not support `long long' cc -Wall -ansi -pedantic -O -pipe -DHAVE_CONFIG_H -I. -I./.. -I./../include -I/usr/local/include -c cmp.c cc -Wall -ansi -pedantic -O -pipe -DHAVE_CONFIG_H -I. -I./.. -I./../include -I/usr/local/include -c PConnection.c In file included from PConnection.c:14: /usr/include/stdlib.h:110: warning: ANSI C does not support `long long' /usr/include/stdlib.h:114: warning: ANSI C does not support `long long' cc -Wall -ansi -pedantic -O -pipe -DHAVE_CONFIG_H -I. -I./.. -I./../include -I/usr/local/include -c PConnection_serial.c In file included from PConnection_serial.c:14: /usr/include/stdlib.h:110: warning: ANSI C does not support `long long' /usr/include/stdlib.h:114: warning: ANSI C does not support `long long' cc -Wall -ansi -pedantic -O -pipe -DHAVE_CONFIG_H -I. -I./.. -I./../include -I/usr/local/include -c PConnection_usb.c cc -Wall -ansi -pedantic -O -pipe -DHAVE_CONFIG_H -I. -I./.. -I./../include -I/usr/local/include -c PConnection_net.c ar cr libpconn.a cfmakeraw.o dlp_cmd.o dlp_rpc.o util.o dlp.o netsync.o palm_errno.o padp.o slp.o cmp.o PConnection.o PConnection_serial.o PConnection_usb.o PConnection_net.o ranlib libpconn.a all: Leaving directory `./libpconn' all: Entering directory `./libpdb' cc -Wall -ansi -pedantic -O -pipe -DHAVE_CONFIG_H -I. -I./.. -I./../include -I/usr/local/include -c pdb.c In file included from pdb.c:36: /usr/include/stdlib.h:110: warning: ANSI C does not support `long long' /usr/include/stdlib.h:114: warning: ANSI C does not support `long long' ar cr libpdb.a pdb.o ranlib libpdb.a all: Leaving directory `./libpdb' all: Entering directory `./src' cc -Wall -ansi -pedantic -O -pipe -DHAVE_CONFIG_H -I. -I./.. -I./../include -I/usr/local/include -c coldsync.c In file included from coldsync.c:11: /usr/include/stdlib.h:110: warning: ANSI C does not support `long long' /usr/include/stdlib.h:114: warning: ANSI C does not support `long long' cc -Wall -ansi -pedantic -O -pipe -DHAVE_CONFIG_H -I. -I./.. -I./../include -I/usr/local/include -c archive.c cc -Wall -ansi -pedantic -O -pipe -DHAVE_CONFIG_H -I. -I./.. -I./../include -I/usr/local/include -c backup.c cc -Wall -ansi -pedantic -O -pipe -DHAVE_CONFIG_H -I. -I./.. -I./../include -I/usr/local/include -c restore.c cc -Wall -ansi -pedantic -O -pipe -DHAVE_CONFIG_H -I. -I./.. -I./../include -I/usr/local/include -c install.c cc -Wall -ansi -pedantic -O -pipe -DHAVE_CONFIG_H -I. -I./.. -I./../include -I/usr/local/include -c config.c In file included from config.c:14: /usr/include/stdlib.h:110: warning: ANSI C does not support `long long' /usr/include/stdlib.h:114: warning: ANSI C does not support `long long' cc -Wall -ansi -pedantic -O -pipe -DHAVE_CONFIG_H -I. -I./.. -I./../include -I/usr/local/include -c misc.c bison -y -d parser.y parser.y:1010: warning: previous rule lacks an ending `;' parser.y:1033: warning: previous rule lacks an ending `;' parser.y:1040: warning: previous rule lacks an ending `;' parser.y:1047: warning: previous rule lacks an ending `;' flex lexer.l cc -Wall -ansi -pedantic -O -pipe -DHAVE_CONFIG_H -I. -I./.. -I./../include -I/usr/local/include -c lexhack.c In file included from lex.yy.c:1237, from lexhack.c:21: /usr/include/stdlib.h:110: warning: ANSI C does not support `long long' /usr/include/stdlib.h:114: warning: ANSI C does not support `long long' cc -Wall -ansi -pedantic -O -pipe -DHAVE_CONFIG_H -I. -I./.. -I./../include -I/usr/local/include -c log.c In file included from log.c:13: /usr/include/stdlib.h:110: warning: ANSI C does not support `long long' /usr/include/stdlib.h:114: warning: ANSI C does not support `long long' cc -Wall -ansi -pedantic -O -pipe -DHAVE_CONFIG_H -I. -I./.. -I./../include -I/usr/local/include -c conduit.c In file included from conduit.c:14: /usr/include/stdlib.h:110: warning: ANSI C does not support `long long' /usr/include/stdlib.h:114: warning: ANSI C does not support `long long' cc -Wall -ansi -pedantic -O -pipe -DHAVE_CONFIG_H -I. -I./.. -I./../include -I/usr/local/include -c palm.c In file included from palm.c:13: /usr/include/stdlib.h:110: warning: ANSI C does not support `long long' /usr/include/stdlib.h:114: warning: ANSI C does not support `long long' cc -Wall -ansi -pedantic -O -pipe -DHAVE_CONFIG_H -I. -I./.. -I./../include -I/usr/local/include -c palment.c In file included from palment.c:14: /usr/include/stdlib.h:110: warning: ANSI C does not support `long long' /usr/include/stdlib.h:114: warning: ANSI C does not support `long long' cc -Wall -ansi -pedantic -O -pipe -DHAVE_CONFIG_H -I. -I./.. -I./../include -I/usr/local/include -c pref.c In file included from pref.c:15: /usr/include/stdlib.h:110: warning: ANSI C does not support `long long' /usr/include/stdlib.h:114: warning: ANSI C does not support `long long' cc -Wall -ansi -pedantic -O -pipe -DHAVE_CONFIG_H -I. -I./.. -I./../include -I/usr/local/include -c spc.c In file included from spc.c:14: /usr/include/stdlib.h:110: warning: ANSI C does not support `long long' /usr/include/stdlib.h:114: warning: ANSI C does not support `long long' cc -Wall -ansi -pedantic -O -pipe -DHAVE_CONFIG_H -I. -I./.. -I./../include -I/usr/local/include -c net_compat.c cc -Wall -ansi -pedantic -O -pipe -DHAVE_CONFIG_H -I. -I./.. -I./../include -I/usr/local/include -c ap_snprintf.c In file included from ap_snprintf.c:72: /usr/include/stdlib.h:110: warning: ANSI C does not support `long long' /usr/include/stdlib.h:114: warning: ANSI C does not support `long long' c++ -Wall -ansi -pedantic -O -pipe -DHAVE_CONFIG_H -I. -I./.. -I./../include -I/usr/local/include -c GenericConduit.cc In file included from GenericConduit.cc:39: /usr/include/stdlib.h:110: warning: ANSI C++ does not support `long long' /usr/include/stdlib.h:114: warning: ANSI C++ does not support `long long' cc -Wall -ansi -pedantic -O -pipe -DHAVE_CONFIG_H -I. -I./.. -I./../include -I/usr/local/include -c y.tab.c In file included from parser.y:14: /usr/include/stdlib.h:110: warning: ANSI C does not support `long long' /usr/include/stdlib.h:114: warning: ANSI C does not support `long long' c++ -Wall -ansi -pedantic -O -pipe -DHAVE_CONFIG_H -I. -I./.. -I./../include -I/usr/local/include coldsync.o archive.o backup.o restore.o install.o config.o misc.o lexhack.o log.o conduit.o palm.o palment.o pref.o spc.o net_compat.o ap_snprintf.o GenericConduit.o y.tab.o -o coldsync -L/usr/local/lib -lintl -L./../libpdb -lpdb -L./../libpconn -lpconn -ly -lfl all: Leaving directory `./src' all: Entering directory `./perl' all: Entering directory `./perl/ColdSync' mkdir blib mkdir blib/lib cp ColdSync.pm blib/lib/ColdSync.pm cp ColdSync/SPC.pm blib/lib/ColdSync/SPC.pm mkdir blib/arch mkdir blib/arch/auto mkdir blib/arch/auto/ColdSync mkdir blib/lib/auto/ColdSync mkdir blib/man3 Manifying blib/man3/ColdSync.3 Manifying blib/man3/ColdSync::SPC.3 all: Leaving directory `./perl/ColdSync' all: Leaving directory `./perl' all: Entering directory `./conduits' all: Leaving directory `./conduits' all: Entering directory `./doc' all: Leaving directory `./doc' all: Entering directory `./i18n' xgettext -LC++ -s -k_ -kN_ -o messages.po ./../libpconn/PConnection.c ./../libpconn/PConnection_net.c ./../libpconn/PConnection_serial.c ./../libpconn/PConnection_usb.c ./../libpconn/cfmakeraw.c ./../libpconn/cmp.c ./../libpconn/dlp.c ./../libpconn/dlp_cmd.c ./../libpconn/dlp_rpc.c ./../libpconn/netsync.c ./../libpconn/padp.c ./../libpconn/palm_errno.c ./../libpconn/slp.c ./../libpconn/util.c ./../libpdb/pdb.c ./../src/archive.c ./../src/backup.c ./../src/coldsync.c ./../src/conduit.c ./../src/config.c ./../src/install.c ./../src/lex.yy.c ./../src/log.c ./../src/misc.c ./../src/palm.c ./../src/parser.y ./../src/pref.c ./../src/restore.c ./../src/spc.c ./../src/net_compat.c ./../src/GenericConduit.cc if [ ! -f "fr.po" ]; then touch "fr.po"; fi msgmerge -v -o temp.pox "fr.po" messages.po msgmerge: messages.po: warning: Charset "CHARSET" is not a portable encoding name. Message conversion to user's charset might not work. .................................. Read 1 old + 1 reference, merged 331, fuzzied 0, missing 1, obsolete 25. if [ -f temp.pox ]; then cp temp.pox "fr.po"; rm -f temp.pox; fi msgfmt -v --statistics --strict -o fr.mo fr.po 305 translated messages, 1 fuzzy translation, 25 untranslated messages. if [ ! -f "de.po" ]; then touch "de.po"; fi msgmerge -v -o temp.pox "de.po" messages.po msgmerge: messages.po: warning: Charset "CHARSET" is not a portable encoding name. Message conversion to user's charset might not work. ................................... Read 1 old + 1 reference, merged 331, fuzzied 1, missing 0, obsolete 58. if [ -f temp.pox ]; then cp temp.pox "de.po"; rm -f temp.pox; fi msgfmt -v --statistics --strict -o de.mo de.po 201 translated messages, 84 fuzzy translations, 46 untranslated messages. if [ ! -f "it.po" ]; then touch "it.po"; fi msgmerge -v -o temp.pox "it.po" messages.po msgmerge: messages.po: warning: Charset "CHARSET" is not a portable encoding name. Message conversion to user's charset might not work. ................................... Read 1 old + 1 reference, merged 331, fuzzied 1, missing 0, obsolete 0. if [ -f temp.pox ]; then cp temp.pox "it.po"; rm -f temp.pox; fi msgfmt -v --statistics --strict -o it.mo it.po 330 translated messages, 1 fuzzy translation. all: Leaving directory `./i18n' ===> Installing for coldsync-2.1.3_3 ===> coldsync-2.1.3_3 depends on file: /usr/local/lib/perl5/site_perl/5.005/Palm/PDB.pm - found ===> coldsync-2.1.3_3 depends on shared library: intl.4 - found install: Entering directory `./include' install: Entering directory `./include/pconn' install: Leaving directory `./include/pconn' install: Leaving directory `./include' install: Entering directory `./libpconn' install: Leaving directory `./libpconn' install: Entering directory `./libpdb' install: Leaving directory `./libpdb' install: Entering directory `./src' ./../mkinstalldirs /usr/local/bin install -c -s -o root -g wheel -m 555 -m 555 coldsync /usr/local/bin/coldsync install: Leaving directory `./src' install: Entering directory `./perl' install: Entering directory `./perl/ColdSync' Installing /usr/local/lib/perl5/site_perl/5.005/ColdSync.pm Installing /usr/local/lib/perl5/site_perl/5.005/ColdSync/SPC.pm Installing /usr/local/lib/perl5/5.00503/man/man3/ColdSync.3 Installing /usr/local/lib/perl5/5.00503/man/man3/ColdSync::SPC.3 Writing /usr/local/lib/perl5/site_perl/5.005/i386-freebsd/auto/ColdSync/.packlist Appending installation info to /usr/libdata/perl/5.00503/mach/perllocal.pod install: Leaving directory `./perl/ColdSync' install: Leaving directory `./perl' install: Entering directory `./conduits' for i in send-mail todo-text; do /usr/bin/pod2man $i > $i.1; done ./../mkinstalldirs /usr/local/libexec/coldsync /usr/local/man/man1 mkdir /usr/local/libexec/coldsync for i in send-mail todo-text; do /usr/bin/sed 's:#! *[^ ]*\(.*\):#!/usr/bin/perl\1:' < $i > $i.inst; install -c -o root -g wheel -m 555 $i.inst /usr/local/libexec/coldsync/$i; rm -f $i.inst; done for i in send-mail todo-text; do install -c -o root -g wheel -m 444 $i.1 /usr/local/man/man1/$i.1; done install: Leaving directory `./conduits' install: Entering directory `./doc' ./../mkinstalldirs /usr/local/man/man8 /usr/local/info /usr/local/etc install -c -o root -g wheel -m 444 coldsync.8 /usr/local/man/man8/coldsync.8 install -c -o root -g wheel -m 444 sample.coldsync.rc /usr/local/etc/sample.coldsync.rc install -c -o root -g wheel -m 444 conduits.info /usr/local/info/conduits.info install -c -o root -g wheel -m 444 conduits.info-1 /usr/local/info/conduits.info-1 install -c -o root -g wheel -m 444 conduits.info-2 /usr/local/info/conduits.info-2 install: Leaving directory `./doc' install: Entering directory `./i18n' langs="fr de it"; for lang in $langs; do ./../mkinstalldirs "/usr/local/share/locale/$lang/LC_MESSAGES"; install -c -o root -g wheel -m 444 "$lang.mo" "/usr/local/share/locale/$lang/LC_MESSAGES/coldsync.mo"; done install: Leaving directory `./i18n' ===> Generating temporary packing list ===> Compressing manual pages for coldsync-2.1.3_3 ===> Registering installation for coldsync-2.1.3_3 ===> Cleaning for libiconv-1.8_1 ===> Cleaning for gettext-0.11.5_1 ===> Cleaning for libtool-1.3.4_4 ===> Cleaning for p5-Palm-1.2.4 ===> Cleaning for expat-1.95.5 ===> Cleaning for coldsync-2.1.3_3
The following is from David Desrossier (setuid on #pilot-link @ irc.pilot-link.org), trying to get coldsync to work. (15:04:11) setuid: perl -pi.orig -e 's/udi./udi.udi_/g' libpconn/PConnection_usb.c (15:04:33) setuid: perl -pi.orig -e 's/ur../ur.ucr_/g' libpconn/PConnection_usb.c Can the maintainer look at the patch in the Makefile and fix it to work? -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 972-414-9812 E-Mail: ler@lerctr.org US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749
State Changed From-To: open->closed Fix committed. The package detects USB and compiles. Its useability remains questionable, though, especially, on -current.