Closed Bug 785624 Opened 12 years ago Closed 7 years ago

Build error: AttributeError: 'module' object has no attribute 'uses_fragment

Categories

(Thunderbird :: Build Config, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: hidenosuke, Unassigned)

Details

Build log is follows,

/home/hideo/develop/comm-central/tb-opt/mozilla/config/nsinstall -D ../../../mozilla/_tests/mozmill
/usr/bin/python2.7 /home/hideo/develop/comm-central/mozilla/config/Preprocessor.py \
	-DBROWSER_PATH=\"../../dist/bin/thunderbird-bin\" -DXPC_BIN_PATH=\"/home/hideo/develop/comm-central/tb-opt/mozilla/dist/bin\" -DBIN_SUFFIX=\"\" -DPROFILE_DIR=\"../../_profile/pgo\" -DCERTS_SRC_DIR=\"/home/hideo/develop/comm-central/mozilla/build/pgo/certs\" -DPERL="\"/usr/bin/perl\""  -DIS_MAC=0 -DIS_LINUX=1 -DIS_CAMINO=0 -DIS_TEST_BUILD=1 -DIS_DEBUG_BUILD=0 -DCRASHREPORTER=1 -DMOZ_GLUE_IN_PROGRAM -DMOZ_THUNDERBIRD=1 -DOSTYPE=\"Linux3\" -DOSARCH=Linux -DHAVE_64BIT_OS=1 -DMOZILLA_VERSION=\"17.0a1\" -DMOZILLA_VERSION_U=17.0a1 -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_MMINTRIN_H=1 -DHAVE_SYS_CDEFS_H=1 -DHAVE_LIBM=1 -DHAVE_DLADDR=1 -DFUNCPROTO=15 -D_REENTRANT=1 -DHAVE_RANDOM=1 -DHAVE_STRERROR=1 -DHAVE_LCHOWN=1 -DHAVE_FCHMOD=1 -DHAVE_SNPRINTF=1 -DHAVE_MEMMOVE=1 -DHAVE_RINT=1 -DHAVE_STAT64=1 -DHAVE_LSTAT64=1 -DHAVE_TRUNCATE64=1 -DHAVE_FLOCKFILE=1 -DHAVE_LOCALTIME_R=1 -DHAVE_STRTOK_R=1 -DHAVE_RES_NINIT=1 -DHAVE_GNU_GET_LIBC_VERSION=1 -DHAVE_LANGINFO_CODESET=1 -DVA_COPY=va_copy -DHAVE_VA_COPY=1 -DHAVE_VA_LIST_AS_ARRAY=1 -DHAVE_THREAD_TLS_KEYWORD=1 -DMALLOC_H=\<malloc.h\> -DHAVE_STRNDUP=1 -DHAVE_POSIX_MEMALIGN=1 -DHAVE_MEMALIGN=1 -DHAVE_VALLOC=1 -DHAVE_I18N_LC_MESSAGES=1 -DNS_ALWAYS_INLINE=__attribute__\(\(always_inline\)\) -DNS_ATTR_MALLOC=__attribute__\(\(malloc\)\) -DNS_WARN_UNUSED_RESULT=__attribute__\(\(warn_unused_result\)\) -DNS_NORETURN=__attribute__\(\(noreturn\)\) -DMOZ_THUNDERBIRD=1 -DMOZ_BUILD_APP=mail -DMOZ_X11=1 -DMOZ_WIDGET_GTK2=1 -DMOZ_DISTRIBUTION_ID=\"org.mozilla\" -DMOZ_ENABLE_GNOMEVFS=1 -DMOZ_ENABLE_DBUS=1 -DIBMBIDI=1 -DACCESSIBILITY=1 -DNS_PRINTING=1 -DMOZ_XTF=1 -DMOZ_CRASHREPORTER=1 -DMOZ_UPDATE_CHANNEL=default -DMOZ_FEEDS=1 -DMOZ_STORAGE=1 -DMOZ_SAFE_BROWSING=1 -DMOZ_URL_CLASSIFIER=1 -DMOZ_DEBUG_SYMBOLS=1 -DMOZ_LOGGING=1 -DSIZEOF_INT_P=8 -DMOZ_MEMORY_SIZEOF_PTR_2POW=3 -DMOZ_MEMORY=1 -DMOZ_MEMORY_LINUX=1 -DHAVE_JEMALLOC_VALLOC=1 -DHAVE_JEMALLOC_POSIX_MEMALIGN=1 -DHAVE_JEMALLOC_MEMALIGN=1 -DMOZ_ENABLE_PROFILER_SPS=1 -DHAVE___CXA_DEMANGLE=1 -DHAVE__UNWIND_BACKTRACE=1 -DMOZ_OMNIJAR=1 -DMOZ_USER_DIR=\".mozilla\" -DMOZ_STATIC_JS=1 -DHAVE_STDINT_H=1 -DHAVE_INTTYPES_H=1 -DMOZ_XUL=1 -DMOZ_PROFILELOCKING=1 -DMOZ_RDF=1 -DNECKO_WIFI=1 -DBUILD_CTYPES=1 -DMOZ_MORK=1 -DMOZ_MORKREADER=1 -DMOZ_PLACES=1 -DMOZ_DLL_SUFFIX=\".so\" -DXP_UNIX=1 -DUNIX_ASYNC_DNS=1 -DMOZ_ACCESSIBILITY_ATK=1 -DATK_MAJOR_VERSION=2 -DATK_MINOR_VERSION=4 -DATK_REV_VERSION=0 /home/hideo/develop/comm-central/mozilla/build/automation.py.in > automation.py
echo /home/hideo/develop/comm-central/mail/test/mozmill/runtest.py /home/hideo/develop/comm-central/mail/test/mozmill/runtestlist.py /home/hideo/develop/comm-central/mail/test/mozmill/mozmilltests.list automation.py /home/hideo/develop/comm-central/mozilla/build/automationutils.py 
/home/hideo/develop/comm-central/mail/test/mozmill/runtest.py /home/hideo/develop/comm-central/mail/test/mozmill/runtestlist.py /home/hideo/develop/comm-central/mail/test/mozmill/mozmilltests.list automation.py /home/hideo/develop/comm-central/mozilla/build/automationutils.py
/home/hideo/develop/comm-central/tb-opt/mozilla/config/nsinstall -R /home/hideo/develop/comm-central/mail/test/mozmill/runtest.py /home/hideo/develop/comm-central/mail/test/mozmill/runtestlist.py /home/hideo/develop/comm-central/mail/test/mozmill/mozmilltests.list automation.py /home/hideo/develop/comm-central/mozilla/build/automationutils.py  ../../../mozilla/_tests/mozmill
/home/hideo/develop/comm-central/tb-opt/mozilla/config/nsinstall -R /home/hideo/develop/comm-central/mailnews/test/resources/* ../../../mozilla/_tests/mozmill/resources
/home/hideo/develop/comm-central/tb-opt/mozilla/config/nsinstall -R /home/hideo/develop/comm-central/mailnews/test/fakeserver/* ../../../mozilla/_tests/mozmill/resources
/home/hideo/develop/comm-central/tb-opt/mozilla/config/nsinstall -R /home/hideo/develop/comm-central/mail/base/test/unit/resources/* ../../../mozilla/_tests/mozmill/resources
/home/hideo/develop/comm-central/tb-opt/mozilla/config/nsinstall -t /home/hideo/develop/comm-central/mail/test/resources ../../../mozilla/_tests/mozmill
rm -rf ../../../mozilla/_tests/mozmill/../mozmill-virtualenv && \
	mkdir ../../../mozilla/_tests/mozmill/../mozmill-virtualenv && \
	unset MACOSX_DEPLOYMENT_TARGET && \
	/usr/bin/python2.7 ../../../mozilla/_tests/mozmill/resources/installmozmill.py ../../../mozilla/_tests/mozmill/../mozmill-virtualenv
Python: 2.7.3 (default, Aug 15 2012, 15:38:22) 
[GCC 4.7.1]
New python executable in /home/hideo/develop/comm-central/tb-opt/mozilla/_tests/mozmill-virtualenv/bin/python2.7
Also creating executable in /home/hideo/develop/comm-central/tb-opt/mozilla/_tests/mozmill-virtualenv/bin/python
Installing setuptools............done.
Installing pip...............done.
Traceback (most recent call last):
  File "/home/hideo/develop/comm-central/tb-opt/mozilla/_tests/mozmill-virtualenv/bin/pip", line 8, in <module>
    load_entry_point('pip==1.0.2', 'console_scripts', 'pip')()
  File "/home/hideo/develop/comm-central/tb-opt/mozilla/_tests/mozmill-virtualenv/local/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/pkg_resources.py", line 318, in load_entry_point
  File "/home/hideo/develop/comm-central/tb-opt/mozilla/_tests/mozmill-virtualenv/local/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/pkg_resources.py", line 2221, in load_entry_point
  File "/home/hideo/develop/comm-central/tb-opt/mozilla/_tests/mozmill-virtualenv/local/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg/pkg_resources.py", line 1954, in load
  File "/home/hideo/develop/comm-central/tb-opt/mozilla/_tests/mozmill-virtualenv/local/lib/python2.7/site-packages/pip-1.0.2-py2.7.egg/pip/__init__.py", line 11, in <module>
    from pip.basecommand import command_dict, load_command, load_all_commands, command_names
  File "/home/hideo/develop/comm-central/tb-opt/mozilla/_tests/mozmill-virtualenv/local/lib/python2.7/site-packages/pip-1.0.2-py2.7.egg/pip/basecommand.py", line 12, in <module>
    from pip.download import urlopen
  File "/home/hideo/develop/comm-central/tb-opt/mozilla/_tests/mozmill-virtualenv/local/lib/python2.7/site-packages/pip-1.0.2-py2.7.egg/pip/download.py", line 15, in <module>
    from pip.vcs import vcs
  File "/home/hideo/develop/comm-central/tb-opt/mozilla/_tests/mozmill-virtualenv/local/lib/python2.7/site-packages/pip-1.0.2-py2.7.egg/pip/vcs/__init__.py", line 80, in <module>
    vcs = VcsSupport()
  File "/home/hideo/develop/comm-central/tb-opt/mozilla/_tests/mozmill-virtualenv/local/lib/python2.7/site-packages/pip-1.0.2-py2.7.egg/pip/vcs/__init__.py", line 21, in __init__
    urlparse.uses_fragment.extend(self.schemes)
AttributeError: 'module' object has no attribute 'uses_fragment'
Failure to install packages
make[5]: *** [mozmill-virtualenv] エラー 1

.mozconfig:
hideo@mary:~/develop/comm-central$ cat .mozconfig
ac_add_options --enable-application=mail
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/tb-opt
mk_add_options AUTOCONF=autoconf2.13

My environment is:
Distro: Debian GNU/Linux unstable
gcc 4.7.1-7
python 2.7.3-3
Component: General → Build Config
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.