Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 175259 - scite-1.73 failed to build
Summary: scite-1.73 failed to build
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Krzysztof Pawlik (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-19 19:13 UTC by Moonz
Modified: 2007-04-21 14:26 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
New ebuild (scite-1.73.ebuild.patch,327 bytes, patch)
2007-04-19 19:25 UTC, Moonz
Details | Diff
/usr/local/portage/app-editors/scite/files/scite-1.73-iconv.patch (scite-1.73-iconv.patch,954 bytes, patch)
2007-04-19 19:25 UTC, Moonz
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Moonz 2007-04-19 19:13:35 UTC
>>> Compiling source in /var/tmp/portage/app-editors/scite-1.73/work/scite/gtk ...
[snip]
i686-pc-linux-gnu-g++ `` -DGTK SciTEGTK.o FilePath.o SciTEBase.o SciTEBuffers.o SciTEIO.o Exporters.o MultiplexExtension.o DirectorExtension.o SciTEProps.o Utf8_16.o ../../scintilla/bin/scintilla.a -o ../bin/SciTE `pkg-config --libs gtk+-2.0 gthread-2.0`
SciTEGTK.o: In function `SciTEGTK::ReadLocalization()':
SciTEGTK.cxx:(.text+0x84d0): undefined reference to `libiconv_open'
SciTEGTK.cxx:(.text+0x8536): undefined reference to `libiconv'
SciTEGTK.cxx:(.text+0x857a): undefined reference to `libiconv_close'


Adding -liconv at the end of scite/gtk/makefile:108 solved the problem

Reproducible: Always

Steps to Reproduce:
1. emerge scite  :)
Comment 1 Moonz 2007-04-19 19:25:08 UTC
Created attachment 116752 [details, diff]
New ebuild

Attaching working ebuild (in my local overlay)
Comment 2 Moonz 2007-04-19 19:25:54 UTC
Created attachment 116753 [details, diff]
/usr/local/portage/app-editors/scite/files/scite-1.73-iconv.patch
Comment 3 Krzysztof Pawlik (RETIRED) gentoo-dev 2007-04-19 22:09:45 UTC
Fixed, thanks for the patch.
Comment 4 Krzysztof Pawlik (RETIRED) gentoo-dev 2007-04-21 12:48:19 UTC
As the patch breaks building for others (see bug #175410) I've reverted it. Could you provide complete build log and `emerge --info`?
Comment 5 Krzysztof Pawlik (RETIRED) gentoo-dev 2007-04-21 12:51:16 UTC
Sorry for bug spam - I haven't finished my coffee yet.
Comment 6 Moonz 2007-04-21 13:58:18 UTC
Well, very strange...
I did have a weird iconv.h in /usr/local/include, deleting it solved the problem. Don't know where it come from, neither why GCC used it in priority to /usr/include/iconv.h, but now it works :/
Anyway, sorry for the trouble :(
Comment 7 Krzysztof Pawlik (RETIRED) gentoo-dev 2007-04-21 14:26:14 UTC
(In reply to comment #6)
> Well, very strange...
> I did have a weird iconv.h in /usr/local/include, deleting it solved the
> problem. Don't know where it come from, neither why GCC used it in priority to
> /usr/include/iconv.h, but now it works :/
> Anyway, sorry for the trouble :(

dev-libs/libiconv maybe? But it's for *BSD only. I'm closing this as WORKSFORME.