• Bug#1098589: purple-lurch: FTBFS: /usr/bin/ld: cannot find -lprotobuf-c

    From Santiago Vila@21:1/5 to All on Sat Feb 22 00:40:01 2025
    Package: src:purple-lurch
    Version: 0.7.0-2.1
    Severity: serious
    Tags: ftbfs trixie sid

    Dear maintainer:

    During a rebuild of all packages in unstable, your package failed to build:

    --------------------------------------------------------------------------------
    [...]
    debian/rules clean
    dh clean
    dh_auto_clean
    make -j2 clean
    make[1]: Entering directory '/<<PKGBUILDDIR>>'
    rm -rf "./build"
    make[1]: Leaving directory '/<<PKGBUILDDIR>>'
    dh_clean
    rm -f debian/debhelper-build-stamp
    rm -rf debian/.debhelper/
    rm -f -- debian/purple-lurch.substvars debian/files
    rm -fr -- debian/purple-lurch/ debian/tmp/
    find . \( \( \
    \( -path .\*/.git -o -path .\*/.svn -o -path .\*/.bzr -o -path .\*/.hg -o -path .\*/CVS -o -path .\*/.pc -o -path .\*/_darcs \) -prune -o -type f -a \
    \( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \
    -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \
    -o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \
    -o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \
    \) -exec rm -f {} + \) -o \
    \( -type d -a \( -name autom4te.cache -o -name __pycache__ \) -prune -exec rm -rf {} + \) \)
    debian/rules binary
    dh binary
    dh_update_autotools_config
    dh_autoreconf
    dh_auto_configure
    dh_auto_build
    make -j2 "INSTALL=install --strip-program=true"
    make[1]: Entering directory '/<<PKGBUILDDIR>>'
    mkdir -p build
    cc -fPIC -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c11 -Wall -g -Wstrict-overflow -I/usr/include/glib-2.0 -I/
    usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/libxml2 -I/usr/include/libomemo -
    I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/axc -I/usr/include/signal -I/usr/include/signal -I./headers/jabber -Wdate-time -D_FORTIFY_SOURCE=2 -D_XOPEN_SOURCE=700 -D_BSD_SOURCE -
    D_DEFAULT_SOURCE -DPURPLE_PLUGINS -c ./src/lurch.c -o build/lurch.o
    cc -fPIC -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c11 -Wall -g -Wstrict-overflow -I/usr/include/glib-2.0 -I/
    usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/libxml2 -I/usr/include/libomemo -
    I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/axc -I/usr/include/signal -I/usr/include/signal -I./headers/jabber -Wdate-time -D_FORTIFY_SOURCE=2 -D_XOPEN_SOURCE=700 -D_BSD_SOURCE -
    D_DEFAULT_SOURCE -DPURPLE_PLUGINS -c ./src/lurch_api.c -o build/lurch_api.o
    cc -fPIC -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c11 -Wall -g -Wstrict-overflow -I/usr/include/glib-2.0 -I/
    usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/libxml2 -I/usr/include/libomemo -
    I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/axc -I/usr/include/signal -I/usr/include/signal -I./headers/jabber -Wdate-time -D_FORTIFY_SOURCE=2 -D_XOPEN_SOURCE=700 -D_BSD_SOURCE -
    D_DEFAULT_SOURCE -DPURPLE_PLUGINS -c ./src/lurch_cmd_ui.c -o build/lurch_cmd_ui.o
    cc -fPIC -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c11 -Wall -g -Wstrict-overflow -I/usr/include/glib-2.0 -I/
    usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/libxml2 -I/usr/include/libomemo -
    I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/axc -I/usr/include/signal -I/usr/include/signal -I./headers/jabber -Wdate-time -D_FORTIFY_SOURCE=2 -D_XOPEN_SOURCE=700 -D_BSD_SOURCE -
    D_DEFAULT_SOURCE -DPURPLE_PLUGINS -c ./src/lurch_util.c -o build/lurch_util.o cc -fPIC -shared -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -std=c11 -Wall -g -Wstrict-overflow -I/usr/include/glib-
    2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/libxml2 -I/usr/include/
    libomemo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/axc -I/usr/include/signal -I/usr/include/signal -I./headers/jabber -Wdate-time -D_FORTIFY_SOURCE=2 -D_XOPEN_SOURCE=700 -D_
    BSD_SOURCE -D_DEFAULT_SOURCE -DPURPLE_PLUGINS \
    build/lurch.o build/lurch_api.o build/lurch_cmd_ui.o build/lurch_util.o \
    -o build/lurch.so -Wl,-z,relro -Wl,-z,now -ldl -lm -lsqlite3 -lmxml -lglib-2.0 -I/usr/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -L/usr/lib/x86_64-linux-gnu/purple-2 -lxml2
    -lgcrypt -lomemo -lglib-2.0 -laxc -lsignal-protocol-c -lprotobuf-c -I/usr/include/signal -ljabber -Wl,-rpath,/usr/lib/x86_64-linux-gnu/purple-2
    /usr/bin/ld: cannot find -lprotobuf-c: No such file or directory
    collect2: error: ld returned 1 exit status
    make[1]: *** [Makefile:156: build/lurch.so] Error 1
    make[1]: Leaving directory '/<<PKGBUILDDIR>>'
    dh_auto_build: error: make -j2 "INSTALL=install --strip-program=true" returned exit code 2
    make: *** [debian/rules:9: binary] Error 25
    dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 --------------------------------------------------------------------------------

    The above is just how the build ends and not necessarily the most relevant part.
    If required, the full build log is available here:

    https://people.debian.org/~sanvila/build-logs/202502/

    About the archive rebuild: The build was made on virtual machines from AWS, using sbuild and a reduced chroot with only build-essential packages.

    If you could not reproduce the bug please contact me privately, as I
    am willing to provide ssh access to a virtual machine where the bug is
    fully reproducible.

    If this is really a bug in one of the build-depends, please use
    reassign and add an affects on src:purple-lurch, so that this is still
    visible in the BTS web page for this package.

    Thanks.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)