[Bug 261217] devel/e2fsprogs-libss fails to build in poudriere testport (ld: error: unable to find library -lcom_err)

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 15 Jan 2022 04:12:45 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261217

            Bug ID: 261217
           Summary: devel/e2fsprogs-libss fails to build in poudriere
                    testport (ld: error: unable to find library -lcom_err)
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: tech-lists@zyxst.net
                CC: kaduk-fbsd@mit.edu
             Flags: maintainer-feedback?(kaduk-fbsd@mit.edu)
                CC: kaduk-fbsd@mit.edu
 Attachment #231018 text/plain
         mime type:

Created attachment 231018
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=231018&action=edit
log from poudriere testport

Hi,

This is failing again with poudriere testport -j 13S-localhost -J1 -i -c
devel/e2fsprogs-libss.
This is with a frest ports tree as of a few minutes ago and the poudriere jail
is new:
13.0-STABLE 1300523 1a86aab86     amd64 git+https 2022-01-14 14:13:18

I've attached the full log.

[...]

[00:00:40] (if test -r libss.a; then /bin/rm -f libss.a.bak && /bin/mv libss.a
libss.a.bak; fi)
[00:00:40] ar rc libss.a ss_err.o std_rqs.o invocation.o help.o execute_cmd.o
listen.o parse.o error.o prompt.o request_tbl.o list_rqs.o pager.o requests.o
data.o get_readline.o
[00:00:40] /bin/rm -f ../libss.a
[00:00:40] (cd ..; /bin/ln  \
[00:00:40]      `echo lib/ss | sed -e 's;lib/;;'`/libss.a libss.a)
[00:00:40] (cd elfshared; cc -o libss.so.2.0 \
[00:00:40]      -L../../../lib  -pthread  -fstack-protector-strong  -fPIC
-shared \
[00:00:40]      -Wl,-soname,libss.so.2 ss_err.o std_rqs.o invocation.o help.o
execute_cmd.o listen.o parse.o error.o prompt.o request_tbl.o list_rqs.o
pager.o requests.o data.o get_readline.o -lcom_err -ldl)
[00:00:40] ld: error: unable to find library -lcom_err
[00:00:40] cc: error: linker command failed with exit code 1 (use -v to see
invocation)
[00:00:40] gmake[1]: *** [Makefile:450: libss.so.2.0] Error 1
[00:00:40] gmake[1]: Leaving directory
'/wrkdirs/usr/ports/devel/e2fsprogs-libss/work/e2fsprogs-1.46.4/lib/ss'
[00:00:40] ===> Compilation failed unexpectedly.
[00:00:40] Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the
failure to
[00:00:40] the maintainer.
[00:00:40] *** Error code 1
[00:00:40] 
[00:00:40] Stop.
[00:00:40] make: stopped in /usr/ports/devel/e2fsprogs-libss
=======================<phase: Interactive    >============================
[00:00:41] Installing packages
[00:00:41] Installing run-depends for devel/e2fsprogs-libss |
e2fsprogs-libss-1.46.4_1
[00:00:41] Installing devel/e2fsprogs-libss | e2fsprogs-libss-1.46.4_1
pkg-static: /tmp/pkgs/e2fsprogs-libss-1.46.4_1.pkg: No such file or directory
pkg-static: Was 'pkg install /tmp/pkgs/e2fsprogs-libss-1.46.4_1.pkg' meant?

Failed to install the following 1 package(s):
/tmp/pkgs/e2fsprogs-libss-1.46.4_1.pkg
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/e2fsprogs-libss
[00:00:42] Warning: Failed to install devel/e2fsprogs-libss |
e2fsprogs-libss-1.46.4_1
[00:00:42] Installing local Pkg repository to /usr/local/etc/pkg/repos
[00:00:42] Remounting /usr/ports read-write
[00:00:42] Mounting logs from:
/usr/local/poudriere/data/logs/bulk/13S-localhost-default/2022-01-15_03h48m51s
[00:00:42] Entering interactive test mode. Type 'exit' when done.
nobody@pkg:/usr/ports/devel/e2fsprogs-libss % 

[...]

-- 
You are receiving this mail because:
You are the assignee for the bug.