[Bug 242798] sysutils/e2fsprogs: Fails to build on FreeBSD 12.1-RELEASE-p1 powerpc 32 bit: Tests failed: f_inlinedata_dirblocks

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Feb 1 19:16:57 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242798

--- Comment #13 from canardo <canardo909 at gmx.com> ---
(In reply to Matthias Andree from comment #11)


Tests results are not OK


/usr/ports/sysutils/e2fsprogs # more Makefile | grep "PORT"
PORTNAME=       e2fsprogs
PORTVERSION=    1.45.5
PORTREVISION?=  2
.....
.....
.....
===> Fetching all distfiles required by e2fsprogs-1.45.5_2 for building
===>  Extracting for e2fsprogs-1.45.5_2
=> SHA256 Checksum OK for e2fsprogs-1.45.5.tar.xz.
===>  Patching for e2fsprogs-1.45.5_2
===>  Applying FreeBSD patches for e2fsprogs-1.45.5_2
.....
.....
.....
cd /usr/ports/sysutils/e2fsprogs/work/e2fsprogs-1.45.5/e2fsck && /bin/rm -f -f
e2fsck  && gmake e2fsck V=1  LIBS="../lib/libsupport.a ../lib/libext2fs.a
../lib/libcom_err.a   /usr/lib/libexecinfo.a /usr/lib/libelf.a 
/usr/local/lib/libblkid.a /usr/local/lib/libuuid.a /usr/local/lib/libintl.a
../lib/libe2p.a"  LIBMAGIC=/usr/lib/libmagic.a\ -lz
gmake[2]: Entering directory
'/usr/ports/sysutils/e2fsprogs/work/e2fsprogs-1.45.5/e2fsck'
gcc9   -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc9
-L/usr/local/lib/gcc9  -L/usr/local/lib -Wl,--rpath
-Wl,/usr/local/lib/e2fsprogs -Wl,-rpath-link,../lib -rdynamic -o e2fsck unix.o
e2fsck.o super.o pass1.o pass1b.o pass2.o pass3.o pass4.o pass5.o journal.o
badblocks.o util.o dirinfo.o dx_dirinfo.o ehandler.o problem.o message.o
quota.o recovery.o region.o revoke.o ea_refcount.o rehash.o logfile.o
sigcatcher.o  readahead.o extents.o ../lib/libsupport.a ../lib/libext2fs.a
../lib/libcom_err.a   /usr/lib/libexecinfo.a /usr/lib/libelf.a 
/usr/local/lib/libblkid.a /usr/local/lib/libuuid.a /usr/local/lib/libintl.a
../lib/libe2p.a 
gmake[2]: Leaving directory
'/usr/ports/sysutils/e2fsprogs/work/e2fsprogs-1.45.5/e2fsck'
===>  checking that e2fsck depends on no shared objects outside /lib: FAIL
===>  e2fsck depends on:
/usr/local/lib/gcc9/libgcc_s.so.1
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/sysutils/e2fsprogs
*** Error code 1




Then, I noticed I can't use libunwind

/usr/ports/devel/libunwind # make fetch-recursive
===> Fetching all distfiles for libunwind-20170615 and dependencies
===>  libunwind-20170615 is only for aarch64 amd64 i386, while you are running
powerpc.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/devel/libunwind
*** Error code 1



And regarding the "ONLY_FOR_ARCH" parameter, I don't find it in the Makefile

/usr/ports/sysutils/e2fsprogs # more Makefile | grep -i "ARCH"
. if ! empty(ARCH:Mpowerpc*)
.if ${MASTERDIR} == ${.CURDIR} && ${ARCH} == "aarch64"
.if !empty(PORT_OPTIONS:MNOTESTS) && (${OPSYS} == FreeBSD) && (${OSVERSION} >=
1200000 || ((${ARCH} != i386) && (${ARCH} != amd64)))

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-ppc mailing list