Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 175259
Alias:
Product:
Component:
Status: RESOLVED
Resolution: WORKSFORME
Assigned To: Krzysiek Pawlik <nelchael@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Moonz <simon.lipp@insa-lyon.fr>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
scite-1.73.ebuild.patch New ebuild patch Moonz 2007-04-19 19:25 0000 327 bytes Details | Diff
scite-1.73-iconv.patch /usr/local/portage/app-editors/scite/files/scite-1.73-iconv.patch patch Moonz 2007-04-19 19:25 0000 954 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 175259 depends on: Show dependency tree
Bug 175259 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-04-19 19:13 0000
>>> 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 From Moonz 2007-04-19 19:25:08 0000 -------
Created an attachment (id=116752) [details]
New ebuild

Attaching working ebuild (in my local overlay)

------- Comment #2 From Moonz 2007-04-19 19:25:54 0000 -------
Created an attachment (id=116753) [details]
/usr/local/portage/app-editors/scite/files/scite-1.73-iconv.patch

------- Comment #3 From Krzysiek Pawlik 2007-04-19 22:09:45 0000 -------
Fixed, thanks for the patch.

------- Comment #4 From Krzysiek Pawlik 2007-04-21 12:48:19 0000 -------
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 From Krzysiek Pawlik 2007-04-21 12:51:16 0000 -------
Sorry for bug spam - I haven't finished my coffee yet.

------- Comment #6 From Moonz 2007-04-21 13:58:18 0000 -------
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 From Krzysiek Pawlik 2007-04-21 14:26:14 0000 -------
(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.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug