Bug 141742 - Port update:astro/wcslib
Summary: Port update:astro/wcslib
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: Wen Heping
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-18 07:00 UTC by tonymaher
Modified: 2010-01-05 02:00 UTC (History)
0 users

See Also:


Attachments
file.diff (4.12 KB, patch)
2009-12-18 07:00 UTC, tonymaher
no flags Details | Diff
patch-2 (4.83 KB, text/plain)
2010-01-03 05:58 UTC, tonymaher
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description tonymaher 2009-12-18 07:00:12 UTC
Patch to update astro/wcslib to version 4.4.4
Comment 1 Wen Heping freebsd_committer freebsd_triage 2009-12-18 13:43:06 UTC
Responsible Changed
From-To: freebsd-ports-bugs->wen

I'll take it.
Comment 2 wenheping 2009-12-19 07:03:28 UTC
Hi,

   Your patch build well on FreeBSD 7 8 9 but it will
cause PLIST error on FreeBSD6 as I paste below.
   Would you have a test of it and fix it ?


wen



building wcslib-4.4.4_9 in directory /usr/local/tinderbox/6.4-FreeBSD
build started at Sat Dec 19 06:38:00 UTC 2009
port directory: /usr/ports/astro/wcslib
building for:  6.4-RELEASE i386
maintained by: tonymaher@optusnet.com.au
Makefile ident: $FreeBSD: ports/astro/wcslib/Makefile,v 1.1 2009/07/17
16:31:35 amdmi3 Exp $
prefixes: LOCALBASE=usr/local X11BASE=usr/local PREFIX=/usr/local
Begin Configuration:
---Begin Environment---
ARCH=i386
PACKAGE_BUILDING=1
USER=root
CCACHE_DIR=
BRANCH=RELEASE
CCACHE_NOLINK=1
HOST_WORKDIR=
X11BASE=/usr/local
BATCH=1
OLDPWD=/
HOME=/root
SRCBASE=/usr/local/tinderbox/jails/6.4/src
PKGZIPCMD=bzip2
HAVE_MOTIF=1
FTP_TIMEOUT=900
HTTP_TIMEOUT=900
defaultUpdateHost=cvsup.FreeBSDChina.org
pb=/usr/local/tinderbox
DISTFILE_CACHE=/usr/ports/distfiles
OSREL=6.4
defaultUpdateType=CSUP
TINDERD_LOGFILE=/dev/null
PORTOBJFORMAT=elf
WRKDIRPREFIX=/work
DISTDIR=/tmp/distfiles
DISTCACHE=/distcache
CCACHE_LOGFILE=
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/local/bin
PACKAGES=/tmp/packages
TIMEOUT=7200
PKGSUFFIX=.tbz
OSVERSION=604000
OPTIONS_ENABLED=0
__DSVERSION__=3.2
TINDERD_SLEEPTIME=120
UNAME_n=tinderbox.host
__MKLVL__=1
CCACHE_JAIL=0
LOCALBASE=/usr/local
CCACHE_MAX_SIZE=1G
DISTFILE_URI=
X_WINDOW_SYSTEM=xorg
MASTER_SITE_OVERRIDE=file:///distcache/${DIST_SUBDIR}/
OPTIONS_DIR=
UNAME_r=6.4-RELEASE
USA_RESIDENT=YES
UNAME_s=FreeBSD
PARALLEL_PACKAGE_BUILD=1
PWD=/usr/ports/astro/wcslib
UNAME_v=FreeBSD 6.4-RELEASE #0: Sat Dec 19 14:34:18 CST 2009
root@tinderbox.host:/usr/src/sys/magic/kernel/path
FTP_PASSIVE_MODE=yes
CCACHE_ENABLED=0
INDEXFILE=INDEX-6
---End Environment---

---Begin OPTIONS List---
===> The following configuration options are available for wcslib-4.4.4_9:
     CFITSIO=Off (default) "Add cfitsio support (for tests only)"
     PGPLOT=Off (default) "Add pgplot support (for tests only)"
===> Use 'make config' to modify these settings
---End OPTIONS List---

End Configuration.
FETCH_DEPENDS=
PATCH_DEPENDS=
EXTRACT_DEPENDS=
BUILD_DEPENDS=gettext-0.17_1.tbz libiconv-1.13.1.tbz gmake-3.81_3.tbz
libtool-2.2.6b.tbz
RUN_DEPENDS=
add_pkg
================================================================
====================<phase 1: make checksum>====================
=> wcslib-4.4.4.tar.bz2 doesn't seem to exist in /tmp/distfiles/.
=> Attempting to fetch from file:///distcache//.
wcslib-4.4.4.tar.bz2                                  1553 kB 3465 kBps
=> MD5 Checksum OK for wcslib-4.4.4.tar.bz2.
=> SHA256 Checksum OK for wcslib-4.4.4.tar.bz2.
================================================================
====================<phase 2: make extract>====================
add_pkg
===>  Extracting for wcslib-4.4.4_9
=> MD5 Checksum OK for wcslib-4.4.4.tar.bz2.
=> SHA256 Checksum OK for wcslib-4.4.4.tar.bz2.
================================================================
====================<phase 3: make patch>====================
add_pkg
===>  Patching for wcslib-4.4.4_9
===>  Applying FreeBSD patches for wcslib-4.4.4_9
/usr/bin/sed -i.bak -e 's|%%LIBDIR%%|/usr/local/libdata|g'
/work/a/ports/astro/wcslib/work/wcslib-4.4.4/GNUmakefile
================================================================
====================<phase 4: make build>====================
add_pkg gettext-0.17_1.tbz libiconv-1.13.1.tbz gmake-3.81_3.tbz
libtool-2.2.6b.tbz
adding dependencies
pkg_add gettext-0.17_1.tbz
pkg_add libiconv-1.13.1.tbz
skipping libiconv-1.13.1, already added
pkg_add gmake-3.81_3.tbz
pkg_add libtool-2.2.6b.tbz
===>   wcslib-4.4.4_9 depends on executable: gmake - found
===>   wcslib-4.4.4_9 depends on package: libtool>=2.2 - found
===>  Configuring for wcslib-4.4.4_9
checking build system type... i386-portbld-freebsd6.4
checking for flex... flex
configure: Flex version 2.5.4 is too old, ignored.
configure: WARNING: Flex version 2.5.9 or later does not appear to be
           available, will use pre-generated sources.
checking for 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 how to run the C preprocessor... cc -E
checking for gcc... (cached) cc
checking whether we are using the GNU C compiler... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for cc option to accept ISO C89... (cached) none needed
checking for cc option to accept ISO C99... -std=gnu99
checking for cc -std=gnu99 option to accept ISO Standard C... (cached)
-std=gnu99
checking for an ANSI C-conforming const... yes
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 for size_t... yes
checking for off_t... yes
checking for int8_t... yes
checking for int16_t... yes
checking for int32_t... yes
checking for uint8_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for ANSI C header files... (cached) yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking setjmp.h usability... yes
checking setjmp.h presence... yes
checking for setjmp.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for floor in -lm... yes
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking for function prototypes... yes
checking whether setvbuf arguments are reversed... no
checking whether lstat dereferences a symlink specified with a
trailing slash... yes
checking whether stat accepts an empty string... no
checking for floor... yes
checking for memset... yes
checking for pow... yes
checking for sqrt... yes
checking for strchr... yes
checking for strstr... yes
checking for cosd in -lsunmath... no
checking for sincos... no
checking for int... yes
checking size of int... 4
checking for long int... yes
checking size of long int... 4
checking for long long int... yes
checking size of long long int... 8
checking for printf z format modifier for size_t type... yes
checking for g77... no
checking for f77... f77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether f77 accepts -g... yes
checking whether f77 accepts -I... yes
checking how to get verbose linking output from f77... -v
checking for Fortran 77 libraries of f77...  -L/usr/lib -lg2c -lm
checking for dummy main to link with Fortran 77 libraries... none
checking for Fortran 77 name-mangling scheme... lower case,
underscore, extra underscore
checking for printf$LDBLStub in -lSystemStubs... no
checking for ranlib... ranlib
checking whether ln -s works... yes
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
configure: End of primary configuration.

configure: Looking for libraries etc. for utilities and test suite...
checking for unistd.h... (cached) yes
checking for _LARGEFILE_SOURCE value needed for large files... (cached) no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for /local/cfitsio... no
checking for /usr/local/cfitsio... no
checking for /local/pgplot... no
checking for /usr/local/pgplot... no
checking for /local/lib... no
checking for /usr/local/lib... yes
checking for /opt/local/lib... no
checking for /opt/SUNWspro/lib... no
checking for /sw/lib... no
checking for /local/include/cfitsio/fitsio.h... no
checking for /local/include/fitsio.h... no
checking for /usr/local/include/cfitsio/fitsio.h... no
checking for /usr/local/include/fitsio.h... no
checking for /opt/local/include/cfitsio/fitsio.h... no
checking for /opt/local/include/fitsio.h... no
checking for /sw/include/cfitsio/fitsio.h... no
checking for /sw/include/fitsio.h... no
checking for /local/cfitsio/fitsio.h... no
checking for /local/fitsio.h... no
checking for /usr/include/cfitsio/fitsio.h... no
checking for /usr/include/fitsio.h... no
checking for recv in -lsocket... no
checking for ffopen in -lcfitsio... no
configure: WARNING: CFITSIO not found, skipping CFITSIO-dependent tests.
checking for /local/include/pgplot/cpgplot.h... no
checking for /local/include/cpgplot.h... no
checking for /usr/local/include/pgplot/cpgplot.h... no
checking for /usr/local/include/cpgplot.h... no
checking for /opt/local/include/pgplot/cpgplot.h... no
checking for /opt/local/include/cpgplot.h... no
checking for /sw/include/pgplot/cpgplot.h... no
checking for /sw/include/cpgplot.h... no
checking for /local/pgplot/cpgplot.h... no
checking for /local/cpgplot.h... no
checking for /usr/include/pgplot/cpgplot.h... no
checking for /usr/include/cpgplot.h... no
checking for iand_ in -lM77... no
checking for f77_init in -lF77... no
checking for main in -lfrtbegin... no
checking for gerror_ in -lg2c... yes
checking for _gfortran_abort in -lgfortran... no
checking for X... no
checking for deflate in -lz... yes
checking for png_error in -lpng... no
checking for pgbeg_ in -lpgplot... no
checking for cpgbeg in -lcpgplot... no
configure: WARNING: PGPLOT not found, skipping PGPLOT-dependent tests.
configure: End of auxiliary configuration.

configure: Configuring files...
configure: creating ./config.status
config.status: creating makedefs
config.status: creating wcslib.pc
config.status: creating wcsconfig.h
config.status: creating wcsconfig_f77.h
config.status: creating wcsconfig_tests.h
config.status: creating wcsconfig_utils.h
===>  Building for wcslib-4.4.4_9

FreeBSD tinderbox.host 6.4-RELEASE FreeBSD 6.4-RELEASE #0: Sat Dec 19
14:34:18 CST 2009
root@tinderbox.host:/usr/src/sys/magic/kernel/path i386

GNU Make 3.81
  MAKEFLAGS   := SYSTEMVERSION= OSVERSION=604000 OSREL=6.4
OPSYS=FreeBSD ARCH=i386

For building and installing wcslib-4.4.4...
  ARCH        := i386
  FLEX        :=
  FLFLAGS     :=
  CPP         := cc -E
  CPPFLAGS    := -DHAVE_CONFIG_H
  WCSTRIG     := WRAPPER
  CC          := cc -std=gnu99
  CFLAGS      := -O2 -fno-strict-aliasing -pipe
  FC          := f77
  FFLAGS      := -g -O2 -Wno-globals -I.
  LIBWCS      := libwcs-4.4.4.a
  RANLIB      := ranlib
  SHRLIB      := libwcs.so.4.4.4
  SHRFLAGS    := -O2 -fno-strict-aliasing -pipe -fPIC
  SHRLD       := cc -std=gnu99 -O2 -fno-strict-aliasing -pipe -fPIC
-shared -Wl,-hlibwcs.so.4.4.4
  SHRLN       := libwcs.so
  LN_S        := ln -s
  INSTALL     := /usr/bin/install -c -o root -g wheel
  LIBDIR      := /usr/local/lib
  BINDIR      := /usr/local/bin
  INCDIR      := /usr/local/include/wcslib-4.4.4
  INCLINK     := /usr/local/include/wcslib
  TIMER       := date +"%a %Y/%m/%d %X %z, executing on $HOST with
vanilla FLAVOUR"

Important wcsconfig.h defines...
  /* #undef HAVE_SINCOS */
  #define WCSLIB_INT64 long long int

To build utilities and test programs...
  LD          := cc -std=gnu99
  LDFLAGS     := -L/usr/local/lib
  PGPLOTINC   :=
  PGPLOTLIB   :=
  CFITSIOINC  :=
  CFITSIOLIB  :=
  GETWCSTAB   :=
  FLIBS       := -L/usr/lib -lg2c -lm
  LIBS        := -lm

Subdirectories to be built...
  SUBDIRS     := C Fortran utils
  TSTDIRS     := C Fortran

For code development...
  FLAVOURS    := ""
  FLAVOUR     :=
  EXTRA_CLEAN :=


Sat 2009/12/19 06:39:21 +0000, executing on  with vanilla FLAVOUR
gmake[1]: Entering directory `/work/a/ports/astro/wcslib/work/wcslib-4.4.4/C'

cp flexed/fitshdr.c .

cp flexed/wcsbth.c .

cp flexed/wcspih.c .

cp flexed/wcsulex.c .

cp flexed/wcsutrn.c .

cc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -O2 -fno-strict-aliasing -pipe -c cel.c
ar r libwcs-4.4.4.a cel.o
ar: creating libwcs-4.4.4.a

cc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -O2 -fno-strict-aliasing -pipe
-c fitshdr.c
ar r libwcs-4.4.4.a fitshdr.o

cc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -O2 -fno-strict-aliasing -pipe -c lin.c
ar r libwcs-4.4.4.a lin.o

cc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -O2 -fno-strict-aliasing -pipe -c log.c
ar r libwcs-4.4.4.a log.o

cc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -O2 -fno-strict-aliasing -pipe -c prj.c
ar r libwcs-4.4.4.a prj.o

cc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -O2 -fno-strict-aliasing -pipe -c spc.c
ar r libwcs-4.4.4.a spc.o

cc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -O2 -fno-strict-aliasing -pipe -c sph.c
ar r libwcs-4.4.4.a sph.o

cc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -O2 -fno-strict-aliasing -pipe -c spx.c
ar r libwcs-4.4.4.a spx.o

cc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -O2 -fno-strict-aliasing -pipe -c tab.c
ar r libwcs-4.4.4.a tab.o

cc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -O2 -fno-strict-aliasing -pipe -c wcs.c
ar r libwcs-4.4.4.a wcs.o

cc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -O2 -fno-strict-aliasing -pipe
-c wcsbth.c
ar r libwcs-4.4.4.a wcsbth.o

cc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -O2 -fno-strict-aliasing -pipe
-c wcsfix.c
ar r libwcs-4.4.4.a wcsfix.o

cc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -O2 -fno-strict-aliasing -pipe
-c wcshdr.c
ar r libwcs-4.4.4.a wcshdr.o

cc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -O2 -fno-strict-aliasing -pipe
-c wcspih.c
ar r libwcs-4.4.4.a wcspih.o

cc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -O2 -fno-strict-aliasing -pipe
-c wcsulex.c
ar r libwcs-4.4.4.a wcsulex.o

cc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -O2 -fno-strict-aliasing -pipe
-c wcsunits.c
ar r libwcs-4.4.4.a wcsunits.o

cc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -O2 -fno-strict-aliasing -pipe
-c wcsutil.c
ar r libwcs-4.4.4.a wcsutil.o

cc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -O2 -fno-strict-aliasing -pipe
-c wcsutrn.c
ar r libwcs-4.4.4.a wcsutrn.o

cc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -O2 -fno-strict-aliasing -pipe
-c wcstrig.c
ar r libwcs-4.4.4.a wcstrig.o

ranlib libwcs-4.4.4.a

cc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -O2 -fno-strict-aliasing -pipe
-fPIC -c cel.c
ar r libwcs-PIC.a cel.o
ar: creating libwcs-PIC.a

cc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -O2 -fno-strict-aliasing -pipe
-fPIC -c fitshdr.c
ar r libwcs-PIC.a fitshdr.o

cc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -O2 -fno-strict-aliasing -pipe
-fPIC -c lin.c
ar r libwcs-PIC.a lin.o

cc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -O2 -fno-strict-aliasing -pipe
-fPIC -c log.c
ar r libwcs-PIC.a log.o

cc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -O2 -fno-strict-aliasing -pipe
-fPIC -c prj.c
ar r libwcs-PIC.a prj.o

cc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -O2 -fno-strict-aliasing -pipe
-fPIC -c spc.c
ar r libwcs-PIC.a spc.o

cc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -O2 -fno-strict-aliasing -pipe
-fPIC -c sph.c
ar r libwcs-PIC.a sph.o

cc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -O2 -fno-strict-aliasing -pipe
-fPIC -c spx.c
ar r libwcs-PIC.a spx.o

cc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -O2 -fno-strict-aliasing -pipe
-fPIC -c tab.c
ar r libwcs-PIC.a tab.o

cc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -O2 -fno-strict-aliasing -pipe
-fPIC -c wcs.c
ar r libwcs-PIC.a wcs.o

cc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -O2 -fno-strict-aliasing -pipe
-fPIC -c wcsbth.c
ar r libwcs-PIC.a wcsbth.o

cc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -O2 -fno-strict-aliasing -pipe
-fPIC -c wcsfix.c
ar r libwcs-PIC.a wcsfix.o

cc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -O2 -fno-strict-aliasing -pipe
-fPIC -c wcshdr.c
ar r libwcs-PIC.a wcshdr.o

cc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -O2 -fno-strict-aliasing -pipe
-fPIC -c wcspih.c
ar r libwcs-PIC.a wcspih.o

cc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -O2 -fno-strict-aliasing -pipe
-fPIC -c wcsulex.c
ar r libwcs-PIC.a wcsulex.o

cc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -O2 -fno-strict-aliasing -pipe
-fPIC -c wcsunits.c
ar r libwcs-PIC.a wcsunits.o

cc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -O2 -fno-strict-aliasing -pipe
-fPIC -c wcsutil.c
ar r libwcs-PIC.a wcsutil.o

cc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -O2 -fno-strict-aliasing -pipe
-fPIC -c wcsutrn.c
ar r libwcs-PIC.a wcsutrn.o

cc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -O2 -fno-strict-aliasing -pipe
-fPIC -c wcstrig.c
ar r libwcs-PIC.a wcstrig.o

mkdir tmp
cd tmp && ar x ../libwcs-PIC.a && cc -std=gnu99 -O2
-fno-strict-aliasing -pipe -fPIC -shared -Wl,-hlibwcs.so.4.4.4 -o
libwcs.so.4.4.4 *.o && mv libwcs.so.4.4.4 ..
rm -f -r tmp
gmake[1]: Leaving directory `/work/a/ports/astro/wcslib/work/wcslib-4.4.4/C'

Sat 2009/12/19 06:40:18 +0000, executing on  with vanilla FLAVOUR
gmake[1]: Entering directory
`/work/a/ports/astro/wcslib/work/wcslib-4.4.4/Fortran'

gmake -C ../C lib
gmake[2]: Entering directory `/work/a/ports/astro/wcslib/work/wcslib-4.4.4/C'
gmake[2]: Nothing to be done for `lib'.
gmake[2]: Leaving directory `/work/a/ports/astro/wcslib/work/wcslib-4.4.4/C'

cc -std=gnu99 -DHAVE_CONFIG_H -I.. -I../C -O2 -fno-strict-aliasing
-pipe -c cel_f.c
ar r ../C/libwcs-4.4.4.a cel_f.o

cc -std=gnu99 -DHAVE_CONFIG_H -I.. -I../C -O2 -fno-strict-aliasing
-pipe -c fitshdr_f.c
ar r ../C/libwcs-4.4.4.a fitshdr_f.o

cc -std=gnu99 -DHAVE_CONFIG_H -I.. -I../C -O2 -fno-strict-aliasing
-pipe -c lin_f.c
ar r ../C/libwcs-4.4.4.a lin_f.o

cc -std=gnu99 -DHAVE_CONFIG_H -I.. -I../C -O2 -fno-strict-aliasing
-pipe -c log_f.c
ar r ../C/libwcs-4.4.4.a log_f.o

cc -std=gnu99 -DHAVE_CONFIG_H -I.. -I../C -O2 -fno-strict-aliasing
-pipe -c prj_f.c
ar r ../C/libwcs-4.4.4.a prj_f.o

cc -std=gnu99 -DHAVE_CONFIG_H -I.. -I../C -O2 -fno-strict-aliasing
-pipe -c spc_f.c
ar r ../C/libwcs-4.4.4.a spc_f.o

cc -std=gnu99 -DHAVE_CONFIG_H -I.. -I../C -O2 -fno-strict-aliasing
-pipe -c sph_f.c
ar r ../C/libwcs-4.4.4.a sph_f.o

cc -std=gnu99 -DHAVE_CONFIG_H -I.. -I../C -O2 -fno-strict-aliasing
-pipe -c spx_f.c
ar r ../C/libwcs-4.4.4.a spx_f.o

cc -std=gnu99 -DHAVE_CONFIG_H -I.. -I../C -O2 -fno-strict-aliasing
-pipe -c tab_f.c
ar r ../C/libwcs-4.4.4.a tab_f.o

cc -std=gnu99 -DHAVE_CONFIG_H -I.. -I../C -O2 -fno-strict-aliasing
-pipe -c wcs_f.c
ar r ../C/libwcs-4.4.4.a wcs_f.o

cc -std=gnu99 -DHAVE_CONFIG_H -I.. -I../C -O2 -fno-strict-aliasing
-pipe -c wcsfix_f.c
ar r ../C/libwcs-4.4.4.a wcsfix_f.o

cc -std=gnu99 -DHAVE_CONFIG_H -I.. -I../C -O2 -fno-strict-aliasing
-pipe -c wcshdr_f.c
ar r ../C/libwcs-4.4.4.a wcshdr_f.o

cc -std=gnu99 -DHAVE_CONFIG_H -I.. -I../C -O2 -fno-strict-aliasing
-pipe -c wcsunits_f.c
ar r ../C/libwcs-4.4.4.a wcsunits_f.o

ranlib ../C/libwcs-4.4.4.a

cc -std=gnu99 -DHAVE_CONFIG_H -I.. -I../C -O2 -fno-strict-aliasing
-pipe -fPIC -c cel_f.c
ar r ../C/libwcs-PIC.a cel_f.o

cc -std=gnu99 -DHAVE_CONFIG_H -I.. -I../C -O2 -fno-strict-aliasing
-pipe -fPIC -c fitshdr_f.c
ar r ../C/libwcs-PIC.a fitshdr_f.o

cc -std=gnu99 -DHAVE_CONFIG_H -I.. -I../C -O2 -fno-strict-aliasing
-pipe -fPIC -c lin_f.c
ar r ../C/libwcs-PIC.a lin_f.o

cc -std=gnu99 -DHAVE_CONFIG_H -I.. -I../C -O2 -fno-strict-aliasing
-pipe -fPIC -c log_f.c
ar r ../C/libwcs-PIC.a log_f.o

cc -std=gnu99 -DHAVE_CONFIG_H -I.. -I../C -O2 -fno-strict-aliasing
-pipe -fPIC -c prj_f.c
ar r ../C/libwcs-PIC.a prj_f.o

cc -std=gnu99 -DHAVE_CONFIG_H -I.. -I../C -O2 -fno-strict-aliasing
-pipe -fPIC -c spc_f.c
ar r ../C/libwcs-PIC.a spc_f.o

cc -std=gnu99 -DHAVE_CONFIG_H -I.. -I../C -O2 -fno-strict-aliasing
-pipe -fPIC -c sph_f.c
ar r ../C/libwcs-PIC.a sph_f.o

cc -std=gnu99 -DHAVE_CONFIG_H -I.. -I../C -O2 -fno-strict-aliasing
-pipe -fPIC -c spx_f.c
ar r ../C/libwcs-PIC.a spx_f.o

cc -std=gnu99 -DHAVE_CONFIG_H -I.. -I../C -O2 -fno-strict-aliasing
-pipe -fPIC -c tab_f.c
ar r ../C/libwcs-PIC.a tab_f.o

cc -std=gnu99 -DHAVE_CONFIG_H -I.. -I../C -O2 -fno-strict-aliasing
-pipe -fPIC -c wcs_f.c
ar r ../C/libwcs-PIC.a wcs_f.o

cc -std=gnu99 -DHAVE_CONFIG_H -I.. -I../C -O2 -fno-strict-aliasing
-pipe -fPIC -c wcsfix_f.c
ar r ../C/libwcs-PIC.a wcsfix_f.o

cc -std=gnu99 -DHAVE_CONFIG_H -I.. -I../C -O2 -fno-strict-aliasing
-pipe -fPIC -c wcshdr_f.c
ar r ../C/libwcs-PIC.a wcshdr_f.o

cc -std=gnu99 -DHAVE_CONFIG_H -I.. -I../C -O2 -fno-strict-aliasing
-pipe -fPIC -c wcsunits_f.c
ar r ../C/libwcs-PIC.a wcsunits_f.o

mkdir tmp
cd tmp && \
	     ar x ../../C/libwcs-PIC.a && \
	     cc -std=gnu99 -O2 -fno-strict-aliasing -pipe -fPIC -shared
-Wl,-hlibwcs.so.4.4.4 -o libwcs.so.4.4.4 *.o && \
	     mv libwcs.so.4.4.4 ../../C
rm -f -r tmp
gmake[1]: Leaving directory
`/work/a/ports/astro/wcslib/work/wcslib-4.4.4/Fortran'

Sat 2009/12/19 06:40:28 +0000, executing on  with vanilla FLAVOUR
gmake[1]: Entering directory
`/work/a/ports/astro/wcslib/work/wcslib-4.4.4/utils'

cc -std=gnu99 -DHAVE_CONFIG_H -I.. -I../C -O2 -fno-strict-aliasing
-pipe -c -o fitshdr.o fitshdr.c
cc -std=gnu99 -o fitshdr fitshdr.o -L/usr/local/lib -lm
gmake[1]: Leaving directory `/work/a/ports/astro/wcslib/work/wcslib-4.4.4/utils'
================================================================
====================<phase 5: make test>====================
make: don't know how to make regression-test(continuing)
================================================================
====================<phase 6: make install>====================
add_pkg
===>  Installing for wcslib-4.4.4_9
===>   Generating temporary packing list
===>  Checking if astro/wcslib already installed
gmake[1]: Entering directory
`/work/a/ports/astro/wcslib/work/wcslib-4.4.4/pgsbox'

f77 -g -O2 -Wno-globals -I. -I../Fortran -c -o pgsbox.o pgsbox.f
ar rv libpgsbox-4.4.4.a pgsbox.o
ar: creating libpgsbox-4.4.4.a
a - pgsbox.o

cc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../C -O2 -fno-strict-aliasing
-pipe -c cpgsbox.c
ar rv libpgsbox-4.4.4.a cpgsbox.o
a - cpgsbox.o

cc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../C -O2 -fno-strict-aliasing
-pipe -c pgwcsl.c
ar rv libpgsbox-4.4.4.a pgwcsl.o
a - pgwcsl.o

f77 -g -O2 -Wno-globals -I. -I../Fortran -c -o pgcrfn.o pgcrfn.f
ar rv libpgsbox-4.4.4.a pgcrfn.o
a - pgcrfn.o

ranlib libpgsbox-4.4.4.a
gmake -C ../Fortran install
gmake[2]: Entering directory
`/work/a/ports/astro/wcslib/work/wcslib-4.4.4/Fortran'

gmake -C ../C lib
gmake[3]: Entering directory `/work/a/ports/astro/wcslib/work/wcslib-4.4.4/C'
gmake[3]: Nothing to be done for `lib'.
gmake[3]: Leaving directory `/work/a/ports/astro/wcslib/work/wcslib-4.4.4/C'
gmake -C ../C install
gmake[3]: Entering directory `/work/a/ports/astro/wcslib/work/wcslib-4.4.4/C'
if [ ! -d "/usr/local/lib" ] ; then \
	     /usr/bin/install -c -o root -g wheel -d -m 2775 /usr/local/lib ; \
	   fi
/usr/bin/install -c -o root -g wheel -m 644 libwcs-4.4.4.a /usr/local/lib
ranlib /usr/local/lib/libwcs-4.4.4.a
if [ -L "/usr/local/lib/libwcs.a" ] ; then \
	     rm -f /usr/local/lib/libwcs.a ; \
	   fi
ln -s libwcs-4.4.4.a /usr/local/lib/libwcs.a
if [ "libwcs.so.4.4.4" != "" ] ; then \
	     /usr/bin/install -c -o root -g wheel -m 644 libwcs.so.4.4.4
/usr/local/lib ; \
	     if [ "libwcs.so" != "" ] ; then \
	       if [ -L "/usr/local/lib/libwcs.so" ] ; then \
	         rm -f /usr/local/lib/libwcs.so ; \
	       fi ; \
	       ln -s libwcs.so.4.4.4 /usr/local/lib/libwcs.so ; \
	     fi ; \
	   fi
if [ ! -d "/usr/local/include/wcslib-4.4.4" ] ; then \
	     /usr/bin/install -c -o root -g wheel -d -m 2775
/usr/local/include/wcslib-4.4.4 ; \
	   fi
/usr/bin/install -c -o root -g wheel -m 444 *.h /usr/local/include/wcslib-4.4.4
rm -f /usr/local/include/wcslib
ln -s wcslib-4.4.4 /usr/local/include/wcslib
gmake[3]: Leaving directory `/work/a/ports/astro/wcslib/work/wcslib-4.4.4/C'
/usr/bin/install -c -o root -g wheel -m 444 *.inc
/usr/local/include/wcslib-4.4.4
gmake[2]: Leaving directory
`/work/a/ports/astro/wcslib/work/wcslib-4.4.4/Fortran'
/usr/bin/install -c -o root -g wheel -m 644 libpgsbox-4.4.4.a /usr/local/lib
ranlib /usr/local/lib/libpgsbox-4.4.4.a
rm -f /usr/local/lib/libpgsbox.a
ln -s /usr/local/lib/libpgsbox-4.4.4.a /usr/local/lib/libpgsbox.a
/usr/bin/install -c -o root -g wheel -m 444 *.h /usr/local/include/wcslib-4.4.4
rm pgsbox.o pgcrfn.o cpgsbox.o pgwcsl.o
gmake[1]: Leaving directory
`/work/a/ports/astro/wcslib/work/wcslib-4.4.4/pgsbox'
gmake[1]: Entering directory
`/work/a/ports/astro/wcslib/work/wcslib-4.4.4/utils'
if [ ! -d "/usr/local/bin" ] ; then \
	     /usr/bin/install -c -o root -g wheel -d -m 2775 /usr/local/bin ; \
	   fi
/usr/bin/install -c -o root -g wheel -m 755 fitshdr /usr/local/bin
gmake[1]: Leaving directory `/work/a/ports/astro/wcslib/work/wcslib-4.4.4/utils'
/usr/bin/install -c -o root -g wheel -m 444 wcsconfig.h
wcsconfig_f77.h /usr/local/include/wcslib-4.4.4
/usr/bin/install -c -o root -g wheel -m 444 CHANGES
/usr/local/include/wcslib-4.4.4/CHANGES
/usr/bin/install -c -o root -g wheel -m 444 COPYING
/usr/local/include/wcslib-4.4.4/COPYING
/usr/bin/install -c -o root -g wheel -m 444 README
/usr/local/include/wcslib-4.4.4/README
if [ ! -d "/usr/local/libdata/pkgconfig" ] ; then \
	     /usr/bin/install -c -o root -g wheel -d -m 2775
/usr/local/libdata/pkgconfig ; \
	   fi
/usr/bin/install -c -o root -g wheel -m 444 wcslib.pc
/usr/local/libdata/pkgconfig/wcslib.pc
===>   Running ldconfig
/sbin/ldconfig -m /usr/local/lib
===>   Registering installation for wcslib-4.4.4_9
================================================================
====================<phase 7: make package>====================
===>  Building package for wcslib-4.4.4_9
Creating package /tmp/packages/All/wcslib-4.4.4_9.tbz
Registering depends:.
Creating bzip'd tar ball in '/tmp/packages/All/wcslib-4.4.4_9.tbz'
Deleting wcslib-4.4.4_9
pkg_delete: unable to completely remove directory
'/usr/local/include/wcslib-4.4.4'
pkg_delete: couldn't entirely delete package (perhaps the packing list is
incorrectly specified?)
================================================================

=== Checking filesystem state
list of extra files and directories in / (not present before this port
was installed but present after it was deinstalled)
5253056        4 drwxrwsr-x    2 root             wheel
1024 Dec 19 06:40 usr/local/include/wcslib-4.4.4
5253099        8 -r--r--r--    1 root             wheel
3572 Dec 19 06:40 usr/local/include/wcslib-4.4.4/cpgsbox.h
5253100       12 -r--r--r--    1 root             wheel
5421 Dec 19 06:40 usr/local/include/wcslib-4.4.4/pgwcsl.h
5253098      144 -rw-r--r--    1 root             wheel
73184 Dec 19 06:40 usr/local/lib/libpgsbox-4.4.4.a
5253097        0 lrwxr-xr-x    1 root             wheel
  32 Dec 19 06:40 usr/local/lib/libpgsbox.a ->
/usr/local/lib/libpgsbox-4.4.4.a
Deleting libtool-2.2.6b
Deleting gmake-3.81_3
Deleting gettext-0.17_1
Deleting libiconv-1.13.1

=== Checking filesystem state after all packages deleted
================================================================
list of extra files and directories in / (not present on clean system
but present after everything was deinstalled)
5253056        4 drwxrwsr-x    2 root             wheel
1024 Dec 19 06:40 usr/local/include/wcslib-4.4.4
5253099        8 -r--r--r--    1 root             wheel
3572 Dec 19 06:40 usr/local/include/wcslib-4.4.4/cpgsbox.h
5253100       12 -r--r--r--    1 root             wheel
5421 Dec 19 06:40 usr/local/include/wcslib-4.4.4/pgwcsl.h
5253098      144 -rw-r--r--    1 root             wheel
73184 Dec 19 06:40 usr/local/lib/libpgsbox-4.4.4.a
5253097        0 lrwxr-xr-x    1 root             wheel
  32 Dec 19 06:40 usr/local/lib/libpgsbox.a ->
/usr/local/lib/libpgsbox-4.4.4.a
================================================================
build of /usr/ports/astro/wcslib ended at Sat Dec 19 06:40:57 UTC 2009
Comment 3 tonymaher 2009-12-20 01:38:54 UTC
Hello Wen,

thanks for looking at this.

wen heping wrote:
>    Your patch build well on FreeBSD 7 8 9 but it will
> cause PLIST error on FreeBSD6 as I paste below.
>    Would you have a test of it and fix it ?

I do not understand why this is only a problem on FreeBSD6.

The problem below is because it builds the pgplot stuff - something
that should only happen if config is run and pgplot support is added.
The fact that the pgsbox is built during install and not the build period
is odd as well.

I do not have a 6 environment handy.  I will install one in VirtualBox
and test.  This will take a few days.
 
> building wcslib-4.4.4_9 in directory /usr/local/tinderbox/6.4-FreeBSD
> 
> build started at Sat Dec 19 06:38:00 UTC 2009
> port directory: /usr/ports/astro/wcslib
> building for:  6.4-RELEASE i386
> maintained by: tonymaher@optusnet.com.au <mailto:tonymaher@optusnet.com.au>
> Makefile ident: $FreeBSD: ports/astro/wcslib/Makefile,v 1.1 2009/07/17 16:31:35 amdmi3 Exp $
> ...
>...
>...
> ================================================================
> ====================<phase 5: make test>====================
> make: don't know how to make regression-test(continuing)
> ================================================================
> 
> ====================<phase 6: make install>====================
> add_pkg
> ===>  Installing for wcslib-4.4.4_9
> ===>   Generating temporary packing list
> ===>  Checking if astro/wcslib already installed
> 
> gmake[1]: Entering directory `/work/a/ports/astro/wcslib/work/wcslib-4.4.4/pgsbox'
> 
> f77 -g -O2 -Wno-globals -I. -I../Fortran -c -o pgsbox.o pgsbox.f
> ar rv libpgsbox-4.4.4.a pgsbox.o
> ar: creating libpgsbox-4.4.4.a
> 
> a - pgsbox.o
> 
> cc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../C -O2 -fno-strict-aliasing -pipe -c cpgsbox.c
> ar rv libpgsbox-4.4.4.a cpgsbox.o
> a - cpgsbox.o
> 
> cc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../C -O2 -fno-strict-aliasing -pipe -c pgwcsl.c
> 
> ar rv libpgsbox-4.4.4.a pgwcsl.o
> a - pgwcsl.o
> 
> f77 -g -O2 -Wno-globals -I. -I../Fortran -c -o pgcrfn.o pgcrfn.f
> ar rv libpgsbox-4.4.4.a pgcrfn.o
> a - pgcrfn.o
> 
> ranlib libpgsbox-4.4.4.a
> gmake -C ../Fortran install
>...
>...
>...
> ====================<phase 7: make package>====================
> 
> ===>  Building package for wcslib-4.4.4_9
> Creating package /tmp/packages/All/wcslib-4.4.4_9.tbz
> Registering depends:.
> Creating bzip'd tar ball in '/tmp/packages/All/wcslib-4.4.4_9.tbz'
> Deleting wcslib-4.4.4_9
> 
> pkg_delete: unable to completely remove directory '/usr/local/include/wcslib-4.4.4'
> pkg_delete: couldn't entirely delete package (perhaps the packing list is
> incorrectly specified?)
> ================================================================
> 
> 
> === Checking filesystem state
> list of extra files and directories in / (not present before this port was installed but present after it was deinstalled)
> 5253056        4 drwxrwsr-x    2 root             wheel                1024 Dec 19 06:40 usr/local/include/wcslib-4.4.4
> 
> 5253099        8 -r--r--r--    1 root             wheel                3572 Dec 19 06:40 usr/local/include/wcslib-4.4.4/cpgsbox.h
> 5253100       12 -r--r--r--    1 root             wheel                5421 Dec 19 06:40 usr/local/include/wcslib-4.4.4/pgwcsl.h
> 
> 5253098      144 -rw-r--r--    1 root             wheel               73184 Dec 19 06:40 usr/local/lib/libpgsbox-4.4.4.a
> 5253097        0 lrwxr-xr-x    1 root             wheel                  32 Dec 19 06:40 usr/local/lib/libpgsbox.a -> /usr/local/lib/libpgsbox-4.4.4.a
> 
> Deleting libtool-2.2.6b
> Deleting gmake-3.81_3
> Deleting gettext-0.17_1
> Deleting libiconv-1.13.1
> 
> === Checking filesystem state after all packages deleted
> ================================================================
> 
> list of extra files and directories in / (not present on clean system but present after everything was deinstalled)
> 5253056        4 drwxrwsr-x    2 root             wheel                1024 Dec 19 06:40 usr/local/include/wcslib-4.4.4
> 
> 5253099        8 -r--r--r--    1 root             wheel                3572 Dec 19 06:40 usr/local/include/wcslib-4.4.4/cpgsbox.h
> 5253100       12 -r--r--r--    1 root             wheel                5421 Dec 19 06:40 usr/local/include/wcslib-4.4.4/pgwcsl.h
> 
> 5253098      144 -rw-r--r--    1 root             wheel               73184 Dec 19 06:40 usr/local/lib/libpgsbox-4.4.4.a
> 5253097        0 lrwxr-xr-x    1 root             wheel                  32 Dec 19 06:40 usr/local/lib/libpgsbox.a -> /usr/local/lib/libpgsbox-4.4.4.a
> 
> ================================================================
> build of /usr/ports/astro/wcslib ended at Sat Dec 19 06:40:57 UTC 2009


cheers
-- 
Tony Maher                    email: tonymaher@optusnet.com.au
Comment 4 tonymaher 2010-01-03 05:58:10 UTC
Hello Wen,

finally got back to this and installed VirtualBox FreeBSD 6.4 so I could debug.
The problem is in the configure script, not sure of the exact reason (fortran
changed somehow) but have added a conditional patch that fixes the problem.

thanks
--
tony maher
Comment 5 dfilter service freebsd_committer freebsd_triage 2010-01-05 01:55:01 UTC
wen         2010-01-05 01:54:52 UTC

  FreeBSD ports repository

  Modified files:
    astro/wcslib         Makefile distinfo pkg-plist 
  Added files:
    astro/wcslib/files   6-patch-configure patch-GNUmakefile 
  Log:
  - Update to 4.4.4
  - Fix the build on 6.x
  - Install pkgconfig file under libdata/pkgconfig
  
  PR:             ports/141742
  Submitted by:   Tony Maher <tonymaher@optusnet.com.au> (maintainer)
  
  Revision  Changes    Path
  1.2       +12 -1     ports/astro/wcslib/Makefile
  1.2       +3 -3      ports/astro/wcslib/distinfo
  1.1       +11 -0     ports/astro/wcslib/files/6-patch-configure (new)
  1.1       +16 -0     ports/astro/wcslib/files/patch-GNUmakefile (new)
  1.2       +41 -41    ports/astro/wcslib/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"
Comment 6 Wen Heping freebsd_committer freebsd_triage 2010-01-05 01:56:03 UTC
State Changed
From-To: open->closed

Committed, with minor changes. Thanks!