First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 152818
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: mips team <mips@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Diego Pettenò <flameeyes@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
hspell-1.0-shared.patch hspell-1.0-shared.patch patch Diego Pettenò 2006-10-25 14:05 0000 2.34 KB Details | Diff
hspell-1.0-shared.patch hspell-1.0-shared.patch patch Diego Pettenò 2006-10-26 01:25 0000 2.66 KB Details | Diff
hebrew.txt Just a simple unicode text in hebrew with few errors for testing hspell text/plain Alex Bogak 2006-10-26 02:20 0000 640 bytes Details
hebrew.txt a newer simple file text/plain Alex Bogak 2006-10-26 02:31 0000 1.25 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 152818 depends on: 152274 Show dependency tree
Show dependency graph
Bug 152818 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

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







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


Description:   Opened: 2006-10-25 13:37 0000
Please test hspell and re-keyword kdelibs (together with hspell) asap. Thanks.

------- Comment #1 From Diego Pettenò 2006-10-25 13:41:24 0000 -------
Alon, we might need a version of hspell-1.0 that builds a .so, as it needs to
use PIC mode for AMD64 most likely.

------- Comment #2 From Diego Pettenò 2006-10-25 14:05:10 0000 -------
Created an attachment (id=100484) [edit]
hspell-1.0-shared.patch

This patch adds support for libhspell.so, that will in turn allow kdelibs to
build correctly against hspell on arches where PIC is needed for shared
libraries (AMD64 and IA64 comes to mind).

AMD64 and the rest of PIC-based arches, please wait till this is merged in -r1
for keywording, or kdelibs will be broken again.

------- Comment #3 From Carsten Lohrke 2006-10-25 14:42:14 0000 -------
Diego: The hspell2 patch doesn't solve the problem that aspell and ispell are
automagically detected, when building the kspell2 plugins... 

------- Comment #4 From Diego Pettenò 2006-10-25 14:54:43 0000 -------
Uh, aspell is not automagically detected (--without-aspell works for me).
ispell maybe, let me check twice, but it should be detected at _runtime_ which
is a good kind of automagic dependency.

------- Comment #5 From Diego Pettenò 2006-10-25 14:57:35 0000 -------
Checked twice: ispell support is *always* built, and ispell is detected at
runtime if present, so there's no need to support it as useflag in kdelibs
(really, *who* would be using ispell?).

Aspell in KSpell2 will be enabled/disabled by the spell useflag, that by
coincidence will also bring it in for the KSpell1 support (that is discovered
automatically at runtime).

HSpell in KSpell2 will be enabled/disabled by linguas_he plus spell useflag,
that by coincidence will also bring it in for the KSpell1 support (that is
discovered automatically at runtime).

Which means that as it is, it works, no automagic linking dependencies.

------- Comment #6 From Carsten Lohrke 2006-10-25 16:52:38 0000 -------
Forget about the automagic dependencies popping into my mind seeing you
readding kspell2 support. What I really had vaguely remembered was the former
existing spell? || dependency issue, but since you force aspell on hebrew
speaking users, this isn't an issue.

------- Comment #7 From Diego Pettenò 2006-10-25 18:01:38 0000 -------
aspell is used for everything else but Hebrew, so it's just simpler to force it
on for everybody, this way we solve the problem for good. Maybe users who only
speak Hebrew and don't care about other languages' spellcheckers might want to
get rid of aspell, but as that requires an higher complexity solution, I'd say
we're good as we are :)

------- Comment #8 From Markus Rothe 2006-10-25 23:48:47 0000 -------
(PPC64)

hspell does not like parallel building (MAKEOPTS="-j4"):

[...]
rm -f hebrew.wgz.lingsizes.tmp
rm -f hebrew.wgz.prefixes
gzip -9 < hebrew.wgz.prefixes.tmp >hebrew.wgz.prefixes
/bin/sh: hebrew.wgz.prefixes.tmp: No such file or directory
make: *** [hebrew.wgz.stems] Error 1

------- Comment #9 From Diego Pettenò 2006-10-26 01:25:31 0000 -------
Created an attachment (id=100512) [edit]
hspell-1.0-shared.patch

This patch works with --as-needed and fixes libhspell.a building too.
Now building kdelibs to see if it works as expected.

------- Comment #10 From Alon Bar-Lev (RETIRED) 2006-10-26 01:57:07 0000 -------
Thanks for all the help!
I will look at it all today.

Regarding the aspell issue, there is no problem in forcing aspell for all
users.

------- Comment #11 From Alex Bogak 2006-10-26 02:20:36 0000 -------
Created an attachment (id=100517) [edit]
Just a simple unicode text in hebrew with few errors for testing hspell

Diego,

First, I got similar failure while installing on x86 when MAKEOPTS more than 1,
just got it on different file.

Second, I attached some simple paragraph for testing the hspell in the future
upon your request. It has few errors in it.

If there's any questions about it, just let me know.

------- Comment #12 From Alex Bogak 2006-10-26 02:31:39 0000 -------
Created an attachment (id=100518) [edit]
a newer simple file

Previous file got corrupted

------- Comment #13 From Diego Pettenò 2006-10-26 04:22:48 0000 -------
Thanks Alex :)

For the ones testing, if your locale is UTF-8, just use "iconv -f UTF-16 file"
to get the transcoded version.

To run the hspell utility by hand, I've used the command "iconv -f UTF-16 -t
ISO-8859-8 hebrew | hspell -c | iconv -f ISO-8859-8".. I suppose it works as it
outputs something, but I cannot read it so I just hope it's correct ;)

------- Comment #14 From Diego Pettenò 2006-10-26 05:24:11 0000 -------
I've just confirmed that hspell kspell2 plugin builds (and seems to work) fine
with the patch.

------- Comment #15 From Alex Bogak 2006-10-26 14:06:46 0000 -------
(In reply to comment #8)
> (PPC64)
> 
> hspell does not like parallel building (MAKEOPTS="-j4"):
> 
> [...]
> rm -f hebrew.wgz.lingsizes.tmp
> rm -f hebrew.wgz.prefixes
> gzip -9 < hebrew.wgz.prefixes.tmp >hebrew.wgz.prefixes
> /bin/sh: hebrew.wgz.prefixes.tmp: No such file or directory
> make: *** [hebrew.wgz.stems] Error 1
> 

Diego,

1. The same error with -j4 I have on AMD64. Sometime it installs, sometimes it
doesn't.
2. With MAKEOPTS="-j1" install is successful in 100%
    Checked with the following:
         set temp PORT_LOGDIR location in /etc/make.conf
        run the following: for i in 1 2 3 4 5 6 7 8 9 10; do emerge hspell;
done
        checked a log - all success.
        removed temp PORT_LOGDIR from /etc/make.conf
3. Given example file is successfully tested. I see some misses, but its hspell
issue, not ebuild.

Anything else I can help with?

------- Comment #16 From Alex Bogak 2006-10-26 14:09:16 0000 -------
forgot to mention, all above is regarding hspell-1.0

------- Comment #17 From Alon Bar-Lev (RETIRED) 2006-10-26 14:11:38 0000 -------
Use -j1... I will fix this in my next commit.

------- Comment #18 From Alon Bar-Lev (RETIRED) 2006-10-26 18:51:49 0000 -------
I've committed somewhat larger (a lot) patch, to work with automake, continue
of work started at upstream bugzilla. I hope upstream will merge this one as it
work correctly.

It also solves the parallel make issue, pkg-config issue and more.

Please check it out.

------- Comment #19 From Alex Bogak 2006-10-27 02:22:59 0000 -------
(In reply to comment #18)

AMD64, hspell-1.0-r1

Compiles fine with -j4.
Works fine.

------- Comment #20 From Alon Bar-Lev (RETIRED) 2006-10-27 02:53:57 0000 -------
I have updated bug#152274, in order to add all kdelibs lost keywords into
hspell.

------- Comment #21 From Diego Pettenò 2006-10-27 05:37:44 0000 -------
~amd64 re-added.

------- Comment #22 From Diego Pettenò 2006-10-27 05:50:58 0000 -------
~x86-fbsd re-added.

------- Comment #23 From Markus Rothe 2006-10-27 05:57:17 0000 -------
added ~ppc64

------- Comment #24 From Gustavo Zacarias (RETIRED) 2006-10-27 06:56:05 0000 -------
~sparc is back!

------- Comment #25 From Guy Martin 2006-11-24 06:09:59 0000 -------
This one is stable on hppa. Now dealing with -r6.

------- Comment #26 From Diego Pettenò 2006-11-30 19:14:58 0000 -------
Going to unify with bug #155505.

------- Comment #27 From Diego Pettenò 2006-11-30 19:15:20 0000 -------
*** Bug 155505 has been marked as a duplicate of this bug. ***

------- Comment #28 From Jason Wever (RETIRED) 2006-12-17 19:06:01 0000 -------
SPARC done

------- Comment #29 From Jeroen Roovers 2007-01-21 22:43:52 0000 -------
HPPA done.

------- Comment #30 From Joshua Kinard 2007-06-03 03:32:46 0000 -------
-r10 stable on mips.

First Last Prev Next    No search results available      Search page      Enter new bug