Bug 3721 - Fails to build in Debian kfreebsd-*
Summary: Fails to build in Debian kfreebsd-*
Status: RESOLVED FIXED
Alias: None
Product: Claws Mail (GTK 2)
Classification: Unclassified
Component: Other (show other bugs)
Version: 3.14.1
Hardware: PC FreeBSD
: P3 major
Assignee: users
URL:
Depends on:
Blocks:
 
Reported: 2016-11-08 00:48 UTC by Ricardo Mones
Modified: 2017-06-01 12:29 UTC (History)
0 users

See Also:


Attachments
Fix failure in kfreebsd (383 bytes, patch)
2016-11-08 18:45 UTC, Ricardo Mones
no flags Details | Diff

Description Ricardo Mones 2016-11-08 00:48:59 UTC
Previously it was being built correctly, but latest upload fails.

From the build logs¹:

etpan/.libs/libclawsetpan.a(passcrypt.o): In function `crypt_cfb_buf':
./src/common/passcrypt.c:89: undefined reference to `setkey'
./src/common/passcrypt.c:99: undefined reference to `encrypt'
collect2: error: ld returned 1 exit status
Makefile:1305: recipe for target 'claws-mail' failed
make[6]: *** [claws-mail] Error 1

Which seems to be compiling the wrong part of the conditional².

The reason seems to be this commit:

http://git.claws-mail.org/?p=claws.git;a=commitdiff;h=abbf2f8a

But not sure how to fix this, since I'm not familiar with FreeBSD macros or libraries.


¹ https://buildd.debian.org/status/fetch.php?pkg=claws-mail&arch=kfreebsd-amd64&ver=3.14.1-1&stamp=1478512583
² http://git.claws-mail.org/?p=claws.git;a=blob;f=src/common/passcrypt.c;hb=HEAD#l60
Comment 1 Ricardo Mones 2016-11-08 18:45:37 UTC
Created attachment 1694 [details]
Fix failure in kfreebsd

This patch fixes the issue when building in Debian's kfreebsd-amd64 porterbox.

What I don't know is if it's still valid for FreeBSD. Any testers?
Comment 2 users 2017-06-01 12:28:03 UTC
Changes related to this bug have been committed.
Please check latest Git and update the bug accordingly.
You can also get the patch from:
http://git.claws-mail.org/

++ ChangeLog	2017-06-01 12:28:02.914935700 +0200
http://git.claws-mail.org/?p=claws.git;a=commitdiff;h=6ce4c60cd1bc0dd44b2bdee1ca8043ffa59ccdd9
Merge: b32c204 b715774
Author: Colin Leroy <colin@colino.net>
Date:   Thu Jun 1 12:28:02 2017 +0200

    Merge branch 'master' of file:///home/git/claws

http://git.claws-mail.org/?p=claws.git;a=commitdiff;h=b7157747860b26cbb69295a4cc62a2493bd1d7e2
Author: Ricardo Mones <ricardo@mones.org>
Date:   Thu Jun 1 12:27:15 2017 +0200

    Fix bug #3721 ‘Fails to build in Debian kfreebsd-*’

Note You need to log in before you can comment on or make changes to this bug.