Skip to content

Many test profiles wrongly require libpcre3-dev on Debian 13 (trixie) #345

@davispuh

Description

@davispuh

I have noticed that a lot of test profiles wrongly require libpcre3-dev dependency on Debian 13 (trixie) which doesn't exist and actually is not needed.

For example

$ phoronix-test-suite benchmark keydb
    Evaluating External Test Dependencies .........................................................................................................................................................................
    Evaluating System Dependencies ................................................................................................................................................................................

The following dependencies are needed and will be installed: 

- libpcre3-dev
- lz4
- liblz4-dev

This process may take several minutes.
E: Package 'libpcre3-dev' has no installation candidate
Reading package lists...
Building dependency tree...
Reading state information...
Package libpcre3-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source


There are dependencies still missing from the system:
- Perl Compatible Regular Expressions
  pts/keydb-1.4.0:
        Test Installation 3 of 14
        1 File Needed [11 MB / 1 Minute]
        File Found: KeyDB-6.3.2.tar.gz                                                        [11.00MB]
        Approximate Install Size: 1600 MB
        Estimated Test Install Time: 1 Minute, 25 Seconds
        Total Install Time Remaining: 9 Minutes
        Installing Test @ 17:45:16
            The installer exited with a non-zero exit status.
            ERROR: /usr/bin/ld: cannot find -llz4: No such file or directoryior
            LOG: ~/.phoronix-test-suite/installed-tests/pts/keydb-1.4.0/install-failed.log

After apt-get install lz4 liblz4-dev it still fails to install but that's different reason

pts/keydb-1.4.0:
        Test Installation 1 of 1
        1 File Needed [11 MB / 1 Minute]
        File Found: KeyDB-6.3.2.tar.gz                                                                                                                                                                    [11.00MB]
        Approximate Install Size: 1600 MB
        Estimated Test Install Time: 1 Minute, 29 Seconds
        Installing Test @ 18:15:42
            The installer exited with a non-zero exit status.
            ERROR: t_zset.cpp:2039:11: error: declaration of ‘zsetopsrc::_uT::_iterzset zsetopsrc::_uT::zset’ changes meaning of ‘zset’ [-Wchanges-meaning]
            LOG: ~/.phoronix-test-suite/installed-tests/pts/keydb-1.4.0/install-failed.log
motd.cpp: In function ‘char* hi_sdscatlen(hisds, const void*, size_t)’:
motd.cpp:24:30: warning: infinite recursion detected [-Winfinite-recursion]
   24 | __attribute__ ((weak)) hisds hi_sdscatlen(hisds s, const void *t, size_t len) {
      |                              ^~~~~~~~~~~~
motd.cpp:25:21: note: recursive call
   25 |     return sdscatlen(s, t, len);
motd.cpp: In function ‘char* hi_sdscat(hisds, const char*)’:
motd.cpp:27:30: warning: infinite recursion detected [-Winfinite-recursion]
   27 | __attribute__ ((weak)) hisds hi_sdscat(hisds s, const char *t) {
      |                              ^~~~~~~~~
motd.cpp:28:18: note: recursive call
   28 |     return sdscat(s, t);
At global scope:
cc1plus: note: unrecognized command-line option ‘-Wno-atomic-alignment’ may have been intended to silence earlier diagnostics
t_zset.cpp:2039:11: error: declaration of ‘zsetopsrc::_uT::_iterzset zsetopsrc::_uT::zset’ changes meaning of ‘zset’ [-Wchanges-meaning]
 2039 |         } zset;
      |           ^~~~
t_zset.cpp:2036:17: note: used here to mean ‘typedef struct zset zset’
 2036 |                 zset *zs;
      |                 ^~~~
In file included from t_zset.cpp:59:
server.h:1787:3: note: declared here
 1787 | } zset;
      |   ^~~~
    LINK keydb-cli
evict.cpp: In function ‘size_t freeMemoryGetNotCountedMemory()’:
evict.cpp:375:53: warning: ignoring return value of ‘std::unique_lock<_Mutex>::unique_lock(mutex_type&) [with _Mutex = fastlock; mutex_type = fastlock]’, declared with attribute ‘nodiscard’ [-Wunused-result]
  375 |             std::unique_lock<fastlock>(replica->lock);
      |                                                     ^
In file included from /usr/include/c++/14/mutex:48,
                 from server.h:65,
                 from evict.cpp:33:
/usr/include/c++/14/bits/unique_lock.h:70:16: note: declared here
   70 |       explicit unique_lock(mutex_type& __m)
      |                ^~~~~~~~~~~
    LINK keydb-benchmark
    LINK keydb-diagnostic-tool
cc1plus: note: unrecognized command-line option ‘-Wno-atomic-alignment’ may have been intended to silence earlier diagnostics
make[1]: *** [Makefile:482: t_zset.o] Error 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions