OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003689 [pkg_get] regular use major always 2009-05-27 10:53 2009-05-29 18:41
Reporter skayser View Status public  
Assigned To bonivart
Priority normal Resolution fixed  
Status closed  
Summary 0003689: 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
Additional Information $ pkginfo -x CSWpkgutil
CSWpkgutil pkgutil - Installs Solaris packages easily
            (i386) 1.6b1,REV=2009.05.25
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0006198)
skayser (administrator)
2009-05-27 11:37

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 (developer)
2009-05-27 11:53
edited on: 2009-05-27 11:55

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 (developer)
2009-05-27 13:00

Could you try r50 please?

http://pkgutil.svn.sourceforge.net/viewvc/pkgutil/trunk/pkgutil?revision=50 [^]
(0006201)
skayser (administrator)
2009-05-27 13:21

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 (developer)
2009-05-27 14:05

Yes, I didn't address bug 0003688 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. :-)
(0006207)
bonivart (developer)
2009-05-27 17:00

Will be in 1.6.
(0006231)
bonivart (developer)
2009-05-29 18:41

1.6 released.


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker