New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #26747 (closed defect: worksforme)

Opened 3 years ago

Last modified 3 years ago

gimp-app fails to build 64-bit (again)

Reported by: kstenerud@… Owned by: devans@…
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: Cc: hobbsilla@…
Port: gimp-app

Description (last modified by jmr@…) (diff)

This was marked fixed in ticket #21718 but it still fails to build:

Exec/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.)
** 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: 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
DEBUG: Backtrace: 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

Attachments

gimp-install-debug.log (34.0 KB) - added by kstenerud@… 3 years ago.
gimp-build-failure.log (26.9 KB) - added by kstenerud@… 3 years ago.

Change History

comment:1 Changed 3 years ago by devans@…

  • Keywords gimp removed
  • Status changed from new to assigned
  • Owner changed from macports-tickets@… to devans@…

comment:2 Changed 3 years ago by devans@…

I can't reproduce this problem here. Please attach your full debug log (main.log) and any other details that may be specific to your MacPorts installation.

comment:3 Changed 3 years ago by jmr@…

  • Description modified (diff)

Changed 3 years ago by kstenerud@…

comment:4 Changed 3 years ago by kstenerud@…

I can't find any main.log so I've attached the result of using the -d option.

comment:5 Changed 3 years ago by jmr@…

  • Status changed from assigned to closed
  • Resolution set to invalid

You clearly haven't selfupdated in a while.

Changed 3 years ago by kstenerud@…

comment:6 Changed 3 years ago by kstenerud@…

  • Status changed from closed to reopened
  • Resolution invalid deleted

Ran "sudo port selfupdate"
Then ran "sudo port upgrade outdated" as per instructions from selfupdate.

The build still fails:

/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.)

Log attached.

comment:7 Changed 3 years ago by devans@…

I think you still using an old version of the ScriptExec source. Your build fails with this error:

	/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)

but my main.c has no mention of this symbol on line 412 or anywhere else.

Please do a full clean of gimp-app to remove any cached distfiles and try again

sudo port clean --all gimp-app

comment:8 Changed 3 years ago by kstenerud@…

That fixed it. Thanks alot!

Hmm I can't mark the ticket resolved. I have the choice of one, and only one, option: "leave as reopened".

comment:9 Changed 3 years ago by devans@…

  • Status changed from reopened to closed
  • Resolution set to worksforme

That's my job. Glad its working for you.

comment:10 Changed 3 years ago by hobbsilla@…

  • Status changed from closed to reopened
  • Resolution worksforme deleted

I'm still experiencing this problem even after updating macports and applying sudo port clean --all to both gimp and gimp-app.

comment:11 Changed 3 years ago by hobbsilla@…

  • Cc hobbsilla@… added

Cc Me!

comment:12 Changed 3 years ago by jmr@…

Then attach some relevant information (log file, Id line from the portfile, ...). Neither the port maintainer nor the original reporter can reproduce the problem, so it's not like just reopening the ticket is going to get it fixed.

comment:13 Changed 3 years ago by devans@…

  • Status changed from reopened to closed
  • Resolution set to worksforme

Although no direct evidence of an ongoing problem has been presented, there is a possibility that there was a stealth upgrade some time in the past or could be one in the future since the distfiles are unversioned.

Therefore, in r72561, added a versioned dist_subdir for these files and incremented the revision to ensure that everyone concerned does a fresh fetch of the same (current) files.

Again this works for me, the original reporter and others so will close on that basis. Please do not reopen unless you have definite evidence, as jmr has indicated above, that documents the failure so there is something to for us to work with.

comment:14 Changed 3 years ago by jmr@…

If the distfile had changed, the checksums wouldn't match, so I doubt that's it.

comment:15 Changed 3 years ago by hobbsilla@…

At this time I can't provide any logs since I accidentally deleted my MBR. Once my Mac gets reformatted with a cloned home directory I'll most likely just do a fresh install of MacPorts.

Note: See TracTickets for help on using tickets.