pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/50761: mail/opensmtpd build error on CentOS 6.7



>Number:         50761
>Category:       pkg
>Synopsis:       mail/opensmtpd build error on CentOS 6.7
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Feb 03 13:40:00 +0000 2016
>Originator:     ISIHARA Takanori
>Release:        pkgsrc-2015Q4
>Organization:
Nagoya *BSD Users' Group :-)
>Environment:
Linux seri.rururu.org 2.6.32-042stab092.2 #1 SMP Tue Jul 8 10:35:55 MSK 2014 x86_64 x86_64 x86_64 GNU/Linux

>Description:
mail/opensmtpd build error on CentOS 6.

>How-To-Repeat:
cd /usr/pkgsrc/mail/opensmtpd
bmake
<snip>
/bin/sh ../libtool  --tag=CC    --mode=link gcc -DNO_IO  -O2 -Wno-error -I/opt/pkg/include/db2 -I/opt/pkg/include -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wno-pointer-sign -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -fno-builtin-memset  -D_GNU_SOURCE  -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -o makemap makemap-parse.o makemap-makemap.o  makemap-aliases.o makemap-expand.o  makemap-log.o makemap-util.o  makemap-table.o makemap-dict.o  makemap-tree.o makemap-to.o  makemap-table_static.o makemap-table_db.o  makemap-table_getpwnam.o    ../openbsd-compat/libopenbsd-compat.a -levent_openssl -levent -lcrypto -lssl -lz -lnsl  -lrt -lcrypt -lresolv
libtool: link: gcc -DNO_IO -O2 -Wno-error -I/opt/pkgsrc/mail/opensmtpd/work/.buildlink/include/db2 -I/opt/pkgsrc/mail/opensmtpd/work/.buildlink/include -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wno-pointer-sign -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -fno-builtin-memset -D_GNU_SOURCE -Wl,-R/opt/pkg/lib -o makemap makemap-parse.o makemap-makemap.o makemap-aliases.o makemap-expand.o makemap-log.o makemap-util.o makemap-table.o makemap-dict.o makemap-tree.o makemap-to.o makemap-table_static.o makemap-table_db.o makemap-table_getpwnam.o  -L/opt/pkgsrc/mail/opensmtpd/work/.buildlink/lib ../openbsd-compat/libopenbsd-compat.a /opt/pkgsrc/mail/opensmtpd/work/.buildlink/lib/libevent_openssl.so /opt/pkgsrc/mail/opensmtpd/work/.buildlink/lib/libevent.so -lcrypto -lssl /opt/pkgsrc/mail/opensmtpd/work/.buildlink/lib/libz.so -lnsl -lrt -lcrypt -lresolv -pthread -Wl,-rpath -Wl,/opt/pkgsrc/mail/opensmtpd/work/.buildlink/lib -Wl,-rpath -Wl,/opt/pkgsrc/mail/opensmtpd/wor
 k/.buildlink/lib
makemap-makemap.o: In function `main':
makemap.c:(.text+0x45e): undefined reference to `dbopen'
makemap-table_db.o: In function `table_db_open':
table_db.c:(.text+0x28c): undefined reference to `dbopen'
collect2: ld returned 1 exit status
*** Error code 1

Stop.
bmake: stopped in /opt/pkgsrc/mail/opensmtpd/work/opensmtpd-5.3.3p1/smtpd
*** Error code 1

Stop.
bmake: stopped in /opt/pkgsrc/mail/opensmtpd/work/opensmtpd-5.3.3p1
*** Error code 1

Stop.
bmake: stopped in /opt/pkgsrc/mail/opensmtpd/work/opensmtpd-5.3.3p1
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/mail/opensmtpd
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/mail/opensmtpd

>Fix:
You add USE_DB185=yes to pkgsrc/mail/opensmtpd/Makefile.



Home | Main Index | Thread Index | Old Index