First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 46432
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Spell checking utilities and dictionaries -- related bugs <app-dicts@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Dave <clippyhater@yahoo.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 46432 depends on: Show dependency tree
Show dependency graph
Bug 46432 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: 2004-03-31 19:21 0000
I see messages of

In function 'initialize_mousetype':: undefined reference to 'Gpm_Open'
In function 'initialize_mousetype':: undefined reference to 'gpm_fd'
In function '_nc_mouse_event':: undefined reference to 'Gpm_GetEvent'
In function 'mouse_activate':: undefined reference to 'gpm_fd'

!!! ERROR: app-text/aspell-0.50.3 failed.
!!! Function src_compile, Line 35, Exitcode 2
!!! (no error message)

In the forums, a workaround seems to have been discoverd:

USE="-gpm" emerge ncurses aspell

Which seems fine if you don't want to use the mouse in the console, but this probably should be looked into (yes, I want to use the mouse in the console).

Oddly enough, it had been successfully emerged previously, and I'm now in the middle of an emerge -e world, as I changed my CFLAGS flags to be significantly less aggressive and wanted all apps built with the new CFLAGS.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




CFLAGS="-march=pentium4 -O2 -fPIC -DPIC -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
USE includes "gpm ncurses aspell"

------- Comment #1 From David Röhr 2004-04-01 09:18:22 0000 -------
I have the same problem, with the same type of system.

CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"

Tested against aspell-0.50.4.1 and aspell-0.50.5. Is this a gpm error?

Also tested to downgrade gpm from 1.20.1 to gpm-1.20.0-r6, this didn't help. Any ideas?

------- Comment #2 From Martin Diers 2004-04-01 16:49:20 0000 -------
This is caused by a bug in the ebuild. It does not include the -lgpm flag in
LDFLAGS.

To work around this, edit the build, and change the pkg_setup function to
match:

pkg_setup() {
    if [ ${ARCH} = "ppc" ] ; then
        CXXFLAGS="-O2 -fsigned-char"
        CFLAGS=${CXXFLAGS}
    fi
    LDFLAGS="-lgpm"
}

------- Comment #3 From Jon Portnoy (RETIRED) 2004-04-02 10:52:28 0000 -------
*** Bug 46399 has been marked as a duplicate of this bug. ***

------- Comment #4 From Jon Portnoy (RETIRED) 2004-04-02 10:58:29 0000 -------
Ideally it should be:

use gpm && LDFLAGS="-lgpm"

with a USE=gpm dep for gpm. 

We can't really check to see if ncurses was built with USE=gpm, so for now we're stuck with that little kludge.

Upping severity, this'll effect a pretty large number of people.

------- Comment #5 From Jon Portnoy (RETIRED) 2004-04-02 11:15:52 0000 -------
Committed.

------- Comment #6 From Seemant Kulleen (RETIRED) 2004-04-02 12:01:16 0000 -------
*** Bug 46423 has been marked as a duplicate of this bug. ***

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