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

Bug 600810

Summary: net-libs/liblockfile-1.09: Failed to emerge; bad syntax
Product: Gentoo Linux Reporter: Alexey Vlasov <renton>
Component: Current packagesAssignee: Net-Mail Packages <net-mail+disabled>
Status: RESOLVED OBSOLETE    
Severity: normal CC: jstein, renton
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
config.log
emerge --info

Description Alexey Vlasov 2016-11-25 15:50:58 UTC
Created attachment 454338 [details]
build.log

# emerge -av net-libs/liblockfile

====== cut ======
if test "/var/tmp/portage/net-libs/liblockfile-1.09/image/" = ""; then ; fi
/bin/sh: -c: line 0: syntax error near unexpected token `;'
/bin/sh: -c: line 0: `if test "/var/tmp/portage/net-libs/liblockfile-1.09/image/" = ""; then ; fi'
Makefile:57: recipe for target 'install_shared' failed
make: *** [install_shared] Error 1
====== cut ======

full log in attach
Comment 1 Felix Janda 2016-11-25 16:26:00 UTC
From the build log:

checking for ldconfig... no

This should not happen. Do you have ldconfig in /sbin ?

Please attach the config.log, and post emerge --info. (Also, please do
not compress attachments unless necessary.)
Comment 2 Alexey Vlasov 2016-11-25 16:53:49 UTC
Created attachment 454352 [details]
config.log
Comment 3 Alexey Vlasov 2016-11-25 16:54:26 UTC
# ls -l /sbin/ldconfig
-rwxr-xr-x 1 root root 877848 Aug  4 07:08 /sbin/ldconfig
Comment 4 Alexey Vlasov 2016-11-25 16:55:50 UTC
Created attachment 454354 [details]
emerge --info
Comment 5 Felix Janda 2016-11-26 23:13:31 UTC
It is mysterious to me why the configure script does not find
/sbin/ldconfig in your setup. (But it is clear that this causes the
build failure you are seeing.)

You could try inserting some echo statements into the configure script
to see what is going on. (Look for "ldconfig" in the configure script.)
Comment 6 Benda Xu gentoo-dev 2017-09-15 05:37:40 UTC
I cannot reproduce it win liblockfile-1.14.  Feel free to reopen this bug if otherwise.