Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 36100 - mingetty-1.00.3 ebuid fails to build after patch upgraded to version 2.5.9
Summary: mingetty-1.00.3 ebuid fails to build after patch upgraded to version 2.5.9
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High blocker
Assignee: Gentoo Dialup Developers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-18 21:20 UTC by Alex Brainman
Modified: 2004-01-29 23:04 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 Alex Brainman 2003-12-18 21:20:39 UTC
boo root # emerge mingetty                                                      
Calculating dependencies ...done!                                               
>>> emerge (1 of 1) net-dialup/mingetty-1.00.3 to /                             
>>> md5 src_uri ;-) mingetty-1.00-3.src.rpm                                     
>>> Unpacking source...                                                         
found gzip magic bytes                                                          
  trying to decompress with gzip...  OK                                         
                                                                                
patch: **** File mingetty-1.00/Makefile seems to be locked by somebody else unde
r Perforce                                                                      
                                                                                
!!! ERROR: net-dialup/mingetty-1.00.3 failed.                                   
!!! Function src_unpack, Line 24, Exitcode 2                                    
!!! (no error message)                                                          
                                                                                
boo root # patch --version                                                      
patch 2.5.9                                                                     
Copyright (C) 1988 Larry Wall                                                   
Copyright (C) 2003 Free Software Foundation, Inc.                               
                                                                                
This program comes with NO WARRANTY, to the extent permitted by law.            
You may redistribute copies of this program                                     
under the terms of the GNU General Public License.                              
For more information about these matters, see the file named COPYING.           
                                                                                
written by Larry Wall and Paul Eggert                                           


Reproducible: Always
Steps to Reproduce:
1. emerge sync to go uptodate
2. emerge mingetty

Actual Results:  
boo root # emerge mingetty                                                      
Calculating dependencies ...done!                                               
>>> emerge (1 of 1) net-dialup/mingetty-1.00.3 to /                             
>>> md5 src_uri ;-) mingetty-1.00-3.src.rpm                                     
>>> Unpacking source...                                                         
found gzip magic bytes                                                          
  trying to decompress with gzip...  OK                                         
                                                                                
patch: **** File mingetty-1.00/Makefile seems to be locked by somebody else unde
r Perforce                                                                      
                                                                                
!!! ERROR: net-dialup/mingetty-1.00.3 failed.                                   
!!! Function src_unpack, Line 24, Exitcode 2                                    
!!! (no error message)                                                          
                                                                                


Expected Results:  
built and installed mingetty
Comment 1 Heinrich Wendel (RETIRED) gentoo-dev 2003-12-19 10:26:54 UTC
please provide 'emerge info'
Comment 2 Alex Brainman 2003-12-21 22:49:11 UTC
Here is goes:

boo root # emerge info                                                          
Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.21-abi)     
=================================================================               
System uname: 2.4.21-abi i686 Intel(R) Pentium(R) 4 CPU 2.40GHz                 
Gentoo Base System version 1.4.3.8p1                                            
ACCEPT_KEYWORDS="x86"                                                           
AUTOCLEAN="yes"                                                                 
CFLAGS="-O2 -mcpu=i686 -pipe"                                                   
CHOST="i486-pc-linux-gnu"                                                       
COMPILER="gcc3"                                                                 
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/confi
g /usr/kde/3/share/config"                                                      
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"                                     
CXXFLAGS="-O2 -mcpu=i686 -pipe"                                                 
DISTDIR="/usr/portage/distfiles"                                                
FEATURES="sandbox ccache autoaddcvs"                                            
GENTOO_MIRRORS="ftp://ftp.linux.sge.local/pub/gentoo ftp://planetmirror.com/pub/
gentoo/ http://planetmirror.com/pub/gentoo/ http://gentoo.oregonstate.edu http:/
/www.ibiblio.org/pub/Linux/distributions/gentoo"                                
MAKEOPTS="-j2"                                                                  
PKGDIR="/usr/portage/packages"                                                  
PORTAGE_TMPDIR="/var/tmp"                                                       
PORTDIR="/usr/portage"                                                          
PORTDIR_OVERLAY="/usr/local/portage"                                            
SYNC="rsync://rsync.gentoo.org/gentoo-portage"                                  
USE="x86 oss apm arts avi crypt cups encode foomaticdb gif gtk gtk2 imlib jpeg k
de gnome libg++ libwww mad mikmod motif mpeg ncurses nls oggvorbis opengl pdflib
 png qt quicktime sdl slang spell svga truetype xml2 xmms xv zlib gdbm berkdb re
adline gpm tcpd pam ssl perl python -X"                                         
Comment 3 Heinrich Wendel (RETIRED) gentoo-dev 2003-12-22 05:15:16 UTC
your patch output looks a bit strange, what gzip version are you using? also what is perforce?
Comment 4 Alex Brainman 2003-12-22 17:49:15 UTC
> your patch output looks a bit strange, ...

mmm ...

> what gzip version are you using? ...

boo root # gzip --version                                                       
gzip 1.3.3                                                                      
(2002-03-08)                                                                    
Copyright 2002 Free Software Foundation                                         
Copyright 1992-1993 Jean-loup Gailly                                            
This program comes with ABSOLUTELY NO WARRANTY.                                 
You may redistribute copies of this program                                     
under the terms of the GNU General Public License.                              
For more information about these matters, see the file named COPYING.           
Compilation options:                                                            
DIRENT UTIME STDC_HEADERS HAVE_UNISTD_H HAVE_MEMORY_H HAVE_STRING_H HAVE_LSTAT  
Written by Jean-loup Gailly.                                                    

> also what is perforce?

http://perforce.com/ I assume ...

If it helps any:

boo work # cd /var/tmp/portage/mingetty-1.00.3/work/mingetty-1.00               
boo mingetty-1.00 # ls -l                                                       
total 48                                                                        
-rw-r--r--    1 2455     2459        17983 Feb 14  1996 COPYING                 
-rw-r--r--    1 2455     2459          267 Mar  5  2002 Makefile                
-rw-rw-r--    1 2455     2459         6228 Mar  5  2002 mingetty-0.9.4-autologin
.patch                                                                          
-rw-r--r--    1 2455     2459         1874 Mar  5  2002 mingetty.8              
-rw-r--r--    1 2455     2459        10032 Mar  5  2002 mingetty.c              

notice owner/group are numeric (not root), and I thinkg patch trips on going over Makefile with "not writable" and report it as "locked by somebody else unde
r Perforce"
Comment 5 Heinrich Wendel (RETIRED) gentoo-dev 2003-12-26 06:00:52 UTC
it has the correct permissions here, what about:

ls -l /var/tmp/portage/mingetty-1.00.3/work
Comment 6 Alex Brainman 2003-12-28 14:38:16 UTC
> it has the correct permissions here, 

why not here. I've used nothing but emerge ...


> what about:
> 
> ls -l /var/tmp/portage/mingetty-1.00.3/work

here it goes

boo root # ls -l /var/tmp/portage/mingetty-1.00.3/work                          
total 44                                                                        
drwxr-xr-x    2 2455     2459         4096 Mar  5  2002 mingetty-1.00           
-rw-r--r--    1 root     root        15879 Dec 19 16:08 mingetty-1.00-3.src.tar.
gz                                                                              
-rw-rw-r--    1 root     root          259 Mar  5  2002 mingetty-1.00-opt.patch 
-rw-rw-r--    1 root     root        14038 Mar  5  2002 mingetty-1.00.tar.gz    
-rw-r--r--    1 root     root         2380 Jun 22  2002 mingetty.spec           

and while we're at it:

boo t # cat mingetty-1.00.tar.gz | gzip -d -c | tar tv                          
drwxr-xr-x laroche/laroche   0 2002-03-05 01:23:56 mingetty-1.00/               
-rw-r--r-- laroche/laroche 10032 2002-03-05 01:10:01 mingetty-1.00/mingetty.c   
-rw-r--r-- laroche/laroche   267 2002-03-05 01:23:56 mingetty-1.00/Makefile     
-rw-r--r-- laroche/laroche 17983 1996-02-14 07:03:53 mingetty-1.00/COPYING      
-rw-r--r-- laroche/laroche  1874 2002-03-05 01:00:44 mingetty-1.00/mingetty.8   
-rw-rw-r-- laroche/laroche  6228 2002-03-05 01:14:22 mingetty-1.00/mingetty-0.9.
4-autologin.patch                                                               

but I don't have user "laroche" on my system.
Comment 7 Alex Brainman 2004-01-28 22:28:58 UTC
I'm just checking if there is any progress here, it's been a while ...
Comment 8 Heinrich Wendel (RETIRED) gentoo-dev 2004-01-29 05:06:19 UTC
sorry, i could not reproduce that and have currently no idea where the problem is
Comment 9 Alex Brainman 2004-01-29 23:04:37 UTC
I did "emerge resync" and "emerge portage" today, and, guess what, it works now ... So I'm going to close the bug. Thanks.