net-libs/xulrunner-1.9.1 and 1.9.1.1 fails to compile without python thread library: gmake[4]: Entering directory `/var/tmp/paludis/net-libs-xulrunner-1.9.1.1/work/mozilla-1.9.1/netwerk/locales' /var/tmp/paludis/net-libs-xulrunner-1.9.1.1/work/mozilla-1.9.1/config/nsinstall -D ../../dist/bin/chrome /usr/bin/python ../../config/JarMaker.py \ -j ../../dist/bin/chrome \ -t ../.. -f jar -c ../../netwerk/locales/en-US -DNDEBUG -DTRIMMED -DAB_CD=en-US -DOSTYPE=\"Linux2.6\" -DOSARCH=Linux -DMOZILLA_VERSION=\"1.9.1.1\" -DMOZILLA_VERSION_U=1.9.1.1 -DD_INO=d_ino -DSTDC_HEADERS=1 -DHAVE_ST_BLKSIZE=1 -DHAVE_SIGINFO_T=1 -DHAVE_INT16_T=1 -DHAVE_INT32_T=1 -DHAVE_INT64_T=1 -DHAVE_UINT=1 -DHAVE_UNAME_DOMAINNAME_FIELD=1 -DHAVE_VISIBILITY_HIDDEN_ATTRIBUTE=1 -DHAVE_VISIBILITY_ATTRIBUTE=1 -DHAVE_DIRENT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_BITYPES_H=1 -DHAVE_MEMORY_H=1 -DHAVE_UNISTD_H=1 -DHAVE_GNU_LIBC_VERSION_H=1 -DHAVE_NL_TYPES_H=1 -DHAVE_MALLOC_H=1 -DHAVE_X11_XKBLIB_H=1 -DHAVE_SYS_STATVFS_H=1 -DHAVE_SYS_STATFS_H=1 -DHAVE_SYS_CDEFS_H=1 -DHAVE_LIBM=1 -DHAVE_LIBDL=1 -DHAVE_DLADDR=1 -DFUNCPROTO=15 -DHAVE_XSHM=1 -DHAVE_FT_BITMAP_SIZE_Y_PPEM=1 -DHAVE_FT_GLYPHSLOT_EMBOLDEN=1 -DHAVE_FT_LOAD_SFNT_TABLE=1 -DHAVE_FT_SELECT_SIZE=1 -D_REENTRANT=1 -DHAVE_RANDOM=1 -DHAVE_STRERROR=1 -DHAVE_LCHOWN=1 -DHA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P=4 -DMOZ_MEMORY_SIZEOF_PTR_2POW=2 -DMOZ_MEMORY=1 -DMOZ_MEMORY_LINUX=1 -DMOZ_ENABLE_OLD_ABI_COMPAT_WRAPPERS=1 -DHAVE___CXA_DEMANGLE=1 -DHAVE__UNWIND_BACKTRACE=1 -DMOZ_DEFAULT_MOZILLA_FIVE_HOME=\"/usr/lib/xulrunner-1.9.1.1\" -DMOZ_USER_DIR=\".mozilla\" -DMOZ_ENABLE_LIBXUL=1 -DHAVE_STDINT_H=1 -DHAVE_INTTYPES_H=1 -DMOZ_XUL=1 -DMOZ_RDF=1 -DMOZ_MORKREADER=1 -DMOZ_DLL_SUFFIX=\".so\" -DXP_UNIX=1 -DUNIX_ASYNC_DNS=1 -DMOZ_ACCESSIBILITY_ATK=1 -DATK_MAJOR_VERSION=1 -DATK_MINOR_VERSION=26 -DATK_REV_VERSION=0 \ ./jar.mn Traceback (most recent call last): File "../../config/JarMaker.py", line 461, in <module> main() File "../../config/JarMaker.py", line 458, in main jardir=options.j) File "../../config/JarMaker.py", line 215, in makeJar logging.info("processing " + infile) File "/usr/lib/python2.6/logging/__init__.py", line 1451, in info root.info(*((msg,)+args), **kwargs) File "/usr/lib/python2.6/logging/__init__.py", line 1030, in info self._log(INFO, msg, args, **kwargs) File "/usr/lib/python2.6/logging/__init__.py", line 1142, in _log record = self.makeRecord(self.name, level, fn, lno, msg, args, exc_info, func, extra) File "/usr/lib/python2.6/logging/__init__.py", line 1117, in makeRecord rv = LogRecord(name, level, fn, lno, msg, args, exc_info, func) File "/usr/lib/python2.6/logging/__init__.py", line 272, in __init__ from multiprocessing import current_process File "/usr/lib/python2.6/multiprocessing/__init__.py", line 64, in <module> from multiprocessing.util import SUBDEBUG, SUBWARNING File "/usr/lib/python2.6/multiprocessing/util.py", line 12, in <module> import threading # we want threading to install it's File "/usr/lib/python2.6/threading.py", line 6, in <module> import thread ImportError: No module named thread Reproducible: Always
Please post emerge --info, also post emerge -pv python, way I understand the threads useflag on python is that if not enabled threads support is removed from all files installed dby python.
(In reply to comment #1) > way I understand the threads useflag on python is that if not enabled threads > support is removed from all files installed dby python. Partially... USE="-threads" also disables presence of 'thread' module which is sometimes included by other modules. I think that the summary is correct.
Fixed in tree thank for reporting.
I have python flag disabled for xulrunner and it still fails the same way. xulrunner should depend on python[threads] regardless of its python flag
Attach your build.log please, I am unable to duplicate your issue. Also include emerge --info and emerge -pv xulrunner.
Created attachment 200020 [details] bzipped build log
I use paludis (but I'm pretty sure it's not the cause) so: server ~ # paludis --install --pretend xulrunner Building target list... Building dependency list... These packages will be installed: * net-libs/xulrunner :1.9 [U 1.9.1.1-r1 -> 1.9.1.1-r2] <target> -alsa+ -custom-optimization -dbus -debug -gnome -java -python -startup-notification build_options: -optional_tests -split strip to reproduce this bug: 1. emerge python with -threads (iirc USE="-threads" emerge python) 2. emerge xulrunner with -python (USE="-threads" emerge python) xulrunner will not pull python[threads] because of -python flag, but it still uses python with threads library
Fixed in tree.