[MacPorts] #18765: Growl 1.1.4 build error
#18765: Growl 1.1.4 build error ------------------------------------------+--------------------------------- Reporter: macsforever2000@… | Owner: boeyms@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: growl ------------------------------------------+--------------------------------- I'm seeing the following error when attempting to build growl 1.1.4. {{{ setenv UID 0 setenv UNLOCALIZED_RESOURCES_FOLDER_PATH Growl.prefPane/Contents/Resources setenv UNSTRIPPED_PRODUCT NO setenv USER root setenv USER_APPS_DIR /Users/frank/Applications setenv USER_LIBRARY_DIR /Users/frank/Library setenv USE_DYNAMIC_NO_PIC YES setenv USE_HEADERMAP YES setenv USE_HEADER_SYMLINKS NO setenv VALID_ARCHS "i386 ppc ppc64 ppc7400 ppc970 x86_64" setenv VERBOSE_PBXCP NO setenv VERSIONPLIST_PATH Growl.prefPane/Contents/version.plist setenv VERSION_INFO_BUILDER root setenv VERSION_INFO_FILE Growl_vers.c setenv VERSION_INFO_STRING "\"@(#)PROGRAM:Growl PROJECT:Growl-\"" setenv WARNING_CFLAGS "-W -Wall -Wpointer-arith -Wformat=2 -Wfloat- equal" setenv WRAPPER_EXTENSION prefPane setenv WRAPPER_NAME Growl.prefPane setenv WRAPPER_SUFFIX .prefPane setenv XCODE_APP_SUPPORT_DIR /Developer/Library/Xcode setenv XCODE_VERSION_ACTUAL 0310 setenv XCODE_VERSION_MAJOR 0300 setenv YACC /Developer/usr/bin/yacc setenv ZERO_LINK NO /bin/sh -c /opt/local/var/macports/build/_opt_mports_trunk_dports_aqua_Growl/work/Growl-1.1.4-src/build/Growl.build/Deployment/Growl.build /Script-340832FE075C2C0A00703011.sh Touch /opt/local/var/macports/build/_opt_mports_trunk_dports_aqua_Growl/work/Growl-1.1.4-src/build/Deployment/Growl.prefPane cd /opt/local/var/macports/build/_opt_mports_trunk_dports_aqua_Growl/work/Growl-1.1.4-src /usr/bin/touch -c /opt/local/var/macports/build/_opt_mports_trunk_dports_aqua_Growl/work/Growl-1.1.4-src/build/Deployment/Growl.prefPane Stripping /opt/local/var/macports/build/_opt_mports_trunk_dports_aqua_Growl/work/Growl-1.1.4-src/build/Deployment/Growl.prefPane/Contents/MacOS/Growl cd /opt/local/var/macports/build/_opt_mports_trunk_dports_aqua_Growl/work/Growl-1.1.4-src /Developer/usr/bin/strip -x /opt/local/var/macports/build/_opt_mports_trunk_dports_aqua_Growl/work/Growl-1.1.4-src/build/Deployment/Growl.prefPane/Contents/MacOS/Growl ** BUILD FAILED ** The following build commands failed: GrowlAction: OSACompile "build/Deployment/Show Growl Notification.action/Contents/Resources/Scripts/main.scpt" main.applescript (1 failure) make: *** [growl] Error 1 Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_mports_trunk_dports_aqua_Growl/work/Growl-1.1.4-src" && make growl " returned error 2 Command output: setenv VERSIONPLIST_PATH Growl.prefPane/Contents/version.plist setenv VERSION_INFO_BUILDER root setenv VERSION_INFO_FILE Growl_vers.c setenv VERSION_INFO_STRING "\"@(#)PROGRAM:Growl PROJECT:Growl-\"" setenv WARNING_CFLAGS "-W -Wall -Wpointer-arith -Wformat=2 -Wfloat- equal" setenv WRAPPER_EXTENSION prefPane setenv WRAPPER_NAME Growl.prefPane setenv WRAPPER_SUFFIX .prefPane setenv XCODE_APP_SUPPORT_DIR /Developer/Library/Xcode setenv XCODE_VERSION_ACTUAL 0310 setenv XCODE_VERSION_MAJOR 0300 setenv YACC /Developer/usr/bin/yacc setenv ZERO_LINK NO /bin/sh -c /opt/local/var/macports/build/_opt_mports_trunk_dports_aqua_Growl/work/Growl-1.1.4-src/build/Growl.build/Deployment/Growl.build /Script-340832FE075C2C0A00703011.sh Touch /opt/local/var/macports/build/_opt_mports_trunk_dports_aqua_Growl/work/Growl-1.1.4-src/build/Deployment/Growl.prefPane cd /opt/local/var/macports/build/_opt_mports_trunk_dports_aqua_Growl/work/Growl-1.1.4-src /usr/bin/touch -c /opt/local/var/macports/build/_opt_mports_trunk_dports_aqua_Growl/work/Growl-1.1.4-src/build/Deployment/Growl.prefPane Stripping /opt/local/var/macports/build/_opt_mports_trunk_dports_aqua_Growl/work/Growl-1.1.4-src/build/Deployment/Growl.prefPane/Contents/MacOS/Growl cd /opt/local/var/macports/build/_opt_mports_trunk_dports_aqua_Growl/work/Growl-1.1.4-src /Developer/usr/bin/strip -x /opt/local/var/macports/build/_opt_mports_trunk_dports_aqua_Growl/work/Growl-1.1.4-src/build/Deployment/Growl.prefPane/Contents/MacOS/Growl ** BUILD FAILED ** The following build commands failed: GrowlAction: OSACompile "build/Deployment/Show Growl Notification.action/Contents/Resources/Scripts/main.scpt" main.applescript (1 failure) make: *** [growl] Error 1 Warning: the following items did not execute (for Growl): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing. }}} I'm on Mac OS X 10.5.6 Intel. Xcode 3.1.2. -- Ticket URL: <http://trac.macports.org/ticket/18765> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18765: Growl 1.1.4 build error ------------------------------------------+--------------------------------- Reporter: macsforever2000@… | Owner: boeyms@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: growl ------------------------------------------+--------------------------------- Comment(by boredzo+macports@…): You need to build at least the Automator action (GrowlAction) in Deployment, then build the prefpane in whichever configuration. This was because of an Xcode bug. I have no idea whether they've fixed it. -- Ticket URL: <http://trac.macports.org/ticket/18765#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18765: Growl 1.1.4 build error ------------------------------------------+--------------------------------- Reporter: macsforever2000@… | Owner: boeyms@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: growl ------------------------------------------+--------------------------------- Comment(by boredzo+macports@…): I've fixed [https://bugs.launchpad.net/growl/1.1/+bug/339623 the bug] for 1.1.5. Until we release 1.1.5 and you update the port for it, you may want to include [http://growl.info/hg/growl-development/rev/2d299900249b the fix] as a diff against 1.1.4. -- Ticket URL: <http://trac.macports.org/ticket/18765#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18765: Growl 1.1.4 build error ------------------------------------------+--------------------------------- Reporter: macsforever2000@… | Owner: boeyms@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.0 Keywords: | Port: growl ------------------------------------------+--------------------------------- Comment(by macsforever2000@…): Growl 1.1.5 is out now. -- Ticket URL: <http://trac.macports.org/ticket/18765#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18765: Growl 1.1.4 build error ------------------------------------------+--------------------------------- Reporter: macsforever2000@… | Owner: boeyms@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.0 Keywords: | Port: growl ------------------------------------------+--------------------------------- Changes (by macsforever2000@…): * cc: borisd@… (added) Comment: Ccing reporter of duplicate #20266. -- Ticket URL: <http://trac.macports.org/ticket/18765#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18765: Growl 1.1.4 build error ------------------------------------------+--------------------------------- Reporter: macsforever2000@… | Owner: boeyms@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.0 Keywords: | Port: growl ------------------------------------------+--------------------------------- Comment(by ryandesign@…): 1.1.6 is out now. But neither 1.1.5 nor 1.1.6 build for me, on either Tiger or Leopard. Tiger: {{{ cc1: error: -fsave-repository may only be used with STABS debugging }}} Leopard: {{{ /mp/var/macports/build/_Users_rschmidt_macports_dports_aqua_Growl/work/Growl-1.1.6-src/Core/Source/GrowlApplicationController.m:96:2: warning: #warning Having to update this struct manually is ugly. Use the info.plist. /mp/var/macports/build/_Users_rschmidt_macports_dports_aqua_Growl/work/Growl-1.1.6-src/Core/Source/GrowlApplicationController.m:97:2: warning: #warning And once code is in to automagically update this from Info.plist, the documentation in GrowlVersionUtilities.h should also be updated. /mp/var/macports/build/_Users_rschmidt_macports_dports_aqua_Growl/work/Growl-1.1.6-src/Core/Source/GrowlApplicationController.m: In function '-[GrowlApplicationController versionDictionary]': /mp/var/macports/build/_Users_rschmidt_macports_dports_aqua_Growl/work/Growl-1.1.6-src/Core/Source/GrowlApplicationController.m:798: error: syntax error before ';' token }}} -- Ticket URL: <http://trac.macports.org/ticket/18765#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18765: Growl 1.1.4 build error ------------------------------------------+--------------------------------- Reporter: macsforever2000@… | Owner: boeyms@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.0 Keywords: | Port: growl ------------------------------------------+--------------------------------- Changes (by ryandesign@…): * cc: ryandesign@… (added) -- Ticket URL: <http://trac.macports.org/ticket/18765#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18765: Growl 1.1.4 build error ------------------------------------------+--------------------------------- Reporter: macsforever2000@… | Owner: boeyms@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.0 Keywords: | Port: growl ------------------------------------------+--------------------------------- Comment(by jp@…): Why isnt this fixed yet? The solution has been posted three months ago. :-( -- Ticket URL: <http://trac.macports.org/ticket/18765#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18765: Growl 1.1.4 build error ------------------------------------------+--------------------------------- Reporter: macsforever2000@… | Owner: boeyms@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.0 Keywords: | Port: growl ------------------------------------------+--------------------------------- Comment(by benzwt@…): Replying to [comment:9 jp@…]:
Why isnt this fixed yet? The solution has been posted three months ago. :-(
no, it isn't fixed. I failed to port growl after patching it from 1.1.4 to 1.1.6 the log is as follows: === BUILD NATIVE TARGET GrowlMenu OF PROJECT Growl WITH CONFIGURATION Deployment === Check dependencies GCC 4.2 is not compatible with the Mac OS X 10.4 SDK (file GrowlPathUtilities.m) GCC 4.2 is not compatible with the Mac OS X 10.4 SDK (file GrowlPathUtilities.m) ** BUILD FAILED ** -- Ticket URL: <http://trac.macports.org/ticket/18765#comment:13> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18765: Growl 1.1.4 build error ------------------------------------------+--------------------------------- Reporter: macsforever2000@… | Owner: boeyms@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.0 Keywords: | Port: growl ------------------------------------------+--------------------------------- Comment(by boredzo+macports@…): Replying to [comment:13 benzwt@…]:
Replying to [comment:9 jp@…]:
Why isnt this fixed yet? The solution has been posted three months ago. :-(
no, it isn't fixed.
Yes it is. The original bug, the requirement to build the Growl Automator action before building Growl, was fixed in Growl 15 months ago. Every problem reported since then is a different bug or no bug at all.
I failed to port growl after patching it from 1.1.4 to 1.1.6
Why are you bringing it up to 1.1.6? Growl is currently at 1.2 and 1.2.1 is currently in beta. (And why patch anything? We distribute the sources for every version.) Growl 1.2 requires Leopard to build, by the way. There are only three things that still build for Tiger (i.e., use the 10.4u SDK), and none of them come on the disk image. The problem you're seeing is caused by Apple's change of the default GCC version to 4.2, which, as the error message says, doesn't work with the Tiger SDK. If you want to build 1.1.6 (for whatever reason), you'll need to patch the Xcode project to explicitly use GCC 4.0. -- Ticket URL: <http://trac.macports.org/ticket/18765#comment:14> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18765: Growl 1.1.4 build error ------------------------------------------+--------------------------------- Reporter: macsforever2000@… | Owner: boeyms@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.0 Keywords: | Port: growl ------------------------------------------+--------------------------------- Comment(by macsforever2000@…): Replying to [comment:14 boredzo+macports@…]:
Why are you bringing it up to 1.1.6? Growl is currently at 1.2 and 1.2.1 is currently in beta.
Probably because he does not know how to update a portfile and was using the patch attached to this ticket which only goes up to 1.1.6. You seem to be involved with the growl project. Can you please supply a patch for the growl portfile to bring it up to version 1.2? The maintainer of this port seems to be inactive and so it is way out of date. It would be nice if you could maintain this port too. -- Ticket URL: <http://trac.macports.org/ticket/18765#comment:15> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18765: Growl 1.1.4 build error ------------------------------------------+--------------------------------- Reporter: macsforever2000@… | Owner: boeyms@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.0 Keywords: | Port: growl ------------------------------------------+--------------------------------- Comment(by boredzo+macports@…): Sorry, but I don't use a ports system. One note for any future Growl Portfile maintainers: Our Xcode project signs the GrowlHelperApp executable when you build in Release configuration. Anyone who doesn't have our code-signing key (i.e., is not a Growl developer) can only build in Debug; Release will give you a build error. So, a Portfile for Growl, in order to build in Release config, would have to patch the project to remove the code-signing key name setting. Of course, then your Growl won't be signed, so if you use Prowl (which stores your Prowl password in the keychain), you'll get a warning the next time Prowl tries to retrieve your Prowl password. -- Ticket URL: <http://trac.macports.org/ticket/18765#comment:16> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18765: Growl 1.1.4 build error -------------------------------------------+-------------------------------- Reporter: macsforever2000@… | Owner: boeyms@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.0 Resolution: fixed | Keywords: Port: growl | -------------------------------------------+-------------------------------- Changes (by elelay@…): * status: new => closed * resolution: => fixed Comment: fixed in r73090 -- Ticket URL: <https://trac.macports.org/ticket/18765#comment:17> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18765: Growl 1.1.4 build error -------------------------------------------+-------------------------------- Reporter: macsforever2000@… | Owner: boeyms@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 1.7.0 Resolution: | Keywords: Port: growl | -------------------------------------------+-------------------------------- Changes (by raimue@…): * status: closed => reopened * resolution: fixed => Comment: Patches do not apply anymore after r73090: {{{ DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_Users_raim_src_macports_trunk_dports_aqua_Growl/work/Growl-1.1.6-src" && /usr/bin/patch -p0' patching file Growl.xcodeproj/project.pbxproj Hunk #1 succeeded at 4144 (offset -22 lines). Hunk #2 succeeded at 4174 with fuzz 2 (offset -20 lines). Hunk #3 FAILED at 4189. Hunk #4 succeeded at 4217 with fuzz 2 (offset -18 lines). 1 out of 4 hunks FAILED -- saving rejects to file Growl.xcodeproj/project.pbxproj.rej }}} -- Ticket URL: <https://trac.macports.org/ticket/18765#comment:18> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18765: Growl 1.1.4 build error -------------------------------------------+-------------------------------- Reporter: macsforever2000@… | Owner: boeyms@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 1.7.0 Resolution: | Keywords: Port: growl | -------------------------------------------+-------------------------------- Changes (by jmr@…): * cc: elelay@… (added) -- Ticket URL: <https://trac.macports.org/ticket/18765#comment:19> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18765: Growl 1.1.4 build error -------------------------------------------+-------------------------------- Reporter: macsforever2000@… | Owner: boeyms@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 1.7.0 Resolution: | Keywords: Port: growl | -------------------------------------------+-------------------------------- Comment(by elelay@…): it should be OK as of r73296. -- Ticket URL: <https://trac.macports.org/ticket/18765#comment:20> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18765: Growl 1.1.4 build error -------------------------------------------+-------------------------------- Reporter: macsforever2000@… | Owner: boeyms@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.0 Resolution: fixed | Keywords: Port: growl | -------------------------------------------+-------------------------------- Changes (by macsforever2000@…): * status: reopened => closed * resolution: => fixed Comment: This works for me now. -- Ticket URL: <https://trac.macports.org/ticket/18765#comment:21> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18765: Growl 1.1.4 build error -------------------------------------------+-------------------------------- Reporter: macsforever2000@… | Owner: boeyms@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 1.7.0 Resolution: | Keywords: Port: growl | -------------------------------------------+-------------------------------- Changes (by shenzhuxi@…): * status: closed => reopened * resolution: fixed => Comment: Not fix Lion Xcode 4.1 MacPorts 2.1.1 Growl @1.1.6 (aqua) :info:build [BEROR]error: There is no SDK with the name or path '/Developer/SDKs/MacOSX10.4u.sdk' -- Ticket URL: <https://trac.macports.org/ticket/18765#comment:22> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18765: Growl 1.1.4 build error -------------------------------------------+-------------------------------- Reporter: macsforever2000@… | Owner: boeyms@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.0 Resolution: fixed | Keywords: Port: growl | -------------------------------------------+-------------------------------- Changes (by macsforever2000@…): * status: reopened => closed * resolution: => fixed Comment: Please don't open old tickets. Your error is completely different from what little output you gave. You should open a new ticket and attach the complete main.log file there. But first please update your Xcode to the latest version for Lion (currently 4.3.2). Xcode 4.1 is very old. -- Ticket URL: <https://trac.macports.org/ticket/18765#comment:23> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18765: Growl 1.1.4 build error -------------------------------------------+-------------------------------- Reporter: macsforever2000@… | Owner: boeyms@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.0 Resolution: fixed | Keywords: Port: growl | -------------------------------------------+-------------------------------- Changes (by ryandesign@…): * cc: shenzhuxi@… (added) Comment: Replying to [comment:23 macsforever2000@…]:
You should open a new ticket and attach the complete main.log file there.
No need; a new ticket already exists for that: #32911
But first please update your Xcode to the latest version for Lion (currently 4.3.2). Xcode 4.1 is very old.
Good idea. -- Ticket URL: <https://trac.macports.org/ticket/18765#comment:24> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts