Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 168744 - mail-client/elm-2.4_rc100-r1 : TLS module won't compile correctly
Summary: mail-client/elm-2.4_rc100-r1 : TLS module won't compile correctly
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal with 1 vote (vote)
Assignee: Net-Mail Packages
Depends on: 251381
  Show dependency tree
Reported: 2007-02-28 14:48 UTC by Poggi Jérôme
Modified: 2009-02-15 21:17 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---

emerge --info (emerge--info.txt,3.43 KB, text/plain)
2007-02-28 14:52 UTC, Poggi Jérôme
Log compilation (mail-client:elm-2.4_rc100-r1:20070228-143205.log,64.66 KB, text/plain)
2007-02-28 14:53 UTC, Poggi Jérôme
elm-2.4_p123.ebuild (elm-2.4_p123.ebuild,2.34 KB, text/plain)
2007-02-28 18:26 UTC, Peter Alfredsen (RETIRED)
gcc4-mime_types.c.patch (gcc4-mime_types.c.patch,512 bytes, patch)
2007-02-28 18:26 UTC, Peter Alfredsen (RETIRED)
Details | Diff
gcc4-misclib.h.patch (gcc4-misclib.h.patch,548 bytes, patch)
2007-02-28 18:27 UTC, Peter Alfredsen (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Poggi Jérôme 2007-02-28 14:48:40 UTC
gcc -I../include -fpcc-struct-return -fPIC  -O2 -march=pentium4 -fomit-frame-pointer   -c -o smtp.o smtp.c
ar r libsmtp.a smtp.o
ar: creating libsmtp.a
: libsmtp.a
gcc -fpcc-struct-return -fPIC  -shared -Xlinker -o ../../shlib/ smtp.o
make[2]: Leaving directory `/var/tmp/portage/mail-client/elm-2.4_rc100-r1/work/elm2.4.ME+.100/shared_libs/smtp'
cd smtp; make  -w ../../shlib/
make[2]: Entering directory `/var/tmp/portage/mail-client/elm-2.4_rc100-r1/work/elm2.4.ME+.100/shared_libs/smtp'
make[2]: `../../shlib/' is up to date.
make[2]: Leaving directory `/var/tmp/portage/mail-client/elm-2.4_rc100-r1/work/elm2.4.ME+.100/shared_libs/smtp'
cd tls; make  -w all
make[2]: Entering directory `/var/tmp/portage/mail-client/elm-2.4_rc100-r1/work/elm2.4.ME+.100/shared_libs/tls'
/bin/chmod u+w elmtls.h
/bin/touch elmtls.h
gcc -I../include  -fpcc-struct-return -fPIC  -O2 -march=pentium4 -fomit-frame-pointer   -c -o pop.o pop.c
In file included from /usr/include/openssl/crypto.h:131,
                 from /usr/include/openssl/comp.h:5,
                 from /usr/include/openssl/ssl.h:176,
                 from elmtls.h:11,
                 from pop.c:9:
/usr/include/openssl/ossl_typ.h:146: error: expected identifier or '(' before numeric constant
make[2]: *** [pop.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/mail-client/elm-2.4_rc100-r1/work/elm2.4.ME+.100/shared_libs/tls'
make[1]: *** [tls/libtls.a] Error 2
make[1]: Leaving directory `/var/tmp/portage/mail-client/elm-2.4_rc100-r1/work/elm2.4.ME+.100/shared_libs'
make: *** [all] Error 2

!!! ERROR: mail-client/elm-2.4_rc100-r1 failed.
Call stack:, line 1614:   Called dyn_compile, line 971:   Called qa_call 'src_compile'
  environment, line 1226:   Called src_compile
  elm-2.4_rc100-r1.ebuild, line 64:   Called die
Comment 1 Poggi Jérôme 2007-02-28 14:52:56 UTC
Created attachment 111552 [details]
emerge --info
Comment 2 Poggi Jérôme 2007-02-28 14:53:21 UTC
Created attachment 111554 [details]
Log compilation
Comment 3 Poggi Jérôme 2007-02-28 16:08:25 UTC
dev-libs/openssl is at version 0.9.8d

extract of 2 lines before and 2 after the line number 146
144:typedef struct conf_st CONF;
146:typedef struct store_st STORE;
147:typedef struct store_method_st STORE_METHOD;
Comment 4 Peter Alfredsen (RETIRED) gentoo-dev 2007-02-28 18:20:39 UTC
please mark bug #149442 as a duplicate of this, just to keep score.
Comment 5 Peter Alfredsen (RETIRED) gentoo-dev 2007-02-28 18:26:14 UTC
Created attachment 111602 [details]

This is an ebuild for the Patchlevel 123 of Elm Me+ 2.4. It compiles fine if you put the patches (below in a few minutes) into the files folder. It only has a problem with a sandbox violation. I was hoping someone smarter than me could figure that out.
Comment 6 Peter Alfredsen (RETIRED) gentoo-dev 2007-02-28 18:26:52 UTC
Created attachment 111604 [details, diff]

Patch 1
Comment 7 Peter Alfredsen (RETIRED) gentoo-dev 2007-02-28 18:27:21 UTC
Created attachment 111606 [details, diff]

Patch 2
Comment 8 Poggi Jérôme 2007-03-08 09:53:19 UTC
Work ok :-)
just the sandbox problem, Thank's.

make[1]: Entering directory `/var/tmp/portage/mail-client/elm-2.4_p123/work/elm2.4.ME+.123'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/var/tmp/portage/mail-client/elm-2.4_p123/work/elm2.4.ME+.123'
bin/elmregister master make   install_s
ACCESS DENIED  open_wr:   /etc/elm/elm.filelist
bin/elmregister: Failed to create or open file /etc/elm/elm.filelist on /: /etc/elm/elm.filelist
make: *** [install] Error 1
Comment 9 Peter Alfredsen (RETIRED) gentoo-dev 2007-03-08 10:13:08 UTC
(In reply to comment #8)
> Work ok :-)
> just the sandbox problem, Thank's.

Just to let you know, I'm working on this. I have an ebuild that builds (more) correctly. But the elmregister program and helpers insist on being run in /, which causes the sandbox errors. I could probably work around this by doing it in post_inst, but I'v got a fix from the author for some of my problems and I think I can get it to install correctly.
Comment 10 Greg Lindahl 2007-10-11 20:58:53 UTC
Guys, the failure to build (which is biting many people as a glsa caused everyone to need to recompile elm) can be fixed by reordering includes; the changelog for P123 says that. Why can't you put that fix in immediately to the existing P100 and fix the sandbox problem in P123 later?

Comment 11 Torsten Veller (RETIRED) gentoo-dev 2009-02-15 21:17:31 UTC
elm was removed from the tree.