Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 359733 - alpine-2.00-r4 fails to merge
Summary: alpine-2.00-r4 fails to merge
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-21 12:06 UTC by chadernook
Modified: 2017-11-14 13:13 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description chadernook 2011-03-21 12:06:57 UTC
alpine-2.00-r4 failed to merge because of some issues with the OpenSSL support picking up the OS copy of OpenSSL header (Centos 5.5) instead of the Prefix copy.


Reproducible: Always

Steps to Reproduce:
1. emerge alpine
2.
3.
Actual Results:  
Failed merge with broken syntax SSL headers

Expected Results:  
Successful merge


Stopping the emerge after the 'Source unpacked' with Ctrl-Z

Edit $PREFIX/var/tmp/portage/mail-client/alpine-2.00-r4/work/alpine-2.00/imap/src/osdep/unix/Makefile and changing 

SSLCFLAGS= -I$(SSLINCLUDE) -I$(SSLINCLUDE)/openssl\
 -DSSL_CERT_DIRECTORY=\"$(SSLCERTS)\" -DSSL_KEY_DIRECTORY=\"$(SSLKEYS)\"

to

SSLCFLAGS= -I<your prefix>$(SSLINCLUDE) -I<your prefix>$(SSLINCLUDE)/openssl\
 -DSSL_CERT_DIRECTORY=\"$(SSLCERTS)\" -DSSL_KEY_DIRECTORY=\"$(SSLKEYS)\"

seemed to fix the problem. This is not a good solution, but perhaps a stopgap.
Comment 1 Fabian Groffen gentoo-dev 2011-09-02 18:01:54 UTC
alpine needs an extensive amount of patching to work nicely in Prefix.  The build system hardcodes zillion of paths to host-provided libraries based on platform used.

If you have interest in this package, I encourage you to create a patch.