Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Sep 2020 04:11:15 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 249358] mail/mailutils doesn't build with either mysql or postgresql selected.
Message-ID:  <bug-249358-7788-Np2NZxrhKk@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-249358-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-249358-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D249358

--- Comment #2 from dgilbert@eicat.ca ---
I've tried to attach my build log a few times, but it's too big.  Important=
 bit
pasted in below, but it can be accessed at:=20

https://pkg.daveg.ca/data/freebsd_12_1_x64-ONE/2020-09-14_12h15m35s/logs/er=
rors/mailutils-3.10.log

What follows is the important part of the build log:

Making all in lib
gmake[4]: Entering directory
'/wrkdirs/usr/ports/mail/mailutils/work/mailutils-3.10/mda/lib'
cc -DHAVE_CONFIG_H -I. -I../..  -I../.. -I. -I../../include -I../../lib
-I../../lib/gnu -I../../lib/gnu -I../.. -I../../include
-I/usr/local/include/python3.7m -I/usr/local/include/python3.7m
"-DUSE_MAILBOX_QUOTAS=3D1" -DLIBICONV_PLUG -I/usr/local/include
-I/usr/local/include -isystem /usr/local/include
-DSYSCONFDIR=3D\"/usr/local/etc\"  -pipe -DLIBICONV_PLUG -fstack-protector-=
strong
-isystem /usr/local/include -fno-strict-aliasing -g -MT deliver.o -MD -MP -=
MF
.deps/deliver.Tpo -c -o deliver.o deliver.c
cc -DHAVE_CONFIG_H -I. -I../..  -I../.. -I. -I../../include -I../../lib
-I../../lib/gnu -I../../lib/gnu -I../.. -I../../include
-I/usr/local/include/python3.7m -I/usr/local/include/python3.7m
"-DUSE_MAILBOX_QUOTAS=3D1" -DLIBICONV_PLUG -I/usr/local/include
-I/usr/local/include -isystem /usr/local/include
-DSYSCONFDIR=3D\"/usr/local/etc\"  -pipe -DLIBICONV_PLUG -fstack-protector-=
strong
-isystem /usr/local/include -fno-strict-aliasing -g -MT forward.o -MD -MP -=
MF
.deps/forward.Tpo -c -o forward.o forward.c
cc -DHAVE_CONFIG_H -I. -I../..  -I../.. -I. -I../../include -I../../lib
-I../../lib/gnu -I../../lib/gnu -I../.. -I../../include
-I/usr/local/include/python3.7m -I/usr/local/include/python3.7m
"-DUSE_MAILBOX_QUOTAS=3D1" -DLIBICONV_PLUG -I/usr/local/include
-I/usr/local/include -isystem /usr/local/include
-DSYSCONFDIR=3D\"/usr/local/etc\"  -pipe -DLIBICONV_PLUG -fstack-protector-=
strong
-isystem /usr/local/include -fno-strict-aliasing -g -MT script.o -MD -MP -MF
.deps/script.Tpo -c -o script.o script.c
cc -DHAVE_CONFIG_H -I. -I../..  -I../.. -I. -I../../include -I../../lib
-I../../lib/gnu -I../../lib/gnu -I../.. -I../../include
-I/usr/local/include/python3.7m -I/usr/local/include/python3.7m
"-DUSE_MAILBOX_QUOTAS=3D1" -DLIBICONV_PLUG -I/usr/local/include
-I/usr/local/include -isystem /usr/local/include
-DSYSCONFDIR=3D\"/usr/local/etc\"  -pipe -DLIBICONV_PLUG -fstack-protector-=
strong
-isystem /usr/local/include -fno-strict-aliasing -g -MT util.o -MD -MP -MF
.deps/util.Tpo -c -o util.o util.c
cc -DHAVE_CONFIG_H -I. -I../..  -I../.. -I. -I../../include -I../../lib
-I../../lib/gnu -I../../lib/gnu -I../.. -I../../include
-I/usr/local/include/python3.7m -I/usr/local/include/python3.7m
"-DUSE_MAILBOX_QUOTAS=3D1" -DLIBICONV_PLUG -I/usr/local/include
-I/usr/local/include -isystem /usr/local/include
-DSYSCONFDIR=3D\"/usr/local/etc\"  -pipe -DLIBICONV_PLUG -fstack-protector-=
strong
-isystem /usr/local/include -fno-strict-aliasing -g -MT mailquota.o -MD -MP=
 -MF
.deps/mailquota.Tpo -c -o mailquota.o mailquota.c
mv -f .deps/script.Tpo .deps/script.Po
mv -f .deps/deliver.Tpo .deps/deliver.Po
mailquota.c:277:8: warning: implicit declaration of function 'get_size' is
invalid in C99 [-Wimplicit-function-declaration]
          if (get_size (tmp, quota, &p))
              ^
1 warning generated.
mv -f .deps/util.Tpo .deps/util.Po
mv -f .deps/mailquota.Tpo .deps/mailquota.Po
mv -f .deps/forward.Tpo .deps/forward.Po
rm -f libmda.a
ar cr libmda.a deliver.o forward.o script.o util.o mailquota.o=20
ranlib libmda.a
gmake[4]: Leaving directory
'/wrkdirs/usr/ports/mail/mailutils/work/mailutils-3.10/mda/lib'
Making all in mda
gmake[4]: Entering directory
'/wrkdirs/usr/ports/mail/mailutils/work/mailutils-3.10/mda/mda'
Making all in .
gmake[5]: Entering directory
'/wrkdirs/usr/ports/mail/mailutils/work/mailutils-3.10/mda/mda'
cc -DHAVE_CONFIG_H -I. -I../..  -I../.. -I. -I../../include -I../../lib
-I../../lib/gnu -I../../lib/gnu -I../.. -I../../include -I./../lib
-DLIBICONV_PLUG -I/usr/local/include -I/usr/local/include -isystem
/usr/local/include -DSYSCONFDIR=3D\"/usr/local/etc\"  -pipe -DLIBICONV_PLUG
-fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -g
-MT mda.o -MD -MP -MF .deps/mda.Tpo -c -o mda.o mda.c
mv -f .deps/mda.Tpo .deps/mda.Po
/bin/sh ../../libtool  --tag=3DCC   --mode=3Dlink cc  -pipe -DLIBICONV_PLUG
-fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -=
g=20
-L/usr/local/lib -L/usr/local/lib -fstack-protector-strong  -o mda mda.o
../lib/libmda.a ../../lib/libmuscript.a ../../lib/libmuaux.la -lunistring
../../libmu_sieve/libmu_sieve.la ../../libproto/mbox/libmu_mbox.la=20
../../libproto/maildir/libmu_maildir.la ../../libproto/dotmail/libmu_dotmai=
l.la
../../libproto/imap/libmu_imap.la ../../libproto/pop/libmu_pop.la
../../libmu_auth/libmu_auth.la ../../libproto/mailer/libmu_mailer.la -lgnut=
ls=20
-lpam -ldl ../../libmailutils/libmailutils.la ../../python/libmu_py/libmu_p=
y.la
../../libmu_dbm/libmu_dbm.la -lpython3.7m -lcrypt -lintl -ldl -L/usr/local/=
lib
-lintl -lutil -lm -lgdbm -L/usr/local/lib -lintl -R/usr/local/lib  -lcrypt
-L/usr/local/lib -lpthread
libtool: link: cc -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem
/usr/local/include -fno-strict-aliasing -g -fstack-protector-strong -o
.libs/mda mda.o  -L/usr/local/lib ../lib/libmda.a ../../lib/libmuscript.a
../../lib/.libs/libmuaux.so -lunistring ../../libmu_sieve/.libs/libmu_sieve=
.so
../../libproto/mbox/.libs/libmu_mbox.so
../../libproto/maildir/.libs/libmu_maildir.so
../../libproto/dotmail/.libs/libmu_dotmail.so
../../libproto/imap/.libs/libmu_imap.so -L/usr/local/lib/mysql
../../libproto/pop/.libs/libmu_pop.so ../../libmu_auth/.libs/libmu_auth.so
../../libproto/mailer/.libs/libmu_mailer.so
../../libmailutils/.libs/libmailutils.so
../../python/libmu_py/.libs/libmu_py.so
/wrkdirs/usr/ports/mail/mailutils/work/mailutils-3.10/libproto/mbox/.libs/l=
ibmu_mbox.so
/wrkdirs/usr/ports/mail/mailutils/work/mailutils-3.10/libproto/maildir/.lib=
s/libmu_maildir.so
/wrkdirs/usr/ports/mail/mailutils/work/mailutils-3.10/libproto/dotmail/.lib=
s/libmu_dotmail.so
/wrkdirs/usr/ports/mail/mailutils/work/mailutils-3.10/libproto/imap/.libs/l=
ibmu_imap.so
/wrkdirs/usr/ports/mail/mailutils/work/mailutils-3.10/libproto/pop/.libs/li=
bmu_pop.so
/wrkdirs/usr/ports/mail/mailutils/work/mailutils-3.10/libproto/mailer/.libs=
/libmu_mailer.so
/wrkdirs/usr/ports/mail/mailutils/work/mailutils-3.10/libmu_auth/.libs/libm=
u_auth.so
/wrkdirs/usr/ports/mail/mailutils/work/mailutils-3.10/libmu_sieve/.libs/lib=
mu_sieve.so
/usr/local/lib/libltdl.so ../../libmu_dbm/.libs/libmu_dbm.so
/wrkdirs/usr/ports/mail/mailutils/work/mailutils-3.10/libmailutils/.libs/li=
bmailutils.so
/usr/local/lib/libgdbm.so -lpython3.7m -lutil -lmysqlclient -lm -lpq -lgnut=
ls
-lpam -ldl -lintl -lcrypt -lpthread -Wl,-rpath -Wl,/usr/local/lib
ld: error: undefined symbol: get_size
>>> referenced by mailquota.c:277
>>>               mailquota.o:(sql_retrieve_quota) in archive ../lib/libmda=
.a
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[5]: *** [Makefile:1135: mda] Error 1
gmake[5]: Leaving directory
'/wrkdirs/usr/ports/mail/mailutils/work/mailutils-3.10/mda/mda'
gmake[4]: *** [Makefile:1225: all-recursive] Error 1
gmake[4]: Leaving directory
'/wrkdirs/usr/ports/mail/mailutils/work/mailutils-3.10/mda/mda'
gmake[3]: *** [Makefile:1069: all-recursive] Error 1
gmake[3]: Leaving directory
'/wrkdirs/usr/ports/mail/mailutils/work/mailutils-3.10/mda'
gmake[2]: *** [Makefile:1150: all-recursive] Error 1
gmake[2]: Leaving directory
'/wrkdirs/usr/ports/mail/mailutils/work/mailutils-3.10'
gmake[1]: *** [Makefile:1035: all] Error 2
gmake[1]: Leaving directory
'/wrkdirs/usr/ports/mail/mailutils/work/mailutils-3.10'
=3D=3D=3D> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failure =
to
the maintainer.
*** Error code 1

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-249358-7788-Np2NZxrhKk>