Jan Niklas Hasse | 7 Jan 2009 19:35
Picon
Gravatar

7z.so isn't found by testForLib

A user on the forum has reported that "testForLib -v 7z.so" doesn't work. See: http://watteimdocht.de/autopackage/forum/viewtopic.php?f=5&t=44

It's strange, because 7z.so seems to be missing in the list that ldconfig -p returns. Does someone know why?

Isak Savo | 7 Jan 2009 20:01
Picon
Gravatar

Re: 7z.so isn't found by testForLib

On Wed, Jan 7, 2009 at 7:35 PM, Jan Niklas Hasse <jhasse@...> wrote:
> A user on the forum has reported that "testForLib -v 7z.so" doesn't work.
> See: http://watteimdocht.de/autopackage/forum/viewtopic.php?f=5&t=44
>
> It's strange, because 7z.so seems to be missing in the list that ldconfig -p
> returns. Does someone know why?
>

Could be because it is named wrongly. Libraries should be called
libWHATEVER.so, not just WHATEVER.so. Try renaming it and test again
(don't forget to run ldconfig)

I posted a reply
http://watteimdocht.de/autopackage/forum/viewtopic.php?f=5&t=44&p=159#p159

-Isak

---------------------------------------------------------------------
To unsubscribe, e-mail: autopackage-dev-unsubscribe@...
For additional commands, e-mail: autopackage-dev-help@...

Eugene Zolenko | 7 Jan 2009 20:07
Favicon

RE: 7z.so isn't found by testForLib

Well, /usr/lib/p7zip/ doesn’t look like default path to be included in ldconfig search paths.

 

That means whatever installed this library must add the path to ldconfig,

 

Install (of 7z lib) should create /etc/ld.so.conf.d/7z.conf containing that path and run # ldconfig

 

If ldconfig -p doesn’t list the .so, then linker will not find it, which meant library is as good as non-existing (except for apps that know exactly where it is).

 

So testForLib seems to work as it should.

 

(unless ldconfig -p does list it)

 

From: Jan Niklas Hasse [mailto:jhasse-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org]
Sent: Wednesday, January 07, 2009 11:36 AM
To: autopackage-dev-OfajU3CKLf1/SzgSGea1oA@public.gmane.org
Subject: 7z.so isn't found by testForLib

 

A user on the forum has reported that "testForLib -v 7z.so" doesn't work. See: http://watteimdocht.de/autopackage/forum/viewtopic.php?f=5&t=44

It's strange, because 7z.so seems to be missing in the list that ldconfig -p returns. Does someone know why?

Jan Niklas Hasse | 7 Jan 2009 20:31
Picon
Gravatar

Re: New bug fix release

On Tue, Dec 23, 2008 at 5:23 PM, Jan Niklas Hasse <jhasse-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:

1.2.6 seems to work fine, I think you can release it, Isak.

Btw: I've uploaded a first build of 1.4.0, can you redirect it, too?

Two weeks passed, can we release 1.2.6? I want to have 1.4.0 ready as fast as possible.
Isak Savo | 7 Jan 2009 20:43
Picon
Gravatar

Re: New bug fix release

On Wed, Jan 7, 2009 at 8:31 PM, Jan Niklas Hasse <jhasse@...> wrote:
> On Tue, Dec 23, 2008 at 5:23 PM, Jan Niklas Hasse <jhasse@...> wrote:
>>
>> 1.2.6 seems to work fine, I think you can release it, Isak.
>>
>> Btw: I've uploaded a first build of 1.4.0, can you redirect it, too?
>
> Two weeks passed, can we release 1.2.6? I want to have 1.4.0 ready as fast
> as possible.
>

oh, sorry. Thanks for reminding :)

I've update the redirection now, please try it and see if it works.
(just download a package) Meanwhile, I'll try to pursue dotsrc to give
you cvs access so that you can do this without having to wait for me
in the future :)

-Isak

---------------------------------------------------------------------
To unsubscribe, e-mail: autopackage-dev-unsubscribe@...
For additional commands, e-mail: autopackage-dev-help@...

Eugene Zolenko | 7 Jan 2009 23:36
Favicon

RE: New bug fix release

Looks fine for me.

 

GTK package wasn’t even rebuilt (right?), so should be as good as 1.2.5, and support code looks good.

 

From: Jan Niklas Hasse [mailto:jhasse-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org]
Sent: Wednesday, January 07, 2009 12:32 PM
To: autopackage-dev-OfajU3CKLf1/SzgSGea1oA@public.gmane.org
Subject: Re: New bug fix release

 

On Tue, Dec 23, 2008 at 5:23 PM, Jan Niklas Hasse <jhasse-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:

1.2.6 seems to work fine, I think you can release it, Isak.

Btw: I've uploaded a first build of 1.4.0, can you redirect it, too?


Two weeks passed, can we release 1.2.6? I want to have 1.4.0 ready as fast as possible.

Chris Giles | 12 Jan 2009 06:16
Picon

Problems: Dependencies: v1.2.5

Hi All

This email is a compilation of my postings to the web forum, as I don't have the privilege of creating bug tickets.  For those who want to read the originals, the thread is located here: http://watteimdocht.de/autopackage/forum/viewtopic.php?f=5&t=44#p152.  As you can see, Jan-Nik has already provided plenty of support.

Firstly, I'd like to note that I think Autopackage is a great idea. I'm sick of including RPM/Deb/TGZ packages with my releases and Autopackage is a sensible solution.

I wanted to modify the default Qt skeleton file, because it doesn't work with Qt4. I had to search for ages before finding confirmation that I should put local skeletons into "./autopackage/skeletons/$ROOTNAME". You really must include this crucial information somewhere within the "Autopackage Packagers Guide" document.

I've modified the Qt skeleton to also work with Qt4. I'll attach it to a new thread with the other skeletons I've created in the next few days, once I've also created some related to my Quamachi application.

I've just tested an Autopackage I created for my Q7Z application on the following Linux distributions: Arch; Kubuntu; Fedora; Zenwalk. The only minor issue was that neither the 'su' nor the 'sudo' passwords worked while installing in Zenwalk. Everything else went well and I'm pleased that I can finally enforce some dependencies for Slackware users.

Further implementing and testing revealed a new issue relating to the retrieval of dependencies.  My Quamachi package will depend on a Hamachi package. In my Hamachi skeleton file within the Quamachi package, I've included the following line:


In my Hamachi specification file, I've included the following lines:
AutopackageTarget: 1.2.5
URL: http://quamachi.sourceforge.net/Quamachi/
PackageFileName: $SHORTNAME-$SOFTWAREVERSION-$PACKAGEVERSION.package

In other words, the ".xml", ".package" and ".meta" Hamachi files all reside at that location. Here's the output I got when installing Quamachi:
`--> sudo package install ./quamachi-0.3.6-1.package

# Preparing package: Hamachi GUI
# Checking for Python language runtime ... passed
# Checking for Qt toolkit ... passed
# Checking for PyQt bindings ... passed
# Checking for LogMeIn Hamachi ... /usr/libexec/autopackage/luau-downloader.bin: error while loading shared libraries: libcurl.so.3: cannot open shared object file: No such file or directory
failed
# FAIL: Could not find 'LogMeIn Hamachi'. Try using the native package manager for  () to install a package with similar name to 'hamachi'.
FAIL: Unable to prepare package Hamachi GUI.

After I created a symbolic link to "libcurl.so.4" as "libcurl.so.3", here's the output I got when installing Quamachi:
...
# Checking for LogMeIn Hamachi ... passed
FAIL: Unable to prepare package Hamachi GUI.

Since the output isn't verbose enough, I can't know what's going wrong. Maybe the beers I've had are preventing me from seeing my mistake. Do you know how I can fix this problem, to retrieve and install Hamachi during the Quamachi installation? Let me know if you need more info.

I entered the following commands before trying to install the Quamachi package:
export DEBUGLEVEL=3
export AUTOPACKAGE_DEBUG_LOGFILE=./autopackage.log
export AUTOPACKAGE_TERMINAL_DEBUG=1

There was unfortunately no extra output to the terminal and no log file was created either. There might be a bug in Autopackage 1.2.5.  In the worst case, I can enforce this dependency check when installing Quamachi and require the user to download the Hamachi package manually.

None of the other Linux distributions I'm using have "libcurl.so.3" anymore. I might upgrade to the latest version of Autopackage and join the mailing list in case the problem isn't yet fixed. Thanks again for all of your help.


Chris

Chris Giles | 12 Jan 2009 06:53
Picon

Problems: Stability: 1.4.0

Hi All

I've noticed a few problems with v1.4.0, which I thought you'd like to know about before it receives the 'stable' stamp.

This version seems to forget all about dependency checking and retrieval, by going straight from extracting to installing.  When created with v1.2.5, my Q7Z and Quamachi packages were successfully checking for several required libraries.  I haven't made any changes to the skeleton files, so I'm guessing this is caused by a new bug.

When creating my packages, I receive the following non-fatal warnings:

apkg-bashlib: line 595: echo: write error: Broken pipe
cp: cannot stat `/usr/libexec/autopackage/autopackage-curl': No such file or directory

The Qt front-end is still lagging behind the Gtk front-end in terms of layout and features.  It's also unable to install the Development Environment package as 'root' or 'user', due to several errors.  Here are the first few:
`--> sudo package install Autopackage\ Development\ Environment\ 1.4.0.package
/usr/share/autopackage/apkg-io: line 309: 31436 Segmentation fault      autopackage-frontend-qt "$ <at> "
.-(/media/Exchange/Temp/Programming/AutoPackage)-----------------------------------------------------------------------------------------------------------------(chris <at> localhost)-
`--> tar: bin/apgcc: Cannot change ownership to uid 1000, gid 1000: No such file or directory
tar: bin/apgcc: Cannot change mode to rwxr-xr-x: No such file or directory                  
tar: bin/make-icons: Cannot open: No such file or directory                                 

I worked as a software engineer for a few years and I'm happy to become a featherweight contributor.  Since I now work as a secondary school teacher and private tutor, my time is limited during the school terms.


Chris

Jan Niklas Hasse | 12 Jan 2009 11:06
Picon
Gravatar

Re: Problems: Stability: 1.4.0

On Mon, Jan 12, 2009 at 6:53 AM, Chris Giles <chris.g.27-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:

Hi All

I've noticed a few problems with v1.4.0, which I thought you'd like to know about before it receives the 'stable' stamp.

Thanks, good to hear some feedback.
 
This version seems to forget all about dependency checking and retrieval, by going straight from extracting to installing.  When created with v1.2.5, my Q7Z and Quamachi packages were successfully checking for several required libraries.  I haven't made any changes to the skeleton files, so I'm guessing this is caused by a new bug.

Hm ... There was a bug in testForLib but I believed it fixed. I will try to reproduce the issue.
 
When creating my packages, I receive the following non-fatal warnings:
apkg-bashlib: line 595: echo: write error: Broken pipe

Don't know what causes this, happens quite often for me, too.
 
cp: cannot stat `/usr/libexec/autopackage/autopackage-curl': No such file or directory

Strange, this shouldn't happen. Are you sure that you installed the Autopackage Development Environment 1.4.0 and not 1.2.5?

 
The Qt front-end is still lagging behind the Gtk front-end in terms of layout and features.  It's also unable to install the Development Environment package as 'root' or 'user', due to several errors.  Here are the first few:
`--> sudo package install Autopackage\ Development\ Environment\ 1.4.0.package
/usr/share/autopackage/apkg-io: line 309: 31436 Segmentation fault      autopackage-frontend-qt "$ <at> "
.-(/media/Exchange/Temp/Programming/AutoPackage)-----------------------------------------------------------------------------------------------------------------(chris <at> localhost)-
`--> tar: bin/apgcc: Cannot change ownership to uid 1000, gid 1000: No such file or directory
tar: bin/apgcc: Cannot change mode to rwxr-xr-x: No such file or directory                  
tar: bin/make-icons: Cannot open: No such file or directory                                 

Unfortunately the maintainer of the Qt front-end is no longer active AFAIK. I also can't help it, don't know anything about Qt3. I think we have no choice other than to drop the Qt front-end.
 
I worked as a software engineer for a few years and I'm happy to become a featherweight contributor.

Great news!
 
  Since I now work as a secondary school teacher and private tutor, my time is limited during the school terms.

So is mine, as I'm still going to school ;)

-
Jan Niklas
Jan Niklas Hasse | 12 Jan 2009 16:37
Picon
Gravatar

Re: Problems: Stability: 1.4.0

On Mon, Jan 12, 2009 at 11:06 AM, Jan Niklas Hasse <jhasse-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:

On Mon, Jan 12, 2009 at 6:53 AM, Chris Giles <chris.g.27-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
This version seems to forget all about dependency checking and retrieval, by going straight from extracting to installing.  When created with v1.2.5, my Q7Z and Quamachi packages were successfully checking for several required libraries.  I haven't made any changes to the skeleton files, so I'm guessing this is caused by a new bug.

Hm ... There was a bug in testForLib but I believed it fixed. I will try to reproduce the issue.

I just tried and it worked fine with one of my own packages. Just to ensure that we're using the same build here's the MD5 sum of the autopackage tarball I used:

7f1818be3cc9f94efbae271fefba5dc8  autopackage.tar.bz2

Gmane