Date: Wed, 30 May 2007 16:00:06 +0200 (CEST) From: hopet@ics.muni.cz To: FreeBSD-gnats-submit@FreeBSD.org Cc: kris@obsecurity.org Subject: ports/113159: Unbreak gtkada-gcc port after transition to X.Org 7.2 Message-ID: <200705301400.l4UE0600069710@evenstar.ics.muni.cz> Resent-Message-ID: <200705301420.l4UEK4G0086482@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 113159 >Category: ports >Synopsis: Unbreak gtkada-gcc port after transition to X.Org 7.2 >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Wed May 30 14:20:03 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Petr Holub >Release: FreeBSD 7.0-CURRENT-200703 i386 >Organization: Masaryk University >Environment: System: FreeBSD fbsd-7.fi.muni.cz 7.0-CURRENT-200703 FreeBSD 7.0-CURRENT-200703 #3: Wed Mar 14 18:02:13 CET 2007 toor@fbsd-7.fi.muni.cz:/usr/src/sys/i386/compile/TESTING i386 >Description: kris@ reported the following problem after transition to X.Org 7.2: Building package for gtkada-gcc-2.8.1_1 tar: include/gtkada/gdk-gl.adb: Cannot stat: No such file or directory tar: include/gtkada/gdk-gl.ads: Cannot stat: No such file or directory tar: include/gtkada/gtk-glarea.adb: Cannot stat: No such file or directory tar: include/gtkada/gtk-glarea.ads: Cannot stat: No such file or directory tar: lib/gnat/gtkada_gl.gpr: Cannot stat: No such file or directory tar: lib/gnat/gtkada_gl_relocatable.gpr: Cannot stat: No such file or directory tar: lib/gnat/gtkada_gl_static.gpr: Cannot stat: No such file or directory tar: lib/gtkada/gdk-gl.ali: Cannot stat: No such file or directory tar: lib/gtkada/gtk-glarea.ali: Cannot stat: No such file or directory tar: lib/gtkada/libgtkada_gl-2.8.so.1: Cannot stat: No such file or directory tar: lib/gtkada/libgtkada_gl.a: Cannot stat: No such file or directory tar: lib/gtkada/libgtkada_gl.so: Cannot stat: No such file or directory tar: lib/libgtkada_gl-2.8.so.1: Cannot stat: No such file or directory tar: lib/libgtkada_gl.so: Cannot stat: No such file or directory pkg_create: make_dist: tar command failed with code 256 The problem is caused by the fact that OpenGL not included with xorg-libraries any more. Therefore, it was not detected by GtkAda and appropriate libraries and files were missing when package was built. The problem was hopefully resolved by adding USE_GL=gl to Makefile, see the patch below. After proved working, the same fix should be applied probably to all the x11-toolkits/gtkada* ports. >How-To-Repeat: Test the compilation and package building process on pointyhat. It seems to work OK on my machine now. >Fix: --- Makefile.diff begins here --- --- Makefile.orig Wed May 30 13:16:55 2007 +++ Makefile Wed May 30 13:17:26 2007 @@ -31,6 +31,7 @@ MAKE_ENV+= PATH=${LOCALBASE}/bin/gcc41:${PATH} CC=${LOCALBASE}/bin/gcc41/gcc41 USE_X_PREFIX= yes +USE_GL= gl USE_GNOME= gnomehack gtk20 libglade2 USE_GMAKE= yes USE_LDCONFIG= yes --- Makefile.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200705301400.l4UE0600069710>