pkgsrc-Bugs archive

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

Re: pkg/52452: qt3-tools build 'uic' stuck in "fdclose" w/modular Xorg on i386-8.0_BETA and i386-8.99.1



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

From: "John D. Baker" <jdbaker%mylinuxisp.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/52452: qt3-tools build 'uic' stuck in "fdclose" w/modular
 Xorg on i386-8.0_BETA and i386-8.99.1
Date: Wed, 2 Aug 2017 17:14:45 -0500 (CDT)

 Rebooting to clear out the stuck 'uic' processes then executing the
 same command line under 'ktruss' shows:
 
 $ cd /d0/build/pkgsrc/x11/qt3-tools/work/qt-x11-free-3.3.8/tools/designer/designer
 $ ktruss /d0/build/pkgsrc/x11/qt3-tools/work/qt-x11-free-3.3.8/bin/uic -L /d0/build/pkgsrc/x11/qt3-tools/work/qt-x11-free-3.3.8/plugins listboxeditor.ui -o listboxeditor.h
    825      1 ktruss   fcntl(0x4, 0x3, 0)          = 4194305
    825      1 ktruss   emul(netbsd)
    825      1 ktruss   fcntl(0x4, 0x4, 0x400001)   = 0
    825      1 uic      execve("/d0/build/pkgsrc/x11/qt3-tools/work/qt-x11-free-3.3.8/bin/uic", 0xbfbe1884, 0xbfbe18a0) JUSTRETURN
    825      1 uic      emul(netbsd)
    825      1 uic      mmap(0, 0x8000, 0x3, 0x1002, 0xffffffff, 0, 0, 0) = 0xadcd7000
    825      1 uic      open("/etc/ld.so.conf", 0, 0) = 3
    825      1 uic      read(0x3, 0xbfbd8144, 0x80) = 70
        "libm.so.0\tmachdep.fpu_present\t1:libm387.so.0,libm.so.0\n/usr/local/"
    825      1 uic      close(0x3)                  = 0
    825      1 uic      open("/usr/local/lib/libqt-mt.so.3", 0, 0) Err#2 ENOENT
    825      1 uic      open("/usr/pkg/lib/libqt-mt.so.3", 0, 0) Err#2 ENOENT
    825      1 uic      open("/usr/pkg/qt3/lib/libqt-mt.so.3", 0, 0) = 3
    825      1 uic      __fstat50(0x3, 0xbfbd7e6c)  = 0
    825      1 uic      mmap(0, 0x1000, 0x1, 0x1, 0x3, 0, 0, 0) = 0xadcd6000
    825      1 uic      munmap(0xadcd6000, 0x1000)  = 0
    825      1 uic      mmap(0, 0x717000, 0x5, 0x2, 0x3, 0, 0, 0) = 0xad5c0000
    825      1 uic      mmap(0xadc96000, 0x3e000, 0x3, 0x12, 0x3, 0, 0x6d6000, 0) = 0xadc96000
    825      1 uic      mmap(0xadcd4000, 0x3000, 0x3, 0x1012, 0xffffffff, 0, 0, 0) = 0xadcd4000
    825      1 uic      close(0x3)                  = 0
    825      1 uic      open("/usr/local/lib/libpng16.so.16", 0, 0xbfbd7e6c) Err#2 ENOENT
    825      1 uic      open("/usr/pkg/lib/libpng16.so.16", 0, 0xbfbd7e6c) = 3
    825      1 uic      __fstat50(0x3, 0xbfbd7e6c)  = 0
    825      1 uic      mmap(0, 0x1000, 0x1, 0x1, 0x3, 0, 0, 0) = 0xad5bf000
    825      1 uic      munmap(0xad5bf000, 0x1000)  = 0
    825      1 uic      mmap(0, 0x33000, 0x5, 0x2, 0x3, 0, 0, 0) = 0xad58d000
    825      1 uic      mmap(0xad5bf000, 0x1000, 0x3, 0x12, 0x3, 0, 0x31000, 0) = 0xad5bf000
    825      1 uic      mmap(0xad5c0000, 0, 0x3, 0x1012, 0xffffffff, 0, 0, 0) = 0xad5c0000
    825      1 uic      close(0x3)                  = 0
    825      1 uic      open("/usr/local/lib/libGLU.so.1", 0, 0xbfbd7e6c) Err#2 ENOENT
    825      1 uic      open("/usr/pkg/lib/libGLU.so.1", 0, 0xbfbd7e6c) = 3
    825      1 uic      __fstat50(0x3, 0xbfbd7e6c)  = 0
    825      1 uic      mmap(0, 0x1000, 0x1, 0x1, 0x3, 0, 0, 0) = 0xad58c000
    825      1 uic      munmap(0xad58c000, 0x1000)  = 0
    825      1 uic      mmap(0, 0x81000, 0x5, 0x2, 0x3, 0, 0, 0) = 0xad50c000
    825      1 uic      mmap(0xad58c000, 0x1000, 0x3, 0x12, 0x3, 0, 0x80000, 0) = 0xad58c000
    825      1 uic      mmap(0xad58d000, 0, 0x3, 0x1012, 0xffffffff, 0, 0, 0) = 0xad58d000
    825      1 uic      close(0x3)                  = 0
    825      1 uic      open("/usr/local/lib/libGL.so.1", 0, 0xbfbd7e6c) Err#2 ENOENT
    825      1 uic      open("/usr/pkg/lib/libGL.so.1", 0, 0xbfbd7e6c) = 3
    825      1 uic      __fstat50(0x3, 0xbfbd7e6c)  = 0
    825      1 uic      mmap(0, 0x9000, 0x3, 0x1002, 0xffffffff, 0, 0, 0) = 0xad503000
    825      1 uic      mmap(0, 0x1000, 0x1, 0x1, 0x3, 0, 0, 0) = 0xad502000
    825      1 uic      munmap(0xad502000, 0x1000)  = 0
    825      1 uic      mmap(0, 0x67000, 0x5, 0x2, 0x3, 0, 0, 0) = 0xad49c000
    825      1 uic      mmap(0xad4f5000, 0xe000, 0x7, 0x12, 0x3, 0, 0x58000, 0) Err#13 EACCES
    825      1 uic      munmap(0xad49c000, 0x67000) = 0
 [stuck here]
 
 The EACCESS result from "mmap()" suggests perhaps a PAX MPROTECT issue?
 
 Setting:
 
   paxctl +m ${WRKOBJDIR}/x11/qt3-tools/work/qt-x11-free-3.3.8/bin/uic
 
 Allowed it to complete.  Again, this is only needed when using modular
 Xorg.
 
 "qt4-tools" also builds a 'uic' tool but it does not exhibit any problem
 with modular Xorg.
 
 -- 
 |/"\ 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