Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] app-admin/sudo-1.8.11: emake failed
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Perfect Gentleman
Veteran
Veteran


Joined: 18 May 2014
Posts: 1249

PostPosted: Tue Sep 30, 2014 2:38 am    Post subject: [Solved] app-admin/sudo-1.8.11: emake failed Reply with quote

Code:
libtool: link: x86_64-pc-linux-gnu-gcc -shared  -fPIC -DPIC  .libs/sudo_auth.o .libs/getspwuid.o .libs/passwd.o .libs/boottime.o .libs/check.o .libs/env.o .libs/find_path.o .libs/goodpath.o .libs/group_plugin.o .libs/interfaces.o .libs/iolog.o .libs/iolog_path.o .libs/locale.o .libs/logging.o .libs/logwrap.o .libs/parse.o .libs/policy.o .libs/prompt.o .libs/set_perms.o .libs/sudo_nss.o .libs/sudoers.o .libs/timestamp.o  -Wl,--whole-archive ./.libs/libparsesudoers.a -Wl,--no-whole-archive  -Wl,-rpath -Wl,/tmp/portage/app-admin/sudo-1.8.11/work/sudo-1.8.11/lib/util/.libs -Wl,-rpath -Wl,/usr/libexec/sudo -lcrypt -lshadow ../../lib/util/.libs/libsudo_util.so -ldl -lz  -Wl,-O1 -Wl,--as-needed -Wl,-z -Wl,relro   -Wl,-soname -Wl,sudoers.so -o .libs/sudoers.so
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lshadow
collect2: error: ld returned 1 exit status
Makefile:204: recipe for target 'sudoers.la' failed
make[1]: *** [sudoers.la] Error 1
make[1]: Leaving directory '/tmp/portage/app-admin/sudo-1.8.11/work/sudo-1.8.11/plugins/sudoers'
Makefile:89: recipe for target 'all' failed
make: *** [all] Error 2

Code:
[ebuild     U  ] app-admin/sudo-1.8.11 [1.8.10_p3] USE="nls -ldap -offensive -pam (-selinux) -sendmail -skey" 2,344 KiB

Code:
*  sys-apps/shadow
      Latest version available: 4.2.1
      Latest version installed: 4.2.1


what's wrong?


Last edited by Perfect Gentleman on Tue Sep 30, 2014 7:38 am; edited 2 times in total
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21633

PostPosted: Tue Sep 30, 2014 3:25 am    Post subject: Reply with quote

That is an unusual build directory. What is the output of emerge --info?
Back to top
View user's profile Send private message
Perfect Gentleman
Veteran
Veteran


Joined: 18 May 2014
Posts: 1249

PostPosted: Tue Sep 30, 2014 4:47 am    Post subject: Reply with quote

Hu, I made a bug report here https://bugs.gentoo.org/show_bug.cgi?id=524074 .
It's just build directory, it's wrong output. Corrected it.
sudo-1.8.10_p3 builds fine.
Back to top
View user's profile Send private message
Fran
Guru
Guru


Joined: 29 Feb 2004
Posts: 530
Location: Coruña (Spain)

PostPosted: Tue Sep 30, 2014 7:19 am    Post subject: Reply with quote

I posted a patch in the bugzilla.
Back to top
View user's profile Send private message
Perfect Gentleman
Veteran
Veteran


Joined: 18 May 2014
Posts: 1249

PostPosted: Tue Sep 30, 2014 7:31 am    Post subject: Reply with quote

thanx, Fran. It works.
Back to top
View user's profile Send private message
xsi
n00b
n00b


Joined: 23 Dec 2011
Posts: 50
Location: Ukraine, Kiev, russian language

PostPosted: Tue Sep 30, 2014 1:13 pm    Post subject: Reply with quote

Sorry I'm not a very experienced Gentoo user. I've got the same problem right now.
How do I fix it in the same way?
thanks in advance
_________________
Phenom X2 560
16 GB RAM
USB 3.0 SATA 3.0
SSD Crucial M4 64GB
GeForce 8400 GS
Ensoniq ES1371 audio
Back to top
View user's profile Send private message
Perfect Gentleman
Veteran
Veteran


Joined: 18 May 2014
Posts: 1249

PostPosted: Tue Sep 30, 2014 2:30 pm    Post subject: Reply with quote

xsi,
epatch_user, repoman manifest will help you
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum