Opened 15 years ago

Closed 15 years ago

#24356 closed defect (fixed)

koffice breaks on 10.6 (mbp 5,5) on ld process

Reported by: vim.unix@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc: takanori@…, ryandesign (Ryan Carsten Schmidt)
Port: koffice

Description (last modified by jmroot (Joshua Root))

Hello,

this is the output. macports 1.8.2 + snow leopard

I hope it helps.

Pau

ld: framework not found ./karbon/OpenCL
collect2: ld returned 1 exit status
Error creating ./karbon/libkarboncommon.la. Exit status 1.
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/work/koffice-1.6.3/filters/kword/pdf/xpdf/xpdf/GfxState.h: In member function 'void Gfx::opSetStrokeGray(Object*, int)':
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/work/koffice-1.6.3/filters/kword/pdf/xpdf/xpdf/GfxState.h:859: warning: 'color.GfxColor::c[7u]' is used uninitialized in this function
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/work/koffice-1.6.3/filters/kword/pdf/xpdf/xpdf/Gfx.cc:783: note: 'color.GfxColor::c[7u]' was declared here
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/work/koffice-1.6.3/filters/kword/pdf/xpdf/xpdf/GfxState.h:859: warning: 'color.GfxColor::c[6u]' is used uninitialized in this function
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/work/koffice-1.6.3/filters/kword/pdf/xpdf/xpdf/Gfx.cc:783: note: 'color.GfxColor::c[6u]' was declared here
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/work/koffice-1.6.3/filters/kword/pdf/xpdf/xpdf/GfxState.h:859: warning: 'color.GfxColor::c[5u]' is used uninitialized in this function
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/work/koffice-1.6.3/filters/kword/pdf/xpdf/xpdf/Gfx.cc:783: note: 'color.GfxColor::c[5u]' was declared here
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/work/koffice-1.6.3/filters/kword/pdf/xpdf/xpdf/GfxState.h:859: warning: 'color.GfxColor::c[4u]' is used uninitialized in this function
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/work/koffice-1.6.3/filters/kword/pdf/xpdf/xpdf/Gfx.cc:783: note: 'color.GfxColor::c[4u]' was declared here
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/work/koffice-1.6.3/filters/kword/pdf/xpdf/xpdf/GfxState.h:859: warning: 'color.GfxColor::c[3u]' is used uninitialized in this function
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/work/koffice-1.6.3/filters/kword/pdf/xpdf/xpdf/Gfx.cc:783: note: 'color.GfxColor::c[3u]' was declared here
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/work/koffice-1.6.3/filters/kword/pdf/xpdf/xpdf/GfxState.h:859: warning: 'color.GfxColor::c[2u]' is used uninitialized in this function
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/work/koffice-1.6.3/filters/kword/pdf/xpdf/xpdf/Gfx.cc:783: note: 'color.GfxColor::c[2u]' was declared here
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/work/koffice-1.6.3/filters/kword/pdf/xpdf/xpdf/GfxState.h:859: warning: 'color.GfxColor::c[1u]' is used uninitialized in this function
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/work/koffice-1.6.3/filters/kword/pdf/xpdf/xpdf/Gfx.cc:783: note: 'color.GfxColor::c[1u]' was declared here
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/work/koffice-1.6.3/filters/kword/pdf/xpdf/xpdf/GfxState.h: In member function 'void Gfx::opSetFillGray(Object*, int)':
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/work/koffice-1.6.3/filters/kword/pdf/xpdf/xpdf/GfxState.h:858: warning: 'color.GfxColor::c[7u]' is used uninitialized in this function
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/work/koffice-1.6.3/filters/kword/pdf/xpdf/xpdf/Gfx.cc:773: note: 'color.GfxColor::c[7u]' was declared here
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/work/koffice-1.6.3/filters/kword/pdf/xpdf/xpdf/GfxState.h:858: warning: 'color.GfxColor::c[6u]' is used uninitialized in this function
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/work/koffice-1.6.3/filters/kword/pdf/xpdf/xpdf/Gfx.cc:773: note: 'color.GfxColor::c[6u]' was declared here
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/work/koffice-1.6.3/filters/kword/pdf/xpdf/xpdf/GfxState.h:858: warning: 'color.GfxColor::c[5u]' is used uninitialized in this function
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/work/koffice-1.6.3/filters/kword/pdf/xpdf/xpdf/Gfx.cc:773: note: 'color.GfxColor::c[5u]' was declared here
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/work/koffice-1.6.3/filters/kword/pdf/xpdf/xpdf/GfxState.h:858: warning: 'color.GfxColor::c[4u]' is used uninitialized in this function
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/work/koffice-1.6.3/filters/kword/pdf/xpdf/xpdf/Gfx.cc:773: note: 'color.GfxColor::c[4u]' was declared here
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/work/koffice-1.6.3/filters/kword/pdf/xpdf/xpdf/GfxState.h:858: warning: 'color.GfxColor::c[3u]' is used uninitialized in this function
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/work/koffice-1.6.3/filters/kword/pdf/xpdf/xpdf/Gfx.cc:773: note: 'color.GfxColor::c[3u]' was declared here
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/work/koffice-1.6.3/filters/kword/pdf/xpdf/xpdf/GfxState.h:858: warning: 'color.GfxColor::c[2u]' is used uninitialized in this function
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/work/koffice-1.6.3/filters/kword/pdf/xpdf/xpdf/Gfx.cc:773: note: 'color.GfxColor::c[2u]' was declared here
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/work/koffice-1.6.3/filters/kword/pdf/xpdf/xpdf/GfxState.h:858: warning: 'color.GfxColor::c[1u]' is used uninitialized in this function
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/work/koffice-1.6.3/filters/kword/pdf/xpdf/xpdf/Gfx.cc:773: note: 'color.GfxColor::c[1u]' was declared here
koffice-1.6.3-4 make failed!
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/work/koffice-1.6.3" && ./CompileScript.sh all " returned error 1
DEBUG: Backtrace: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_koffice/work/koffice-1.6.3" && ./CompileScript.sh all " returned error 1
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 9)
    invoked from within
"$procedure $targetname"
Warning: the following items did not execute (for koffice): org.macports.activate org.macports.build org.macports.destroot org.macports.install
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

Attachments (1)

ImageMagick.diff (2.7 KB) - added by takanori@… 15 years ago.

Download all attachments as: .zip

Change History (5)

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

Description: modified (diff)
Port: koffice added

Please use an attachment for such lengthy output, or at least remember to use WikiFormatting. Please also remember to fill in the Port field.

comment:2 Changed 15 years ago by takanori@…

Cc: takanori@… added

First of all, thank you for reporting.

I took a look and noticed that this is not a problem of koffice itself, but a problem of the latest ImageMagick and unsermake.

On the latest ImageMagick, 'magick-config --libs' returns a string that contains '-framework OpenCL'. But some programs like unsermake cannot handle this type of flags properly. That's why koffice fails to build now.

There are a few ways to fix this problem, but the easiest way is to apply the following patch to ImageMagick.

Changed 15 years ago by takanori@…

Attachment: ImageMagick.diff added

comment:3 Changed 15 years ago by takanori@…

Cc: ryandesign@… added

Ryan, what do you think about this, as a maintainer of ImageMagick? Can we commit this patch?

Thanks,

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

Resolution: fixed
Status: newclosed

Ok, we'll try it. :) Committed in r66142.

Note: See TracTickets for help on using tickets.