First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 158460
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Net-Mail Packages <net-mail@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Dan A. Dickey <dan.dickey@savvis.net>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
imapfilter.ebuild.patch Ebuild patch patch Mark Wagner 2006-12-20 19:29 0000 377 bytes Details | Diff
imapfilter-lua.patch imapfilter-lua.patch patch Mark Wagner 2006-12-20 19:30 0000 435 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 158460 depends on: Show dependency tree
Bug 158460 blocks: 155518
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: 2006-12-18 07:06 0000
lua updated to 5.1.1 this morning and imapfilter stopped working as it needed
a liblualib.so.  lua 5.1.1 does not provided this anymore.  imapfilter needs to
be updated to not link against lualib, but just lua.  This looks to be an
upstream issue, and the imapfilter folks need to make the change.
I worked around the problem by masking lua-5.1.1 which downgraded my system to
lua-5.0.3 and now imapfilter is happy again.

------- Comment #1 From Jakub Moc (RETIRED) 2006-12-18 07:10:07 0000 -------
Did you try to just re-emerge it? Or, it doesn't compile either?

------- Comment #2 From Dan A. Dickey 2006-12-18 07:13:31 0000 -------
Re-emerge what, exactly?  I ran revdep-rebuild which tried to re-emerge
imapfilter - which failed.  It is trying to link with both liblua and
liblualib.
I also came across bug 155518 which seems to imply gentoo is creating the
name liblua and/or liblualib.  Please take a look at that bug too.

------- Comment #3 From Jakub Moc (RETIRED) 2006-12-18 07:21:52 0000 -------
(In reply to comment #2)
> Re-emerge what, exactly? 

> I also came across bug 155518 which seems to imply gentoo is creating the
> name liblua and/or liblualib.  Please take a look at that bug too.


Re-emerge imapfilter w/ lua-5.1.1; post the errors please and reopen the bug,
the compile needs to be fixed.

------- Comment #4 From Dan A. Dickey 2006-12-18 07:38:01 0000 -------
All right, here you go (this piece shows that lua-5.1.1 is installed):
# emerge -pv lua

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] dev-lang/lua-5.1.1  USE="readline -static" 0 kB

And here is the attempted re-emerge of imapfilter:
# emerge -v --oneshot imapfilter
Calculating dependencies... done!

>>> Emerging (1 of 1) mail-filter/imapfilter-1.2.2 to /
 * imapfilter-1.2.2.tar.bz2 MD5 ;-) ...                                   [ ok
]
 * imapfilter-1.2.2.tar.bz2 RMD160 ;-) ...                                [ ok
]
 * imapfilter-1.2.2.tar.bz2 SHA1 ;-) ...                                  [ ok
]
 * imapfilter-1.2.2.tar.bz2 SHA256 ;-) ...                                [ ok
]
 * imapfilter-1.2.2.tar.bz2 size ;-) ...                                  [ ok
]
 * checking ebuild checksums ;-) ...                                      [ ok
]
 * checking auxfile checksums ;-) ...                                     [ ok
]
 * checking miscfile checksums ;-) ...                                    [ ok
]
 * checking imapfilter-1.2.2.tar.bz2 ;-) ...                              [ ok
]
>>> Unpacking source...
>>> Unpacking imapfilter-1.2.2.tar.bz2 to /var/tmp/portage/mail-filter/imapfilter-1.2.2/work
 * Applying imapfilter-1.0.patch ...                                      [ ok
]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/mail-filter/imapfilter-1.2.2/work/imapfilter-1.2.2 ...
cc -march=prescott -O2 -pipe -fomit-frame-pointer
-DMAKEFILE_SHAREDIR='"/usr/share/imapfilter"' -I/usr/local/include   -c -o
auth.o auth.c
cc -march=prescott -O2 -pipe -fomit-frame-pointer
-DMAKEFILE_SHAREDIR='"/usr/share/imapfilter"' -I/usr/local/include   -c -o
buffer.o buffer.c
cc -march=prescott -O2 -pipe -fomit-frame-pointer
-DMAKEFILE_SHAREDIR='"/usr/share/imapfilter"' -I/usr/local/include   -c -o
cert.o cert.c
cc -march=prescott -O2 -pipe -fomit-frame-pointer
-DMAKEFILE_SHAREDIR='"/usr/share/imapfilter"' -I/usr/local/include   -c -o
core.o core.c
cc -march=prescott -O2 -pipe -fomit-frame-pointer
-DMAKEFILE_SHAREDIR='"/usr/share/imapfilter"' -I/usr/local/include   -c -o
file.o file.c
cc -march=prescott -O2 -pipe -fomit-frame-pointer
-DMAKEFILE_SHAREDIR='"/usr/share/imapfilter"' -I/usr/local/include   -c -o
imap.o imap.c
cc -march=prescott -O2 -pipe -fomit-frame-pointer
-DMAKEFILE_SHAREDIR='"/usr/share/imapfilter"' -I/usr/local/include   -c -o
imapfilter.o imapfilter.c
cc -march=prescott -O2 -pipe -fomit-frame-pointer
-DMAKEFILE_SHAREDIR='"/usr/share/imapfilter"' -I/usr/local/include   -c -o
list.o list.c
cc -march=prescott -O2 -pipe -fomit-frame-pointer
-DMAKEFILE_SHAREDIR='"/usr/share/imapfilter"' -I/usr/local/include   -c -o
log.o log.c
cc -march=prescott -O2 -pipe -fomit-frame-pointer
-DMAKEFILE_SHAREDIR='"/usr/share/imapfilter"' -I/usr/local/include   -c -o
lua.o lua.c
cc -march=prescott -O2 -pipe -fomit-frame-pointer
-DMAKEFILE_SHAREDIR='"/usr/share/imapfilter"' -I/usr/local/include   -c -o
memory.o memory.c
cc -march=prescott -O2 -pipe -fomit-frame-pointer
-DMAKEFILE_SHAREDIR='"/usr/share/imapfilter"' -I/usr/local/include   -c -o
misc.o misc.c
cc -march=prescott -O2 -pipe -fomit-frame-pointer
-DMAKEFILE_SHAREDIR='"/usr/share/imapfilter"' -I/usr/local/include   -c -o
namespace.o namespace.c
cc -march=prescott -O2 -pipe -fomit-frame-pointer
-DMAKEFILE_SHAREDIR='"/usr/share/imapfilter"' -I/usr/local/include   -c -o
regexp.o regexp.c
cc -march=prescott -O2 -pipe -fomit-frame-pointer
-DMAKEFILE_SHAREDIR='"/usr/share/imapfilter"' -I/usr/local/include   -c -o
request.o request.c
cc -march=prescott -O2 -pipe -fomit-frame-pointer
-DMAKEFILE_SHAREDIR='"/usr/share/imapfilter"' -I/usr/local/include   -c -o
response.o response.c
cc -march=prescott -O2 -pipe -fomit-frame-pointer
-DMAKEFILE_SHAREDIR='"/usr/share/imapfilter"' -I/usr/local/include   -c -o
session.o session.c
cc -march=prescott -O2 -pipe -fomit-frame-pointer
-DMAKEFILE_SHAREDIR='"/usr/share/imapfilter"' -I/usr/local/include   -c -o
signal.o signal.c
cc -march=prescott -O2 -pipe -fomit-frame-pointer
-DMAKEFILE_SHAREDIR='"/usr/share/imapfilter"' -I/usr/local/include   -c -o
socket.o socket.c
cc -march=prescott -O2 -pipe -fomit-frame-pointer
-DMAKEFILE_SHAREDIR='"/usr/share/imapfilter"' -I/usr/local/include   -c -o
system.o system.c
cc -o imapfilter  -L/usr/local/lib auth.o buffer.o cert.o core.o file.o imap.o
imapfilter.o list.o log.o lua.o memory.o misc.o namespace.o regexp.o request.o
response.o session.o signal.o socket.o system.o -lm -llua -llualib -lssl
-lcrypto
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld:
cannot find -llualib
collect2: ld returned 1 exit status
make: *** [imapfilter] Error 1

!!! ERROR: mail-filter/imapfilter-1.2.2 failed.
Call stack:
  ebuild.sh, line 1580:   Called dyn_compile
  ebuild.sh, line 945:   Called src_compile
  imapfilter-1.2.2.ebuild, line 27:   Called die

!!! parallel make failed
!!! If you need support, post the topmost build error, and the call stack if
relevant.

And, just for a little more info:
# ls -lt /usr/lib/liblua*
-rw-r--r-- 1 root root 201700 Dec 18 09:33 /usr/lib/liblua.a
-rw-r--r-- 1 root root    789 Dec 18 09:33 /usr/lib/liblua.la
lrwxrwxrwx 1 root root     15 Dec 18 09:33 /usr/lib/liblua.so ->
liblua.so.5.1.1
lrwxrwxrwx 1 root root     15 Dec 18 09:33 /usr/lib/liblua.so.5 ->
liblua.so.5.1.1
-rwxr-xr-x 1 root root 136472 Dec 18 09:33 /usr/lib/liblua.so.5.1.1

Anything else I can provide, please let me know. Thanks.

------- Comment #5 From Jakub Moc (RETIRED) 2006-12-18 07:40:29 0000 -------
Thanks. 

------- Comment #6 From Mark Wagner 2006-12-20 19:29:46 0000 -------
Created an attachment (id=104486) [details]
Ebuild patch

------- Comment #7 From Mark Wagner 2006-12-20 19:30:26 0000 -------
Created an attachment (id=104487) [details]
Remove -llualib from Makefile

------- Comment #8 From Mark Wagner 2006-12-20 19:31:55 0000 -------
Attached is a possible fix.

------- Comment #9 From Matti Bickel 2007-01-22 20:35:35 0000 -------
Well, i'll commit the patch, assuming it fixed your problems. I installed
imapfilter just fine w/ it, but lack an idea how to test it effectivly.

------- Comment #10 From Matti Bickel 2007-01-22 21:05:59 0000 -------
Fixed in CVS.

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