Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 499670 - net-libs/opal.3.10.10 - In function ‘void logCallbackFFMPEG(void*, int, const char*, __va_list_tag*)’: ../common/dyna.cxx:197:57: error: ‘vsnprintf’ was not declared in this scope
Summary: net-libs/opal.3.10.10 - In function ‘void logCallbackFFMPEG(void*, int, const...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-29 10:30 UTC by Paolo
Modified: 2017-05-28 11:54 UTC (History)
1 user (show)

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


Attachments
build log (build.log,321.35 KB, text/plain)
2014-01-29 10:47 UTC, Paolo
Details
next error (build-new.log,5.53 KB, text/x-log)
2014-01-29 13:34 UTC, Paolo
Details
patches for various files (patches.tar.bz2,3.50 KB, patch)
2014-01-29 13:51 UTC, Paolo
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Paolo 2014-01-29 10:30:22 UTC
I'm trying to emerge opal-3.10.10 but i got this error during the compile phase:

/var/tmp/portage/net-libs/opal-3.10.10/work/opal-3.10.10/plugins/plugin-inc.mak:68: recipe for target '/var/tmp/portage/net-libs/opal-3.10.10/work/opal-3.10.10/plugins/../lib_linux_x86_64/plugins/h263_ffmpeg/dyna.o' failed
make[3]: *** [/var/tmp/portage/net-libs/opal-3.10.10/work/opal-3.10.10/plugins/../lib_linux_x86_64/plugins/h263_ffmpeg/dyna.o] Error 1
make[3]: Leaving directory '/var/tmp/portage/net-libs/opal-3.10.10/work/opal-3.10.10/plugins/video/H.263-1998'
Makefile:6: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/var/tmp/portage/net-libs/opal-3.10.10/work/opal-3.10.10/plugins'
Makefile:579: recipe for target 'subdirs' failed
make[1]: *** [subdirs] Error 2
make[1]: Leaving directory '/var/tmp/portage/net-libs/opal-3.10.10/work/opal-3.10.10'
Makefile:729: recipe for target 'opt' failed
make: *** [opt] Error 2
 * ERROR: net-libs/opal-3.10.10::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=net-libs/opal-3.10.10::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-libs/opal-3.10.10::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/net-libs/opal-3.10.10/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-libs/opal-3.10.10/temp/environment'.
 * Working directory: '/var/tmp/portage/net-libs/opal-3.10.10/work/opal-3.10.10'
 * S: '/var/tmp/portage/net-libs/opal-3.10.10/work/opal-3.10.10'
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="" JAVA_HOME="/etc/java-config-2/current-system-vm"
JAVACFLAGS="" COMPILER=""

emerge --info =opal-3.10.10
Portage 2.2.8-r1 (default/linux/amd64/13.0/desktop/gnome/systemd, gcc-4.8.2, glibc-2.18-r1, 3.13.0-pol x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.13.0-pol-x86_64-Intel-R-_Core-TM-_i5-2410M_CPU_@_2.30GHz-with-gentoo-2.2
KiB Mem:     8119728 total,   5005408 free
KiB Swap:    5415932 total,   5415932 free
Timestamp of tree: Tue, 28 Jan 2014 11:45:01 +0000
ld ld di GNU (GNU Binutils) 2.24
app-shells/bash:          4.2_p45-r1
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.6, 3.3.3
dev-util/cmake:           2.8.12.1-r4
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.14.1
sys-devel/binutils:       2.24-r2
sys-devel/gcc:            4.8.2
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.13 (virtual/os-headers)
sys-libs/glibc:           2.18-r1
Repositories: gentoo
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs cgroup config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news 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://de-mirror.org/gentoo/"
LANG="it_IT.utf8"
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"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync1.de.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi afs aim alsa amd64 apm bash-completion berkdb bindist bluetooth branding bzip2 cairo cdda cdinstall cdparanoia cdr cleartype cli colord cracklib crypt css ctype cups cxx dbus dga directfb djvu dri dts dv dvd dvdr eds emboss encode evo exif fam fbcon ffmpeg firefox flac fontconfig fortran ftp gdbm gif gmp gnome gnome-keyring gnome-online-accounts gnutls gpm gstreamer gtk gzip iconv imap imlib infinality introspection ipv6 jpeg jpeg2k lame lcms ldap libnotify libsecret lock lzma lzo mad matroska mmx mng modplug modules mozilla mp3 mp4 mpeg mtp multilib nautilus ncurses networkmanager nls nptl nsl nsplugin ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio qt3support readline sdl session snmp socialweb spell sse sse2 sse4 sse4_1 ssl ssse3 startup-notification svg systemd tcpd theora tiff truetype type1 udev udisks unicode upower usb v4l vcd vorbis wifi wxwidgets x264 xcb xml xv xvid zeroconf zlib" ABI_X86="64" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="prefork" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev mouse keyboard synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="it en_GB" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="intel v4l fbdev" 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:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON


I tried also to emerge opal-3.12.4 and i have successfully emerged it but i cannot compile Ekiga with opal-3.12.4.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-01-29 10:45:23 UTC
Please attach the entire build log to this bug report.
Comment 2 Paolo 2014-01-29 10:47:30 UTC
Created attachment 369048 [details]
build log
Comment 3 Paolo 2014-01-29 13:34:15 UTC
Created attachment 369058 [details]
next error
Comment 4 Paolo 2014-01-29 13:35:28 UTC
by adding "#include <cstdio>" inside the file dyna.cxx this problem get solved but...there are another one -.- (see next error file)
Comment 5 Paolo 2014-01-29 13:40:27 UTC
(In reply to Paolo Stivanin from comment #4)
> by adding "#include <cstdio>" inside the file dyna.cxx this problem get
> solved but...there are another one -.- (see next error file)

it is <stdio.h> not cstdio, i'm sorry!
Comment 6 Paolo 2014-01-29 13:51:31 UTC
Created attachment 369060 [details, diff]
patches for various files

finally i was able to patch the source to get it successfully compile :)
i attached the archive with the patches.
Comment 7 Bernd Feige 2014-04-22 09:52:27 UTC
(In reply to Paolo Stivanin from comment #6)
> Created attachment 369060 [details, diff] [details, diff]
> patches for various files
> 
> finally i was able to patch the source to get it successfully compile :)
> i attached the archive with the patches.

Could it be that you're using libav9 instead of ffmpeg? I found this bug because I got the same errors about missing vsnprintf etc. Then this bug would be a duplicate of #443206 - See there for patches.
Best regards,
Bernd
Comment 8 Pacho Ramos gentoo-dev 2017-05-28 11:54:54 UTC
3.10.11-r1 looks to compile fine