pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/34806: x11/qt4-libs SHELL



The following reply was made to PR pkg/34806; it has been noted by GNATS.

From: Gilles Dauphin <Gilles.Dauphin%enst.fr@localhost>
To: Gilles.Dauphin%enst.fr@localhost, cube%cubidou.net@localhost
Cc: gnats-bugs%NetBSD.org@localhost
Subject: Re: pkg/34806: x11/qt4-libs SHELL
Date: Mon, 16 Oct 2006 15:50:09 +0200 (CEST)

 See also at end: answer from trolltech for amd64
 
 > From: Quentin Garnier <cube%cubidou.net@localhost>
 > 
 > On Mon, Oct 16, 2006 at 11:05:38AM +0200, Gilles Dauphin wrote:
 > > 
 > > > The following reply was made to PR pkg/34806; it has been noted by GNATS.
 > > > 
 > > > From: Quentin Garnier <cube%cubidou.net@localhost>
 > > > To: gnats-bugs%NetBSD.org@localhost
 > > > Cc: 
 > > > Subject: Re: pkg/34806: x11/qt4-libs SHELL
 > > > Date: Sun, 15 Oct 2006 13:12:01 +0200
 > > > 
 > > >  
 > > >  The "/bin/bash /bin/ksh" part is weird.
 >           ^^^^^^^^^^^^^^^^^^
 > I'm trying to understand this.
 > 
 > > >  The package does this on SunOS:
 > > >  
 > > >  CONFIGURE_SCRIPT=3D       ${SH} ./configure
 > > >  
 > > >  So I guess at some point there is a confusion as for what is ${SH}.  Do
 > > >  you set it in mk.conf?  What happens if you set it to
 
 I set the following in my mk.conf , I don't set SH.
 
 CONFIG_SHELL?=/bin/bash
 
 # /bin/ksh is buggy in sol10 @ 24 May 2006, waiting for upper patch 118873-02
 WRAPPER_SHELL=/bin/bash
 
 I don't want modify my mk.conf now, because of bulk build and many others 
things
 
 
 > > >  
 > > >  -c "${SH} ./configure"
 > > >  
 > > >  or some variation of it instead?
 
 it works with -c "${SH} ./configure"
 ------------------------------------------------------------
 + cd /pkg/obj/x11/qt4-libs/work/qt-x11-opensource-src-4.1.4 
 + /usr/bin/env INSTALL=/usr/ucb/install -c -o root -g root 
 INSTALL_PROGRAM=/usr/ucb/install -c -s -o root -g root -m 555 INSTALL_SC
 RIPT=/usr/ucb/install -c -o root -g root -m 555 INSTALL_DATA=/usr/ucb/install 
-c 
 -o root -g root -m 444 INSTALL_GAME=/usr/ucb/insta
 ll -c -s -o root -g root -m 555 INSTALL_GAME_DATA=/usr/ucb/install -c -o root 
-g 
 root -m 444 FREETYPE_CONFIG=/usr/pkg/bin/freetype-
 config PTHREAD_CFLAGS= -D_REENTRANT -D_REENTRANT PTHREAD_LDFLAGS= 
PTHREAD_LIBS= 
 PTHREADBASE=/usr LIBTOOL=libtool  INSTALL_INFO= MAK
 EINFO=/pkg/obj/x11/qt4-libs/work/.tools/bin/makeinfo PKG_CONFIG= 
 PKG_CONFIG_LIBDIR=/pkg/obj/x11/qt4-libs/work/.buildlink/lib/pkgcon
 fig:/pkg/obj/x11/qt4-libs/work/.buildlink/share/pkgconfig 
 PKG_CONFIG_LOG=/pkg/obj/x11/qt4-libs/work/.pkg-config.log MAKE=make WRAPP
 ER_DEBUG=no WRAPPER_UPDATE_CACHE=yes CC=gcc CFLAGS=-O -I/usr/pkg/include 
 -I/usr/include -I/usr/pkg/include/freetype2 -DGLX_GLXEXT_L
 EGACY CPPFLAGS=-DPNG_NO_ASSEMBLER_CODE -I/usr/pkg/include -I/usr/include 
 -I/usr/pkg/include/freetype2 -DGLX_GLXEXT_LEGACY CXX=g++ C
 XXFLAGS=-O -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 
 -DGLX_GLXEXT_LEGACY COMPILER_RPATH_FLAG=-Wl,-R F77=f77 FC
 =f77 FFLAGS=-O LANG=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C 
 LC_NUMERIC=C LC_TIME=C LDFLAGS=-R/usr/pkg/lib -L/usr/pkg/
 lib -Wl,-R/usr/pkg/lib -L/usr/lib/64 -L/usr/openwin/lib/64 
 -Wl,-R/usr/openwin/lib/64 LINKER_RPATH_FLAG=-R PATH=/pkg/obj/x11/qt4-lib
 
s/work/.wrapper/bin:/pkg/obj/x11/qt4-libs/work/.buildlink/bin:/pkg/obj/x11/qt4-l
 ibs/work/.tools/bin:/pkg/obj/x11/qt4-libs/work/.gcc
 
/bin:/usr/pkg/bin:/usr/openwin/bin:/usr/pkg/sbin:/usr/pkg/bin:/sbin:/usr/sbin:/b
 in:/usr/bin:/usr/sfw/bin:/usr/ccs/bin:/usr/ucb:/usr
 
/xpg4/bin:/usr/java/bin:/usr/X/bin:/usr/openwin/bin:/usr/X11R6/bin:.:/usr/pkg/bi
 n:/usr/openwin/bin PREFIX=/usr/pkg PKG_SYSCONFDIR=/
 usr/pkg/etc /bin/bash -c /bin/ksh ./configure -prefix /usr/pkg/qt4 -shared -sm 
 -release -system-libjpeg -system-libmng -system-libp
 ng -system-zlib -qt-gif -I/usr/pkg/include -I/usr/include 
 -I/usr/pkg/include/freetype2 -L/usr/pkg/lib -L/usr/lib/64 -L/usr/openwin/
 lib/64 -R/usr/pkg/lib -R/usr/openwin/lib/64 -no-g++-exceptions -platform 
 solaris-g++ -no-xinerama -no-cups -no-sql-sqlite -no-xrend
 er 
 
 This is the Qt/X11 Open Source Edition.
 
 You are licensed to use this software under the terms of either
 the Q Public License (QPL) or the GNU General Public License (GPL).
 
 Type 'Q' to view the Q Public License.
 Type 'G' to view the GNU General Public License.
 Type 'yes' to accept this license offer.
 Type 'no' to decline this license offer.
 
 Do you accept the terms of either license? 
 Creating qmake. Please wait...
 GNU Make 3.81
 Copyright (C) 2006  Free Software Foundation, Inc.
 This is free software; see the source for copying conditions.
 There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
 PARTICULAR PURPOSE.
 
 This program built for x86_64-sun-solaris2
 Reading makefiles...
 Reading makefile `Makefile'...
 -----------------------------------------------------------------
 
 > > >  
 > > 
 > > CONFIGURE_SCRIPT= ./configure
 > > 
 > > only! it works for me :)
 > 
 > And knowing that doesn't really help...  I was actually expecting it,
 > hence my question about -c stuff.
 
 it works with -c "${SH} ./configure"
 
 I also receive an answer from qt-bugs%trolltech.com@localhost about gcc -m64
 
 
 Subject: Re: [Issue N134460] don't compile on AMD64
 
 Hi Dauphi,
 
 On Friday, 13. Oct 2006 17:57 dauphin%enst.fr@localhost wrote:
 [snip]
 > Short description:
 > don't compile on AMD64
 >
 > What I did:
 > g++ -c -O -I/usr/pkg/include -I/usr/include
 > -I/usr/pkg/include/freetype2 -DGLX_GLXEXT_LEGACY -DQ_TRAILING_DIR_SEP
 > -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2
 > -fno-exceptions -D_REENTRANT  -DQT_SHARED -DQT_BUILD_CORE_LIB
 > -DQT_NO_CAST_TO_ASCII -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_NO_DEBUG
 > -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/solaris-g++
 > -I. -I../../include -I../../include/QtCore -Iglobal
 > -I.moc/release-shared -I. -I/usr/pkg/include -o
 > .obj/release-shared/qglobal.lo global/qglobal.cpp
 >
 > What I expected to see:
 > an compiled file (object)
 >
 > What I got instead:
 > error
 >
 > More info:
 > In file included from
 > ../../include/QtCore/../../src/corelib/thread/qatomic.h:31,
 >                  from ../../include/QtCore/qatomic.h:1,
 >                  from
 >                  
 > ../../include/QtCore/../../src/corelib/tools/qbytearray.h:28,
 >                  from ../../include/QtCore/qbytearray.h:1,
 >                  from
 >                  ../../include/QtCore/../../src/corelib/tools/qstring.h:28,
 >                  from ../../include/QtCore/qstring.h:1,
 >                  from global/qglobal.cpp:25:
 > ../../include/QtCore/arch/qatomic.h: In function `int
 > q_atomic_test_and_set_ptr(volatile void*, void*, void*)':
 > ../../include/QtCore/arch/qatomic.h:58: error: reinterpret_cast from
 > `void*' to `int' loses precision
 > ../../include/QtCore/arch/qatomic.h:59: error: reinterpret_cast from
 > `void*' to `int' loses precision
 > ../../include/QtCore/arch/qatomic.h: In function `void*
 > q_atomic_set_ptr(volatile void*, void*)':
 > ../../include/QtCore/arch/qatomic.h:98: error: reinterpret_cast from
 > `void*' to `int' loses precision
 > gmake[3]: *** [.obj/release-shared/qglobal.lo] Error 1
 
 
 Which makespec did you configure Qt with? If your system has both 32 and
 64-bit libraries, you need to use the solaris-g++-64 makespec.
 
 
 Kind regards,
 
 Trolltech ASA, Norway
 
 
 



Home | Main Index | Thread Index | Old Index