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

Bug 639958

Summary: media-tv/tvheadend-4.2.4 : ERROR: libsystemd-daemon development support not found (use --disable-systemd_daemon)
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: James Le Cuirot <chewi>
Status: RESOLVED FIXED    
Severity: normal CC: arne.flagge, mart, pascal, sven.rothe.dd
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
media-tv:tvheadend-4.2.4:20171205-030051.log
temp.tbz2
Patch
Alternative tvheadend.service

Description Toralf Förster gentoo-dev 2017-12-05 16:18:25 UTC
 * ERROR: media-tv/tvheadend-4.2.4::gentoo failed (configure phase):
 *   econf failed
 * 

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-systemd_20171129-195001

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.2.0 *

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python3.6 (fallback)
  [3]   python3.5 (fallback)
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby22 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.6.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpv media-tv/tvheadend
[ebuild  N    ] media-tv/tvheadend-4.2.4  USE="capmt constcw cwc dvb ffmpeg imagecache inotify systemd timeshift zlib -dbus -debug -dvbcsa -dvben50221 -hdhomerun -iptv -satip -uriparser -xmltv -zeroconf"
Comment 1 Toralf Förster gentoo-dev 2017-12-05 16:18:28 UTC
Created attachment 508316 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-12-05 16:18:31 UTC
Created attachment 508318 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2017-12-05 16:18:34 UTC
Created attachment 508320 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2017-12-05 16:18:37 UTC
Created attachment 508322 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2017-12-05 16:18:40 UTC
Created attachment 508324 [details]
media-tv:tvheadend-4.2.4:20171205-030051.log
Comment 6 Toralf Förster gentoo-dev 2017-12-05 16:18:42 UTC
Created attachment 508326 [details]
temp.tbz2
Comment 7 Mart K 2017-12-10 10:37:33 UTC
Created attachment 509208 [details, diff]
Patch

I had the same problem and I solved it with the attached patch.

I seem to work correctly now, although I also altered the tvheadend.service file. I will attach it for reference use, but it looks less secure then the supplied file.
Comment 8 Mart K 2017-12-10 10:39:50 UTC
Created attachment 509210 [details]
Alternative tvheadend.service

I ended up using this tvheadend.service. The default restrictions made the configuration unaccable and the default muxes unloadable.
Comment 9 Mark Dominik Bürkle 2018-01-28 20:15:31 UTC
(In reply to Mart Kelder from comment #7)
> Created attachment 509208 [details, diff] [details, diff]
> Patch
> 
> I had the same problem and I solved it with the attached patch.
> 

patch added to system as /etc/portage/patches/media-tv/tvheadend/configure.patch

and compiles. Thanks!
Comment 10 James Le Cuirot gentoo-dev 2018-09-02 11:45:25 UTC
This is fixed in 4.2.6, which I have just added. I also adjusted the systemd unit as requested. See bug #654346.