pkgsrc-Bugs archive

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

Re: pkg/43988



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

From: "John D. Baker" <jdbaker%mylinuxisp.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/43988
Date: Fri, 22 Oct 2010 17:15:09 -0500 (CDT)

 On Fri, 22 Oct 2010, Jeremy C. Reed wrote:
 
 > See http://mail-index.netbsd.org/pkgsrc-users/2010/04/20/msg012064.html
 >
 > and see patches/patch-ar which stops defining Q_OS_DARWIN.
 >
 > (I don't know fix, but that gives some clues.)
 
 Running 'make patch' and then manually un-doing patch-ar (uncommenting
 the definition of Q_OS_DARWIN in
 
    
${WRKOBJDIR}/x11/qt4-libs/work/qt-everywhere-opensource-src-4.6.3/src/corelib/global/qglobal.h
 
 ) had no observable effect.
 
 The error message complains about the class having no such member
 methods.  The class definition is in:
 
    
${WRKOBJDIR}/x11/qt4-libs/work/qt-everywhere-opensource-src-4.6.3/src/corelib/io/qsettings_p.h
 
 The private member methods are conditionally defined based on:
 
    #ifdef Q_OS_MAC
 
 Which would apparently be undefined.  Looks like "patch-ad" removes
 the definition of Q_OS_MAC from "qglobal.h".  "patch-an" augments
 some tests of "defined(Q_OS_MAC)" with "|| defined(__APPLE_)".
 Perhaps the same should be done in "qsetting_p.h"?
 
 
 Also, looking a little further back reveals something odd:
 
 [...]
 for dir in 
/Volumes/d0/tmp/pkgsrc/x11/qt4-libs/work/qt-everywhere-opensource-src-4.6.3/mkspecs/*;
 do  cp 
/Volumes/d0/tmp/pkgsrc/x11/qt4-libs/work/qt-everywhere-opensource-src-4.6.3/qmake.conf
 ${dir};  rm -f ${dir}/*.orig;  done
 Which edition of Qt do you want to use ?
 
 Type 'c' if you want to use the Commercial Edition.
 Type 'o' if you want to use the Open Source Edition.
 
 
 /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: Undefined symbols:
 ___gxx_personality_v0
 collect2: ld returned 1 exit status
 
/Volumes/d0/tmp/pkgsrc/x11/qt4-libs/work/qt-everywhere-opensource-src-4.6.3/config.tests/mac/dwarf2.test:
 line 22: ./xcodeversion: No such file or directory
 rm: xcodeversion: No such file or directory
 [...]
 
 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645
 


Home | Main Index | Thread Index | Old Index