Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 945360 - net-libs/c-client-2007f_p7-r1: failing to build with static-libs
Summary: net-libs/c-client-2007f_p7-r1: failing to build with static-libs
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-11-29 14:30 UTC by Lothar Serra Mari
Modified: 2024-11-29 15:46 UTC (History)
2 users (show)

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


Attachments
Build log (c-client-buildlog.log,54.22 KB, text/x-log)
2024-11-29 14:30 UTC, Lothar Serra Mari
Details
emerge info (c-client-emergeinfo.log,5.96 KB, text/x-log)
2024-11-29 14:30 UTC, Lothar Serra Mari
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lothar Serra Mari 2024-11-29 14:30:00 UTC
Created attachment 912712 [details]
Build log

[ebuild  N    ] net-libs/c-client-2007f_p7-r1  USE="ipv6 pam ssl static-libs -doc -kerberos -topal" 


Currently, building c-client with static-libs fails since the Makefile is removing c-client.a at the end of the compilation before the installation itself is done.

make[2]: Entering directory '/var/tmp/portage/net-libs/c-client-2007f_p7-r1/work/imap-2007f/c-client'
sh -c 'rm -rf c-client.a || true'
x86_64-pc-linux-gnu-gcc --shared -Wl,-soname,libc-client.so. -o libc-client.so osdep.o mail.o misc.o newsrc.o smanager.o utf8.o utf8aux.o siglocal.o dummy.o pseudo.o netmsg.o flstring.o fdstring.o rfc822.o nntp.o smtp.o imap4r1.o pop3.o unix.o mbx.o mmdf.o tenex.o mtx.o news.o phile.o mh.o mx.o mix.o -lpam -ldl -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -L/usr/lib64 -lssl -lcrypto  ;true libc-client.so
x86_64-pc-linux-gnu-gcc -O2 -pipe -fPIC -DCHUNKSIZE=65536 -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs  -shared 	-Wl,-soname,libc-client.so.1 -o libc-client.so.1.0.0 osdep.o mail.o misc.o newsrc.o smanager.o utf8.o utf8aux.o siglocal.o dummy.o pseudo.o netmsg.o flstring.o fdstring.o rfc822.o nntp.o smtp.o imap4r1.o pop3.o unix.o mbx.o mmdf.o tenex.o mtx.o news.o phile.o mh.o mx.o mix.o -L/usr/lib64 -lssl -lcrypto -L../c-client -lc-client -lpam -ldl -lc
/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: osdep.o: in function `ssl_onceonlyinit.part.0':
osdep.c:(.text+0x5fce): warning: the use of `tmpnam' is dangerous, better use `mkstemp'
/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: osdep.o: in function `ssl_onceonlyinit.part.0':
osdep.c:(.text+0x5fce): warning: the use of `tmpnam' is dangerous, better use `mkstemp'
make[2]: Leaving directory '/var/tmp/portage/net-libs/c-client-2007f_p7-r1/work/imap-2007f/c-client'
sh -c 'rm -rf rebuild || true'
make[1]: Leaving directory '/var/tmp/portage/net-libs/c-client-2007f_p7-r1/work/imap-2007f'
>>> Source compiled.
>>> Test phase [not enabled]: net-libs/c-client-2007f_p7-r1

>>> Install net-libs/c-client-2007f_p7-r1 into /var/tmp/portage/net-libs/c-client-2007f_p7-r1/image
!!! dolib: c-client/c-client.a does not exist
 * ERROR: net-libs/c-client-2007f_p7-r1::gentoo failed (install phase):
 *   dolib failed
Comment 1 Lothar Serra Mari 2024-11-29 14:30:43 UTC
Created attachment 912713 [details]
emerge info