Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 587708 - >app-emulation/libvirt-1.3.4 fails with rpc/rpc.h: No such file or directory
Summary: >app-emulation/libvirt-1.3.4 fails with rpc/rpc.h: No such file or directory
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Matthias Maier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-01 14:18 UTC by PetaMem R&D
Modified: 2016-08-08 04:45 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description PetaMem R&D 2016-07-01 14:18:39 UTC
When compiling app-emulation/libvirt since 1.3.4, it fails with

/var/tmp/portage/app-emulation/libvirt-1.3.5-r1/work/libvirt-1.3.5/src/rpc/virnetprotocol.h:9:21: fatal error: rpc/rpc.h: No such file or directory

This is due the sys-libs/glibc not having the "rpc" flag enabled.
After enabling rps USE flag for sys-libs/glibc, >app-emulation/libvirt-1.3.4  compiles fine.

The app-emulation/libvirt ebuild should check that prerequisite if it requires it.


Reproducible: Always

Steps to Reproduce:
1. disable rpc USE flag for glibc
2. try to compile libvirt
3. fail
Comment 1 Adam Feldman gentoo-dev 2016-07-06 08:00:29 UTC
Please always include full build.log and emerge --info
Comment 2 Sergey 2016-08-03 05:51:09 UTC
Have similar problem with libvirt-2.0.0. But i get configure error:
  configure: error: Cannot find a XDR library
Enabled rpc flag with glibc fixes this. Also, could be it is needed to link this bug with this one https://bugs.gentoo.org/show_bug.cgi?id=381391 .
Comment 3 Matthias Maier gentoo-dev 2016-08-08 04:45:28 UTC
commit a62513a728c5fd823dff0bc2ea650f1dd677aaee
Author: Matthias Maier <tamiko@gentoo.org>
Date:   Sun Aug 7 23:42:03 2016 -0500

    app-emulation/libvirt: Fix various dependencies, bug #587708, #590410
    
    Package-Manager: portage-2.2.28