Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 285747 - dev-libs/nettle-2.0 fails to build with --as-needed
Summary: dev-libs/nettle-2.0 fails to build with --as-needed
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Crypto team [DISABLED]
Depends on:
Blocks: as-needed
  Show dependency tree
Reported: 2009-09-20 18:31 UTC by Joost Ruis
Modified: 2010-03-29 10:52 UTC (History)
2 users (show)

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

log (log.txt,9.60 KB, text/plain)
2009-09-20 18:32 UTC, Joost Ruis
adding patch to ebuild (nettle-2.0.diff,310 bytes, patch)
2009-10-07 20:55 UTC, Kacper Kowalik (Xarthisius) (RETIRED)
Details | Diff
fixing as-needed issues (nettle-2.0-as-needed.patch,449 bytes, patch)
2009-10-07 20:56 UTC, Kacper Kowalik (Xarthisius) (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Joost Ruis 2009-09-20 18:31:59 UTC
log attached.

Reproducible: Always

# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
CFLAGS="-O2 -march=i686 -pipe"
USE="-oss -branding voice weather -esd xine mp3 gnutls cups ppds foomatic-db alsa \ 
hal gimpprint freetype X unicode kde rdesktop pda zeroconf wifi lm_sensors ieee1394 logitech-mouse xinerama \
bluetooth irda sms quotas dvb xprint dvd theora ogg a52 kdeenablefinal win32codecs v4l matroska xvid network dvdread fame \
svg ffmpeg nsplugin wmf 7Zip visualization accessibility css audiofile artswrappersuid musicbrainz \
gphoto2 povray scanner musepack dvdr jack new-login kerberos dbus firefox acpi pcmcia openexr rar dri aac \
fat hfs jfs xfs ntfs reiserfs cjk cdda dts imap flash jabber msn yahoo icq irc lj aim bidi rss dxr3 \
cairo sysfs xpm nptl nptlonly gs dv lzo mjpeg mmx speex slp fftw real joystick xvmc v4l2 cpudetection \
extramodules mail -apm config_wizard dga lcd chm gcj ipod flac avahi \
stream live kdehiddenvisibility tiff usb kipi aiglx musicbrainz pulseaudio \
x264 lame mp3rtp udev cdr libnotify bzip2 aalib mng startup-notification openal jingle gsm dbox2 cddb -beagle -gnome -evo -mono -eds
opengl sdl gif gtk qt4 qt3support xcb tracker mozdevelop inotify xulrunner -kdeprefix -arts -qt3 policykit bash-completion gmp acl"
LINGUAS="en en_US af ar az bg bn br bs ca cs cy da de el en_GB eo es et eu fa fi fr fy ga gl he hi hr hu is it ja kk km ko lt lv mk mn ms nb nds nl nn pa pl pt pt_BR ro ru rw se sk sl sr sr@Latn ss sv ta tg tr uk uz vi zh_CN zh_TW es_AR es_ES fy_NL ga_IE gu gu_IN nb_NO nn_NO pt_PT sv_SE zh"
MAKEOPTS="-j2 -s "
FEATURES="parallel-fetch collision-protect"
CONFIG_PROTECT="/usr/kde/3.5/share/config/kdm/ /etc"
#VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo epson vermilion xgi nvidia"
PORTAGE_ELOG_CLASSES="warn info log"
LIRC_DEVICES="audio audio_alsa serial"
source /usr/local/portage/layman/make.conf
ALSA_CARDS="emu10k1x darla20 darla24 emu10k1 gina20 gina24 hdsp hdspm ice1712 indigo indigoio layla20 layla24 mia mixart mona pcxhr rme32 rme96 sb16 sbawe sscape usbusx2y vx222 usb-usx2y"
CAMERAS="agfa_cl20 casio_qv dimagev dimera3500 kodak_dc120 kodak_dc210 kodak_dc240 kodak_dc3200 kodak_ez200 konica_qm150 panasonic_coolshot panasonic_dc1000 panasonic_dc1580 panasonic_l859 polaroid_pdc320 polaroid_pdc640 polaroid_pdc700 ricoh_g3 sipix_blink sipix_blink2 sipix_web2 sony_dscf1 sony_dscf55 toshiba_pdrm11 adc65 aox barbie canon clicksmart310 digigr8 digita directory enigma13 fuji gsmart300 hp215 iclick jamcam jd11 konica largan lg_gsm mars mustek pccam300 pccam600 ptp2 ricoh samsung sierra smal sonix soundvision spca50x sq905 stv0674 stv0680 sx330z template"
INPUT_DEVICES="evdev keyboard mouse void"
VIDEO_CARDS="fbdev vesa radeonhd"
Comment 1 Joost Ruis 2009-09-20 18:32:12 UTC
Created attachment 204725 [details]
Comment 2 Sebastian Luther (few) 2009-09-27 17:34:46 UTC
Does it fail without --as-needed? Is there a build log containing the commands?
Comment 3 Sebastian Luther (few) 2009-10-02 15:13:58 UTC
Please reopen when the requested information is present.
Comment 4 Joost Ruis 2009-10-05 12:27:38 UTC
RE: "Does it fail without --as-needed? Is there a build log containing the commands?"

Changing title, reopening
Comment 5 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2009-10-07 20:55:59 UTC
Created attachment 206364 [details, diff]
adding patch to ebuild

It fails with USE="gmp" and --as-needed
Comment 6 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2009-10-07 20:56:32 UTC
Created attachment 206366 [details, diff]
fixing as-needed issues
Comment 7 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-11-07 18:43:16 UTC
I can't reproduce this bug (with --as-needed and with/without dev-libs/nettle already installed)...
Comment 8 Samuli Suominen (RETIRED) gentoo-dev 2010-03-29 10:52:50 UTC
+  29 Mar 2010; Samuli Suominen <> nettle-2.0.ebuild,
+  +files/nettle-2.0-asneeded.patch:
+  Fix building with -Wl,--as-needed wrt #285747 by Kacper Kowalik.