| Summary: | media-libs/ganv-1.4.2[-fdgl] - ../src/Canvas.cpp:1629:44: error: 'get_monotonic_time' was not declared in this scope | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Karl Lindén <karl.j.linden> |
| Component: | [OLD] Library | Assignee: | Professional Audio Applications Maintainers <proaudio> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | Keywords: | PATCH |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | AMD64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
build.log
ganv-1.4.2-no-fdgl.patch |
||
# 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
Created attachment 408150 [details]
build.log
Not reproducible with USE="fdgl". This was fixed upstream in r5480. http://dev.drobilla.net/changeset?old=5480&old_path=&new=5480&new_path= Created attachment 408532 [details, diff]
ganv-1.4.2-no-fdgl.patch
Backported patch.
Pull request at: https://github.com/gentoo/gentoo/pull/33 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 (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. ...and committed. Thanks! [master a3470f0] media-libs/ganv: fix compilation with USE=-fdgl |
=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