Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 233240 - media-sound/easytag-2.1.6 build fails
Summary: media-sound/easytag-2.1.6 build fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-29 09:05 UTC by RoGeR MuR
Modified: 2008-07-29 19:42 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description RoGeR MuR 2008-07-29 09:05:16 UTC
Assembly error when upgrading media-sound/easytag-2.1.5 to easytag-2.1.6:

....
make[3]: Entering directory `/var/tmp/portage/media-sound/easytag-2.1.6/work/easytag-2.1.6/src/id3lib'
g++ -DHAVE_CONFIG_H -I. -I../.. -DLOCALE=\"/usr/share/locale\"    -march=pentium4 -O3 -pipe -fomit-frame-pointer -MT c_wrapper.o -MD -MP -MF .deps/c_wrapper.Tpo -c -o c_wrapper.o c_wrapper.cpp
In file included from /usr/include/id3/utils.h:37,
                 from /usr/include/id3/tag.h:34,
                 from c_wrapper.cpp:33:
/usr/include/id3/id3lib_strings.h: In static member function 'static unsigned char* std::char_traits<unsigned char>::move(unsigned char*, const unsigned char*, size_t)':
/usr/include/id3/id3lib_strings.h:87: error: 'memmove' was not declared in this scope
/usr/include/id3/id3lib_strings.h: In static member function 'static unsigned char* std::char_traits<unsigned char>::copy(unsigned char*, const unsigned char*, size_t)':
/usr/include/id3/id3lib_strings.h:91: error: 'memcpy' was not declared in this scope
make[3]: *** [c_wrapper.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/media-sound/easytag-2.1.6/work/easytag-2.1.6/src/id3lib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-sound/easytag-2.1.6/work/easytag-2.1.6/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-sound/easytag-2.1.6/work/easytag-2.1.6'
make: *** [all] Error 2
 * ERROR: media-sound/easytag-2.1.6 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line  102:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed."
 *  The die message:
 *   emake failed.
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/media-sound/easytag-2.1.6/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-sound/easytag-2.1.6/temp/environment'.


Reproducible: Always

Steps to Reproduce:
1.emerge easytag
2.
3.




emerge --info
Portage 2.2_rc4 (default/linux/x86/2008.0/desktop, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.24-gentoo-r3 i686)
=================================================================
System uname: Linux-2.6.24-gentoo-r3-i686-Intel-R-_Pentium-R-_4_CPU_2.80GHz-with-glibc2.0
Timestamp of tree: Tue, 29 Jul 2008 01:45:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.5.2-r5
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.62-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.25-r4
ACCEPT_KEYWORDS="~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="ru_RU.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1"
LINGUAS="ru en"
MAKEOPTS="-j3"
PKGDIR="/tmp/pkgdir"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/gnash-cvs /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="7zip X a52 aac aalib acl acpi alsa apache2 arj ati avi berkdb bluetooth branding bzip2 cairo cdr chardet clamav cli cracklib crypt css cups dbus djvu dri dvd dvdr dvdread eds emboss encode evo fbcon ffmpeg fglrx firefox flac fortran freetype gdbm gif gimp gimpprint gpm gstreamer gtk gtk2 hal iconv isdnlog jpeg jpeg2k kerberos kqemu ldap lha libnotify lm_sensors mad matroska midi mikmod mmx mmxext mp3 mpeg mudflap mysql ncurses nls nptl nptlonly nsplugin nut ogg oggvorbis opengl openmp oss pam pcre pdf perl php png ppds pppd python qt qt3 qt3support qt4 quicktime rar readline real reflection samba scaner scanner sdl session slang smp spell spl sse sse2 ssl startup-notification svg svga tcpd theora threads tiff truetype truetype-fonts unicode usb userlocales utf8 v4l vesa vorbis wavpack win32codecs winbind wma wmf x264 x86 xcomposite xml xorg xv xvid zip zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" USERLAND="GNU" VIDEO_CARDS="fglrx vesa radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Dmitry Dzhus 2008-07-29 12:02:51 UTC
This issue is likely to be connected with GCC 4.3 changes regarding header stuff (see http://gcc.gnu.org/onlinedocs/libstdc++/manual/api.html#api.rel_430). I'm going to propose a patch soon. For now switching to gcc-4.2 should help.
Comment 2 Dmitry Dzhus 2008-07-29 12:34:38 UTC
Looks like it's actually an id3lib bug: http://sourceforge.net/tracker/index.php?func=detail&aid=1953610&group_id=979&atid=100979, still unpatched.
Comment 3 Dmitry Dzhus 2008-07-29 12:57:00 UTC
(In reply to comment #2)
> Looks like it's actually an id3lib bug:
> http://sourceforge.net/tracker/index.php?func=detail&aid=1953610&group_id=979&atid=100979,
> still unpatched.
> 

Seems like a bug is still present upstream, but the patch has already been added to Portage in April 2008. Unfortunately, id3lib-3.8.3 ebuild and all dependant packages were not given an -rX bump, so Easytag could merge with unpatched version of id3lib installed.

Doing `emerge id3lib` before merging Easytag fixes the issue.
Comment 4 Ben de Groot (RETIRED) gentoo-dev 2008-07-29 15:04:49 UTC
id3lib revbumped. this should fix the issue.
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2008-07-29 19:42:55 UTC
(In reply to comment #4)
> id3lib revbumped. this should fix the issue.
> 

just to be sure I made the 2.1.6 ebuild dep. on the revbumped -r7 version.. just thinking about the users who don't so commonly use --deep