[bug-notifications] [pkgutil 0003689]: pkgutil -s doesn't honour target architecture (-T)

Mantis Bug Tracker noreply at opencsw.org
Wed May 27 14:05:10 CEST 2009


A NOTE has been added to this issue. 
====================================================================== 
http://www.opencsw.org/mantis/view.php?id=3689 
====================================================================== 
Reported By:                skayser
Assigned To:                bonivart
====================================================================== 
Project:                    pkgutil
Issue ID:                   3689
Category:                   regular use
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             2009-05-27 10:53 CEST
Last Modified:              2009-05-27 14:05 CEST
====================================================================== 
Summary:                    pkgutil -s doesn't honour target architecture (-T)
Description: 
Me again, sorry for nagging ;D Wanted to build a package stream for a
different architecture (sparc) than the current host (i386), but -T
sparc:5.10 didn't seem to work. The packages in the package stream were for
i386.

$ uname -a
SunOS ray1 5.10 Generic_137112-07 i86pc i386 i86pc

$ pkgutil -y -W tmp/ -T sparc:5.10 -s -o- windowmaker_dtlogin >
wmaker.pkg
...
$ pkginfo -d wmaker.pkg -x
CSWcommon          common - common files and dirs for CSW packages
                   (i386) 1.4.6,REV=2008.04.28
CSWexpat           expat - XML Parser Toolkit
                   (i386) 2.0.1,REV=2009.01.22
CSWfconfig         fontconfig - A library for configuring and customizing
font access.
                   (i386) 2.6.0,REV=2009.04.24
CSWftype2          freetype2 - A free and portable TrueType font rendering
engine
                   (i386) 2.3.8,REV=2009.02.16
CSWiconv           libiconv - GNU iconv library
                   (i386) 1.12,REV=2008.12.14
CSWisaexec         isaexec - sneaky wrapper around Sun isaexec
                   (all) 0.2,REV=2009.03.26
CSWjpeg            jpeg - JPEG library and tools by the Independent JPEG
Group
                   (i386) 6b,REV=2007.10.28
CSWlibxft2         libxft2 - FreeType-based font drawing library for X
                   (i386) 2.1.6,REV=2005.02.01
CSWlibxrender      libxrender - fontconfig.org Xrender library
                   (i386) 0.8.3,REV=2004.03.31
CSWpng             png - library for Portable Network Graphics format
(PNG)
                   (i386) 1.2.35,REV=2009.02.19
CSWrenderdev       render_dev - fontconfig.org render development files
                   (all) 0.8,REV=2004.03.30
CSWtiff            tiff - lib and tools for Tag Image File Format
                   (i386) 3.8.2,REV=2007.12.09
CSWungif           libungif - library for manipulation of GIF images
                   (i386) 4.1.4,REV=2007.02.05
CSWwmaker          windowmaker - OpenStep window manager lookalike
                   (i386) 0.92.0
CSWwmaker-dtlogin  windowmaker_dtlogin - dtlogin integration for the
Window Maker Window Manager
                   (all) 1.0
CSWxpm             xpm - library for X11 PixMap format (libXpm.so.4.11)
                   (i386) 3.4k,REV=2002.12.31
CSWzlib            zlib - Zlib Data Compression Library
                   (i386) 1.2.3,REV=2007.05.12

====================================================================== 

---------------------------------------------------------------------- 
 (0006198) skayser (administrator) - 2009-05-27 11:37
 http://www.opencsw.org/mantis/view.php?id=3689#c6198 
---------------------------------------------------------------------- 
Just went over to a sparc box and noticed that the release doesn't seem to
be honored either. Working on a 5.10 box and requesting packages from 5.9
still yields 5.10 packages (i.e. packages are pulled from
http://mirror/csw/current/arch/5.10). 

---------------------------------------------------------------------- 
 (0006199) bonivart (manager) - 2009-05-27 11:55
 http://www.opencsw.org/mantis/view.php?id=3689#c6199 
---------------------------------------------------------------------- 
This worked in 1.4 but broke in 1.5. The new multiple mirror features in
1.5 caused this, I know that Derek and me tested --stream but obviously not
with -T. I will fix this.

 

---------------------------------------------------------------------- 
 (0006200) bonivart (manager) - 2009-05-27 13:00
 http://www.opencsw.org/mantis/view.php?id=3689#c6200 
---------------------------------------------------------------------- 
Could you try r50 please?

http://pkgutil.svn.sourceforge.net/viewvc/pkgutil/trunk/pkgutil?revision=50 

---------------------------------------------------------------------- 
 (0006201) skayser (administrator) - 2009-05-27 13:21
 http://www.opencsw.org/mantis/view.php?id=3689#c6201 
---------------------------------------------------------------------- 
Alternate target via -T is working now, non-existent output file via -o
still fails.

skayser @ ray1 ~/tmp$ ./pkgutil -s -T sparc:5.9 -W . -o test.pkg ion
Parsing catalog, may take a while...
New packages: CSWcommon-1.4.6,REV=2008.04.28
CSWlibtoolrt-2.2.6,REV=2009.03.23_rev=a
CSWlibtool-2.2.6,REV=2009.03.23_rev=a CSWlua-5.1.4,REV=2009.03.30
CSWion-3,REV=2005.04.06.01
Total size: 1.6 MB
5 packages to fetch. Do you want to continue? [Y,n] 
Fetching CSWcommon-1.4.6,REV=2008.04.28...
--2009-05-27 13:19:20-- 
http://csw.informatik.uni-erlangen.de/csw/current/sparc/5.9/common-1.4.6,REV=2008.04.28-SunOS5.8-sparc-CSW.pkg
Resolving proxy.consol.de... 10.250.0.180
Connecting to proxy.consol.de|10.250.0.180|:8001... connected.
Proxy request sent, awaiting response... 200 OK
Length: 23552 (23K) [application/octet-stream]
Saving to:
`./packages/common-1.4.6,REV=2008.04.28-SunOS5.8-sparc-CSW.pkg'
..
Transforming CSWcommon...
Transforming CSWlibtoolrt...
Transforming CSWlibtool...
Transforming CSWlua...
Transforming CSWion...
Transforming packages into stream (./packages/test.pkg)...
Could not transform packages into stream: No such file or directory at
./pkgutil line 1002, <STDIN> line 1.

$ ./pkgutil -s -T sparc:5.10 -W . -o test.pkg ion
Parsing catalog, may take a while...
New packages: CSWcommon-1.4.6,REV=2008.04.28
CSWlibtoolrt-2.2.6,REV=2009.03.23_rev=a
CSWlibtool-2.2.6,REV=2009.03.23_rev=a CSWlua-5.1.4,REV=2009.03.30
CSWion-3,REV=2005.04.06.01
Total size: 1.6 MB
5 packages to fetch. Do you want to continue? [Y,n] 
A local copy of CSWcommon-1.4.6,REV=2008.04.28 exists and is of matching
size.
A local copy of CSWlibtoolrt-2.2.6,REV=2009.03.23_rev=a exists and is of
matching size.
A local copy of CSWlibtool-2.2.6,REV=2009.03.23_rev=a exists and is of
matching size.
A local copy of CSWlua-5.1.4,REV=2009.03.30 exists and is of matching
size.
A local copy of CSWion-3,REV=2005.04.06.01 exists and is of matching
size.
Transforming CSWcommon...
Could not transform common-1.4.6,REV=2008.04.28-SunOS5.8-sparc-CSW.pkg: No
such file or directory at ./pkgutil line 996, <STDIN> line 1. 

---------------------------------------------------------------------- 
 (0006202) bonivart (manager) - 2009-05-27 14:05
 http://www.opencsw.org/mantis/view.php?id=3689#c6202 
---------------------------------------------------------------------- 
Yes, I didn't address bug http://www.opencsw.org/mantis/view.php?id=3688 in r50,
only this one (the -T issue). I
take it that this works now? I also tested -o and that works for me, it's
only when using -W it breaks but I will address this in the other bug
instead. :-) 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-05-27 10:53 skayser        New Issue                                    
2009-05-27 11:14 bonivart       Status                   new => assigned     
2009-05-27 11:14 bonivart       Assigned To               => bonivart        
2009-05-27 11:37 skayser        Note Added: 0006198                          
2009-05-27 11:53 bonivart       Note Added: 0006199                          
2009-05-27 11:55 bonivart       Note Edited: 0006199                         
2009-05-27 13:00 bonivart       Note Added: 0006200                          
2009-05-27 13:21 skayser        Note Added: 0006201                          
2009-05-27 14:05 bonivart       Note Added: 0006202                          
======================================================================




More information about the bug-notifications mailing list