Opened 8 years ago

Closed 8 years ago

#28588 closed defect (fixed)

transmission 2.20: Invalid value 'com.apple.compilers.llvm.clang.1_0' for GCC_VERSION

Reported by: 200309@… Owned by: mnick@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: tiger Cc: BlackFrog1, ryandesign (Ryan Schmidt)
Port: transmission

Description

transmission-2.20

PowerBook G3 Pismo 500 MHz MacOS 10.4.11

iBook G4 1.42 GHz MacOS 10.5.8

both fail

-Bill

:msg:fetch --->  Attempting to fetch transmission-2.20.tar.bz2 from http://distfiles.macports.org/transmission
:msg:fetch --->  Verifying checksum(s) for transmission
:debug:checksum checksum phase started at Tue Mar  1 08:40:42 PST 2011
:debug:checksum Executing org.macports.checksum (transmission)
:info:checksum --->  Checksumming transmission-2.20.tar.bz2
:debug:checksum Correct (md5) checksum for transmission-2.20.tar.bz2
:debug:checksum Correct (sha1) checksum for transmission-2.20.tar.bz2
:debug:checksum Correct (rmd160) checksum for transmission-2.20.tar.bz2
:debug:checksum setting option extract.cmd to /usr/bin/bzip2
:msg:checksum --->  Extracting transmission
:debug:extract extract phase started at Tue Mar  1 08:40:43 PST 2011
:debug:extract Executing org.macports.extract (transmission)
:info:extract --->  Extracting transmission-2.20.tar.bz2
:debug:extract setting option extract.args to '/opt/local/var/macports/distfiles/transmission/transmission-2.20.tar.bz2'
:debug:extract Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_transmission/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.4'
:debug:extract Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_transmission/work" && /usr/bin/bzip2 -dc '/opt/local/var/macports/distfiles/transmission/transmission-2.20.tar.bz2' | /usr/bin/gnutar --no-same-owner -xf -'
:debug:patch patch phase started at Tue Mar  1 08:41:00 PST 2011
:debug:patch Executing proc-pre-org.macports.patch-patch-0
:debug:patch Executing org.macports.patch (transmission)
:msg:patch --->  Applying patches to transmission
:info:patch --->  Applying /opt/local/var/macports/sources/rsync.macports.org/release/ports/net/transmission/files/patch-xcodebuild.diff
:debug:patch Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_transmission/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.4'
:debug:patch Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_transmission/work/transmission-2.20" && /usr/bin/patch -p0'
:info:patch patching file Transmission.xcodeproj/project.pbxproj
:info:patch --->  Applying /opt/local/var/macports/sources/rsync.macports.org/release/ports/net/transmission/files/patch-sparkle.diff
:debug:patch Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_transmission/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.4'
:debug:patch Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_transmission/work/transmission-2.20" && /usr/bin/patch -p0'
:info:patch patching file macosx/Defaults.plist
:debug:patch Executing proc-post-org.macports.patch-patch-0
:msg:patch --->  Configuring transmission
:debug:patch Using compiler 'Mac OS X gcc 4.0'
:debug:configure configure phase started at Tue Mar  1 08:41:00 PST 2011
:debug:configure Executing org.macports.configure (transmission)
:msg:configure --->  Building transmission
:debug:build build phase started at Tue Mar  1 08:41:00 PST 2011
:debug:build Executing org.macports.build (transmission)
:debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_transmission/work/transmission-2.20" && /usr/bin/xcodebuild  -target "Transmission" -configuration Release build OBJROOT=build/ SYMROOT=build/ MACOSX_DEPLOYMENT_TARGET=10.4 ARCHS=ppc SDKROOT="" '
:info:build (NOTE: project Transmission was written by a newer version of Xcode (46) -- temporarily downgrading it to version 42 (without modifying project file))
:info:build 
:info:build === BUILDING NATIVE TARGET natpmp WITH CONFIGURATION Release ===
:info:build 
:info:build Checking Dependencies...
:info:build Invalid value 'com.apple.compilers.llvm.clang.1_0' for GCC_VERSION
:info:build ** BUILD FAILED **
:info:build shell command "cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_transmission/work/transmission-2.20" && /usr/bin/xcodebuild  -target "Transmission" -configuration Release build OBJROOT=build/ SYMROOT=build/ MACOSX_DEPLOYMENT_TARGET=10.4 ARCHS=ppc SDKROOT="" " returned error 1
:error:build Target org.macports.build returned: shell command failed (see log for details)
:debug:build Backtrace: shell command failed (see log for details)
    while executing
"$procedure $targetname"
:info:build Warning: the following items did not execute (for transmission): org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Log for transmission is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_transmission/main.log

Attachments (2)

Portfile-transmission.diff (515 bytes) - added by BlackFrog1 8 years ago.
Added Mac OS X 10.5+ to pre-fetch
main.log (604.3 KB) - added by 200309@… 8 years ago.

Download all attachments as: .zip

Change History (10)

comment:1 Changed 8 years ago by mf2k (Frank Schima)

Keywords: tiger added; BUILD FAILED removed
Owner: changed from macports-tickets@… to mnick@…

comment:2 Changed 8 years ago by mnick@…

Status: newassigned

Can you please post the log of the 10.5.8 build? Transmission doesn't build on 10.4 and is therefore expected to fail on this machine.

comment:3 in reply to:  2 Changed 8 years ago by 200309@…

Replying to mnick@…:

Can you please post the log of the 10.5.8 build? Transmission doesn't build on 10.4 and is therefore expected to fail on this machine.

:msg:fetch --->  Attempting to fetch transmission-2.20.tar.bz2 from http://distfiles.macports.org/transmission
:msg:fetch --->  Verifying checksum(s) for transmission
:debug:checksum checksum phase started at Tue Mar  1 09:00:18 PST 2011
:debug:checksum Executing org.macports.checksum (transmission)
:info:checksum --->  Checksumming transmission-2.20.tar.bz2
:debug:checksum Correct (md5) checksum for transmission-2.20.tar.bz2
:debug:checksum Correct (sha1) checksum for transmission-2.20.tar.bz2
:debug:checksum Correct (rmd160) checksum for transmission-2.20.tar.bz2
:debug:checksum setting option extract.cmd to /usr/bin/bzip2
:msg:checksum --->  Extracting transmission
:debug:extract extract phase started at Tue Mar  1 09:00:18 PST 2011
:debug:extract Executing org.macports.extract (transmission)
:info:extract --->  Extracting transmission-2.20.tar.bz2
:debug:extract setting option extract.args to '/opt/local/var/macports/distfiles/transmission/transmission-2.20.tar.bz2'
:debug:extract Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_transmission/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.5'
:debug:extract Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_transmission/work" && /usr/bin/bzip2 -dc '/opt/local/var/macports/distfiles/transmission/transmission-2.20.tar.bz2' | /usr/bin/gnutar --no-same-owner -xf -'
:debug:patch patch phase started at Tue Mar  1 09:00:29 PST 2011
:debug:patch Executing proc-pre-org.macports.patch-patch-0
:debug:patch Executing org.macports.patch (transmission)
:msg:patch --->  Applying patches to transmission
:info:patch --->  Applying /opt/local/var/macports/sources/rsync.macports.org/release/ports/net/transmission/files/patch-xcodebuild.diff
:debug:patch Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_transmission/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.5'
:debug:patch Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_transmission/work/transmission-2.20" && /usr/bin/patch -p0'
:info:patch patching file Transmission.xcodeproj/project.pbxproj
:info:patch --->  Applying /opt/local/var/macports/sources/rsync.macports.org/release/ports/net/transmission/files/patch-sparkle.diff
:debug:patch Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_transmission/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.5'
:debug:patch Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_transmission/work/transmission-2.20" && /usr/bin/patch -p0'
:info:patch patching file macosx/Defaults.plist
:debug:patch Executing proc-post-org.macports.patch-patch-0
:msg:patch --->  Configuring transmission
:debug:patch Using compiler 'Mac OS X gcc 4.0'
:debug:configure configure phase started at Tue Mar  1 09:00:30 PST 2011
:debug:configure Executing org.macports.configure (transmission)
:msg:configure --->  Building transmission
:debug:build build phase started at Tue Mar  1 09:00:30 PST 2011
:debug:build Executing org.macports.build (transmission)
:debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_transmission/work/transmission-2.20" && /usr/bin/xcodebuild  -target "Transmission" -configuration Release build OBJROOT=build/ SYMROOT=build/ MACOSX_DEPLOYMENT_TARGET=10.5 ARCHS=ppc SDKROOT="" '
:info:build (NOTE: project Transmission was written by a newer Xcode version (46) -- temporarily downgrading it (without modifying project file))
:info:build 
:info:build === BUILDING NATIVE TARGET natpmp OF PROJECT Transmission WITH CONFIGURATION Release ===
:info:build 
:info:build Checking Dependencies...
:info:build Invalid value 'com.apple.compilers.llvm.clang.1_0' for GCC_VERSION
:info:build Unable to determine concrete GCC compiler for file /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_transmission/work/transmission-2.20/third-party/libnatpmp/getgateway.c of type sourcecode.c.c.
:info:build Unable to determine concrete GCC compiler for file /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_transmission/work/transmission-2.20/third-party/libnatpmp/natpmp.c of type sourcecode.c.c.
:info:build ** BUILD FAILED **
:info:build shell command "cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_transmission/work/transmission-2.20" && /usr/bin/xcodebuild  -target "Transmission" -configuration Release build OBJROOT=build/ SYMROOT=build/ MACOSX_DEPLOYMENT_TARGET=10.5 ARCHS=ppc SDKROOT="" " returned error 1
:error:build Target org.macports.build returned: shell command failed (see log for details)
:debug:build Backtrace: shell command failed (see log for details)
    while executing
"$procedure $targetname"
:info:build Warning: the following items did not execute (for transmission): org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Log for transmission is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_transmission/main.log

Changed 8 years ago by BlackFrog1

Attachment: Portfile-transmission.diff added

Added Mac OS X 10.5+ to pre-fetch

comment:4 Changed 8 years ago by ryandesign (Ryan Schmidt)

Cc: blackfrog1@… ryandesign@… added
Summary: transmission 2.20 ** BUILD FAILED **transmission 2.20: Invalid value 'com.apple.compilers.llvm.clang.1_0' for GCC_VERSION

I committed a slightly different version of this patch in r78513 to enforce Leopard or greater.

Do you still see the build error on Leopard with transmission 2.22?

comment:5 Changed 8 years ago by 200309@…

Looks like there is still a problem with Leopard on PPC G4

$ sw_vers
ProductName:	Mac OS X
ProductVersion:	10.5.8
BuildVersion:	9L30

$ uname -a
Darwin buckeye.local 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:57:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_PPC Power Macintosh

$ sudo port install transmission
Portfile changed since last build; discarding previous state.
--->  Computing dependencies for transmission
--->  Fetching transmission
--->  Attempting to fetch transmission-2.22.tar.bz2 from http://distfiles.macports.org/transmission
--->  Verifying checksum(s) for transmission
--->  Extracting transmission
--->  Applying patches to transmission
--->  Configuring transmission
--->  Building transmission
Error: Target org.macports.build returned: shell command failed (see log for details)
Log for transmission is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_transmission/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

comment:6 Changed 8 years ago by ryandesign (Ryan Schmidt)

Impossible to know what happened there unless you attach the main.log.

Also please remember to use WikiFormatting.

Changed 8 years ago by 200309@…

Attachment: main.log added

comment:7 Changed 8 years ago by 200309@…

mail.log sent as attachment

comment:8 Changed 8 years ago by ryandesign (Ryan Schmidt)

Resolution: fixed
Status: assignedclosed

Ok, I think that confirms that the error "Invalid value 'com.apple.compilers.llvm.clang.1_0' for GCC_VERSION" has been resolved. (I assume that's what they meant in the NEWS entry for 2.21 when they said "Fix compile error in the 2.20 tarball").

The new error you're now seeing is covered by #29398.

Note: See TracTickets for help on using tickets.