Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 46874 - net-misc/pxes-0.8: Can't access method `mksquashed'...
Summary: net-misc/pxes-0.8: Can't access method `mksquashed'...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Chris Gianelloni (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-05 10:10 UTC by FieldySnuts
Modified: 2005-05-18 08:50 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 FieldySnuts 2004-04-05 10:10:41 UTC
After emerging pxes-0.8, I tried to start pxesconfig and I got:

DISPLAY=":0" pxesconfig
Can't access method `mksquashed' in class PxesconfigModel
We were called from PxesconfigGUI, /usr/lib/perl5/site_perl/5.8.3/Pxesconfig/PxesconfigGUI.pm, 552

The only remotely odd thing I can think that I'm doing is su ing into root, which is why I manually set DISPLAY.


Portage 2.0.50-r1 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.6.5-rc2)
=================================================================
System uname: 2.6.5-rc2 i686 Pentium III (Katmai)
Gentoo Base System version 1.4.3.8p1
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=pentium3 -O2 -pipe -fomit-frame-pointer -mmmx -msse -mfpmath=sse,387"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-mcpu=pentium3 -O2 -pipe -fomit-frame-pointer -mmmx -msse -mfpmath=sse,387"
DISTDIR="/var/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache notitles sandbox"
GENTOO_MIRRORS="ftp://mirrors.tds.net/gentoo http://mirrors.tds.net/gentoo http://gentoo.netnitco.net ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/ ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo"
MAKEOPTS="-j3"
PKGDIR="/var/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/var/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X apache2 apm avi berkdb cdr crypt cups encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 imlib java jpeg kde kerberos ldap libg++ libwww mad mikmod mmx motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang snmp spell sse ssl svga tcpd tiff truetype x86 xml2 xmms xv zlib"
Comment 1 Chris Gianelloni (RETIRED) gentoo-dev 2004-04-06 11:23:00 UTC
Are you using "su" or "su -"?
Comment 2 FieldySnuts 2004-04-06 14:14:55 UTC
I was using su - . Interestingly, today I did not have to pass DISPLAY.

By the way, a small correction. I can start pxes, it is when I hit NEXT in the GUI that this error happens.
Comment 3 FieldySnuts 2004-04-06 14:15:43 UTC
I can start pxesconfig, that is... my appologies for being groggy.
Comment 4 FieldySnuts 2004-06-08 07:58:33 UTC
Any progress on this? I'm still seeing the error today:

# pxesconfig 
Can't access method `mksquashed' in class PxesconfigModel
We were called from PxesconfigGUI, /usr/lib/perl5/site_perl/5.8.3/Pxesconfig/PxesconfigGUI.pm, 552
Comment 5 Chris Gianelloni (RETIRED) gentoo-dev 2004-06-08 08:17:06 UTC
Not yet... I've been swamped and haven't been able to get to it.

A workaround is to not use squashfs in pxesconfig.
Comment 6 FieldySnuts 2004-06-08 08:49:43 UTC
Okay, thanks for the fast repsonse, good to know it's not forgotten.

How do I go about not using squashfs in pxesconfig, and what are the issues of not using it?
Comment 7 Chris Gianelloni (RETIRED) gentoo-dev 2004-06-08 09:06:59 UTC
Uncheck the box on the first page that says something about squash... sorry, I'd tell you exactly what it says, but I'm at work so doing this from memory.  I beleive that it is the bottom-most option.

The only difference is that the squash stuff is a newer option and makes for smaller images.  You don't need it at all, but I'll be working to fix it as soon as I am able to get some free time on that machine.
Comment 8 FieldySnuts 2004-06-08 10:30:36 UTC
Don't worry about responding during work, I'm sure you're busy enough.

I don't get to the page you mention. I start pxesconfig, get the intro with basic info, and when I choose next, that's when the error is spit out, and the application closes.

Talk to you later.
Comment 9 FieldySnuts 2004-06-08 12:16:05 UTC
Further info for later:

I updated squashfs-tools to 2.0_alpha , then remerged pxes. I now get different output to STDOUT:

# pxesconfig 
Can't locate Pxesconfig/Pxesconfig.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0/i686-linux /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl/5.6.0 /etc/perl /usr/lib/perl5/site_perl/5.8.3/i686-linux /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.3/i686-linux /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.0/i686-linux /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.3/i686-linux /usr/lib/perl5/5.8.3 /usr/local/lib/site_perl .) at /usr/bin/pxesconfig line 73.
BEGIN failed--compilation aborted at /usr/bin/pxesconfig line 73.

Cheers.
Comment 10 Chris Gianelloni (RETIRED) gentoo-dev 2004-06-09 05:24:44 UTC
What if you unmerge and remerge pxes?
Comment 11 FieldySnuts 2004-06-09 10:28:08 UTC
I unmerged, then went to merge again. I got an access violation:

Writing /var/tmp/portage/pxes-0.8/image//usr/lib/perl5/vendor_perl/5.8.3/i686-linux/auto/Pxesconfig/.packlist
Appending installation info to /var/tmp/portage/pxes-0.8/image//usr/lib/perl5/5.8.3/i686-linux/perllocal.pod
/usr/bin/perl -MExtUtils::Install \
-e "install({'etc' => '/usr/share/pxesconfig'},'0',0);"
ACCESS DENIED  mkdir:     /usr/share/pxesconfig
mkdir /usr/share/pxesconfig: Permission denied at /usr/lib/perl5/vendor_perl/5.8.0/ExtUtils/Install.pm line 112
make: *** [install] Error 255

!!! ERROR: net-misc/pxes-0.8 failed.
!!! Function perl-module_src_install, Line 85, Exitcode 2
!!! (no error message)

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-net-misc_-_pxes-0.8-7599.log"

mkdir:     /usr/share/pxesconfig
--------------------------------------------------------------------------------

Hm. Sandbox issue? Trying with FEATURES="-sandbox" emerge pxes   completed the merge. Now on to trying pxesconfig...

After getting the initial screen, upon clicking next, immediately on STDOUT:

Can't access method `mksquashed' in class PxesconfigModel
We were called from PxesconfigGUI, /usr/lib/perl5/site_perl/5.8.3/Pxesconfig/PxesconfigGUI.pm, 552

And the GUI closes.
Comment 12 FieldySnuts 2004-06-23 07:03:08 UTC
Do you know why pxes is now masked? pxes is quite important to what I do, is it because there are not enough people to take care of it?

If need be I will learn what I need and take care of it, but it would be quite a while before i could do so.
Comment 13 Chris Gianelloni (RETIRED) gentoo-dev 2004-06-23 07:29:33 UTC
I masked it for various reasons, including this one and another issue with it being unable to be installed.  I am working with the author to resolve these issues.  If PXES is working for you, then simply unmask the ebuild in your /etc/portage/package.unmask and you're free to use it as you wish.

However, I *know* that the ebuild is broken in many cases.  To keep from getting more bugs on a package that I am already aware is broken, I have masked it, and it will remain masked until such time as I can repair it.

Thanks
Comment 14 FieldySnuts 2004-06-23 09:12:38 UTC
Okay,  thanks for the explanation.

Of interest is that I just tried 0.8 on my home system which is a new stage1 install, and I do not have this issue.

This is that system:

Gentoo Base System version 1.4.16
Portage 2.0.50-r8 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.7
)
=================================================================
System uname: 2.6.7 i686 AMD Athlon(TM) XP 1800+
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -fstack-protector -fomit-frame-pointer -funroll-loo
ps -fprefetch-loop-arrays -pipe -mmmx -msse -m3dnow -mfpmath=sse,387"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.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="-O2 -march=athlon-xp -fstack-protector -fomit-frame-pointer -funroll-l
oops -fprefetch-loop-arrays -pipe -mmmx -msse -m3dnow -mfpmath=sse,387"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache notitles sandbox"
GENTOO_MIRRORS="http://gentoo.eliteitminds.com ftp://ftp.ndlug.nd.edu/pub/gentoo
/ http://mirrors.tds.net/gentoo ftp://206.75.217.180/ ftp://206.75.217.181/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow X alsa apm avi berkdb cdr chroot crypt dv dvd dvdr encode foomaticdb
gdbm gif gnome gpm gtk gtk2 imlib java jpeg kde libg++ libwww mad mikmod mmx mot
if mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png pwdb python
 qt quicktime readline sdl slang spell sse ssl svga tcpd tiff truetype x86 xml2
xmms xv zlib"
Comment 15 FieldySnuts 2004-06-23 09:13:40 UTC
Additional notes: it is a 2004.1 install, not 2004.0 which is claimed in the output. Odd.
Comment 16 Chris Gianelloni (RETIRED) gentoo-dev 2004-08-16 10:35:01 UTC
Can you try pxes 0.9 and REOPEN this if it still isn't fixed.
Comment 17 FieldySnuts 2004-08-16 16:27:30 UTC
Unfortunately due to Comment #12 on bug 56480, I can't test this. Leaving as-is.
Comment 18 Chris Gianelloni (RETIRED) gentoo-dev 2004-08-24 12:34:32 UTC
According to Bug #56480, this isn't fixed yet, so REOPENING...
Comment 19 FieldySnuts 2004-11-04 09:59:58 UTC

I have three systems. Two of them are ~x86 systemwide. On one of the ~x86 systems, I no longer get the mksquashed error. On the other ~x86 system, I do. So perhaps I can help find out what is different among the two and help you solve this.

The only error I get on the system where it does work, the "home" system, I get this. It does not prevent running pxesconfig: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/site_perl/5.8.5/Pxesconfig/PxesconfigModel.pm line 492.

I'll start with emerge info on both, however if any other information from these two systems would help you, please let me know.


"linux2"

Portage 2.0.50-r11 (default-x86-2004.2, gcc-3.2.3, glibc-2.3.4.20041006-r0, 2.6.7)
=================================================================
System uname: 2.6.7 i686 Pentium III (Katmai)
Gentoo Base System version 1.4.3.8p1
distcc 2.17 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59
Automake: sys-devel/automake-1.8.5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=pentium3 -O2 -pipe -fomit-frame-pointer -mmmx -msse -mfpmath=sse,387"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/fax /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mcpu=pentium3 -O2 -pipe -fomit-frame-pointer -mmmx -msse -mfpmath=sse,387"
DISTDIR="/var/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache notitles sandbox"
GENTOO_MIRRORS="ftp://gentoo.mirrors.pair.com/ http://mirror.datapipe.net/gentoo http://open-systems.ufl.edu/mirrors/gentoo ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/ ftp://gentoo.ccccom.com"
MAKEOPTS="-j3"
PKGDIR="/var/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/var/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X apache2 apm avi berkdb bitmap-fonts cdr chroot crypt cups dvdr encode esd f77 foomaticdb gdbm gif gnome gpm gtk gtk2 imlib java jpeg kde kerberos ldap libg++ libwww mad mikmod mmx motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang snmp spell sse ssl svga tcpd tiff truetype x86 xml2 xmms xv zlib"



"home"

Portage 2.0.51_rc6 (default-x86-2004.2, gcc-3.4.1, glibc-2.3.4.20041006-r0, 2.6.7-grsec i686)
=================================================================
System uname: 2.6.7-grsec i686 AMD Athlon(TM) XP 1800+
Gentoo Base System version 1.4.16
distcc 2.17 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux-headers-2.4.22
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -fstack-protector -fomit-frame-pointer -funroll-loops -fprefetch-loop-arrays -pipe -mmmx -msse -m3dnow -mfpmath=sse,387"CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /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="-O2 -march=athlon-xp -fstack-protector -fomit-frame-pointer -funroll-loops -fprefetch-loop-arrays -pipe -mmmx -msse -m3dnow -mfpmath=sse,387"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache distlocks notitles sandbox"
GENTOO_MIRRORS="http://mirrors.tds.net/gentoo ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/ http://gentoo.blueyonder.co.uk ftp://mirror.iawnet.sandia.gov/pub/gentoo/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow X alsa apm avi berkdb bitmap-fonts cdr chroot crypt dv dvd dvdr encode f77 foomaticdb gdbm gif gnome gpm gtk gtk2 imlib java jpeg kde ldap libg++ libwww mad mikmod mmx motif mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png pwdb python qt quicktime readline sdl slang spell sse ssl svga tcltk tcpd tiff truetype x86 xml2 xmms xv zlib"

Additionally, "linux2" is using perl v5.8.3 , and "home" is using v5.8.5.

I am going to try upgrading linux2's perl to 5.8.5, and will report what happens here.
Comment 20 FieldySnuts 2004-11-04 12:10:36 UTC
Upgrading linux2's perl to 5.8.5 didn't solve the problem. I remerged pxes after this, as well.

Though, the line changed:

We were called from PxesconfigGUI, /usr/lib/perl5/site_perl/5.8.5/Pxesconfig/PxesconfigGUI.pm, 563
Comment 21 FieldySnuts 2004-11-05 07:45:23 UTC
More "home" system info.

I was able to run pxesconfig, get through all of the config screens and get to finish. If I don't change any options, it creates the image. If I do change options, I get a box that pops up soon after I press finish that says:

There was problems saving configuration.
Copying extra files:

But nothing further is listed. On STDOUT we see:

Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/site_perl/5.8.5/Pxesconfig/PxesconfigModel.pm line 492.

Line 492 is:

$self->read_configuration_file("$ENV{HOME}/.pxesconfig.conf", FALSE);

I called pxesconfig with su -c pxesconfig. I logged into "home" through ssh, with tunneled X11, and used it here. I am guessing this is a problem, but if I log in, su - , then run it, it tells me it doesn't have permissions for X even if i copy over my ~/.Xauthority .

However I commented out these lines, and if I enable various options I will still get this error box.
Comment 22 FieldySnuts 2004-11-05 07:53:51 UTC
Actually this has branched away from the original problem, i'll file a seperate bug later that has my info better organized.
Comment 23 NR 2005-04-06 17:09:17 UTC
About 'mksquash' I notice that pxesconfig call it using '/opt/pxes-0.9/tools/mksquashfs', which does not exist.
As a workaround I did create the '/opt/pxes-0.9/tools' directory and, inside it, a link to the '/usr/bin/mksquash' file.
This is not a solution but it works for me.
Comment 24 Chris Gianelloni (RETIRED) gentoo-dev 2005-05-18 08:50:50 UTC
Fixed in pxes-0.9-r1