Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 174948
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Net-Mail Packages <net-mail@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Chris Smith <chris@realcomputerguy.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 174948 depends on: Show dependency tree
Bug 174948 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-04-17 18:31 0000
mail-mta/postfix-2.4.0 will not build with dev-db/tinycdb-0.76

the ebuild seems to assume that /usr/include/cdb.h doesn't exist (it does) and
has a workaroiund that looks for /usr/include/tinycdb.h which doesn't exist

Reproducible: Always

Steps to Reproduce:
1.emerge =dev-db/tinycdb-0.76
2.USE="cdb" emerge =mail-mta/postfix-2.4.0
3.

Actual Results:  
>>> Unpacking postfix-2.4.0.tar.gz to /var/tmp/portage/mail-mta/postfix-2.4.0/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/mail-mta/postfix-2.4.0/work/postfix-2.4.0 ...
 * build with dev-db/tinycdb
cp: cannot stat `/usr/include/tinycdb.h': No such file or directory


Expected Results:  
should have emerged properly

if the tinycdb hack is edited out of the ebuild then it fails with:

cp libmaster.a ../../lib/libmaster.a
ranlib ../../lib/libmaster.a
i686-pc-linux-gnu-gcc -DHAS_PCRE -DHAS_LDAP -DUSE_TLS -DHAS_CDB
-DDEF_DAEMON_DIR=\"/usr/lib/postfix\" -DDEF_MANPAGE_DIR=\"/usr/share/man\"
-DDEF_README_DIR=\"/usr/share/doc/postfix-2.4.0/readme\"
-DDEF_HTML_DIR=\"/usr/share/doc/postfix-2.4.0/html\"  -O2 -march=pentium4
-fomit-frame-pointer -pipe -I. -I../../include -DLINUX2 -o master master.o
master_conf.o master_ent.o master_sig.o master_avail.o master_spawn.o
master_service.o master_status.o master_listen.o master_vars.o master_wakeup.o
master_flow.o ../../lib/libglobal.a ../../lib/libutil.a -Wl,-z,now -L/usr/lib
-lpcre -lcrypt -lpthread -lpam -lldap -llber -lssl -lcrypto -ltinycdb -ldb
-lnsl -lresolv
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld:
cannot find -ltinycdb
collect2: ld returned 1 exit status
make: *** [master] Error 1
make: *** [update] Error 1

------- Comment #1 From Fernando J. Pereda (RETIRED) 2007-04-17 20:54:12 0000 -------
If you change CDB_LIBS="-ltinycdb" to CDB_LIBS="-lcdb", does it work ?

Cheers.

- ferdy

------- Comment #2 From Chris Smith 2007-04-17 23:28:51 0000 -------
(In reply to comment #1)
> If you change CDB_LIBS="-ltinycdb" to CDB_LIBS="-lcdb", does it work ?

Yes. If I comment out:
cp /usr/include/tinycdb.h ${S}/src/util/cdb.h || die
and make the change you ecommend above it builds

Chris

------- Comment #3 From Luca Longinotti 2007-04-24 19:29:12 0000 -------
This is fixed in Postfix-2.4.0-r1, please emerge --sync in a few hours to get
it.
Best regards, CHTEKK.

------- Comment #4 From Jakub Moc (RETIRED) 2007-08-12 17:36:45 0000 -------
*** Bug 188611 has been marked as a duplicate of this bug. ***

------- Comment #5 From Jakub Moc (RETIRED) 2007-08-12 17:40:16 0000 -------
Maybe someone could actually remove the nonsense in stable as well, or
stabilize something newer.

------- Comment #6 From Raphael Marichez 2008-03-21 15:06:21 0000 -------
(In reply to comment #5)
> Maybe someone could actually remove the nonsense in stable as well, or
> stabilize something newer.
> 

2.4.(x>0) is stable now and doesn't have the problem.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug