Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#17409 closed defect (worksforme)

Symbols not found installing gegl

Reported by: pfo.mac@… Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: symbol not found Cc:
Port: gegl

Description

When trying to install gimp on a MacBook running MacOS 10.5.5 i get the following symbols not found error for gegl

--->  Building gegl with target all
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_gegl/work/gegl-0.0.20" && make all " returned error 2
Command output:       process(_GeglOperation*, _GeglBuffer*, _GeglRectangle const*)in exr_load_la-exr-load.o
      process(_GeglOperation*, _GeglBuffer*, _GeglRectangle const*)in exr_load_la-exr-load.o
      process(_GeglOperation*, _GeglBuffer*, _GeglRectangle const*)in exr_load_la-exr-load.o
  "_gegl_rectangle_set", referenced from:
      process(_GeglOperation*, _GeglBuffer*, _GeglRectangle const*)in exr_load_la-exr-load.o
      process(_GeglOperation*, _GeglBuffer*, _GeglRectangle const*)in exr_load_la-exr-load.o
      process(_GeglOperation*, _GeglBuffer*, _GeglRectangle const*)in exr_load_la-exr-load.o
      process(_GeglOperation*, _GeglBuffer*, _GeglRectangle const*)in exr_load_la-exr-load.o
      process(_GeglOperation*, _GeglBuffer*, _GeglRectangle const*)in exr_load_la-exr-load.o
      process(_GeglOperation*, _GeglBuffer*, _GeglRectangle const*)in exr_load_la-exr-load.o
      process(_GeglOperation*, _GeglBuffer*, _GeglRectangle const*)in exr_load_la-exr-load.o
      process(_GeglOperation*, _GeglBuffer*, _GeglRectangle const*)in exr_load_la-exr-load.o
  "_gegl_operation_get_type", referenced from:
      _gegl_chant_class_chant_intern_init in exr_load_la-exr-load.o
  "_gegl_buffer_set", referenced from:
      process(_GeglOperation*, _GeglBuffer*, _GeglRectangle const*)in exr_load_la-exr-load.o
      process(_GeglOperation*, _GeglBuffer*, _GeglRectangle const*)in exr_load_la-exr-load.o
      process(_GeglOperation*, _GeglBuffer*, _GeglRectangle const*)in exr_load_la-exr-load.o
      process(_GeglOperation*, _GeglBuffer*, _GeglRectangle const*)in exr_load_la-exr-load.o
      process(_GeglOperation*, _GeglBuffer*, _GeglRectangle const*)in exr_load_la-exr-load.o
      process(_GeglOperation*, _GeglBuffer*, _GeglRectangle const*)in exr_load_la-exr-load.o
  "_gegl_operation_source_get_type", referenced from:
      _gegl_chant_register_type in exr_load_la-exr-load.o
      _gegl_chant_class_chant_intern_init in exr_load_la-exr-load.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[3]: *** [exr-load.la] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Error: Status 1 encountered during processing.

I retried installing gegl after uninstalling openexr, but the error persisted.

Attachments (1)

gegl_build.log (365.8 KB) - added by pfo.mac@… 16 years ago.
As requested in comment 2

Download all attachments as: .zip

Change History (9)

comment:1 Changed 16 years ago by jmroot (Joshua Root)

Owner: changed from macports-tickets@… to devans@…

comment:2 Changed 16 years ago by dbevans (David B. Evans)

Status: newassigned

I can't reproduce this on my machine (10.4.11 ppc) so you need to give me a bit more information. Please clean the gegl port and then rebuild in debug mode saving the output in a file. Then post the results here. This way, I can compare my output with yours and see where it is going wrong.

sudo port clean --all gegl
sudo port -d build gegl |& tee gegl_build.log

Or something similar.

Sorry for not replying sooner -- just got back from two weeks vacation :-)

Changed 16 years ago by pfo.mac@…

Attachment: gegl_build.log added

As requested in comment 2

comment:3 Changed 16 years ago by pfo.mac@…

Thank you for your response.

I have carried out your instructions. It now won't even get to the error reported.I have attached the build log. If you need me to do something more, please tell.

comment:4 Changed 16 years ago by dbevans (David B. Evans)

According to the log file, it built correctly this time with no errors. So now just run

sudo port install gegl

and it should install what you just built.

comment:5 Changed 16 years ago by dbevans (David B. Evans)

Keywords: gegl removed

comment:6 in reply to:  4 Changed 16 years ago by pfo.mac@…

Thank you: gegl is now installed.

I was expecting that using your instructions gegl should have been installed too. But a closer look at your instructions shows it was only built and not installed. Sorry that i did not see that the first time.

It remains a bit unsatisfying not to know what caused the errors in the first place. It has something to do with the order in which the MacPorts are built. However, I am glad i now can continue installing gimp. Thank you for your time and support.

comment:7 Changed 16 years ago by dbevans (David B. Evans)

Resolution: worksforme
Status: assignedclosed

Great. Glad it is working for you.

There are some known problems on Leopard (http://trac.macports.org/wiki/LeopardProblems) that are fixed by cleaning the port and then rebuilding so this is always something to try when things seem to unexpectedly fail.

comment:8 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.