Raku / ecosystem-unbitrot

Which modules are not installable?
https://perl6.github.io/ecosystem-unbitrot/
GNU General Public License v3.0
5 stars 4 forks source link

UNIX::Daemonize #537

Open AlexDaniel opened 5 years ago

AlexDaniel commented 5 years ago

Module UNIX::Daemonize cannot be installed (AlwaysFail), perhaps it has some failing tests.

If you can't self-assign yourself or attach a label, please let us know on #perl6 channel on freenode or just leave a comment here. We will try to give you privileges as fast as possible.

Output:

===> Searching for: UNIX::Daemonize
===> Found: UNIX::Daemonize:ver<0.0.4> [via Zef::Repository::Ecosystems<p6c>]
===> Fetching [OK]: UNIX::Daemonize:ver<0.0.4> to /home/alex/Blin/data/zef-data/tmp/1549582925.11317.2485/p6-UNIX-Daemonize.git
===> Extraction [OK]: UNIX::Daemonize to /home/alex/Blin/data/zef-data/store/p6-UNIX-Daemonize.git
===> Testing: UNIX::Daemonize:ver<0.0.4>
t/01-lockfiles.t ............................. ok
    # Failed test 'Lockfile should be removed'
    # at t/02-daemon-creates-pidfile-and-cleans-up.t line 19
    # Looks like you failed 1 test of 3
# Failed test 'Pidlock files actually working for daemon and are removed afterwards'
# at t/02-daemon-creates-pidfile-and-cleans-up.t line 5
# Looks like you failed 1 test of 1
t/02-daemon-creates-pidfile-and-cleans-up.t .. 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests 
t/03-repeated-daemon-doesnt-finish.t ......... ok
Valid lockfile exists
  in sub lockfile-create at /home/alex/Blin/data/zef-data/store/p6-UNIX-Daemonize.git/044a39528a21da78010f26f49d39b24aaf233450/lib/UNIX/Daemonize.pm6 (UNIX::Daemonize) line 164
  in sub daemonize at /home/alex/Blin/data/zef-data/store/p6-UNIX-Daemonize.git/044a39528a21da78010f26f49d39b24aaf233450/lib/UNIX/Daemonize.pm6 (UNIX::Daemonize) line 35
  in block <unit> at t/04-creating-second-daemon.t line 9

    # Failed test at t/04-creating-second-daemon.t line 13
    # Looks like you failed 1 test of 2
# Failed test 'Won't create second daemon'
# at t/04-creating-second-daemon.t line 5
# Looks like you failed 1 test of 1
t/04-creating-second-daemon.t ................ 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests 
    # Trying to run command
    # Command run
    # Failed test at t/author/daemonize-self.t line 24
    # Failed test at t/author/daemonize-self.t line 26
    # Looks like you failed 2 tests of 4
# Failed test 'Daemon runs and exits, cleans up lockfile'
# at t/author/daemonize-self.t line 17
# Looks like you failed 1 test of 1
t/author/daemonize-self.t .................... 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests 

Test Summary Report
-------------------
t/02-daemon-creates-pidfile-and-cleans-up.t (Wstat: 256 Tests: 1 Failed: 1)
  Failed test:  1
  Non-zero exit status: 1
t/04-creating-second-daemon.t              (Wstat: 256 Tests: 1 Failed: 1)
  Failed test:  1
  Non-zero exit status: 1
t/author/daemonize-self.t                  (Wstat: 256 Tests: 1 Failed: 1)
  Failed test:  1
  Non-zero exit status: 1
Files=5, Tests=5, 28 wallclock secs ( 0.03 usr  0.01 sys +  9.80 cusr  0.75 csys = 10.59 CPU)
Result: FAIL
===> Testing [FAIL]: UNIX::Daemonize:ver<0.0.4>
Failed to get passing tests, but continuing with --force-test
===> Installing: UNIX::Daemonize:ver<0.0.4>
===> Install [OK] for UNIX::Daemonize:ver<0.0.4>

1 bin/ script [daemonize] installed to:
/home/alex/Blin/installed/UNIX::Daemonize_0.0.4/bin

Ping @hipek8

Previous ticket: #25

Kaiepi commented 5 years ago

This fails because cglobal can't find errno if libc's library isn't libc.dylib on Mac or libc.so.6 on any other OS. I can't think of a proper fix for this since OpenBSD keeps changing the libc version between releases