Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 47000 - mp3check-0.8.0.ebuild (New Package)
Summary: mp3check-0.8.0.ebuild (New Package)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement
Assignee: Jeremy Huddleston (RETIRED)
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2004-04-06 15:16 UTC by kavol
Modified: 2004-09-16 13:58 UTC (History)
1 user (show)

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


Attachments
mp3check-0.8.0.ebuild (mp3check-0.8.0.ebuild,497 bytes, text/plain)
2004-04-06 15:18 UTC, kavol
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kavol 2004-04-06 15:16:28 UTC
Hello,

I was missing my favourite integrity checker for mp3s so I wrote an ebuild for that. Hope there is not too much errors - it worked for me :-)

This is not the same as mp3_check - in fact, I consider this utility much more powerful than anything else I have seen.
Comment 1 kavol 2004-04-06 15:18:10 UTC
Created attachment 28810 [details]
mp3check-0.8.0.ebuild
Comment 2 Frank van de Pol (RETIRED) gentoo-dev 2004-07-10 11:00:55 UTC
Hi kavol,

thanks for your submitted ebuild. It generally look quite good, but lacks dependency to at least libc.
DEPEND="virtual/libc"

can you also change the copyright line (1st line in your ebuild) to:
# Copyright 1999-2004 Gentoo Foundation


When I try to install it on my system (gcc-3.4.1, glibc-2.3.4.20040605-r0) it fails. I added the output below. 

Can you please have a look at these things?



g++ -DHAVE_CONFIG_H -I. -I. -I.     -pipe -O2 -c tstring.cc
In file included from tstring.h:32,
                 from tstring.cc:30:
tvector.h: In member function `const tvector<T>& tvector<T>::operator+=(const tvector<T>&)':
tvector.h:63: error: there are no arguments to `end' that depend on a template parameter, so a declaration of `end' must be available
tvector.h:63: error: (if you use `-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
tvector.h: In member function `const T& tvector<T>::operator[](size_t) const':
tvector.h:65: error: there are no arguments to `size' that depend on a template parameter, so a declaration of `size' must be available
tvector.h:65: error: there are no arguments to `size' that depend on a template parameter, so a declaration of `size' must be available
tvector.h: In member function `T& tvector<T>::operator[](size_t)':
tvector.h:67: error: there are no arguments to `size' that depend on a template parameter, so a declaration of `size' must be available
tvector.h:67: error: there are no arguments to `size' that depend on a template parameter, so a declaration of `size' must be available
tvector.h: In member function `void tvector<T>::clear()':
tvector.h:69: error: there are no arguments to `begin' that depend on a template parameter, so a declaration of `begin' must be available
tvector.h:69: error: there are no arguments to `end' that depend on a template parameter, so a declaration of `end' must be available
tstring.cc: In member function `void tstring::replaceUnprintable(bool)':
tstring.cc:717: error: invalid initialization of non-const reference of type 'unsigned char&' from a temporary of type 'unsigned char'
make: *** [tstring.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from tappconfig.h:25,
                 from tappconfig.cc:31:
tmap.h: In member function `bool tmap<K, T>::contains(const K&) const':
tmap.h:57: error: there are no arguments to `end' that depend on a template parameter, so a declaration of `end' must be available
tmap.h:57: error: (if you use `-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
In file included from tappconfig.h:26,
                 from tappconfig.cc:31:
tvector.h: In member function `const tvector<T>& tvector<T>::operator+=(const tvector<T>&)':
tvector.h:63: error: there are no arguments to `end' that depend on a template parameter, so a declaration of `end' must be available
tvector.h: In member function `const T& tvector<T>::operator[](size_t) const':
tvector.h:65: error: there are no arguments to `size' that depend on a template parameter, so a declaration of `size' must be available
tvector.h:65: error: there are no arguments to `size' that depend on a template parameter, so a declaration of `size' must be available
tvector.h: In member function `T& tvector<T>::operator[](size_t)':
tvector.h:67: error: there are no arguments to `size' that depend on a template parameter, so a declaration of `size' must be available
tvector.h:67: error: there are no arguments to `size' that depend on a template parameter, so a declaration of `size' must be available
tvector.h: In member function `void tvector<T>::clear()':
tvector.h:69: error: there are no arguments to `begin' that depend on a template parameter, so a declaration of `begin' must be available
tvector.h:69: error: there are no arguments to `end' that depend on a template parameter, so a declaration of `end' must be available
make: *** [tappconfig.o] Error 1

!!! ERROR: media-sound/mp3check-0.8.0 failed.
!!! Function src_compile, Line 481, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.


Comment 3 kavol 2004-07-12 14:35:57 UTC
As for the compile error - it works (at least) with gcc 3.3.3, but does not work with gcc 3.4.1, which is your case. It reports very similar errors on my second computer with gcc 3.4.1 while the first one with the older gcc does not report even a single warning ... Unfortunatelly, I know nearly nothing about C++ so I can hardly track the problem.

As for the dependencies, the rpm .spec file says nothing, nor the website or the installation instructions ... is there any tool to find what is needed?
Comment 4 Jeremy Huddleston (RETIRED) gentoo-dev 2004-09-16 13:58:59 UTC
in portage.