Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
net-libs/libvncserver-0.9.11-r1 failed to build [SOLVED]
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
Duncan Mac Leod
Guru
Guru


Joined: 02 May 2004
Posts: 305
Location: Germany

PostPosted: Tue Jan 24, 2017 10:37 pm    Post subject: net-libs/libvncserver-0.9.11-r1 failed to build [SOLVED] Reply with quote

[ebuild N ] net-libs/libvncserver-0.9.11-r1::gentoo USE="24bpp ipv6 jpeg png ssl threads zlib -gcrypt -gnutls (-libressl) -static-libs -systemd {-test}"

>>> Source configured.
>>> Compiling source in /var/tmp/portage/net-libs/libvncserver-0.9.11-r1/work/libvncserver-LibVNCServer-0.9.11 ...
* abi_x86_32.x86: running multilib-minimal_abi_src_compile
make -j2
make all-recursive
make[1]: Entering directory '/var/tmp/portage/net-libs/libvncserver-0.9.11-r1/work/libvncserver-LibVNCServer-0.9.11-abi_x86_32.x86'
Making all in libvncserver
make[2]: Entering directory '/var/tmp/portage/net-libs/libvncserver-0.9.11-r1/work/libvncserver-LibVNCServer-0.9.11-abi_x86_32.x86/libvncserver'
/bin/sh ../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/net-libs/libvncserver-0.9.11-r1/work/libvncserver-LibVNCServer-0.9.11/libvncserver -I.. -I/var/tmp/portage/net-libs/libvncserver-0.9.11-r1/work/libvncserver-LibVNCServer-0.9.11 -I/var/tmp/portage/net-libs/libvncserver-0.9.11-r1/work/libvncserver-LibVNCServer-0.9.11/common -O2 -march=i686 -pipe -Wall -c -o libvncserver_la-main.lo `test -f 'main.c' || echo '/var/tmp/portage/net-libs/libvncserver-0.9.11-r1/work/libvncserver-LibVNCServer-0.9.11/libvncserver/'`main.c
/bin/sh ../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/net-libs/libvncserver-0.9.11-r1/work/libvncserver-LibVNCServer-0.9.11/libvncserver -I.. -I/var/tmp/portage/net-libs/libvncserver-0.9.11-r1/work/libvncserver-LibVNCServer-0.9.11 -I/var/tmp/portage/net-libs/libvncserver-0.9.11-r1/work/libvncserver-LibVNCServer-0.9.11/common -O2 -march=i686 -pipe -Wall -c -o libvncserver_la-rfbserver.lo `test -f 'rfbserver.c' || echo '/var/tmp/portage/net-libs/libvncserver-0.9.11-r1/work/libvncserver-LibVNCServer-0.9.11/libvncserver/'`rfbserver.c
libtool: compile: i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/net-libs/libvncserver-0.9.11-r1/work/libvncserver-LibVNCServer-0.9.11/libvncserver -I.. -I/var/tmp/portage/net-libs/libvncserver-0.9.11-r1/work/libvncserver-LibVNCServer-0.9.11 -I/var/tmp/portage/net-libs/libvncserver-0.9.11-r1/work/libvncserver-LibVNCServer-0.9.11/common -O2 -march=i686 -pipe -Wall -c /var/tmp/portage/net-libs/libvncserver-0.9.11-r1/work/libvncserver-LibVNCServer-0.9.11/libvncserver/main.c -fPIC -DPIC -o .libs/libvncserver_la-main.o
libtool: compile: i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/net-libs/libvncserver-0.9.11-r1/work/libvncserver-LibVNCServer-0.9.11/libvncserver -I.. -I/var/tmp/portage/net-libs/libvncserver-0.9.11-r1/work/libvncserver-LibVNCServer-0.9.11 -I/var/tmp/portage/net-libs/libvncserver-0.9.11-r1/work/libvncserver-LibVNCServer-0.9.11/common -O2 -march=i686 -pipe -Wall -c /var/tmp/portage/net-libs/libvncserver-0.9.11-r1/work/libvncserver-LibVNCServer-0.9.11/libvncserver/rfbserver.c -fPIC -DPIC -o .libs/libvncserver_la-rfbserver.o
In file included from /var/tmp/portage/net-libs/libvncserver-0.9.11-r1/work/libvncserver-LibVNCServer-0.9.11/libvncserver/main.c:16:0:
/var/tmp/portage/net-libs/libvncserver-0.9.11-r1/work/libvncserver-LibVNCServer-0.9.11/rfb/rfb.h:284:24: error: field 'udpRemoteAddr' has incomplete type
struct sockaddr_in udpRemoteAddr;
^
In file included from /usr/include/bits/errno.h:24:0,
from /usr/include/errno.h:35,
from /var/tmp/portage/net-libs/libvncserver-0.9.11-r1/work/libvncserver-LibVNCServer-0.9.11/libvncserver/main.c:21:
/usr/include/linux/errno.h:1:23: fatal error: asm/errno.h: No such file or directory
#include <asm/errno.h>
^
compilation terminated.
Makefile:645: recipe for target 'libvncserver_la-main.lo' failed
make[2]: *** [libvncserver_la-main.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /var/tmp/portage/net-libs/libvncserver-0.9.11-r1/work/libvncserver-LibVNCServer-0.9.11/libvncserver/rfbserver.c:37:0:
/var/tmp/portage/net-libs/libvncserver-0.9.11-r1/work/libvncserver-LibVNCServer-0.9.11/rfb/rfb.h:284:24: error: field 'udpRemoteAddr' has incomplete type
struct sockaddr_in udpRemoteAddr;
^
In file included from /usr/include/bits/errno.h:24:0,
from /usr/include/errno.h:35,
from /var/tmp/portage/net-libs/libvncserver-0.9.11-r1/work/libvncserver-LibVNCServer-0.9.11/libvncserver/rfbserver.c:85:
/usr/include/linux/errno.h:1:23: fatal error: asm/errno.h: No such file or directory
#include <asm/errno.h>
^
compilation terminated.
Makefile:652: recipe for target 'libvncserver_la-rfbserver.lo' failed
make[2]: *** [libvncserver_la-rfbserver.lo] Error 1
make[2]: Leaving directory '/var/tmp/portage/net-libs/libvncserver-0.9.11-r1/work/libvncserver-LibVNCServer-0.9.11-abi_x86_32.x86/libvncserver'
Makefile:547: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/net-libs/libvncserver-0.9.11-r1/work/libvncserver-LibVNCServer-0.9.11-abi_x86_32.x86'
Makefile:394: recipe for target 'all' failed
make: *** [all] Error 2
* ERROR: net-libs/libvncserver-0.9.11-r1::gentoo failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=net-libs/libvncserver-0.9.11-r1::gentoo'`,
* the complete build log and the output of `emerge -pqv '=net-libs/libvncserver-0.9.11-r1::gentoo'`.
* The complete build log is located at '/var/tmp/portage/net-libs/libvncserver-0.9.11-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/net-libs/libvncserver-0.9.11-r1/temp/environment'.
* Working directory: '/var/tmp/portage/net-libs/libvncserver-0.9.11-r1/work/libvncserver-LibVNCServer-0.9.11-abi_x86_32.x86'
* S: '/var/tmp/portage/net-libs/libvncserver-0.9.11-r1/work/libvncserver-LibVNCServer-0.9.11'


Last edited by Duncan Mac Leod on Wed Jan 25, 2017 10:41 am; edited 1 time in total
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3846
Location: Austro Bavaria

PostPosted: Tue Jan 24, 2017 10:49 pm    Post subject: Reply with quote

I assume you are well aware what portage tells you these days. So plesae use wgetpaste and upload all those important files. thanks
Back to top
View user's profile Send private message
veremit
n00b
n00b


Joined: 23 Jan 2017
Posts: 1

PostPosted: Tue Jan 24, 2017 11:29 pm    Post subject: Please file a bug as bugs.g.o Reply with quote

Please file (and check for) a bug at https://bugs.gentoo.org/ and we can check/track progress on this. All the information is on the page, and you will need to save off some of the information to attach to the bug. Feel free to post a link to it in the thread once you've done so, to cross-link.
Thanks!
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30842
Location: here

PostPosted: Wed Jan 25, 2017 7:12 am    Post subject: Reply with quote

Try to re-emerge linux-headers package
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
gorbag
n00b
n00b


Joined: 29 Apr 2004
Posts: 19

PostPosted: Wed Jan 25, 2017 9:09 am    Post subject: Reply with quote

I just got the same issue. linux-headers is installed, but some of its files had gone missing. A re-emerge fixed the problem. But I would like to know what removed the files. There was a new version of portage that emerged successfully before the error happened, perhaps it was that? However I had a second machine that also updated portage but did not lose the files.
Back to top
View user's profile Send private message
Duncan Mac Leod
Guru
Guru


Joined: 02 May 2004
Posts: 305
Location: Germany

PostPosted: Wed Jan 25, 2017 10:40 am    Post subject: Reply with quote

fedeliallalinea wrote:
Try to re-emerge linux-headers package


THANK YOU! :D

Re-emerging Linux-Headers did the trick.

Any info WHY linux-header files were removed?
Back to top
View user's profile Send private message
figueroa
Advocate
Advocate


Joined: 14 Aug 2005
Posts: 2929
Location: Edge of marsh USA

PostPosted: Mon Mar 06, 2017 4:49 pm    Post subject: Reply with quote

Quote:
Any info WHY linux-header files were removed?


Wish I knew too. This just happened to me for the second time yesterday. I'd forgotten about the linux-headers cure and found this. Very happy I did.
_________________
Andy Figueroa
hp pavilion hpe h8-1260t/2AB5; spinning rust x3
i7-2600 @ 3.40GHz; 16 gb; Radeon HD 7570
amd64/17.1/desktop (stable), OpenRC, -systemd -pulseaudio -uefi
Back to top
View user's profile Send private message
Chain
Tux's lil' helper
Tux's lil' helper


Joined: 17 Apr 2006
Posts: 113
Location: Vienna

PostPosted: Wed May 03, 2017 12:33 am    Post subject: Reply with quote

I got an update on klibc to 2.0.4 and after that the errors started popping up. So I think it's klibc what breaks the system.
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