Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#48442 closed defect (duplicate)

llvm-3.4: build fails with old python

Reported by: mrkapqa Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: tiger Cc:
Port: llvm-3.4

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Welcome to Darwin!
g5hirn:~ niemand$ sudo port install mpv
Password:
--->  Computing dependencies for mpv
--->  Dependencies to be installed: clang-3.4 cctools libunwind-headers clang_select gmake ld64 ld64-97 dyld-headers libmacho-headers libffi libxml2 llvm-3.4 llvm_select subversion apr apr-util db46 cyrus-sasl2 kerberos5 libmagic serf1 scons ffmpeg XviD fontconfig freetype libpng fribidi glib2 gnutls gmp libidn libtasn1 nettle p11-kit desktop-file-utils popt libxslt texinfo help2man p5.22-locale-gettext perl5.22 lame libass enca libmodplug libogg libopus libsdl xorg-libXext xorg-libX11 xorg-bigreqsproto xorg-inputproto xorg-kbproto xorg-libXau xorg-xproto xorg-libXdmcp xorg-libxcb xorg-libpthread-stubs xorg-xcb-proto xorg-util-macros xorg-xcmiscproto xorg-xextproto xorg-xf86bigfontproto xorg-xtrans xorg-libXrandr xorg-randrproto xrender xorg-renderproto libtheora libvorbis libvpx openjpeg15 jbigkit lcms2 jpeg tiff schroedinger orc coreutils speex x264 yasm xorg-libXfixes xorg-fixesproto libbluray libcdio-paranoia libcdio libcddb libdvdnav libdvdread libdvdcss lua readline ossp-uuid py27-docutils py27-roman py27-setuptools rubberband libsndfile flac youtube-dl
--->  Fetching archive for libunwind-headers
--->  Attempting to fetch libunwind-headers-3.6.0_0.darwin_8.noarch.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/libunwind-headers
--->  Attempting to fetch libunwind-headers-3.6.0_0.darwin_8.noarch.tbz2 from http://lil.fr.packages.macports.org/libunwind-headers
--->  Attempting to fetch libunwind-headers-3.6.0_0.darwin_8.noarch.tbz2 from http://nue.de.packages.macports.org/macports/packages/libunwind-headers
--->  Fetching distfiles for libunwind-headers
--->  Attempting to fetch libcxxabi-3.6.0.src.tar.xz from http://osl.no.distfiles.macports.org/llvm
--->  Attempting to fetch libcxxabi-3.6.0.src.tar.xz from http://fco.it.distfiles.macports.org/mirrors/macports-distfiles/llvm
--->  Verifying checksums for libunwind-headers
--->  Extracting libunwind-headers
--->  Applying patches to libunwind-headers
--->  Configuring libunwind-headers
--->  Building libunwind-headers
--->  Staging libunwind-headers into destroot
--->  Installing libunwind-headers @3.6.0_0
--->  Activating libunwind-headers @3.6.0_0
--->  Cleaning libunwind-headers
--->  Fetching archive for cctools
--->  Attempting to fetch cctools-862_1.darwin_8.ppc.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/cctools
--->  Attempting to fetch cctools-862_1.darwin_8.ppc.tbz2 from http://lil.fr.packages.macports.org/cctools
--->  Attempting to fetch cctools-862_1.darwin_8.ppc.tbz2 from http://nue.de.packages.macports.org/macports/packages/cctools
--->  Fetching distfiles for cctools
--->  Attempting to fetch ld64-236.3.tar.gz from http://osl.no.distfiles.macports.org/cctools
--->  Attempting to fetch ld64-236.3.tar.gz from http://fco.it.distfiles.macports.org/mirrors/macports-distfiles/cctools
--->  Attempting to fetch cctools-862.tar.gz from http://osl.no.distfiles.macports.org/cctools
--->  Attempting to fetch cctools-862.tar.gz from http://fco.it.distfiles.macports.org/mirrors/macports-distfiles/cctools
--->  Verifying checksums for cctools
--->  Extracting cctools
--->  Applying patches to cctools
--->  Configuring cctools
--->  Building cctools
--->  Staging cctools into destroot
--->  Installing cctools @862_1
--->  Activating cctools @862_1
--->  Cleaning cctools
--->  Fetching archive for clang_select
--->  Attempting to fetch clang_select-1.0_0.darwin_8.noarch.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/clang_select
--->  Attempting to fetch clang_select-1.0_0.darwin_8.noarch.tbz2 from http://lil.fr.packages.macports.org/clang_select
--->  Attempting to fetch clang_select-1.0_0.darwin_8.noarch.tbz2 from http://nue.de.packages.macports.org/macports/packages/clang_select
--->  Fetching distfiles for clang_select
--->  Verifying checksums for clang_select
--->  Extracting clang_select
--->  Configuring clang_select
--->  Building clang_select
--->  Staging clang_select into destroot
--->  Installing clang_select @1.0_0
--->  Activating clang_select @1.0_0
--->  Cleaning clang_select
--->  Fetching archive for gmake
--->  Attempting to fetch gmake-4.1_0.darwin_8.ppc.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/gmake
--->  Attempting to fetch gmake-4.1_0.darwin_8.ppc.tbz2 from http://lil.fr.packages.macports.org/gmake
--->  Attempting to fetch gmake-4.1_0.darwin_8.ppc.tbz2 from http://nue.de.packages.macports.org/macports/packages/gmake
--->  Fetching distfiles for gmake
--->  Attempting to fetch make-4.1.tar.bz2 from http://osl.no.distfiles.macports.org/gmake
--->  Attempting to fetch make-4.1.tar.bz2 from http://fco.it.distfiles.macports.org/mirrors/macports-distfiles/gmake
--->  Verifying checksums for gmake
--->  Extracting gmake
--->  Configuring gmake
--->  Building gmake
--->  Staging gmake into destroot
--->  Installing gmake @4.1_0
--->  Activating gmake @4.1_0
--->  Cleaning gmake
--->  Fetching archive for dyld-headers
--->  Attempting to fetch dyld-headers-239.3_0.darwin_8.noarch.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/dyld-headers
--->  Attempting to fetch dyld-headers-239.3_0.darwin_8.noarch.tbz2 from http://lil.fr.packages.macports.org/dyld-headers
--->  Attempting to fetch dyld-headers-239.3_0.darwin_8.noarch.tbz2 from http://nue.de.packages.macports.org/macports/packages/dyld-headers
--->  Fetching distfiles for dyld-headers
--->  Attempting to fetch dyld-239.3.tar.gz from http://osl.no.distfiles.macports.org/dyld-headers
--->  Attempting to fetch dyld-239.3.tar.gz from http://fco.it.distfiles.macports.org/mirrors/macports-distfiles/dyld-headers
--->  Verifying checksums for dyld-headers
--->  Extracting dyld-headers
--->  Configuring dyld-headers
--->  Building dyld-headers
--->  Staging dyld-headers into destroot
--->  Installing dyld-headers @239.3_0
--->  Activating dyld-headers @239.3_0
--->  Cleaning dyld-headers
--->  Fetching archive for libmacho-headers
--->  Attempting to fetch libmacho-headers-862_2.darwin_8.noarch.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/libmacho-headers
--->  Attempting to fetch libmacho-headers-862_2.darwin_8.noarch.tbz2 from http://lil.fr.packages.macports.org/libmacho-headers
--->  Attempting to fetch libmacho-headers-862_2.darwin_8.noarch.tbz2 from http://nue.de.packages.macports.org/macports/packages/libmacho-headers
--->  Fetching distfiles for libmacho-headers
--->  Verifying checksums for libmacho-headers
--->  Extracting libmacho-headers
--->  Applying patches to libmacho-headers
--->  Configuring libmacho-headers
--->  Building libmacho-headers
--->  Staging libmacho-headers into destroot
--->  Installing libmacho-headers @862_2
--->  Activating libmacho-headers @862_2
--->  Cleaning libmacho-headers
--->  Fetching archive for ld64-97
--->  Attempting to fetch ld64-97-97.17_0.darwin_8.ppc.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/ld64-97
--->  Attempting to fetch ld64-97-97.17_0.darwin_8.ppc.tbz2 from http://lil.fr.packages.macports.org/ld64-97
--->  Attempting to fetch ld64-97-97.17_0.darwin_8.ppc.tbz2 from http://nue.de.packages.macports.org/macports/packages/ld64-97
--->  Fetching distfiles for ld64-97
--->  Attempting to fetch ld64-97-standalone-libunwind-headers.patch from http://osl.no.distfiles.macports.org/ld64
--->  Attempting to fetch ld64-97-standalone-libunwind-headers.patch from http://fco.it.distfiles.macports.org/mirrors/macports-distfiles/ld64
--->  Attempting to fetch ld64-97.17.tar.gz from http://osl.no.distfiles.macports.org/ld64
--->  Attempting to fetch ld64-97.17.tar.gz from http://fco.it.distfiles.macports.org/mirrors/macports-distfiles/ld64
--->  Verifying checksums for ld64-97
--->  Extracting ld64-97
--->  Applying patches to ld64-97
--->  Configuring ld64-97
--->  Building ld64-97
--->  Staging ld64-97 into destroot
--->  Installing ld64-97 @97.17_0
--->  Activating ld64-97 @97.17_0
--->  Cleaning ld64-97
--->  Fetching archive for ld64
--->  Attempting to fetch ld64-2_0+ld64_97.darwin_8.ppc.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/ld64
--->  Attempting to fetch ld64-2_0+ld64_97.darwin_8.ppc.tbz2 from http://lil.fr.packages.macports.org/ld64
--->  Attempting to fetch ld64-2_0+ld64_97.darwin_8.ppc.tbz2 from http://nue.de.packages.macports.org/macports/packages/ld64
--->  Fetching distfiles for ld64
--->  Verifying checksums for ld64
--->  Extracting ld64
--->  Configuring ld64
--->  Building ld64
--->  Staging ld64 into destroot
--->  Installing ld64 @2_0+ld64_97
--->  Activating ld64 @2_0+ld64_97
--->  Cleaning ld64
--->  Fetching archive for libffi
--->  Attempting to fetch libffi-3.2.1_0.darwin_8.ppc.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/libffi
--->  Attempting to fetch libffi-3.2.1_0.darwin_8.ppc.tbz2 from http://lil.fr.packages.macports.org/libffi
--->  Attempting to fetch libffi-3.2.1_0.darwin_8.ppc.tbz2 from http://nue.de.packages.macports.org/macports/packages/libffi
--->  Fetching distfiles for libffi
--->  Attempting to fetch libffi-3.2.1.tar.gz from http://ftp-stud.fht-esslingen.de/pub/Mirrors/sourceware.org/libffi/
--->  Verifying checksums for libffi
--->  Extracting libffi
--->  Applying patches to libffi
--->  Configuring libffi
--->  Building libffi
--->  Staging libffi into destroot
--->  Installing libffi @3.2.1_0
--->  Activating libffi @3.2.1_0
--->  Cleaning libffi
--->  Fetching archive for libxml2
--->  Attempting to fetch libxml2-2.9.2_2.darwin_8.ppc.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/libxml2
--->  Attempting to fetch libxml2-2.9.2_2.darwin_8.ppc.tbz2 from http://lil.fr.packages.macports.org/libxml2
--->  Attempting to fetch libxml2-2.9.2_2.darwin_8.ppc.tbz2 from http://nue.de.packages.macports.org/macports/packages/libxml2
--->  Fetching distfiles for libxml2
--->  Attempting to fetch libxml2-2.9.2.tar.gz from ftp://gd.tuwien.ac.at/pub/libxml/
--->  Attempting to fetch libxml2-2.9.2.tar.gz from http://xmlsoft.org/sources/
--->  Verifying checksums for libxml2
--->  Extracting libxml2
--->  Applying patches to libxml2
--->  Configuring libxml2
--->  Building libxml2
--->  Staging libxml2 into destroot
--->  Installing libxml2 @2.9.2_2
--->  Activating libxml2 @2.9.2_2
--->  Cleaning libxml2
--->  Fetching archive for llvm_select
--->  Attempting to fetch llvm_select-1.0_0.darwin_8.noarch.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/llvm_select
--->  Attempting to fetch llvm_select-1.0_0.darwin_8.noarch.tbz2 from http://lil.fr.packages.macports.org/llvm_select
--->  Attempting to fetch llvm_select-1.0_0.darwin_8.noarch.tbz2 from http://nue.de.packages.macports.org/macports/packages/llvm_select
--->  Fetching distfiles for llvm_select
--->  Verifying checksums for llvm_select
--->  Extracting llvm_select
--->  Configuring llvm_select
--->  Building llvm_select
--->  Staging llvm_select into destroot
--->  Installing llvm_select @1.0_0
--->  Activating llvm_select @1.0_0
--->  Cleaning llvm_select
--->  Fetching archive for llvm-3.4
--->  Attempting to fetch llvm-3.4-3.4.2_7.darwin_8.ppc.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/llvm-3.4
--->  Attempting to fetch llvm-3.4-3.4.2_7.darwin_8.ppc.tbz2 from http://lil.fr.packages.macports.org/llvm-3.4
--->  Attempting to fetch llvm-3.4-3.4.2_7.darwin_8.ppc.tbz2 from http://nue.de.packages.macports.org/macports/packages/llvm-3.4
--->  Fetching distfiles for llvm-3.4
--->  Attempting to fetch llvm-3.4.2.src.tar.gz from http://osl.no.distfiles.macports.org/llvm
--->  Attempting to fetch llvm-3.4.2.src.tar.gz from http://fco.it.distfiles.macports.org/mirrors/macports-distfiles/llvm
--->  Verifying checksums for llvm-3.4
--->  Extracting llvm-3.4
--->  Applying patches to llvm-3.4
--->  Configuring llvm-3.4
--->  Building llvm-3.4
Error: org.macports.build for port llvm-3.4 returned: command execution failed
Error: Failed to install llvm-3.4
Please see the log file for port llvm-3.4 for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/main.log
Error: The following dependencies were not installed: clang-3.4 llvm-3.4 subversion apr apr-util db46 cyrus-sasl2 kerberos5 libmagic serf1 scons ffmpeg XviD fontconfig freetype libpng fribidi glib2 gnutls gmp libidn libtasn1 nettle p11-kit desktop-file-utils popt libxslt texinfo help2man p5.22-locale-gettext perl5.22 lame libass enca libmodplug libogg libopus libsdl xorg-libXext xorg-libX11 xorg-bigreqsproto xorg-inputproto xorg-kbproto xorg-libXau xorg-xproto xorg-libXdmcp xorg-libxcb xorg-libpthread-stubs xorg-xcb-proto xorg-util-macros xorg-xcmiscproto xorg-xextproto xorg-xf86bigfontproto xorg-xtrans xorg-libXrandr xorg-randrproto xrender xorg-renderproto libtheora libvorbis libvpx openjpeg15 jbigkit lcms2 jpeg tiff schroedinger orc coreutils speex x264 yasm xorg-libXfixes xorg-fixesproto libbluray libcdio-paranoia libcdio libcddb libdvdnav libdvdread libdvdcss lua readline ossp-uuid py27-docutils py27-roman py27-setuptools rubberband libsndfile flac youtube-dl
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port mpv failed

here to log-file

version:1
:debug:clean Attempting ln -sf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/$
:debug:clean changing euid/egid - current euid: 0 - current egid: 0
:debug:clean egid changed to: 500
:debug:clean euid changed to: 502
:debug:main Executing org.macports.main (llvm-3.4)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:archivefetch archivefetch phase started at Sun Jul 26 05:57:20 CEST 2015
:msg:archivefetch --->  Fetching archive for llvm-3.4
:debug:archivefetch Executing org.macports.archivefetch (llvm-3.4)
:debug:archivefetch euid/egid changed to: 0/0
:debug:archivefetch chowned /opt/local/var/macports/incoming to macports
:debug:archivefetch euid/egid changed to: 502/500
:info:archivefetch --->  llvm-3.4-3.4.2_7.darwin_8.ppc.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
:msg:archivefetch --->  Attempting to fetch llvm-3.4-3.4.2_7.darwin_8.ppc.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/llvm-3.4
:debug:archivefetch Fetching archive failed:: The requested URL returned error: 404
:msg:archivefetch --->  Attempting to fetch llvm-3.4-3.4.2_7.darwin_8.ppc.tbz2 from http://lil.fr.packages.macports.org/llvm-3.4
:debug:archivefetch Fetching archive failed:: The requested URL returned error: 404
:msg:archivefetch --->  Attempting to fetch llvm-3.4-3.4.2_7.darwin_8.ppc.tbz2 from http://nue.de.packages.macports.org/macports/packages/llvm-3.4
:debug:archivefetch Fetching archive failed:: The requested URL returned error: 404
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:fetch fetch phase started at Sun Jul 26 05:57:20 CEST 2015
:notice:fetch --->  Fetching distfiles for llvm-3.4
:debug:fetch Executing org.macports.fetch (llvm-3.4)
:info:fetch --->  llvm-3.4.2.src.tar.gz doesn't seem to exist in /opt/local/var/macports/distfiles/llvm
:notice:fetch --->  Attempting to fetch llvm-3.4.2.src.tar.gz from http://osl.no.distfiles.macports.org/llvm
:debug:fetch Fetching distfile failed: Empty reply from server
:notice:fetch --->  Attempting to fetch llvm-3.4.2.src.tar.gz from http://fco.it.distfiles.macports.org/mirrors/macports-distfiles/llvm
:debug:fetch Privilege de-escalation not attempted as not running as root.
:debug:checksum checksum phase started at Sun Jul 26 05:57:35 CEST 2015
:notice:checksum --->  Verifying checksums for llvm-3.4
:debug:checksum Executing org.macports.checksum (llvm-3.4)
:info:checksum --->  Checksumming llvm-3.4.2.src.tar.gz
:debug:checksum Calculated (rmd160) is 5fab44850977afccee34b21c6d339bc8dea21fce
:debug:checksum Correct (rmd160) checksum for llvm-3.4.2.src.tar.gz
:debug:checksum Calculated (sha256) is 17038d47069ad0700c063caed76f0c7259628b0e79651ce2b540d506f2f1efd7
:debug:checksum Correct (sha256) checksum for llvm-3.4.2.src.tar.gz
:debug:checksum Privilege de-escalation not attempted as not running as root.
:debug:extract extract phase started at Sun Jul 26 05:57:37 CEST 2015
:notice:extract --->  Extracting llvm-3.4
:debug:extract Executing org.macports.extract (llvm-3.4)
:info:extract --->  Extracting llvm-3.4.2.src.tar.gz
:debug:extract setting option extract.args to '/opt/local/var/macports/distfiles/llvm/llvm-3.4.2.src.tar.gz'
:debug:extract Environment:
CC_PRINT_OPTIONS='YES'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/.CC_PRINT_OPTIONS'
CPATH='/opt/local/include'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.4'
:debug:extract Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/llvm/llvm$
:debug:extract Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/llvm$
:debug:extract euid/egid changed to: 0/0
:debug:extract chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work to macports
:debug:extract euid/egid changed to: 502/500
:debug:extract Executing proc-post-org.macports.extract-extract-0
:debug:extract Privilege de-escalation not attempted as not running as root.
:debug:patch patch phase started at Sun Jul 26 05:58:06 CEST 2015
:debug:patch Executing org.macports.patch (llvm-3.4)
:notice:patch --->  Applying patches to llvm-3.4
:info:patch --->  Applying 0001-MacPorts-Only-Update-install-targets-for-clang-subpo.patch
:debug:patch Environment:
CC_PRINT_OPTIONS='YES'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.4/llvm-3.4/work/.CC_PRINT_OPTIONS'
CPATH='/opt/local/include'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.4'

Attachments (2)

main.log llvm-3.4.rtf (130.3 KB) - added by mrkapqa 9 years ago.
main.log (326.0 KB) - added by mrkapqa 9 years ago.
sorry this is the proper file . thax

Download all attachments as: .zip

Change History (6)

comment:1 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: tiger added
Owner: changed from macports-tickets@… to jeremyhu@…
Port: llvm-3.4 added
Summary: (mpv)(OSXTiger) - org.macports.build for port llvm-3.4 returned: command execution failedllvm-3.4: build failed

The portion of the log file you pasted into the ticket doesn't show the problem. Please attach the entire main.log file.

Changed 9 years ago by mrkapqa

Attachment: main.log llvm-3.4.rtf added

Changed 9 years ago by mrkapqa

Attachment: main.log added

sorry this is the proper file . thax

comment:2 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: llvm-3.4: build failedllvm-3.4: build fails with old python

The log you attached is not from a clean build. But even so, we can see that the error is "SyntaxError: invalid syntax" while trying to run some Python code. Tiger's Python is too old to handle this code. The llvm ports need to use a newer version of python from MacPorts (2.7, probably).

#42051 is related. (We might even consider this ticket a duplicate of that one.) Here, Jeremy removed the python version check, because it was thought that the llvm build system didn't really care what version of python was being used. As we can see, this is incorrect.

comment:3 Changed 9 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: duplicate
Status: newclosed

Let's dupe to #42051

comment:4 Changed 9 years ago by mrkapqa

thanks, it worked now with pyhton33; problem is now kerberos5

Note: See TracTickets for help on using tickets.