Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 556518 - media-libs/ganv-1.4.2[-fdgl] - ../src/Canvas.cpp:1629:44: error: 'get_monotonic_time' was not declared in this scope
Summary: media-libs/ganv-1.4.2[-fdgl] - ../src/Canvas.cpp:1629:44: error: 'get_monoton...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Professional Audio Applications Maintainers
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2015-08-02 17:54 UTC by Karl Lindén
Modified: 2015-08-28 13:48 UTC (History)
0 users

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


Attachments
build.log (build.log,7.94 KB, text/plain)
2015-08-02 17:55 UTC, Karl Lindén
Details
ganv-1.4.2-no-fdgl.patch (ganv-1.4.2-no-fdgl.patch,775 bytes, patch)
2015-08-08 09:15 UTC, Karl Lindén
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Karl Lindén 2015-08-02 17:54:17 UTC
=media-libs/ganv-1.4.2 fails to compile with the following error:
[ 5/21] cxx: src/Canvas.cpp -> build/src/Canvas.cpp.5.o
19:52:26 runner ['x86_64-pc-linux-gnu-g++', '-I/var/tmp/portage/media-libs/ganv-1.4.2/work/ganv-1.4.2', '-O2', '-fomit-frame-pointer', '-pipe', '-fno-stack-protector', '-march=core2', '-DNDEBUG', '-fshow-column', '-fPIC', '-pthread', '-I/var/tmp/portage/media-libs/ganv-1.4.2/work/ganv-1.4.2/build', '-I/var/tmp/portage/media-libs/ganv-1.4.2/work/ganv-1.4.2', '-I/var/tmp/portage/media-libs/ganv-1.4.2/work/ganv-1.4.2/build/src', '-I/var/tmp/portage/media-libs/ganv-1.4.2/work/ganv-1.4.2/src', '-I/usr/include/gtkmm-2.4', '-I/usr/lib64/gtkmm-2.4/include', '-I/usr/include/atkmm-1.6', '-I/usr/include/gtk-unix-print-2.0', '-I/usr/include/gtk-2.0', '-I/usr/include/gdkmm-2.4', '-I/usr/lib64/gdkmm-2.4/include', '-I/usr/include/giomm-2.4', '-I/usr/lib64/giomm-2.4/include', '-I/usr/include/pangomm-1.4', '-I/usr/lib64/pangomm-1.4/include', '-I/usr/include/glibmm-2.4', '-I/usr/lib64/glibmm-2.4/include', '-I/usr/include/cairomm-1.0', '-I/usr/lib64/cairomm-1.0/include', '-I/usr/include/sigc++-2.0', '-I/usr/lib64/sigc++-2.0/include', '-I/usr/lib64/gtk-2.0/include', '-I/usr/include/pango-1.0', '-I/usr/include/atk-1.0', '-I/usr/include/cairo', '-I/usr/include/pixman-1', '-I/usr/include/libdrm', '-I/usr/include/gdk-pixbuf-2.0', '-I/usr/include/libpng16', '-I/usr/include/harfbuzz', '-I/usr/include/glib-2.0', '-I/usr/lib64/glib-2.0/include', '-I/usr/include/freetype2', '-I/var/tmp/portage/media-libs/ganv-1.4.2/work/ganv-1.4.2/build', '-DHAVE_GTK=1', '-DHAVE_GTKMM=1', '../src/Canvas.cpp', '-c', '-o', 'src/Canvas.cpp.5.o']
../src/Canvas.cpp: In static member function 'static gboolean GanvCanvasImpl::on_animate_timeout(gpointer)':
../src/Canvas.cpp:1629:44: error: 'get_monotonic_time' was not declared in this scope
  const double seconds = get_monotonic_time() / 1000000.0;
                                            ^
Waf: Leaving directory `/var/tmp/portage/media-libs/ganv-1.4.2/work/ganv-1.4.2/build'

# emerge -pqv '=media-libs/ganv-1.4.2::gentoo'
[ebuild  N    ] media-libs/ganv-1.4.2  USE="-fdgl -graphviz -introspection -nls"

Reproducible: Always

Steps to Reproduce:
1. emerge =media-libs/ganv-1.4.2
Comment 1 Karl Lindén 2015-08-02 17:54:45 UTC
# emerge --info '=media-libs/ganv-1.4.2::gentoo'
Portage 2.2.20 (python 3.4.3-final-0, default/linux/amd64/13.0, gcc-4.9.3, glibc-2.21-r1, 4.0.5-rt-gnu-rt4 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.0.5-rt-gnu-rt4-x86_64-Intel-R-_Core-TM-_i3-2350M_CPU_@_2.30GHz-with-gentoo-2.2
KiB Mem:     8064492 total,   4592132 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Sun, 02 Aug 2015 16:00:01 +0000
sh bash 4.3_p39
ld GNU ld (Gentoo 2.25.1 p1.0) 2.25.1
app-shells/bash:          4.3_p39::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.22.0::gentoo
dev-lang/python:          2.7.10::gentoo, 3.3.5-r1::gentoo, 3.4.3::gentoo
dev-util/cmake:           3.2.3::gentoo
dev-util/pkgconfig:       0.28-r3::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.17::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1::gentoo
sys-devel/gcc:            4.9.3::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.21-r1::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

lilrc
    location: /home/kalle/lilrc-overlay
    masters: gentoo
    priority: 0

proaudio
    location: /home/kalle/proaudio
    masters: gentoo
    priority: 1

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE @MISC-FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -O2 -fomit-frame-pointer -pipe -fno-stack-protector -floop-interchange -floop-strip-mine -floop-block -fgraphite-identity -march=core2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /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="-O2 -pipe -O2 -fomit-frame-pointer -pipe -fno-stack-protector -floop-interchange -floop-strip-mine -floop-block -fgraphite-identity -march=core2"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="                      --binpkg-changed-deps=y --binpkg-respect-use=y                      --buildpkg-exclude app-emulation/virtualbox-modules                      --buildpkg-exclude sys-fs/vhba                      --buildpkg-exclude sys-kernel/*                      --buildpkg-exclude virtual/*                      --buildpkg-exclude www-client/firefox"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildsyspkg config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news noinfo parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://ftp.df.lth.se/pub/gentoo/ rsync://ftp.df.lth.se/pub/gentoo/ http://mirror.mdfnet.se/gentoo"
INSTALL_MASK="/etc/systemd /usr/lib/systemd"
LANG="C"
LC_ALL="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/usr/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"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac alloca alsa amd64 aspell bindist bluetooth cairo cd cdda cddb cdr consolekit cracklib crypt cups curl deblob dri drm dssi dvd dvdr exif ffmpeg fftw flac fltk gallium gif gimp glib gmp gnuplot gnutls gstreamer gtk gtk2 gtkstyle gudev hwdb imap inotify jack javascript jit jpeg keymap ladspa lame latex libkms libnotify libsamplerate lv2 mad mp3 mpeg netifrc networkmanager nptl ogg opengl openmp openrc orc pam pdf png policykit qt3support qt4 qt5 readline spell ssl startup-notification subversion svg svn theora threads tiff truetype udev udisks unicode upower usb v4l vaapi vlc vorbis webgl x264 xcb xcomposite xinerama xorg xscreensaver zlib" ABI_X86="64" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 sse4 sse4_1 ssse3" CURL_SSL="gnutls" ELIBC="glibc" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LINGUAS="en en_GB" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby22" SANE_BACKENDS="plustek" USERLAND="GNU" VIDEO_CARDS="i965 intel" XFCE_PLUGINS="trash battery brightness power"
Unset:  CPPFLAGS, CTARGET, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 2 Karl Lindén 2015-08-02 17:55:34 UTC
Created attachment 408150 [details]
build.log
Comment 3 Karl Lindén 2015-08-08 08:57:51 UTC
Not reproducible with USE="fdgl".
Comment 4 Karl Lindén 2015-08-08 09:03:18 UTC
This was fixed upstream in r5480.

http://dev.drobilla.net/changeset?old=5480&old_path=&new=5480&new_path=
Comment 5 Karl Lindén 2015-08-08 09:15:51 UTC
Created attachment 408532 [details, diff]
ganv-1.4.2-no-fdgl.patch

Backported patch.
Comment 6 Karl Lindén 2015-08-22 20:27:22 UTC
Pull request at: https://github.com/gentoo/gentoo/pull/33
Comment 7 Karl Lindén 2015-08-26 08:05:51 UTC
CCing yngwin as he imported it. [1]

@yngwin, maybe you could add me as proxy-maintainer to this one since the proaudio team seems to be understaffed?

[1] https://packages.gentoo.org/package/media-libs/ganv
Comment 8 Ben de Groot (RETIRED) gentoo-dev 2015-08-28 13:37:48 UTC
(In reply to Karl Lindén from comment #7)
> CCing yngwin as he imported it. [1]
> 
> @yngwin, maybe you could add me as proxy-maintainer to this one since the
> proaudio team seems to be understaffed?
> 
> [1] https://packages.gentoo.org/package/media-libs/ganv

No need to CC me, as I'm in the proaudio team now. Anyway, I'd be happy to add you as proxy-maintainer.
Comment 9 Ben de Groot (RETIRED) gentoo-dev 2015-08-28 13:48:09 UTC
...and committed. Thanks!

[master a3470f0] media-libs/ganv: fix compilation with USE=-fdgl