Opened 14 years ago

Closed 14 years ago

#25394 closed defect (invalid)

Gimp-app fails to build on OS X 10.6.4 with simple "port install gimp"

Reported by: ssteinerX@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: Cc:
Port: gimp-app

Description (last modified by mf2k (Frank Schima))

Lots of sloppy coding warnings but those are probably not macports releated, but this error stops the build:

/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/main.c:412: error: 'typeFSS' undeclared (first use in this function)

Tail end of transcript:

--->  Fetching gimp-app
--->  Attempting to fetch ScriptExec.tar.gz from http://voxel.dl.sourceforge.net/gimp-app
--->  Attempting to fetch gimp.app.skel.tar.gz from http://voxel.dl.sourceforge.net/gimp-app
--->  Verifying checksum(s) for gimp-app
--->  Extracting gimp-app
--->  Configuring gimp-app
--->  Building gimp-app
Error: Target org.macports.build returned: shell command "cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec" && xcodebuild  -alltargets -configuration Deployment build OBJROOT=build/ SYMROOT=build/ MACOSX_DEPLOYMENT_TARGET=10.6 ARCHS=x86_64 SDKROOT= " returned error 1
Command output:     setenv LANG en_US.US-ASCII
    /Developer/usr/bin/gcc-4.2 -x c -arch x86_64 -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -Os -mdynamic-no-pic -fvisibility=hidden -mmacosx-version-min=10.6 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/build/ScriptExec.build/Deployment/ScriptExec.build/ScriptExec.hmap -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/build/Deployment -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/build/Deployment/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/build/ScriptExec.build/Deployment/ScriptExec.build/DerivedSources/x86_64 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/build/ScriptExec.build/Deployment/ScriptExec.build/DerivedSources -include /var/folders/zz/zzzivhrRnAmviuee+++++++++++/-Caches-/com.apple.Xcode.0/SharedPrecompiledHeaders/ScriptExec_Prefix-fnbyxdiikuaftieaciyyvyjnorww/ScriptExec_Prefix.pch -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/main.c -o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/build/ScriptExec.build/Deployment/ScriptExec.build/Objects-normal/x86_64/main.o

/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/main.c: In function 'main':
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/main.c:121: warning: implicit declaration of function 'InitCursor'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/main.c:146: warning: implicit declaration of function 'RunApplicationEventLoop'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/main.c: In function 'LoadMenuBar':
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/main.c:315: warning: implicit declaration of function 'CreateNibReference'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/main.c:316: warning: implicit declaration of function 'SetMenuBarFromNib'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/main.c:317: warning: implicit declaration of function 'DisposeNibReference'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/main.c: In function 'FSMakePath':
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/main.c:333: warning: implicit declaration of function 'FSpMakeFSRef'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/main.c:336: warning: pointer targets in passing argument 2 of 'FSRefMakePath' differ in signedness
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/main.c: In function 'RedFatalAlert':
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/main.c:344: warning: implicit declaration of function 'StandardAlert'
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/main.c: In function 'AppOpenDocAEHandler':
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/main.c:412: error: 'typeFSS' undeclared (first use in this function)
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/main.c:412: error: (Each undeclared identifier is reported only once
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/main.c:412: error: for each function it appears in.)
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/main.c:417: warning: pointer targets in passing argument 2 of 'FSMakePath' differ in signedness
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/main.c: In function 'AppOpenAppAEHandler':
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/main.c:444: warning: no return statement in function returning non-void
** BUILD FAILED **


The following build commands failed:
ScriptExec:
        CompileC build/ScriptExec.build/Deployment/ScriptExec.build/Objects-normal/x86_64/main.o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/work/ScriptExec/main.c normal x86_64 c com.apple.compilers.gcc.4_2
(1 failure)


Error: Status 1 encountered during processing.
Before reporting a bug, first run the command again with the -d flag to get complete output.

Change History (5)

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

Description: modified (diff)
Keywords: gimp 10.6.4 removed
Port: gimp-app added; gimp removed

Please review WikiFormatting and use the Preview button before posting.

comment:2 Changed 14 years ago by jmroot (Joshua Root)

Resolution: invalid
Status: newclosed

You're clearly not using the current version of the port since your output doesn't show any patchfiles being applied. Selfupdate.

comment:3 Changed 14 years ago by ssteinerX@…

Resolution: invalid
Status: closedreopened

Ok, so I'm clearly an idiot, any moron should know that.

Where does this sequence of events fall in the "valid bug report universe?"

(~)# sudo port selfupdate Password: ---> Updating the ports tree ---> Updating MacPorts base sources using rsync MacPorts base version 1.8.2 installed, MacPorts base version 1.9.1 downloaded. ---> MacPorts base is outdated, installing new version 1.9.1 Warning: Disabling readline support due to readline in /usr/local Installing new MacPorts release in /opt/local as root:admin; permissions 0755; Tcl-Package in /Library/Tcl

The ports tree has been updated. To upgrade your installed ports, you should run

port upgrade outdated

(~)# sudo port install gimp Error: Requested variants "" do not match original selection "+macosx". Please use the same variants again, perform 'port clean gimp' or specify the force option (-f). Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets> (~)# sudo port clean gimp -f ---> Cleaning gimp (~)# sudo port install gimp ---> Computing dependencies for gimp ---> Dependencies to be installed: gimp-app gimp-jp2 gimp-lqr-plugin liblqr gtk-nodoka-engine coreutils gutenprint icns-gimp ufraw cfitsio dcraw exiv2 gtkimageview xsane sane-backends libusb-compat libusb ---> Building gimp-app Error: Target org.macports.build returned: shell command failed Log for gimp-app is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_gimp-app/main.log Error: The following dependencies failed to build: gimp-app gimp-jp2 gimp-lqr-plugin liblqr gtk-nodoka-engine coreutils gutenprint icns-gimp ufraw cfitsio dcraw exiv2 gtkimageview xsane sane-backends libusb-compat libusb Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets>

comment:4 Changed 14 years ago by ssteinerX@…

It is not clear, to me, that I should have to updated anything to install a new port from my current set.

If I'm installing a new port, shouldn't, the port referenced in my current set work with the rest of the stuff in the same set?

Updating the whole tree (which I'm doing now with 'port upgrade outdated' is pulling lots of new versions of things that I've not tested with my various pieces of software (a new version of Python, for example).

Shouldn't a stable set be able to just install a new piece of software from the same generation into itself?

Maybe the newly updated set won't be broken for gimp, but it's certainly not obvious, to me, why it shouldn't have worked in the first place.

comment:5 Changed 14 years ago by jmroot (Joshua Root)

Resolution: invalid
Status: reopenedclosed

It didn't work in the first place because there was a bug in the old version. Updating is how you get the new version which is fixed, as it says in the FAQ. There is no "stable set".

Note: See TracTickets for help on using tickets.