pkgsrc-Bugs archive

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

pkg/37758: x11/qt4-libs + debug configures symbol visibility incorrectly

>Number:         37758
>Category:       pkg
>Synopsis:       x11/qt4-libs + debug configures symbol visibility incorrectly
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 14 23:30:00 +0000 2008
>Originator:     Sverre Froyen
>Release:        NetBSD 4.99.47
System: NetBSD 4.99.47 NetBSD 4.99.47 (ABBOR) #58: Wed Jan 2 
10:13:21 MST 2008
Architecture: i386
Machine: i386
        When x11/qt4-libs is built with the debug option set, the configuration
        script disables symbol visibility.  This causes a conflict later when
        building kdelibs4.
        # Add PKG_DEFAULT_OPTIONS+=debug to /etc/mk.conf
        cd /usr/pkgsrc/x11/qt4-libs
        # Wait until source has been extracted
        # Edit work.i386/qt-x11-opensource-src-4.3.3/configure and add
        #       echo TEST_COMPILER = $TEST_COMPILER
        #       OPT_VERBOSE=yes
        # just before the call to $unixtests/fvisibility.test
        make > MAKE_LOG 2>&1 &
        # Wait until after the configuration phase
        grep 'Symbol visibility' MAKE_LOG
        # Observe that symbol visibility is disabled.
        # Observe that TEST_COMPILER equals "gcc -ggdb"
        Three choices:
        (1) do not add the -ggdb to CC in
        (2) Patch configure to skip flags when setting TEST_COMPILER from CC
        (3) Patch fvisibility.test to handle compiler flag

Home | Main Index | Thread Index | Old Index