| View previous topic :: View next topic |
| Author |
Message |
mgillespie Apprentice

Joined: 16 Dec 2003 Posts: 170
|
Posted: Sun Mar 02, 2008 12:53 pm Post subject: Broken package imapfilter-2.0.9 |
|
|
| Code: | st.o response.o session.o signal.o socket.o system.o -lm -llua -lpcre -lssl -lcr ypto
core.o: In function `luaopen_ifcore':
core.c:(.text+0x15): undefined reference to `luaL_openlib'
pcre.o: In function `luaopen_ifre':
pcre.c:(.text+0x15): undefined reference to `luaL_openlib'
system.o: In function `luaopen_ifsys':
system.c:(.text+0x15): undefined reference to `luaL_openlib'
collect2: ld returned 1 exit status
make: *** [imapfilter] Error 1
*
* ERROR: mail-filter/imapfilter-2.0.9 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 2015: Called die
* The specific snippet of code:
* emake MYCFLAGS="${CFLAGS}" || die "parallel make failed"
* The die message:
* parallel make failed
*
|
I have the latest stable LUA installed. 5.1.3-r1 |
|
| Back to top |
|
 |
didymos Advocate


Joined: 10 Oct 2005 Posts: 4798 Location: California
|
Posted: Sun Mar 02, 2008 7:57 pm Post subject: |
|
|
Try setting MAKEOPTS to "-j1" in make.conf. _________________ Thomas S. Howard |
|
| Back to top |
|
 |
HolgerH n00b

Joined: 02 Mar 2008 Posts: 15
|
Posted: Sun Mar 02, 2008 10:12 pm Post subject: |
|
|
| 5.1.3-r1 is ~x86; the reason for your error is that some functionality in Lua related to module loading is deprecated. Imapfilter has not yet been moved to the undeprecated API, so you will have to re-emerge lua with USE="deprecated" to enable the old functions (or use the stable 5.1.2). After that imapfilter will emerge and work fine. Btw 2.0.10 is out but not yet in portage.. |
|
| Back to top |
|
 |
mgillespie Apprentice

Joined: 16 Dec 2003 Posts: 170
|
Posted: Sun Mar 02, 2008 10:14 pm Post subject: |
|
|
Same problem. I have had problems in the past with this ebuild, with missing dependancies, it's been a troublesome package. Looks like that's still the case.
Suprising it's got the stable tag. |
|
| Back to top |
|
 |
mgillespie Apprentice

Joined: 16 Dec 2003 Posts: 170
|
Posted: Sun Mar 02, 2008 10:30 pm Post subject: |
|
|
| HolgerH wrote: | | 5.1.3-r1 is ~x86; the reason for your error is that some functionality in Lua related to module loading is deprecated. Imapfilter has not yet been moved to the undeprecated API, so you will have to re-emerge lua with USE="deprecated" to enable the old functions (or use the stable 5.1.2). After that imapfilter will emerge and work fine. Btw 2.0.10 is out but not yet in portage.. |
Thanks, that seems to have fixed it. Are there any potential future problems from having deprecated in my USE flags? Many of the fixes suggested here usually screw things up royally in the future... |
|
| Back to top |
|
 |
HolgerH n00b

Joined: 02 Mar 2008 Posts: 15
|
Posted: Sun Mar 02, 2008 10:58 pm Post subject: |
|
|
| mgillespie wrote: |
Thanks, that seems to have fixed it. Are there any potential future problems from having deprecated in my USE flags? Many of the fixes suggested here usually screw things up royally in the future... |
If you want to restrict the flag only to Lua, use:
| Code: | | echo "dev-lang/lua deprecated" >> /etc/portage/package.use |
That way it has no effect on any other packages. However, the point behind the flag is to enable backwards compatiblity for a package, so it should create less future problems, not more - at least for the transition period of that package. |
|
| Back to top |
|
 |
HolgerH n00b

Joined: 02 Mar 2008 Posts: 15
|
|
| Back to top |
|
 |
|