Bug 115674 - [patch] science/ovt: unbreak build, take maintainership
Summary: [patch] science/ovt: unbreak build, take maintainership
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: 2007-08-21 09:30 UTC by Yuri Khotyaintsev
Modified: 2007-08-24 19:40 UTC (History)
0 users

See Also:


Attachments
file.diff (4.35 KB, patch)
2007-08-21 09:30 UTC, Yuri Khotyaintsev
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yuri Khotyaintsev 2007-08-21 09:30:01 UTC
Port is currently marked broken. The patch included unbreaks the build. I would also like to take over maintainership of the port.

Fix: Patch below.

Patch attached with submission follows:
How-To-Repeat: cd science/ovt; make
Comment 1 Josh Paetzel <josh@tcbug.org> 2007-08-24 06:57:39 UTC
Applied the patch to my 6.2-STABLE/i386 box.

root@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@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@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

-- 
Thanks,

Josh Paetzel
Comment 2 Yuri Khotyaintsev 2007-08-24 09:41:49 UTC
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@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@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@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@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
>
>
Comment 3 Josh Paetzel <josh@tcbug.org> 2007-08-24 13:50:15 UTC
Yuri Khotyaintsev wrote:
> 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@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
> 


When I applied the patch it didn't complain of any failures to patch
anything...I used cd /usr/ports/science/ovt ; patch <
/path/patch-1.diff

I guess this is what I get for trying things at 3am after 14 hours at
work...(the extra files ended up in /usr/ports/science/ovt, the /files
dir didn't get made of course)

At any rate, with things in the right place the port installs
beautifully.

Tom,

This one can get committed. :)

-- 
Thanks,

Josh Paetzel
Comment 4 dfilter service freebsd_committer freebsd_triage 2007-08-24 19:37:11 UTC
sem         2007-08-24 18:37:06 UTC

  FreeBSD ports repository

  Modified files:
    science/ovt          Makefile distinfo 
  Added files:
    science/ovt/files    patch-Makefile.in patch-bin-ovt.in 
                         patch-configure 
  Log:
  - Unbreak
  - Pass maintainership to submitter
  
  PR:             ports/115674
  Submitted by:   Yuri Khotyaintsev <yuri@irfu.se>
  
  Revision  Changes    Path
  1.11      +4 -6      ports/science/ovt/Makefile
  1.2       +1 -0      ports/science/ovt/distinfo
  1.1       +11 -0     ports/science/ovt/files/patch-Makefile.in (new)
  1.1       +21 -0     ports/science/ovt/files/patch-bin-ovt.in (new)
  1.1       +55 -0     ports/science/ovt/files/patch-configure (new)
_______________________________________________
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 5 Sergey Matveychuk freebsd_committer freebsd_triage 2007-08-24 19:37:28 UTC
State Changed
From-To: open->closed

Committed. Thanks!