Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 629428 - net-misc/freerdp-2.0.0_rc0 fails to build because of ccache
Summary: net-misc/freerdp-2.0.0_rc0 fails to build because of ccache
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mike Gilbert
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-31 07:56 UTC by Sergey Ilinykh
Modified: 2017-08-31 19:47 UTC (History)
1 user (show)

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


Attachments
build.log (build.log.bz2,25.09 KB, application/x-bzip)
2017-08-31 07:59 UTC, Sergey Ilinykh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Ilinykh 2017-08-31 07:56:37 UTC
See attached log

and emerge info
# emerge --info net-misc/freerdp
Portage 2.3.8 (python 2.7.13-final-0, default/linux/amd64/13.0/developer, gcc-6.3.0, glibc-2.25-r4, 4.11.12-ck x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.11.12-ck-x86_64-Intel-R-_Core-TM-_i7-3610QM_CPU_@_2.30GHz-with-gentoo-2.4.1
KiB Mem:    16300092 total,   7041048 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Wed, 30 Aug 2017 16:44:03 +0000
Head commit of repository gentoo: 0caef3fd05c9774cdc48b1eee7b5015a0eea3bfa

Head commit of repository rion: 0612308b1a1a94519f836960f0c4fee72c61a69f

sh bash 4.4_p12
ld GNU ld (Gentoo 2.27 p1.0) 2.27
distcc 3.2rc1 x86_64-pc-linux-gnu [disabled]
ccache version 3.3.4 [disabled]
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.2::gentoo
dev-lang/python:          2.7.13::gentoo, 3.5.3::gentoo, 3.6.1-r1::gentoo
dev-util/ccache:          3.3.4-r1::gentoo
dev-util/cmake:           3.9.1::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r1::gentoo
sys-apps/openrc:          0.29::gentoo
sys-apps/sandbox:         2.10-r4::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.15.1-r1::gentoo
sys-devel/binutils:       2.27::gentoo, 2.28-r2::gentoo, 2.28.1::gentoo
sys-devel/gcc:            6.3.0::gentoo, 6.4.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r4::gentoo
sys-devel/make:           4.2.1-r1::gentoo
sys-kernel/linux-headers: 4.11::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r4::gentoo
Repositories:

gentoo
    location: /home/portage/portage
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: -1000

inango
    location: /home/rion/work/overlay
    masters: gentoo

qt
    location: /var/lib/layman/qt
    sync-type: laymansync
    sync-uri: https://anongit.gentoo.org/git/proj/qt.git
    masters: gentoo
    priority: 50

rion
    location: /home/rion/projects/rion-overlay
    sync-type: git
    sync-uri: git://github.com/rion-overlay/rion-overlay.git
    sync-user: rion:rion
    masters: gentoo
    priority: 50

Installed sets: @system
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -maes"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe -maes"
DISTDIR="/home/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified digest distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms sign splitdebug strict test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="ru_RU.UTF-8"
LDFLAGS="-Wl,--hash-style=gnu -Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
PKGDIR="/home/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/home/portage/build"
USE="X a52 aac acl acpi alsa amd64 avahi avx bash-completion berkdb bluetooth branding bs2b bzip2 cairo cdda cddb cdio cdr cli consolekit cracklib crypt cups custom-optimization cxx d3d9 dbus dri dts dv dvb dvd dvdnav dvdr egl emboss encode exif faac faad fam ffmpeg firefox flac fuse gallium gif glamor gles glitz gnome-keyring google gphoto2 gpm gsm gstreamer gtk gtk3 h323 iconv idn ipv6 jabber java6 jingle jpeg jpeg2k kde kipi ladspa lcms libass libcanberra libnotify libsecret mad mate mng modemmanager modplug modules mp3 mp4 mpeg mtp multilib natspec ncurses networkmanager nls nptl offensive ogg opengl openmp pam pango pch pcmcia pcre pdf plasma pm-utils png policykit ppds pulseaudio qalculate qml qt3support qt5 readline rtmp samba scanner schroedinger sdl seccomp semantic-desktop session sip smp snmp speex spell ssl startup-notification subversion svg symlink tcpd theora threads thunar tiff tokenizer truetype udev udisks unicode upnp upower usb v4l v4l2 vaapi vhosts vnc vorbis vpx wayland webkit webp wifi x264 xattr xcb xcomposite xinerama xml xv xvid xvmc zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="dav dav_fs authn_file auth_basic auth_digest authz_groupfile authz_host dir mime log_config" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2 canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx popcnt mmx mmxext sse sse2 ssse3 sse3 sse4 sse4_1 sse4_2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" L10N="ru ru-RU en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="ru ru_RU en" NETBEANS_MODULES="apisupport harness ide nb websvccommon php profiler webcommon cnd ergonomics dlight" NGINX_MODULES_HTTP="dav fastcgi flv access auth_basic autoindex charset browser empty_gif gzip map memcached rewrite userid" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby24" SANE_BACKENDS="net" USERLAND="GNU" VIDEO_CARDS="intel radeon radeonsi" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

net-misc/freerdp-2.0.0_pre20161219::gentoo was built with the following:
USE="X alsa client cups ffmpeg gstreamer jpeg pulseaudio usb wayland xinerama xv -debug -doc -libav -libressl (-neon) -server -smartcard -systemd -test" ABI_X86="(64)" CPU_FLAGS_X86="sse2"

Reproducible: Always
Comment 1 Sergey Ilinykh 2017-08-31 07:59:08 UTC
Created attachment 491138 [details]
build.log
Comment 2 Sergey Ilinykh 2017-08-31 08:03:56 UTC
well. I just removed ccache directory and it worked.
No problems with other packages though.
Comment 3 Mike Gilbert gentoo-dev 2017-08-31 19:23:48 UTC
Seems like you mis-configured ccache somehow. Not a bug in freerdp for certain.
Comment 4 Sergey Ilinykh 2017-08-31 19:36:37 UTC
no no. other packages compile fine with ccache. only freerdp fails.

I noticed freerdp has kind o ccache detection in cmakelists.txt file. I believe this is the problem.
Comment 5 Mike Gilbert gentoo-dev 2017-08-31 19:46:35 UTC
Well I'll be damned. Well spotted!

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ae86c837bc1046d8613844cffac96338a53977d

commit 6ae86c837bc1046d8613844cffac96338a53977d
Author: Mike Gilbert <floppym@gentoo.org>
Date:   Thu Aug 31 15:45:41 2017 -0400

    net-misc/freerdp: disable ccache auto-detection
    
    Bug: https://bugs.gentoo.org/629428
    Package-Manager: Portage-2.3.6_p39, Repoman-2.3.3_p17

 net-misc/freerdp/freerdp-2.0.0_rc0.ebuild | 1 +
 net-misc/freerdp/freerdp-9999.ebuild      | 1 +
 2 files changed, 2 insertions(+)
Comment 6 Sergey Ilinykh 2017-08-31 19:47:56 UTC
thanks