Bug 149658 - keyword net-misc/aria2 on ppc
|
Bug#:
149658
|
Product: Gentoo Linux
|
Version: 2006.1
|
Platform: All
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: enhancement
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: dev-zero@gentoo.org
|
Reported By: dev-zero@gentoo.org
|
|
Component: Ebuilds
|
|
|
URL:
|
|
Summary: keyword net-misc/aria2 on ppc
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2006-09-30 14:15 0000
|
I've just moved the package net-misc/aria2 from Gentoo Sunrise into the tree.
Could you please add your ~ARCH keywords.
Thanks in advance.
Works for me :) I'm using ~amd64 though... Must setup a stable chroot soon...
At least I got rid of Duncans CFLAGS *looks at blubb*
Portage 2.1.2_pre2 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.4-r4,
2.6.18-gentoo x86_64)
=================================================================
System uname: 2.6.18-gentoo x86_64 AMD Sempron(tm) Processor 3300+
Gentoo Base System version 1.12.5
Last Sync: Sat, 30 Sep 2006 23:30:09 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 2.0.30
dev-lang/python: 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: [Not Present]
dev-util/confcache: [Not Present]
sys-apps/sandbox: 1.2.18.1
sys-devel/autoconf: 2.13, 2.60
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils: 2.17
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.17-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf
/etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=k8 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig collision-protect distlocks metadata-transfer
multilib-strict sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="en_GB"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/layman/portage-xgl"
SYNC="rsync://socrates/gentoo-portage"
USE="amd64 X acpi alsa artworkextra beagle berkdb bitmap-fonts cdr cli crypt
cups dlloader dri dvd elibc_glibc firefox flac fortran gdbm glitz gnome gpm
gstreamer gtk gtk2 gtkhtml hal input_devices_evdev input_devices_keyboard
input_devices_mouse isdnlog java jpeg kernel_linux libg++ linguas_en_GB mad
mono mpeg ncurses nls nptl nptlonly nsplugin ogg opengl pam pcre perl png ppds
pppd python readline reflection samba session spell spl ssl svg symlink tcpd
theora tiff truetype-fonts type1-fonts udev unicode userland_GNU
video_cards_mga video_cards_nv video_cards_nvidia video_cards_vesa vorbis
widescreen xinerama xml xorg xv zlib"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
PORTAGE_RSYNC_EXTRA_OPTS
dev-zero: You better not forget the arches again! :P
I'm getting this on ppc64, if I have FEATURES="test" enabled:
[...]
make[3]: Leaving directory `/var/tmp/portage/aria2-0.8.1/work/aria2-0.8.1'
if powerpc64-unknown-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -Wall -I
../src -I../lib -I../intl -I../intl -I/usr/include -I/usr/include
-D_FILE_OFFSET_BITS=64 -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -O2
-pipe -mtune=power5 -mcpu=power5 -g -MT AllTest.o -MD -MP -MF
".deps/AllTest.Tpo" -c -o AllTest.o AllTest.cc; \
then mv -f ".deps/AllTest.Tpo" ".deps/AllTest.Po"; else rm -f
".deps/AllTest.Tpo"; exit 1; fi
AllTest.cc:1:39: cppunit/CompilerOutputter.h: No such file or directory
AllTest.cc:2:52: cppunit/extensions/TestFactoryRegistry.h: No such file or
directory
AllTest.cc:3:40: cppunit/ui/text/TestRunner.h: No such file or directory
AllTest.cc: In function `int main(int, char**)':
AllTest.cc:6: error: `CppUnit' has not been declared
AllTest.cc:6: error: `Test' was not declared in this scope
AllTest.cc:6: error: `suite' was not declared in this scope
AllTest.cc:6: error: `CppUnit' has not been declared
AllTest.cc:6: error: `getRegistry' was not declared in this scope
AllTest.cc:7: error: `CppUnit' has not been declared
AllTest.cc:7: error: `TestRunner' was not declared in this scope
AllTest.cc:7: error: expected `;' before "runner"
AllTest.cc:8: error: `runner' was not declared in this scope
AllTest.cc:10: error: `CppUnit' has not been declared
AllTest.cc:10: error: `CompilerOutputter' has not been declared
AllTest.cc:10: error: `cerr' is not a member of `std'
AllTest.cc:6: warning: unused variable 'Test'
AllTest.cc:6: warning: unused variable 'getRegistry'
AllTest.cc:7: warning: unused variable 'TestRunner'
make[2]: *** [AllTest.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/aria2-0.8.1/work/aria2-0.8.1/test'
make[1]: *** [check-am] Error 2
make[1]: Leaving directory `/var/tmp/portage/aria2-0.8.1/work/aria2-0.8.1/test'
make: *** [check-recursive] Error 1
Me too :|
if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -Wall -I ../src
-I../lib -I../intl -I../intl -I/usr/local/include -D_FILE_OFFSET_BITS=64
-DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -O2 -march=k8 -pipe -MT
AllTest.o -MD -MP -MF ".deps/AllTest.Tpo" -c -o AllTest.o AllTest.cc; \
then mv -f ".deps/AllTest.Tpo" ".deps/AllTest.Po"; else rm -f
".deps/AllTest.Tpo"; exit 1; fi
AllTest.cc:1:39: error: cppunit/CompilerOutputter.h: No such file or directory
AllTest.cc:2:52: error: cppunit/extensions/TestFactoryRegistry.h: No such file
or directory
AllTest.cc:3:40: error: cppunit/ui/text/TestRunner.h: No such file or directory
AllTest.cc: In function 'int main(int, char**)':
AllTest.cc:6: error: 'CppUnit' has not been declared
AllTest.cc:6: error: expected initializer before '*' token
AllTest.cc:7: error: 'CppUnit' has not been declared
AllTest.cc:7: error: expected initializer before 'runner'
AllTest.cc:8: error: 'runner' was not declared in this scope
AllTest.cc:8: error: 'suite' was not declared in this scope
AllTest.cc:10: error: 'CppUnit' has not been declared
AllTest.cc:10: error: expected `)' before 'CompilerOutputter'
make[2]: *** [AllTest.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/aria2-0.8.0/work/aria2-0.8.0/test'
make[1]: *** [check-am] Error 2
make[1]: Leaving directory `/var/tmp/portage/aria2-0.8.0/work/aria2-0.8.0/test'
make: *** [check-recursive] Error 1
!!! ERROR: net-misc/aria2-0.8.0 failed.
Call stack:
ebuild.sh, line 1546: Called dyn_test
ebuild.sh, line 986: Called src_test
ebuild.sh, line 616: Called die
!!! Make check failed. See above for details.
!!! If you need support, post the topmost build error, and the call stack if
relevant.
Plato ~ #
Ok, thanks. There are some issues I have to solve here: a) I've already added a
'test' USE-flag, because we need cppunit to run 'make check'. b) The unittest
itself has a bug (missing bracket) and c) one unittest fails after all. I've
reported the bug to upstream.
Thanks for pointing this out!
Feel free to us back once you've sorted current problems with the tests
Is there anything driving this request (e.g. future dependencies)?
No, not really. Remove yourself if you don't want to keyword it right now
and/or if you want to wait until a user requests it.
For the "make check"/FEATURES="test". I think it's safe to ignore it's result
and just try to fetch, abort and resume a file.
Thanks for testing!
Adding ppc64 back:
net-misc/aria2-0.8.1: depends ~ppc64: unsolvable hardened/ppc64, solutions: [
dev-util/cppunit ]
net-misc/aria2-0.8.1: depends ~ppc64: unsolvable
default-linux/ppc/ppc64/2006.1/64bit-userland, solutions: [ dev-util/cppunit ]
(In reply to comment #9)
> Adding ppc64 back:
>
> net-misc/aria2-0.8.1: depends ~ppc64: unsolvable hardened/ppc64, solutions: [
> dev-util/cppunit ]
> net-misc/aria2-0.8.1: depends ~ppc64: unsolvable
> default-linux/ppc/ppc64/2006.1/64bit-userland, solutions: [ dev-util/cppunit ]
>
fixed and thanks. don't know why repoman didn't bitched about this...
~sparc keyword added. looks like amd64 already has a keyword so not sure if
they should be removed.
Removing amd64 because I have one where I've tested the app.
Re-adding ppc: Sorry for the interruption, the tests seem not to be updated,
I've therefore removed the test USE-flag and added a RESTRICT="test" (with
comment).
Please add your KEYWORD. Thanks in advance!
~ppc keyword added. Closing bug since we're last arch