Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 79081 - emerge mkvtoolnix fails
Summary: emerge mkvtoolnix fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-22 05:16 UTC by Hubert Mercier (RETIRED)
Modified: 2005-03-11 10:57 UTC (History)
0 users

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


Attachments
Ebuild for mkvtoolnix-1.4.0 (mkvtoolnix-1.4.0.ebuild,1.10 KB, application/octet-stream)
2005-03-03 19:06 UTC, Jose A. Hernandez
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hubert Mercier (RETIRED) gentoo-dev 2005-01-22 05:16:18 UTC
emerge mkvtoolnix fails

Reproducible: Always
Steps to Reproduce:
1.emerge mkvtoolnix
2.
3.

Actual Results:  
compilation fails with a lot of error messages :

include /usr/include/errno.h -include /usr/include/unistd.h -O2 -march=pentium4
-fomit-frame-pointer -Wall -Wno-sign-compare -Wno-comment -D_LARGEFILE64_SOURCE
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64      -I/usr/lib/wx/include/gtk2-2.4
-DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-DPACKAGE=\"mkvtoolnix\" -DVERSION=\"0.8.8\"  -Iavilib-0.6.10 -Iaviclasses -I.
-Ilibrmff -Isrc -Isrc/common -Isrc/input -Isrc/output -c -o src/mkvmerge.o
src/mkvmerge.cpp
make: include : commande introuvable
make: [src/mkvmerge.o] Erreur 127 (ignor
Comment 1 Hubert Mercier (RETIRED) gentoo-dev 2005-01-22 05:16:18 UTC
emerge mkvtoolnix fails

Reproducible: Always
Steps to Reproduce:
1.emerge mkvtoolnix
2.
3.

Actual Results:  
compilation fails with a lot of error messages :

include /usr/include/errno.h -include /usr/include/unistd.h -O2 -march=pentium4
-fomit-frame-pointer -Wall -Wno-sign-compare -Wno-comment -D_LARGEFILE64_SOURCE
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64      -I/usr/lib/wx/include/gtk2-2.4
-DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-DPACKAGE=\"mkvtoolnix\" -DVERSION=\"0.8.8\"  -Iavilib-0.6.10 -Iaviclasses -I.
-Ilibrmff -Isrc -Isrc/common -Isrc/input -Isrc/output -c -o src/mkvmerge.o
src/mkvmerge.cpp
make: include : commande introuvable
make: [src/mkvmerge.o] Erreur 127 (ignorée)
include /usr/include/errno.h -include /usr/include/unistd.h -O2 -march=pentium4
-fomit-frame-pointer -Wall -Wno-sign-compare -Wno-comment -D_LARGEFILE64_SOURCE
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64      -I/usr/lib/wx/include/gtk2-2.4
-DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-DPACKAGE=\"mkvtoolnix\" -DVERSION=\"0.8.8\"  -Iavilib-0.6.10 -Iaviclasses -I.
-Ilibrmff -Isrc -Isrc/common -Isrc/input -Isrc/output -c -o src/cluster_helper.o
src/cluster_helper.cpp
make: include : commande introuvable
make: [src/cluster_helper.o] Erreur 127 (ignorée)
include /usr/include/errno.h -include /usr/include/unistd.h -O2 -march=pentium4
-fomit-frame-pointer -Wall -Wno-sign-compare -Wno-comment -D_LARGEFILE64_SOURCE
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64      -I/usr/lib/wx/include/gtk2-2.4
-DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-DPACKAGE=\"mkvtoolnix\" -DVERSION=\"0.8.8\"  -Iavilib-0.6.10 -Iaviclasses -I.
-Ilibrmff -Isrc -Isrc/common -Isrc/input -Isrc/output -c -o src/pr_generic.o
src/pr_generic.cpp
make: include : commande introuvable
make: [src/pr_generic.o] Erreur 127 (ignorée)
include /usr/include/errno.h -include /usr/include/unistd.h -O2 -march=pentium4
-fomit-frame-pointer -Wall -Wno-sign-compare -Wno-comment -D_LARGEFILE64_SOURCE
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64      -I/usr/lib/wx/include/gtk2-2.4
-DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-DPACKAGE=\"mkvtoolnix\" -DVERSION=\"0.8.8\"  -Iavilib-0.6.10 -Iaviclasses -I.
-Ilibrmff -Isrc -Isrc/common -Isrc/input -Isrc/output -c -o
src/common/aac_common.o src/common/aac_common.cpp
make: include : commande introuvable
make: [src/common/aac_common.o] Erreur 127 (ignorée)
include /usr/include/errno.h -include /usr/include/unistd.h -O2 -march=pentium4
-fomit-frame-pointer -Wall -Wno-sign-compare -Wno-comment -D_LARGEFILE64_SOURCE
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64      -I/usr/lib/wx/include/gtk2-2.4
-DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-DPACKAGE=\"mkvtoolnix\" -DVERSION=\"0.8.8\"  -Iavilib-0.6.10 -Iaviclasses -I.
-Ilibrmff -Isrc -Isrc/common -Isrc/input -Isrc/output -c -o
src/common/ac3_common.o src/common/ac3_common.cpp
make: include : commande introuvable
make: [src/common/ac3_common.o] Erreur 127 (ignorée)
include /usr/include/errno.h -include /usr/include/unistd.h -O2 -march=pentium4
-fomit-frame-pointer -Wall -Wno-sign-compare -Wno-comment -D_LARGEFILE64_SOURCE
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64      -I/usr/lib/wx/include/gtk2-2.4
-DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-DPACKAGE=\"mkvtoolnix\" -DVERSION=\"0.8.8\"  -Iavilib-0.6.10 -Iaviclasses -I.
-Ilibrmff -Isrc -Isrc/common -Isrc/input -Isrc/output -c -o src/common/base64.o
src/common/base64.cpp
make: include : commande introuvable
make: [src/common/base64.o] Erreur 127 (ignorée)
include /usr/include/errno.h -include /usr/include/unistd.h -O2 -march=pentium4
-fomit-frame-pointer -Wall -Wno-sign-compare -Wno-comment -D_LARGEFILE64_SOURCE
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64      -I/usr/lib/wx/include/gtk2-2.4
-DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-DPACKAGE=\"mkvtoolnix\" -DVERSION=\"0.8.8\"  -Iavilib-0.6.10 -Iaviclasses -I.
-Ilibrmff -Isrc -Isrc/common -Isrc/input -Isrc/output -c -o
src/common/chapter_parser_xml.o src/common/chapter_parser_xml.cpp
make: include : commande introuvable
make: [src/common/chapter_parser_xml.o] Erreur 127 (ignorée)
include /usr/include/errno.h -include /usr/include/unistd.h -O2 -march=pentium4
-fomit-frame-pointer -Wall -Wno-sign-compare -Wno-comment -D_LARGEFILE64_SOURCE
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64      -I/usr/lib/wx/include/gtk2-2.4
-DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-DPACKAGE=\"mkvtoolnix\" -DVERSION=\"0.8.8\"  -Iavilib-0.6.10 -Iaviclasses -I.
-Ilibrmff -Isrc -Isrc/common -Isrc/input -Isrc/output -c -o
src/common/chapters.o src/common/chapters.cpp
make: include : commande introuvable
make: [src/common/chapters.o] Erreur 127 (ignorée)
include /usr/include/errno.h -include /usr/include/unistd.h -O2 -march=pentium4
-fomit-frame-pointer -Wall -Wno-sign-compare -Wno-comment -D_LARGEFILE64_SOURCE
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64      -I/usr/lib/wx/include/gtk2-2.4
-DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-DPACKAGE=\"mkvtoolnix\" -DVERSION=\"0.8.8\"  -Iavilib-0.6.10 -Iaviclasses -I.
-Ilibrmff -Isrc -Isrc/common -Isrc/input -Isrc/output -c -o
src/common/chapter_writer.o src/common/chapter_writer.cpp
make: include : commande introuvable
make: [src/common/chapter_writer.o] Erreur 127 (ignorée)
include /usr/include/errno.h -include /usr/include/unistd.h -O2 -march=pentium4
-fomit-frame-pointer -Wall -Wno-sign-compare -Wno-comment -D_LARGEFILE64_SOURCE
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64      -I/usr/lib/wx/include/gtk2-2.4
-DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-DPACKAGE=\"mkvtoolnix\" -DVERSION=\"0.8.8\"  -Iavilib-0.6.10 -Iaviclasses -I.
-Ilibrmff -Isrc -Isrc/common -Isrc/input -Isrc/output -c -o src/common/common.o
src/common/common.cpp
make: include : commande introuvable
make: [src/common/common.o] Erreur 127 (ignorée)
include /usr/include/errno.h -include /usr/include/unistd.h -O2 -march=pentium4
-fomit-frame-pointer -Wall -Wno-sign-compare -Wno-comment -D_LARGEFILE64_SOURCE
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64      -I/usr/lib/wx/include/gtk2-2.4
-DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-DPACKAGE=\"mkvtoolnix\" -DVERSION=\"0.8.8\"  -Iavilib-0.6.10 -Iaviclasses -I.
-Ilibrmff -Isrc -Isrc/common -Isrc/input -Isrc/output -c -o
src/common/commonebml.o src/common/commonebml.cpp
make: include : commande introuvable
make: [src/common/commonebml.o] Erreur 127 (ignorée)
include /usr/include/errno.h -include /usr/include/unistd.h -O2 -march=pentium4
-fomit-frame-pointer -Wall -Wno-sign-compare -Wno-comment -D_LARGEFILE64_SOURCE
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64      -I/usr/lib/wx/include/gtk2-2.4
-DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-DPACKAGE=\"mkvtoolnix\" -DVERSION=\"0.8.8\"  -Iavilib-0.6.10 -Iaviclasses -I.
-Ilibrmff -Isrc -Isrc/common -Isrc/input -Isrc/output -c -o
src/common/compression.o src/common/compression.cpp
make: include : commande introuvable
make: [src/common/compression.o] Erreur 127 (ignorée)
include /usr/include/errno.h -include /usr/include/unistd.h -O2 -march=pentium4
-fomit-frame-pointer -Wall -Wno-sign-compare -Wno-comment -D_LARGEFILE64_SOURCE
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64      -I/usr/lib/wx/include/gtk2-2.4
-DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-DPACKAGE=\"mkvtoolnix\" -DVERSION=\"0.8.8\"  -Iavilib-0.6.10 -Iaviclasses -I.
-Ilibrmff -Isrc -Isrc/common -Isrc/input -Isrc/output -c -o
src/common/dts_common.o src/common/dts_common.cpp
make: include : commande introuvable
make: [src/common/dts_common.o] Erreur 127 (ignorée)
include /usr/include/errno.h -include /usr/include/unistd.h -O2 -march=pentium4
-fomit-frame-pointer -Wall -Wno-sign-compare -Wno-comment -D_LARGEFILE64_SOURCE
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64      -I/usr/lib/wx/include/gtk2-2.4
-DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-DPACKAGE=\"mkvtoolnix\" -DVERSION=\"0.8.8\"  -Iavilib-0.6.10 -Iaviclasses -I.
-Ilibrmff -Isrc -Isrc/common -Isrc/input -Isrc/output -c -o src/common/iso639.o
src/common/iso639.cpp
make: include : commande introuvable
make: [src/common/iso639.o] Erreur 127 (ignorée)
include /usr/include/errno.h -include /usr/include/unistd.h -O2 -march=pentium4
-fomit-frame-pointer -Wall -Wno-sign-compare -Wno-comment -D_LARGEFILE64_SOURCE
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64      -I/usr/lib/wx/include/gtk2-2.4
-DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-DPACKAGE=\"mkvtoolnix\" -DVERSION=\"0.8.8\"  -Iavilib-0.6.10 -Iaviclasses -I.
-Ilibrmff -Isrc -Isrc/common -Isrc/input -Isrc/output -c -o src/common/mm_io.o
src/common/mm_io.cpp
make: include : commande introuvable
make: [src/common/mm_io.o] Erreur 127 (ignorée)
include /usr/include/errno.h -include /usr/include/unistd.h -O2 -march=pentium4
-fomit-frame-pointer -Wall -Wno-sign-compare -Wno-comment -D_LARGEFILE64_SOURCE
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64      -I/usr/lib/wx/include/gtk2-2.4
-DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-DPACKAGE=\"mkvtoolnix\" -DVERSION=\"0.8.8\"  -Iavilib-0.6.10 -Iaviclasses -I.
-Ilibrmff -Isrc -Isrc/common -Isrc/input -Isrc/output -c -o
src/common/mp3_common.o src/common/mp3_common.cpp
make: include : commande introuvable
make: [src/common/mp3_common.o] Erreur 127 (ignorée)
include /usr/include/errno.h -include /usr/include/unistd.h -O2 -march=pentium4
-fomit-frame-pointer -Wall -Wno-sign-compare -Wno-comment -D_LARGEFILE64_SOURCE
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64      -I/usr/lib/wx/include/gtk2-2.4
-DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-DPACKAGE=\"mkvtoolnix\" -DVERSION=\"0.8.8\"  -Iavilib-0.6.10 -Iaviclasses -I.
-Ilibrmff -Isrc -Isrc/common -Isrc/input -Isrc/output -c -o
src/common/tagparser_end.o src/common/tagparser_end.cpp
make: include : commande introuvable
make: [src/common/tagparser_end.o] Erreur 127 (ignorée)
include /usr/include/errno.h -include /usr/include/unistd.h -O2 -march=pentium4
-fomit-frame-pointer -Wall -Wno-sign-compare -Wno-comment -D_LARGEFILE64_SOURCE
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64      -I/usr/lib/wx/include/gtk2-2.4
-DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-DPACKAGE=\"mkvtoolnix\" -DVERSION=\"0.8.8\"  -Iavilib-0.6.10 -Iaviclasses -I.
-Ilibrmff -Isrc -Isrc/common -Isrc/input -Isrc/output -c -o
src/common/tagparser_start.o src/common/tagparser_start.cpp
make: include : commande introuvable
make: [src/common/tagparser_start.o] Erreur 127 (ignorée)
include /usr/include/errno.h -include /usr/include/unistd.h -O2 -march=pentium4
-fomit-frame-pointer -Wall -Wno-sign-compare -Wno-comment -D_LARGEFILE64_SOURCE
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64      -I/usr/lib/wx/include/gtk2-2.4
-DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
-DPACKAGE=\"mkvtoolnix\" -DVERSION=\"0.8.8\"  -Iavilib-0.6.10 -Iaviclasses -I.
-Ilibrmff -Isrc -Isrc/common -Isrc/input -Isrc/output -c -o
src/common/tagwriter.o src/common/tagwriter.cpp
make: include : commande introuvable
make: [src/common/tagwriter.o] Erreur 127 (ignorée)
rm -f src/common/libmtxcommon.a
ar rcu src/common/libmtxcommon.a src/common/aac_common.o src/common/ac3_common.o
src/common/base64.o src/common/chapter_parser_xml.o src/common/chapters.o
src/common/chapter_writer.o src/common/common.o src/common/commonebml.o
src/common/compression.o src/common/dts_common.o src/common/iso639.o
src/common/mm_io.o src/common/mp3_common.o src/common/tagparser_end.o
src/common/tagparser_start.o src/common/tagwriter.o
ar: src/common/aac_common.o: Aucun fichier ou répertoire de ce type
make: *** [src/common/libmtxcommon.a] Erreur 1

!!! ERROR: media-video/mkvtoolnix-0.8.8 failed.
!!! Function src_compile, Line 32, Exitcode 2
!!! make failed
!!! If you need support, post the topmost build error, NOT this status message.


Expected Results:  
emerge should have finished compilation ;-).
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2005-01-22 06:40:21 UTC
`emerge --info`
Comment 3 Hubert Mercier (RETIRED) gentoo-dev 2005-01-22 07:35:10 UTC
Sorry, forgot emerge --info. It gives :

Portage 2.0.51-r14 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.10 i686)
=================================================================
System uname: 2.6.10 i686 Intel(R) Pentium(R) 4 CPU 2.60GHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Oct 24 2004, 10:03:47)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r5
sys-devel/automake:  1.8.5-r1
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.2-r7
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo"
MAKEOPTS=" -j4"
PKGDIR="/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.fr.gentoo.org/gentoo-portage"
USE="x86 X aalib alsa apm avi berkdb bitmap-fonts cdr crypt cups dga divx4linux dvd dvdr dvdread encode esd f77 fam fbcon flac font-server foomaticdb fortran gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 hal imlib java javascript jpeg libg++ libwww mad matroska mikmod mmx motif mozilla mpeg ncurses nls oggvorbis opengl pam pdflib perl png povray python quicktime readline real samba sdl spell sse ssl svga tcpd theora tiff truetype truetype-fonts type1-fonts winbind xine xml2 xmms xv xvid zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS, PORTDIR_OVERLAY
Comment 4 Adam Chodorowski 2005-02-16 00:52:00 UTC
The cause of this problem is the following line in the ebuild:

    emake CXX="${CXX} -include /usr/include/errno.h -include /usr/include/unistd.h" || die "make failed"

Before this point, CXX is not set, so ${CXX} expands to nothing. Obviously CXX in the makefile is then overridden by this unusable CXX value, ignoring whatever was found during configure. The right thing would be to set CXX during configure instead. 

However, since the comment just above says that this is to fix a bug in mkvtoolnix 0.7.9, it's quite possible it's simply not necessary at all anymore.
In fact, I tried compiling 0.8.8 without this "fix", and it seems to work fine. 

Comment 5 Jose A. Hernandez 2005-03-03 19:06:22 UTC
Created attachment 52598 [details]
Ebuild for mkvtoolnix-1.4.0

I modified the 1.0.1 ebuild for 1.4.0 updating the dependencies for libebml to
0.7.3 and libmatroska to 0.7.5

It compiles fine on my system.
Comment 6 Jan Brinkmann (RETIRED) gentoo-dev 2005-03-11 10:57:17 UTC
1.0.1 now marked stable, i've removed old and buggy versions. closing this one. 1.4.0 is now also in the tree