ports/115674: [patch] science/ovt: unbreak build, take maintainership
Yuri Khotyaintsev
yuri at irfu.se
Fri Aug 24 08:50:09 UTC 2007
The following reply was made to PR ports/115674; it has been noted by GNATS.
From: Yuri Khotyaintsev <yuri at irfu.se>
To: Josh Paetzel <josh at tcbug.org>
Cc: bug-followup at freebsd.org, tmclaugh at freebsd.org
Subject: Re: ports/115674: [patch] science/ovt: unbreak build, take maintainership
Date: Fri, 24 Aug 2007 10:41:49 +0200
Josh Paetzel wrote:
> Applied the patch to my 6.2-STABLE/i386 box.
>
Are you sure the patch was properly applied? It seems from the configure
output that science/ovt/files/patch-configure is missing. There must
appear three new patches under files/ :
[root at xxx /usr/ports/science/ovt]# ls -l -R
total 32
-rw-r--r-- 1 root wheel 1452 Aug 24 10:34 Makefile
-rw-r--r-- 1 root wheel 1483 May 19 22:22 Makefile.orig
-rw-r--r-- 1 root wheel 201 Aug 24 10:34 distinfo
-rw-r--r-- 1 root wheel 103 Mar 24 2004 distinfo.orig
drwxr-xr-x 2 root wheel 512 Aug 24 10:34 files
-rw-r--r-- 1 root wheel 532 Mar 24 2004 pkg-descr
-rw-r--r-- 1 root wheel 2528 Mar 24 2004 pkg-plist
./files:
total 12
-rw-r--r-- 1 root wheel 377 Aug 24 10:34 patch-Makefile.in
-rw-r--r-- 1 root wheel 0 Aug 24 10:34 patch-Makefile.in.orig
-rw-r--r-- 1 root wheel 501 Aug 24 10:34 patch-bin-ovt.in
-rw-r--r-- 1 root wheel 0 Aug 24 10:34 patch-bin-ovt.in.orig
-rw-r--r-- 1 root wheel 1724 Aug 24 10:34 patch-configure
-rw-r--r-- 1 root wheel 0 Aug 24 10:34 patch-configure.orig
This how I managed to properly apply the patch:
cd /usr/ports/science/ovt
patch -p1 < /path/to/patch-1.diff
> root at homebase /usr/ports/science/ovt ->uname -a
> FreeBSD homebase.tcbug.org 6.2-STABLE FreeBSD 6.2-STABLE #1: Fri Aug
> 17 16:08:23 CDT 2007
> jpaetzel at homebase.tcbug.org:/usr/obj/usr/src/sys/HOMEBASE i386
>
> Crashes and burns during configure...
>
> ===> Configuring for ovt-2.3_3
> configure: WARNING: you should use --build, --host, --target
> checking build system type... i386-portbld-freebsd6.2
> checking host system type... i386-portbld-freebsd6.2
> checking for i386-portbld-freebsd6.2-gcc... cc
> checking for C compiler default output... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables...
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether cc accepts -g... yes
> checking for rm... rm
> checking for a BSD-compatible install... /usr/bin/install -c -o root
> -g wheel
> checking for cc option to accept ANSI C... none needed
> checking for an ANSI C-conforming const... yes
> checking install path of JDK... /usr/local/diablo-jdk1.5.0
> checking for java... /usr/local/diablo-jdk1.5.0/bin/java
> checking version of JDK... 1.5.0
> configure: error: unrecognized JDK version:1.5.0
> ===> Script "configure" failed unexpectedly.
> Please report the problem to yuri at irfu.se [maintainer] and attach the
> "/usr/ports/science/ovt/work/ovt-2.3/config.log" including the output
> of the
> failure of your make command. Also, it might be a good idea to provide
> an
> overview of all packages installed on your system (e.g. an `ls
> /var/db/pkg`).
> *** Error code 1
>
> http://www.rogueadmin.org/ovt/config.log # configure log from build
> http://www.rogueadmin.org/ovt/packages # list of installed ports
>
>
More information about the freebsd-ports-bugs
mailing list