Comment 8 for bug 1300299

Revision history for this message
Chad Miller (cmiller) wrote : Re: [Bug 1300299] Re: smuxi stfl hangs on start

The DEP isn't finished, as far as I know, but Ubuntu's implementation is
well documented, and a lot of Ubuntu packages have good examples. That URL
I mentioned is a good start for docs.

If you can write a program that exits with nonzero when there's a problem
running the installed package and you can list the dependencies of your
program, that's 95% of autopkgtest. Try it with pkg "autopkgtest" .

On Tue, Apr 1, 2014 at 3:51 PM, Mirco Bauer <email address hidden> wrote:

> Good idea with autopkgtests, but I have never played with it yet. Are
> there official docs or examples?
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1300299
>
> Title:
> smuxi stfl hangs on start
>
> Status in "smuxi" package in Ubuntu:
> Confirmed
> Status in "stfl" package in Ubuntu:
> Confirmed
>
> Bug description:
> 2014-03-31 11:50:17,458 [-628353088] INFO Smuxi.Frontend.Stfl.MainClass
> - Registering signal handlers
> 2014-03-31 11:50:17,489 [Main] DEBUG TRACE - [smuxi-frontend-stfl.exe]
> Frontend.Init(engine = 'zippy')
> 2014-03-31 11:50:17,491 [Main] INFO Smuxi.Frontend.Stfl.Frontend -
> Smuxi - STFL frontend 0.11.0.0 starting
> 2014-03-31 11:50:17,510 [Main] FATAL Smuxi.Frontend.Stfl.MainClass -
> System.DllNotFoundException: libstfl.so.0
> at (wrapper managed-to-native) Stfl.StflApi:stfl_create (intptr)
> at Stfl.StflApi.stfl_create (System.String text) [0x00000] in
> <filename unknown>:0
> at Stfl.Form..ctor (System.Reflection.Assembly assembly, System.String
> resourceName) [0x00000] in <filename unknown>:0
> at Smuxi.Frontend.Stfl.MainWindow..ctor () [0x00000] in <filename
> unknown>:0
> at Smuxi.Frontend.Stfl.Frontend.Init (System.String engine) [0x00000]
> in <filename unknown>:0
> at Smuxi.Frontend.Stfl.MainClass.Main (System.String[] args) [0x00000]
> in <filename unknown>:0
>
>
> Can't find stfl library?
>
> Strace says it did.
>
> open("/usr/lib/smuxi/libstfl.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No
> such file or directory)
> open("/usr/lib/smuxi/libstfl.so.0.la", O_RDONLY) = -1 ENOENT (No such
> file or directory)
> open("/usr/lib/smuxi/libstfl.so.0.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT
> (No such file or directory)
> open("/usr/lib/smuxi/libstfl.so.0.so.la", O_RDONLY) = -1 ENOENT (No
> such file or directory)
> open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 9
> access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or
> directory)
> open("/usr/lib/libstfl.so.0", O_RDONLY|O_CLOEXEC) = 9
> open("libstfl.so.0.la", O_RDONLY) = -1 ENOENT (No such file or
> directory)
> open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 9
> access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or
> directory)
> open("/lib/x86_64-linux-gnu/tls/x86_64/libstfl.so.0.so",
> O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
> stat("/lib/x86_64-linux-gnu/tls/x86_64", 0x7fffe9c7e150) = -1 ENOENT (No
> such file or directory)
> open("/lib/x86_64-linux-gnu/tls/libstfl.so.0.so", O_RDONLY|O_CLOEXEC) =
> -1 ENOENT (No such file or directory)
> stat("/lib/x86_64-linux-gnu/tls", 0x7fffe9c7e150) = -1 ENOENT (No such
> file or directory)
> open("/lib/x86_64-linux-gnu/x86_64/libstfl.so.0.so",
> O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
> stat("/lib/x86_64-linux-gnu/x86_64", 0x7fffe9c7e150) = -1 ENOENT (No
> such file or directory)
> open("/lib/x86_64-linux-gnu/libstfl.so.0.so", O_RDONLY|O_CLOEXEC) = -1
> ENOENT (No such file or directory)
> stat("/lib/x86_64-linux-gnu", {st_mode=S_IFDIR|0755, st_size=16384,
> ...}) = 0
> open("/usr/lib/x86_64-linux-gnu/tls/x86_64/libstfl.so.0.so",
> O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
> stat("/usr/lib/x86_64-linux-gnu/tls/x86_64", 0x7fffe9c7e150) = -1 ENOENT
> (No such file or directory)
> open("/usr/lib/x86_64-linux-gnu/tls/libstfl.so.0.so",
> O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
> stat("/usr/lib/x86_64-linux-gnu/tls", 0x7fffe9c7e150) = -1 ENOENT (No
> such file or directory)
> open("/usr/lib/x86_64-linux-gnu/x86_64/libstfl.so.0.so",
> O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
> stat("/usr/lib/x86_64-linux-gnu/x86_64", 0x7fffe9c7e150) = -1 ENOENT (No
> such file or directory)
> open("/usr/lib/x86_64-linux-gnu/libstfl.so.0.so", O_RDONLY|O_CLOEXEC) =
> -1 ENOENT (No such file or directory)
> stat("/usr/lib/x86_64-linux-gnu", {st_mode=S_IFDIR|0755, st_size=81920,
> ...}) = 0
> open("/lib/tls/x86_64/libstfl.so.0.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT
> (No such file or directory)
> stat("/lib/tls/x86_64", 0x7fffe9c7e150) = -1 ENOENT (No such file or
> directory)
> open("/lib/tls/libstfl.so.0.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No
> such file or directory)
> stat("/lib/tls", 0x7fffe9c7e150) = -1 ENOENT (No such file or
> directory)
> open("/lib/x86_64/libstfl.so.0.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No
> such file or directory)
> stat("/lib/x86_64", 0x7fffe9c7e150) = -1 ENOENT (No such file or
> directory)
> open("/lib/libstfl.so.0.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such
> file or directory)
> stat("/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
> open("/usr/lib/tls/x86_64/libstfl.so.0.so", O_RDONLY|O_CLOEXEC) = -1
> ENOENT (No such file or directory)
> stat("/usr/lib/tls/x86_64", 0x7fffe9c7e150) = -1 ENOENT (No such file or
> directory)
> open("/usr/lib/tls/libstfl.so.0.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT
> (No such file or directory)
> stat("/usr/lib/tls", 0x7fffe9c7e150) = -1 ENOENT (No such file or
> directory)
> open("/usr/lib/x86_64/libstfl.so.0.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT
> (No such file or directory)
> stat("/usr/lib/x86_64", 0x7fffe9c7e150) = -1 ENOENT (No such file or
> directory)
> open("/usr/lib/libstfl.so.0.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No
> such file or directory)
> stat("/usr/lib", {st_mode=S_IFDIR|0755, st_size=28672, ...}) = 0
> open("libstfl.so.0.so.la", O_RDONLY) = -1 ENOENT (No such file or
> directory)
> open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 9
> access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or
> directory)
> open("/usr/lib/libstfl.so.0", O_RDONLY|O_CLOEXEC) = 9
> open("libstfl.so.0.la", O_RDONLY) = -1 ENOENT (No such file or
> directory)
> open("/usr/lib/smuxi/libstfl.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No
> such file or directory)
> open("/usr/lib/smuxi/libstfl.so.0.la", O_RDONLY) = -1 ENOENT (No such
> file or directory)
> open("/usr/lib/smuxi/libstfl.so.0.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT
> (No such file or directory)
> open("/usr/lib/smuxi/libstfl.so.0.so.la", O_RDONLY) = -1 ENOENT (No
> such file or directory)
> open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 9
> access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or
> directory)
> open("/usr/lib/libstfl.so.0", O_RDONLY|O_CLOEXEC) = 9
> open("libstfl.so.0.la", O_RDONLY) = -1 ENOENT (No such file or
> directory)
> open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 9
> access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or
> directory)
> open("/lib/x86_64-linux-gnu/libstfl.so.0.so", O_RDONLY|O_CLOEXEC) = -1
> ENOENT (No such file or directory)
> open("/usr/lib/x86_64-linux-gnu/libstfl.so.0.so", O_RDONLY|O_CLOEXEC) =
> -1 ENOENT (No such file or directory)
> open("/lib/libstfl.so.0.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such
> file or directory)
> open("/usr/lib/libstfl.so.0.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No
> such file or directory)
> open("libstfl.so.0.so.la", O_RDONLY) = -1 ENOENT (No such file or
> directory)
> open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 9
> access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or
> directory)
> open("/usr/lib/libstfl.so.0", O_RDONLY|O_CLOEXEC) = 9
> open("libstfl.so.0.la", O_RDONLY) = -1 ENOENT (No such file or
> directory)
>
>
> $ dpkg -S /usr/lib/libstfl.so.0
> libstfl0: /usr/lib/libstfl.so.0
>
> ProblemType: Bug
> DistroRelease: Ubuntu 14.04
> Package: smuxi-frontend-stfl 0.11~rc5-1
> Uname: Linux 3.14.0-031400rc7-generic x86_64
> ApportVersion: 2.13.3-0ubuntu1
> Architecture: amd64
> CurrentDesktop: Unity
> Date: Mon Mar 31 11:49:54 2014
> EcryptfsInUse: Yes
> PackageArchitecture: all
> SourcePackage: smuxi
> UpgradeStatus: No upgrade log present (probably fresh install)
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/smuxi/+bug/1300299/+subscriptions
>