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

Bug 630236

Summary: net-vpn/i2pd-2.15.0 : does not build with +pch
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Alexey Korepanov <kaikaikai>
Status: RESOLVED FIXED    
Severity: normal CC: blueness, kaikaikai, klondike, tomboy64
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
logs.tbz2
net-vpn:i2pd-2.15.0:20170906-230203.log
temp.tbz2

Description Toralf Förster gentoo-dev 2017-09-07 15:16:55 UTC
-- Configuring done
CMake Error at CMakeLists.txt:291 (add_library):
  Cannot find source file:

    ../libi2pd/stdafx.cpp

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 13.0-desktop_libressl_20170903-100751

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

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

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python2.7 (fallback)

java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.5.1 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpv net-vpn/i2pd
[ebuild  N    ] net-vpn/i2pd-2.15.0  USE="libressl pch upnp -i2p-hardening -static -websocket" CPU_FLAGS_X86="aes"
Comment 1 Toralf Förster gentoo-dev 2017-09-07 15:16:59 UTC
Created attachment 492952 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-09-07 15:17:03 UTC
Created attachment 492954 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2017-09-07 15:17:07 UTC
Created attachment 492956 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2017-09-07 15:17:11 UTC
Created attachment 492958 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2017-09-07 15:17:15 UTC
Created attachment 492960 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-09-07 15:17:18 UTC
Created attachment 492962 [details]
net-vpn:i2pd-2.15.0:20170906-230203.log
Comment 7 Toralf Förster gentoo-dev 2017-09-07 15:17:21 UTC
Created attachment 492964 [details]
temp.tbz2
Comment 8 Alexey Korepanov 2017-09-08 12:58:13 UTC
Thanks for the report! I reproduced the bug.

It seems, there is a problem with precompiled headers (pch use flag). I created an issue upstream:
https://github.com/PurpleI2P/i2pd/issues/951
Comment 9 Alexey Korepanov 2017-09-08 13:11:30 UTC
I do expect that i2pd will build yet with +libressl use flag, due to a bug in boost, see
https://bugs.gentoo.org/show_bug.cgi?id=597798
https://github.com/PurpleI2P/i2pd/issues/686

So when this bug is fixed, i2pd will still not build with
> USE="libressl pch upnp -i2p-hardening -static -websocket"
but in a different way.
Comment 10 Alexey Korepanov 2017-09-27 17:29:47 UTC
Closed by dropping the pch use flag.
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b10e387f08d002da5eae39ed70b28386bdee7fd