Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 327335

Summary: [QA] dev-libs/mozldap QA Notice: Files built without respecting LDFLAGS have been detected
Product: Gentoo Linux Reporter: Andreis Vinogradovs ( slepnoga ) <andreis.vinogradovs>
Component: New packagesAssignee: Fabio Erculiani (RETIRED) <lxnay>
Status: RESOLVED FIXED    
Severity: normal CC: xarthisius
Priority: High Keywords: InVCS
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 331933    
Attachments: adding epatch
respecting LDFLAGS

Description Andreis Vinogradovs ( slepnoga ) 2010-07-07 15:47:09 UTC
ebuild dev-libs/mozldap produce QA warning:
 * QA Notice: Files built without respecting LDFLAGS have been detected
 *  Please include the following list of files in your report:
 * /usr/lib64/mozldap/libldap60.so.6.0
 * /usr/lib64/mozldap/libldif60.so.6.0
 * /usr/lib64/mozldap/libprldap60.so.6.0
 * /usr/lib64/mozldap/libssldap60.so.6.0
Comment 1 Andreis Vinogradovs ( slepnoga ) 2010-07-07 15:50:28 UTC
slep@mini ~ $ emerge  --info -q dev-libs/mozldap
Portage 2.2_rc67 (default/linux/amd64/10.0/desktop/kde, gcc-4.4.4, glibc-2.11.2-r0, 2.6.33-gentoo-r1-1.03 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.33-gentoo-r1-1.03-x86_64-Intel-R-_Atom-TM-_CPU_330_@_1.60GHz-with-gentoo-2.0.1
Timestamp of tree: Wed, 07 Jul 2010 15:00:01 +0000
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r2, 3.1.2-r3
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.6.3-r1, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26-r1, 2.2.10
virtual/os-headers:  2.6.34
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -fomit-frame-pointer -mfpmath=sse+387 -mpc80 -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=native -fomit-frame-pointer -mfpmath=sse+387 -mpc80 -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests buildpkg ccache distlocks fixpackages metadata-transfer news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch usersandbox usersync"
GENTOO_MIRRORS="http://gentoo.tups.lv/source "
LANG="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--sort-common -Wl,--hash-style=gnu"
LINGUAS="ru"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="lzma"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/slep/rion /home/slep/slepnoga/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi akonadi alsa amd64 bash-completion berkdb bl bluetooth branding bzip2 cairo caps cdda cdio cdparanoia cdr cli clucene consolekit cracklib crypt cue cups cxx dbus dga djvu dri dts dvd dvdr emboss encode exif fam fbcon ffmpeg firefox flac fontconfig fortran ftp gdbm ggi gif gnutls gpm gstreamer hal handbook iconv icu idn imagemagick imlib inotify ipv6 jbig jpeg jpeg2k kde kerberos ladspa lame lcms ldap libnotify libsamplerate lm_sensors log4j lzma lzo mad mikmod mmap mmx mmxext mng modplug modules mp3 mp4 mpeg mtp mudflap multilib multislot mysql ncurses nls nptl nptlonly nsplugin ogg opengl openmp optimized-qmake pam pango pch pcre pdf perl phonon pipe png pnm policykit ppds pppd python qt3support qt4 radio readline reflection rle samba sasl sdl semantic-desktop session sftp skype slp sndfile spell spl sql sqlite sse sse2 ssl ssse3 startup-notification strigi svg symlink sysfs syslog taglib tcpd theora threads tiff truetype unicode usb vim-syntax vorbis wav wavpack webkit winetriks x264 xattr xcb xinetd xml xmlpatterns xorg xulrunner xv xvid xvmc zip zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LINGUAS="ru" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

dev-libs/mozldap-6.0.6-r1 was built with the following:
USE="ipv6 (multilib) sasl -debug" 
CFLAGS="-O2 -march=native -fomit-frame-pointer -mfpmath=sse+387 -mpc80 -msse3 -floop-interchange -floop-strip-mine -floop-block"
CXXFLAGS="-O2 -march=native -fomit-frame-pointer -mfpmath=sse+387 -mpc80 -msse3 -floop-interchange -floop-strip-mine -floop-block"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--sort-common"
Comment 2 Andreis Vinogradovs ( slepnoga ) 2010-07-07 15:57:09 UTC
P.S
This ebuild not use libtool   =)
Also, plese not use QA_DTAG*  in ebuild, please, create patch
Comment 3 Andreis Vinogradovs ( slepnoga ) 2010-07-08 08:48:35 UTC
It's tree ebuild - please see http://packages.gentoo.org/package/net-nds/389-ds-base?ts=2010-07-07T14:31:36Z 
I removed this package rion overlay
Comment 4 Sergey Ilinykh 2010-07-08 09:32:32 UTC
sorry guys. i'm not maintainer of this particular package, so reassign
Comment 5 Andreis Vinogradovs ( slepnoga ) 2010-07-08 09:38:26 UTC
assigned to mantainer listed in metadata.xml.
Comment 6 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2010-07-28 17:37:29 UTC
Created attachment 240477 [details, diff]
adding epatch
Comment 7 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2010-07-28 17:37:49 UTC
Created attachment 240479 [details, diff]
respecting LDFLAGS
Comment 8 Fabio Erculiani (RETIRED) gentoo-dev 2010-09-05 13:06:10 UTC
(In reply to comment #7)
> Created an attachment (id=240479) [details]
> respecting LDFLAGS
> 

ACK, feel free to apply those patches ;-)
Comment 9 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2010-09-05 14:53:39 UTC
+*mozldap-6.0.6-r2 (05 Sep 2010)
+
+  05 Sep 2010; Kacper Kowalik <xarthisius@gentoo.org>
+  -mozldap-6.0.6-r1.ebuild, +mozldap-6.0.6-r2.ebuild,
+  +files/mozldap-6.0.6-ldflags.patch:
+  Respect LDFLAGS wrt bug 327335. Thanks to Andreis Vinogradovs ( slepnoga )
+  <spamslepnoga@inbox.ru> for the report.
+