Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 137807 - sys-fs/mdadm-2.5 needs openssl/sha.h even with USE="-ssl"
Summary: sys-fs/mdadm-2.5 needs openssl/sha.h even with USE="-ssl"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: PPC Linux
: High normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-24 03:29 UTC by meyerm
Modified: 2006-06-24 17:21 UTC (History)
0 users

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 meyerm 2006-06-24 03:29:12 UTC
Hi,

mdadm-2.5 wants to be build with the includes of openssl, even though the SSL use-flag isn't set. On this chroot, there isn't any openssl for now.

#####################
[...]
dlink.c:57: warning: dereferencing type-punned pointer will break strict-aliasing rules
gcc -Wall   -DCONFFILE=\"/etc/mdadm.conf\" -Os -mcpu=7450 -mtune=7450 -pipe -DSendmail=\""/usr/sbin/sendmail -t"\"   -c -o Kill.o Kill.c
gcc -Wall   -DCONFFILE=\"/etc/mdadm.conf\" -Os -mcpu=7450 -mtune=7450 -pipe -DSendmail=\""/usr/sbin/sendmail -t"\"   -c -o Query.o Query.c
gcc -Wall   -DCONFFILE=\"/etc/mdadm.conf\" -Os -mcpu=7450 -mtune=7450 -pipe -DSendmail=\""/usr/sbin/sendmail -t"\"   -c -o mdopen.o mdopen.c
gcc -Wall   -DCONFFILE=\"/etc/mdadm.conf\" -Os -mcpu=7450 -mtune=7450 -pipe -DSendmail=\""/usr/sbin/sendmail -t"\"   -c -o super0.o super0.c
super0.c:32:40: error: openssl/sha.h: No such file or directory
super0.c: In function 'examine_super0':
super0.c:105: warning: implicit declaration of function 'SHA1'
super0.c:107: warning: initialization makes pointer from integer without a cast
super0.c: In function 'detail_super0':
super0.c:266: warning: initialization makes pointer from integer without a cast
super0.c: In function 'match_home0':
super0.c:290: warning: initialization makes pointer from integer without a cast
super0.c: In function 'update_super0':
super0.c:479: warning: initialization makes pointer from integer without a cast
super0.c: In function 'init_super0':
super0.c:562: warning: initialization makes pointer from integer without a cast
make: *** [super0.o] Error 1

!!! ERROR: sys-fs/mdadm-2.5 failed.
Call stack:
  ebuild.sh, line 1540:   Called dyn_compile
  ebuild.sh, line 940:   Called src_compile
  mdadm-2.5.ebuild, line 35:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
#####################



#####################
Portage 2.1.1_pre1-r1 (uclibc/ppc, gcc-4.1.1, uclibc-0.9.28-r0, 2.6.14-gentoo-r5 ppc)
=================================================================
System uname: 2.6.14-gentoo-r5 ppc 7447/7457, altivec supported
Gentoo Base System version 1.12.1
dev-lang/python:     2.3.4-r1, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: 1.3.8-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r4
ACCEPT_KEYWORDS="ppc ~ppc"
AUTOCLEAN="yes"
CBUILD="powerpc-pc-linux-uclibc"
CFLAGS="-Os -mcpu=7450 -mtune=7450 -pipe"
CHOST="powerpc-pc-linux-uclibc"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/eselect/compiler /etc/gconf /etc/terminfo"
CXXFLAGS="-Os -mcpu=7450 -mtune=7450 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg ccache distlocks metadata-transfer nodoc noinfo noman sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LC_ALL="de_DE.utf8"
PKGDIR="/packages/uclibc"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="ppc altivec minimal uclibc elibc_uclibc kernel_linux userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
#####################

Greetings,
Marcel
Comment 1 SpanKY gentoo-dev 2006-06-24 17:15:00 UTC
*** This bug has been marked as a duplicate of 137823 ***
Comment 2 SpanKY gentoo-dev 2006-06-24 17:20:18 UTC
err, nm ... ssl is broken in two ways, one of which is 137823, the other is here
Comment 3 SpanKY gentoo-dev 2006-06-24 17:21:06 UTC
fixed in cvs now