Bug 105575 - slony update to 1.2.0
Summary: slony update to 1.2.0
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: Martin Wilke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-15 15:10 UTC by Oleg Gawriloff
Modified: 2006-11-23 12:20 UTC (History)
0 users

See Also:


Attachments
file.diff (1.44 KB, patch)
2006-11-15 15:10 UTC, Oleg Gawriloff
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Oleg Gawriloff 2006-11-15 15:10:11 UTC
Slony port upgrade to version 1.2.0

Fix: Patch attached with submission follows:
Comment 1 Martin Wilke freebsd_committer freebsd_triage 2006-11-15 15:30:32 UTC
Responsible Changed
From-To: freebsd-ports-bugs->miwi

I'll take it.
Comment 2 Martin Wilke freebsd_committer freebsd_triage 2006-11-15 18:26:17 UTC
State Changed
From-To: open->feedback

Ask for maintainer fix.
Comment 3 Martin Wilke freebsd_committer freebsd_triage 2006-11-15 18:26:35 UTC
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Hi Oleg, 

The port does not build. Can you take a look in it?

http://miwibox.org/tb/index.php?action=describe_port&id=1376

- -- 
Martin Wilke		| irc.unixfreunde.de #bsd 
miwi@FreeBSD.org	| miwi@unixfreunde.de
FreeBSD Commiter	| Power to Serve
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQFFW1vbPrCIFpjWZiwRAqZqAJ4hy3oOaDRC+ZzQ5vik8Qe07TDkagCgle7Q
cNuNyZeylvx6JHfVicOX2YI=
=eGMH
-----END PGP SIGNATURE-----
Comment 4 Oleg Gawriloff 2006-11-16 07:53:43 UTC
I can't decode url in your message.
At my box compile goes well (except It can't get slony distros from
MASTERSITE, I fetch it manually from
http://pgfoundry.org/frs/?group_id=1000122).

Compile output:
[barzog@hawk2 /usr/ports/databases/slony1]$ sudo make
===>  WARNING: Vulnerability database out of date, checking anyway
===>  Found saved configuration for slony1-1.1.5_1
===>  Extracting for slony1-1.2.0
=> MD5 Checksum OK for slony1-1.2.0.tar.bz2.
=> SHA256 Checksum OK for slony1-1.2.0.tar.bz2.
=> MD5 Checksum OK for slony1-1.2.0-docs.tar.bz2.
=> SHA256 Checksum OK for slony1-1.2.0-docs.tar.bz2.
===>   slony1-1.2.0 depends on file: /usr/local/bin/perl5.8.8 - found
===>  Patching for slony1-1.2.0
===>   slony1-1.2.0 depends on file: /usr/local/bin/perl5.8.8 - found
===>   slony1-1.2.0 depends on file: /usr/local/bin/postmaster - found
===>   slony1-1.2.0 depends on file:
/usr/local/lib/perl5/site_perl/5.8.8/mach/DBD/Pg.pm - found
===>   slony1-1.2.0 depends on executable in : gmake - found
===>   slony1-1.2.0 depends on file: /usr/local/bin/perl5.8.8 - found
===>  Configuring for slony1-1.2.0
configure: WARNING: you should use --build, --host, --target
checking build system type... i386-portbld-freebsd5.5
checking host system type... i386-portbld-freebsd5.5
checking which template to use... freebsd
configure: using CFLAGS=-O -pipe
checking for i386-portbld-freebsd5.5-gcc... cc
checking for C compiler default output file name... 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 cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for perl... /usr/bin/perl
checking for tar... /usr/bin/tar
checking for flex... flex
checking for bison... no
checking for ,... no
checking for yacc... yacc
checking for sed... sed
checking for the pthreads library -lpthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... -D_THREAD_SAFE
checking for cc_r... cc
checking how to run the C preprocessor... cc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
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 fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for inttypes.h... (cached) yes
checking for gettimeofday... yes
checking for dup2... yes
checking for alarm... yes
checking for memset... yes
checking for select... yes
checking for strdup... yes
checking for strerror... yes
checking for strtol... yes
checking for strtoul... yes
checking for int32_t... yes
checking for uint32_t... yes
checking for u_int32_t... yes
checking for int64_t... yes
checking for uint64_t... yes
checking for u_int64_t... yes
checking for ssize_t... yes
checking for POSIX signal interface... yes
overriding pgbindir with /usr/local/bin
overriding pglibdir with /usr/local/lib
overriding pgincludedir with /usr/local/include
overriding pgpkglibdir with /usr/local/lib/postgresql
overriding pgincludeserverdir with /usr/local/include/postgresql/server
overriding pgsharedir with /usr/local/share/postgresql
checking for pg_config... /usr/local/bin/pg_config
checking for correct version of PostgreSQL... 8.1
checking for PQunescapeBytea in -lpq... yes
checking libpq-fe.h usability... yes
checking libpq-fe.h presence... yes
checking for libpq-fe.h... yes
checking postgres.h usability... yes
checking postgres.h presence... yes
checking for postgres.h... yes
checking for utils/typcache.h... yes
checking for plpgsql.so... skipped due to override
checking for postgresql.conf.sample... skipped due to override
checking for PQputCopyData in -lpq... yes
checking for PQsetNoticeReceiver in -lpq... yes
checking for PQfreemem in -lpq... yes
checking for typenameTypeId... yes, and it takes 1 arguments
checking for standard_conforming_strings... no
checking whether GetTopTransactionId is declared... yes
checking for DBI::Pg... checking if you have requested documentation
building... no
configure: creating ./config.status
config.status: creating Makefile.global
config.status: WARNING:  Makefile.global.in seems to ignore the
--datarootdir setting
config.status: creating GNUmakefile
config.status: creating postgresql-slony1-engine.spec
config.status: creating Makefile.port
config.status: creating config.h
===>  Building for slony1-1.2.0
Using GNU make found at /usr/local/bin/gmake
gmake[1]: Entering directory
`/var/tmp/usr/ports/databases/slony1/work/slony1-1.2.0'
gmake[2]: Entering directory
`/var/tmp/usr/ports/databases/slony1/work/slony1-1.2.0/src'
gmake[3]: Entering directory
`/var/tmp/usr/ports/databases/slony1/work/slony1-1.2.0/src/xxid'
cc -I/usr/local/include -I/usr/local/include/postgresql/server  -O -pipe
-fpic -DPIC -I../.. -c -o xxid.o xxid.c
ld -x -shared -o xxid.so xxid.o
cp xxid.v73.sql xxid.v74.sql
gmake[3]: Leaving directory
`/var/tmp/usr/ports/databases/slony1/work/slony1-1.2.0/src/xxid'
gmake[3]: Entering directory
`/var/tmp/usr/ports/databases/slony1/work/slony1-1.2.0/src/parsestatements'
cc -I/usr/local/include -I/usr/local/include/postgresql/server  -O -pipe  -c
-o test-scanner.o test-scanner.c
cc -I/usr/local/include -I/usr/local/include/postgresql/server  -O -pipe  -c
-o scanner.o scanner.c
cc -O -pipe  -o test-scanner test-scanner.c scanner.o
./test-scanner < /dev/null > emptytestresult.log
cmp ./emptytestresult.log emptytestresult.expected
./test-scanner < ./test_sql.sql > test_sql.log
cmp ./test_sql.log ./test_sql.expected
gmake[3]: Leaving directory
`/var/tmp/usr/ports/databases/slony1/work/slony1-1.2.0/src/parsestatements'
gmake[3]: Entering directory
`/var/tmp/usr/ports/databases/slony1/work/slony1-1.2.0/src/slon'
cc -I/usr/local/include -I/usr/local/include/postgresql/server  -O -pipe
-D_THREAD_SAFE  -I../.. -I../../src/slon -c -o slon.o slon.c
cc -I/usr/local/include -I/usr/local/include/postgresql/server  -O -pipe
-D_THREAD_SAFE  -I../.. -I../../src/slon -c -o runtime_config.o
runtime_config.c
cc -I/usr/local/include -I/usr/local/include/postgresql/server  -O -pipe
-D_THREAD_SAFE  -I../.. -I../../src/slon -c -o local_listen.o local_listen.c
cc -I/usr/local/include -I/usr/local/include/postgresql/server  -O -pipe
-D_THREAD_SAFE  -I../.. -I../../src/slon -c -o remote_listen.o
remote_listen.c
cc -I/usr/local/include -I/usr/local/include/postgresql/server  -O -pipe
-D_THREAD_SAFE  -I../.. -I../../src/slon -c -o remote_worker.o
remote_worker.c
cc -I/usr/local/include -I/usr/local/include/postgresql/server  -O -pipe
-D_THREAD_SAFE  -I../.. -I../../src/slon -c -o sync_thread.o sync_thread.c
cc -I/usr/local/include -I/usr/local/include/postgresql/server  -O -pipe
-D_THREAD_SAFE  -I../.. -I../../src/slon -c -o cleanup_thread.o
cleanup_thread.c
cc -I/usr/local/include -I/usr/local/include/postgresql/server  -O -pipe
-D_THREAD_SAFE  -I../.. -I../../src/slon -c -o scheduler.o scheduler.c
cc -I/usr/local/include -I/usr/local/include/postgresql/server  -O -pipe
-D_THREAD_SAFE  -I../.. -I../../src/slon -c -o dbutils.o dbutils.c
cc -I/usr/local/include -I/usr/local/include/postgresql/server  -O -pipe
-D_THREAD_SAFE  -I../.. -I../../src/slon -c -o conf-file.o conf-file.c
cc -I/usr/local/include -I/usr/local/include/postgresql/server  -O -pipe
-D_THREAD_SAFE  -I../.. -I../../src/slon -c -o confoptions.o confoptions.c
cc -I/usr/local/include -I/usr/local/include/postgresql/server  -O -pipe
-D_THREAD_SAFE  -I../.. -I../../src/slon -c -o misc.o misc.c
cc -O -pipe  -D_THREAD_SAFE  -I../.. -I../../src/slon -o slon slon.o
runtime_config.o local_listen.o remote_listen.o remote_worker.o
sync_thread.o cleanup_thread.o scheduler.o dbutils.o conf-file.o
confoptions.o misc.o ../parsestatements/scanner.o -D_THREAD_SAFE
-L/usr/local/lib -L/usr/local/lib/postgresql -lpq  -Wl,-R/usr/local/lib
-lpthread
gmake[3]: Leaving directory
`/var/tmp/usr/ports/databases/slony1/work/slony1-1.2.0/src/slon'
gmake[3]: Entering directory
`/var/tmp/usr/ports/databases/slony1/work/slony1-1.2.0/src/slonik'
cc -I/usr/local/include -I/usr/local/include/postgresql/server  -O -pipe
-I../.. -DPGSHARE="\"/usr/local/share/postgresql\""  -c -o slonik.o slonik.c
cc -I/usr/local/include -I/usr/local/include/postgresql/server  -O -pipe
-I../.. -DPGSHARE="\"/usr/local/share/postgresql\""  -c -o dbutil.o dbutil.c
cc -I/usr/local/include -I/usr/local/include/postgresql/server  -O -pipe
-I../.. -DPGSHARE="\"/usr/local/share/postgresql\""  -c -o parser.o parser.c
cc -O -pipe  -I../.. -DPGSHARE="\"/usr/local/share/postgresql\""  slonik.o
dbutil.o parser.o  ../parsestatements/scanner.o -L/usr/local/lib
-L/usr/local/lib/postgresql -lpq  -Wl,-R/usr/local/lib -o slonik
gmake[3]: Leaving directory
`/var/tmp/usr/ports/databases/slony1/work/slony1-1.2.0/src/slonik'
gmake[3]: Entering directory
`/var/tmp/usr/ports/databases/slony1/work/slony1-1.2.0/src/backend'
cc -I/usr/local/include -I/usr/local/include/postgresql/server  -O -pipe
-I../.. -fpic -DPIC -c -o slony1_funcs.o slony1_funcs.c
ld -x -shared -o slony1_funcs.so slony1_funcs.o
gmake[3]: Leaving directory
`/var/tmp/usr/ports/databases/slony1/work/slony1-1.2.0/src/backend'
gmake[3]: Entering directory
`/var/tmp/usr/ports/databases/slony1/work/slony1-1.2.0/src/ducttape'
gmake[3]: Leaving directory
`/var/tmp/usr/ports/databases/slony1/work/slony1-1.2.0/src/ducttape'
gmake[2]: Leaving directory
`/var/tmp/usr/ports/databases/slony1/work/slony1-1.2.0/src'
gmake[2]: Entering directory
`/var/tmp/usr/ports/databases/slony1/work/slony1-1.2.0/tools'
for subdir in altperl ; do \
          /usr/local/bin/gmake -C $subdir all || exit; \
        done
gmake[3]: Entering directory
`/var/tmp/usr/ports/databases/slony1/work/slony1-1.2.0/tools/altperl'
gmake[3]: Leaving directory
`/var/tmp/usr/ports/databases/slony1/work/slony1-1.2.0/tools/altperl'
gmake[2]: Leaving directory
`/var/tmp/usr/ports/databases/slony1/work/slony1-1.2.0/tools'
All of Slony-I is successfully made. Ready to install
gmake[1]: Leaving directory
`/var/tmp/usr/ports/databases/slony1/work/slony1-1.2.0'
 
Signed, Oleg Gawriloff.
Comment 5 Oleg Gawriloff 2006-11-16 08:26:49 UTC
Install fails. Here's new patch:

diff -Nru slony1/Makefile /usr/ports/databases/slony1/Makefile
--- slony1/Makefile     Fri Jun 30 15:44:56 2006
+++ /usr/ports/databases/slony1/Makefile        Thu Nov 16 10:24:15 2006
@@ -6,8 +6,7 @@
 #

 PORTNAME=      slony1
-PORTVERSION=   1.1.5
-PORTREVISION=  1
+PORTVERSION=   1.2.0
 CATEGORIES=    databases
 MASTER_SITES=  http://developer.postgresql.org/~wieck/slony1/download/
 DISTFILES=     ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} \
@@ -74,7 +73,7 @@
        ${INSTALL_DATA} ${WRKSRC}/COPYRIGHT ${WRKSRC}/INSTALL
${WRKSRC}/SAMPLE ${WRKSRC}/README ${WRKSRC}/HISTORY-1.1 ${WRKSRC}/UPGRADING
${DOCSDIR}
 #      ${INSTALL_DATA} ${WRKSRC}/doc/*/*.pdf ${DOCSDIR}
        ${INSTALL_DATA} ${WRKSRC}/doc/howto/*.txt ${WRKSRC}/doc/howto/*.html
${DOCSDIR}/howto/
-       ${INSTALL_DATA} ${WRKDIR}/*.html ${WRKDIR}/*.png
${DOCSDIR}/adminguide/
+       ${INSTALL_DATA} ${WRKSRC}/doc/adminguide/*.html
${WRKSRC}/doc/adminguide/*.png ${DOCSDIR}/adminguide/
 .endif
        @${INSTALL_SCRIPT} ${WRKDIR}/slon-mkservice.sh
${PREFIX}/sbin/slon-mkservice
        @${INSTALL_DATA} ${FILESDIR}/slon.conf-sample ${PREFIX}/etc/
diff -Nru slony1/distinfo /usr/ports/databases/slony1/distinfo
--- slony1/distinfo     Thu Jun  8 11:43:40 2006
+++ /usr/ports/databases/slony1/distinfo        Thu Nov 16 09:51:42 2006
@@ -1,6 +1,6 @@
-MD5 (slony1-1.1.5.tar.bz2) = d3ffff50323f1413b9b81084f906f9f8
-SHA256 (slony1-1.1.5.tar.bz2) =
6e216eb121cbb2c195b4a3ee557a606f4ba815049f781c996a58a9946530e1f0
-SIZE (slony1-1.1.5.tar.bz2) = 610569
-MD5 (slony1-1.1.5-docs.tar.bz2) = c0d775ab74ed54703843f05391c17636
-SHA256 (slony1-1.1.5-docs.tar.bz2) =
b8b9e328ea7f5244eb24dd9d84bb6e85765ec5372d83806de36dd27aed86f6c2
-SIZE (slony1-1.1.5-docs.tar.bz2) = 148800
+MD5 (slony1-1.2.0.tar.bz2) = 6fa68522e757f153120c399d98b972d4
+SHA256 (slony1-1.2.0.tar.bz2) =
3bd405e79dd9750ea261e0013bc193a3b368c677793a13db7f99d090ea0776f6
+SIZE (slony1-1.1.5.tar.bz2) = 834529
+MD5 (slony1-1.2.0-docs.tar.bz2) = 087f286e5941bcbebfb84e5ac23b9f7b
+SHA256 (slony1-1.2.0-docs.tar.bz2) =
4961b3c5e0faaf54734508dc2da606638990441c7cf57705400125003f0fdb74
+SIZE (slony1-1.2.0-docs.tar.bz2) = 182411
 
Signed, Oleg Gawriloff.
Comment 6 Mark Linimon freebsd_committer freebsd_triage 2006-11-16 08:35:21 UTC
State Changed
From-To: feedback->open

New patch from maintainer added to audit-trail from misfiled PR ports/105599.
Comment 7 Martin Wilke freebsd_committer freebsd_triage 2006-11-16 08:53:26 UTC
State Changed
From-To: open->feedback

Ask for maintainer fix.
Comment 8 Martin Wilke freebsd_committer freebsd_triage 2006-11-23 12:13:13 UTC
State Changed
From-To: feedback->closed

Committed. Thanks!
Comment 9 dfilter service freebsd_committer freebsd_triage 2006-11-23 12:13:24 UTC
miwi        2006-11-23 12:12:53 UTC

  FreeBSD ports repository

  Modified files:
    databases/slony1     Makefile distinfo pkg-plist 
  Log:
  - update to 1.2.0
  
  PR:             ports/105575
  Submitted by:   Oleg Gawriloff <barzog@telecom.by> (maintainer)
  
  Revision  Changes    Path
  1.22      +4 -4      ports/databases/slony1/Makefile
  1.13      +6 -6      ports/databases/slony1/distinfo
  1.6       +42 -20    ports/databases/slony1/pkg-plist
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"