Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Broken package imapfilter-2.0.9
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
mgillespie
Apprentice
Apprentice


Joined: 16 Dec 2003
Posts: 170

PostPosted: Sun Mar 02, 2008 12:53 pm    Post subject: Broken package imapfilter-2.0.9 Reply with quote

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
View user's profile Send private message
didymos
Advocate
Advocate


Joined: 10 Oct 2005
Posts: 4798
Location: California

PostPosted: Sun Mar 02, 2008 7:57 pm    Post subject: Reply with quote

Try setting MAKEOPTS to "-j1" in make.conf.
_________________
Thomas S. Howard
Back to top
View user's profile Send private message
HolgerH
n00b
n00b


Joined: 02 Mar 2008
Posts: 15

PostPosted: Sun Mar 02, 2008 10:12 pm    Post subject: Reply with quote

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
View user's profile Send private message
mgillespie
Apprentice
Apprentice


Joined: 16 Dec 2003
Posts: 170

PostPosted: Sun Mar 02, 2008 10:14 pm    Post subject: Reply with quote

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
View user's profile Send private message
mgillespie
Apprentice
Apprentice


Joined: 16 Dec 2003
Posts: 170

PostPosted: Sun Mar 02, 2008 10:30 pm    Post subject: Reply with quote

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
View user's profile Send private message
HolgerH
n00b
n00b


Joined: 02 Mar 2008
Posts: 15

PostPosted: Sun Mar 02, 2008 10:58 pm    Post subject: Reply with quote

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
View user's profile Send private message
HolgerH
n00b
n00b


Joined: 02 Mar 2008
Posts: 15

PostPosted: Mon Mar 03, 2008 1:47 pm    Post subject: Reply with quote

New ebuild with patch: http://bugs.gentoo.org/show_bug.cgi?id=212192
Testers welcome, please comment on the bug.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum