Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 79637 - revdep-rebuild quits on ut2004 license agreement
Summary: revdep-rebuild quits on ut2004 license agreement
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-26 13:40 UTC by Waldo
Modified: 2005-01-29 16:08 UTC (History)
0 users

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 Waldo 2005-01-26 13:40:26 UTC
When I do:

revdep-rebuild

...the rebuild begins.  When it gets to UT2004, it requires a licensing agreement to be agreed to.  The result looks like this:

>>> emerge (2 of 2) games-fps/ut2004-3339 to /
>>> md5 src_uri ;-) ut2004-lnxpatch3339.tar.bz2
>>> md5 src_uri ;-) ut2004-ecebonuspack.tar.bz2
 * Do you accept the terms of this license (ut2003)? [yes/no]

at this point, I am thrown into a display of the license (probably using "more" or "less" to display) and the instructions say at the top...

**********************************************************
The following license outlines the terms of use of this
package.  You MUST accept this license for installation to
continue.  When you are done viewing, hit 'q'.  If you
CTRL+C out of this, the install will not run!
**********************************************************

I can then scroll up and down to read the license, but "Y" or "N" is not accepted.. Only "Q" will get me out of this license mode... but when I type that, I get...

Result is not OK, you have following choices:
- if emerge failed during build, fix the problems and re-run revdep-rebuild
    or
- use -X or --package-names as first argument (try to rebuild package, not exact  ebuild - ignores SLOT!)
    or
- set ACCEPT_KEYWORDS="~<your platform>" and/or /etc/portage/package.unmask
  (and remove /root/.revdep-rebuild.5_order to be evaluated again)
    or
- modify the above emerge command and run it manually
    or
- compile or unmerge unsatisfied packages manually, remove temporary files and
  try again (you can edit package/ebuild list first)



In short, somehow exiting out of the license agreement also terminates revdep-rebuild.
 * You MUST accept the license to continue!  Exiting!

!!! ERROR: games-fps/ut2004-3339 failed.
!!! Function check_license, Line 1244, Exitcode 0
!!! Failed to accept license
!!! If you need support, post the topmost build error, NOT this status message.



Reproducible: Always
Steps to Reproduce:
1.  revdep-rebuild
2.  type "Q" during display of ut2004's license agreement to get out.  (note that typing "Y" scrolls up a line and "N" doesn't do anything..)
Actual Results:  
revdep-rebuild quit.

Expected Results:  
it shouldn't have quit.

# emerge info
Portage 2.0.51-r15 (default-linux/amd64/2004.3, gcc-3.4.3,
glibc-2.3.4.20040808-r1, 2.6.10-gentoo-r2 x86_64)
=================================================================
System uname: 2.6.10-gentoo-r2 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Jan  4 2005, 01:51:57)]
ccache version 2.3 [enabled]
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="amd64"
AUTOCLEAN="yes"
CFLAGS="-march=k8 -pipe -O2"
CHOST="x86_64-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="-march=k8 -pipe -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox"
GENTOO_MIRRORS="ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo
ftp://csociety-ftp.ecn.purdue.edu/pub/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X a52 aac acpi aim alsa amd64 avi berkdb bitmap-fonts cddb cdr crypt cups
divx4linux dvd dvdr esd f77 faad fam ffmpeg flac font-server foomatic foomaticdb
fortran gif gimpprint gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml imagemagick
imlib ipv6 java jp2 jpeg libgda libsndfile libwww lzw lzw-tiff mad matroska
mozilla mp3 mpeg multilib mysql ncurses nls nptl nptlonly nvidia oggvorbis
openal opengl oscar oss pam perl php png ppds python quicktime readline sdl ssl
tcpd tiff tokenizer truetype truetype-fonts type1-fonts usb userlocales
wxwindows xml2 xpm xrandr xv xvid yahoo zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Chris Gianelloni (RETIRED) gentoo-dev 2005-01-28 05:27:06 UTC
Add ACCEPT_LICENSE="ut2003" to your make.conf and try again.  It won't ask you about the license then.
Comment 2 Waldo 2005-01-28 21:20:37 UTC
This worked.  Now it says...

 * Please insert cd #1 for ut2004 now !
 * Press return to scan for the cd again
 * or hit CTRL+C to abort the emerge.

 * Please insert cd #1 for ut2004 now !
 * Press return to scan for the cd again
 * or hit CTRL+C to abort the emerge.

 * Please insert cd #1 for ut2004 now !
 * Press return to scan for the cd again
 * or hit CTRL+C to abort the emerge.

over and over..

I had to start over after remounting the /dev/cdrom...  But the question is...how would I know I need to do that line anyway?  Shouldn't I be told in some manner that I'd need to mount the cd and have a chance to do it?  Aside from filing a bug, it seems there should be a better way to find this out.

I'm reopening this bug because I just know I'm not the last person who's going to have this problem, and another bug will be opened until this is addressed either w/ text echo'd to the user or a prompt or something.  If you really disagree with this logic, go ahead and close it and I won't bother you, but I'm not sure that it's really been "fixed".`

W

PS-- nothing in the manpages for "portage" or "emerge" regarding ACCEPT_LICENSE.  And why do I say "ut2003" for "ut2004"?

But how would I or anyone else know to do this?!
Comment 3 Chris Gianelloni (RETIRED) gentoo-dev 2005-01-28 21:40:36 UTC
For one, there is the forums and previous bugzilla bugs, both of which you are supposed to search before filing a new bug.

Second, the reason for *not* adding a manual pause that is not required is because there are automated methods in the ebuild to keep from having to be present.  As for the ACCEPT_LICENSE, the reason that it isn't documented is because it is still a draft proposal.  However, due to licensing restrictions, we are *required* to display the license to you.  However, you could override the ACCEPT_LICENSE variable, which is what the license is checked against.

The license file is named ut2003 because the license is the same as ut2003 and there is no reason for a second license file for the same license.
Comment 4 Waldo 2005-01-29 16:08:19 UTC
Okay-- thanks for the explanation.  I did do a bug-check first but I guess I missed it if it's been reported previously.  (Now I gotta figure why revdep-rebuild keeps reinstalling OOo and UT2004 every time, even if i just did it...)

Again, thanks.
W