Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 502962 - [science overlay] sci-mathematics/netgen-5.0.0 - ngpkg.cpp:2228:75: Fehler: »av_get_pict_type_char« wurde in diesem Gültigkeitsbereich nicht definiert
Summary: [science overlay] sci-mathematics/netgen-5.0.0 - ngpkg.cpp:2228:75: Fehler: »...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Overlays (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-27 12:38 UTC by dark_mail
Modified: 2022-01-13 14:19 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,129.97 KB, text/plain)
2014-02-27 12:39 UTC, dark_mail
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dark_mail 2014-02-27 12:38:53 UTC
Compilation of sci-mathematics/netgen-5.0.0 fails if USE="ffmpeg" is set. The error occurs in file ngpkg.cpp at line 2228, as 'av_get_pict_type_char' is not defined. Setting USE="-ffmpeg" works around the problem.

In addition, the manifest for the package reports a different file size so fetching fails unless a new manifest is forced.

(There is an old bug intended for improving the ebuild:
https://bugs.gentoo.org/show_bug.cgi?id=155424
Since the last entry is over 4 years old I deemed it more useful to file a new one instead.)



Reproducible: Always

Steps to Reproduce:
1. add the science overlay via layman -a science
2. keyword sci-mathematics/netgen-5.0.0 for your arch
3. set USE="ffmpeg" for sci-mathematics/netgen
4. emerge sci-mathematics/netgen (_not_ sci-electronics/netgen)
Actual Results:  
compilation fails with the output added in the build.log unless USE="-ffmpeg" is set.

Expected Results:  
package compiles

emerge --info
Portage 2.2.7 (default/linux/x86/13.0/desktop, gcc-4.7.3, glibc-2.17, 3.13.2-tuxonice i686)
=================================================================
System uname: Linux-3.13.2-tuxonice-i686-Intel-R-_Pentium-R-_M_processor_1.73GHz-with-gentoo-2.2
KiB Mem:     1024940 total,    124456 free
KiB Swap:    1004020 total,    992292 free
Timestamp of tree: Mon, 24 Feb 2014 11:00:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
distcc 3.1 i686-pc-linux-gnu [disabled]
app-shells/bash:          4.2_p45
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.5-r3, 3.2.5-r3, 3.3.3
dev-util/cmake:           2.8.11.2
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.4_p6::<unknown repository>, 1.5::<unknown repository>, 1.6.3::<unknown repository>, 1.7.9-r1::<unknown repository>, 1.8.5-r3::<unknown repository>, 1.9.6-r3, 1.10.3, 1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.4.5, 4.5.4, 4.6.3, 4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo science
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /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=pentium-m -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs 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 -march=i686 -pipe"
GENTOO_MIRRORS="ftp://de-mirror.org/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://mirror.netcologne.de/gentoo/ ftp://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://mirror.csclub.uwaterloo.ca/gentoo-distfiles/"
LANG="de_DE.UTF-8"
LC_ALL="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
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="/var/lib/layman/science"
USE="3ds 7zip X a52 aac acl acpi alsa amr arj asf audacious audiofile bash-completion battery berkdb blender-game bluetooth branding bzip2 cairo cal3d canna cdda cdparanoia cdr cdrom chardet chroot cjk cli colordiff consolekit cpufreq cracklib crypt cscope cups curl cxx dbus dcraw device-mapper dmi dri dts dv dvd dvdnav dvdr eap-sim effects emboss enca encode exif fam fat ffmpeg firefox flac flexresp2 fluidsynth fortran fpx freewnn ftp fuse g3dvl gdbm gif gimp gimpprint gmedia gnutls grace gre gs gsm gtk hddtemp hybrid-auth i8x0 iconv icq id3 id3tag ieee1394 imagemagick imap imlib immqt-bc inkjar ipv6 jbig jfs jpeg jpeg2k kpathsea ladspa laptop latex lcms lha libnotify libsamplerate lm_sensors logrotate loop-aes lzo mad memlimit midi migemo mime mjpeg mmap mmx mmxext mng modplug modules mp2 mp3 mp4 mpeg mplayer musepack ncurses nls no-old-linux nptl nsplugin nuv offensive ogg on-the-fly-crypt openal openexr opengl openmp oscar pam pango pcmcia pcre pdf pic plotutils plugin plugins png policykit posix postproc ppds print qt-static qt3support qt4 rar rdesktop readline reiser4 reiserfs replytolist resolvconf sasl scanner sdl session slp sndfile spell sse sse2 ssl startup-notification subtitles svg symlink tcpd tetex theora tidy tiff tk truetype tta type1 udev udisks unicode upower usb userlocales vamp vcd vim vim-syntax vim-with-x vorbis wavpack wifi wireshark wma wmf wmp wps wxwidgets x264 x86 xcb xcomposite xetex xfs xine xinerama xml xpm xscreensaver xv xvid xvmc yaepg zip zlib" ABI_X86="32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" 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="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de ja" 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" 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON
Comment 1 dark_mail 2014-02-27 12:39:37 UTC
Created attachment 371394 [details]
build.log
Comment 2 Tiziano Müller (RETIRED) gentoo-dev 2016-07-04 17:19:13 UTC
Couldn't reproduce the Manifest issue, the USE=ffmpeg I can confirm though
Comment 3 Larry the Git Cow gentoo-dev 2022-01-13 14:19:41 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/proj/sci.git/commit/?id=eba68f56ba8542eff2e545451a3285f44f8546ce

commit eba68f56ba8542eff2e545451a3285f44f8546ce
Author:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
AuthorDate: 2022-01-13 14:19:31 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
CommitDate: 2022-01-13 14:19:31 +0000

    sci-mathematics/netgen: cleanup old
    
    Closes: https://bugs.gentoo.org/670050
    Closes: https://bugs.gentoo.org/502962
    Bug: https://bugs.gentoo.org/688120
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    RepoMan-Options: --force
    Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>

 sci-mathematics/netgen/Manifest                    |   2 -
 .../netgen-5.x-compile-against-occ-6.5.x.patch     |  28 --
 .../netgen/files/netgen-5.x-fedora-fixes.patch     | 223 -----------
 .../netgen/files/netgen-5.x-includes-fixes.patch   |  29 --
 .../netgen/files/netgen-5.x-makefiles-fixes.patch  | 412 ---------------------
 .../netgen/files/netgen-5.x-metis-fixes.patch      | 102 -----
 .../netgen/files/netgen-5.x-missing-define.patch   |  38 --
 .../files/netgen-5.x-occ-stl-api-change.patch      |  94 -----
 .../files/netgen-5.x-parallelmetis4-fix.patch      |  36 --
 sci-mathematics/netgen/netgen-5.3.1.ebuild         | 121 ------
 sci-mathematics/netgen/netgen-6.0_beta.ebuild      | 121 ------
 11 files changed, 1206 deletions(-)