Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 587600

Summary: mail-client/mailx-8.1.2.20050715-r7: /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -llockfile at x32 profile
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Net-Mail Packages <net-mail+disabled>
Status: RESOLVED WORKSFORME    
Severity: normal CC: vapier
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Toralf Förster gentoo-dev 2016-06-30 16:59:08 UTC
Today I tried to setup an default/linux/amd64/13.0/x32 chroot image, but it failed in :


Calculating dependencies  .... done!
[ebuild  N     ] mail-client/mailx-8.1.2.20050715-r7::gentoo  0 KiB
[ebuild  N     ]  virtual/mta-1::gentoo  0 KiB
[ebuild  N     ]  net-libs/liblockfile-1.09::gentoo  0 KiB
[ebuild  N     ]  mail-client/mailx-support-20060102-r2::gentoo  0 KiB

Total: 4 packages (4 new), Size of downloads: 0 KiB
...

x86_64-pc-linux-gnu-gcc -D_BSD_SOURCE -DDEBIAN -g -Wall -IEXT -march=native -O2 -pipe -c EXT/vis.c -o EXT/vis.o
In file included from [01m[K/usr/include/sys/types.h:25:0[m[K,
                 from [01m[KEXT/vis.c:34[m[K:
[01m[K/usr/include/features.h:148:3:[m[K [01;35m[Kwarning: [m[K#warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
[01;32m[K   ^[m[K
x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -o mail version.o aux.o cmd1.o cmd2.o cmd3.o cmdtab.o collect.o edit.o fio.o getname.o head.o v7.local.o lex.o list.o main.o names.o popen.o quit.o send.o strings.o temp.o tty.o vars.o EXT/strlcat.o EXT/strlcpy.o EXT/vis.o -llockfile
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -llockfile
collect2: error: ld returned 1 exit status
Makefile:33: recipe for target 'mail' failed
make: *** [mail] Error 1
 * ERROR: mail-client/mailx-8.1.2.20050715-r7::gentoo failed (compile phase):
 *   emake failed
Comment 1 Matthias Maier gentoo-dev 2018-01-01 18:44:47 UTC
That's a strange error. Please try to reproduce again.
mailx has a valid DEPEND on liblockfile that provides the library.