Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 90324 - ladspa-sdk-1.12: compilation failed because there is a -Werror in the makefile
Summary: ladspa-sdk-1.12: compilation failed because there is a -Werror in the makefile
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-24 21:00 UTC by François Bertel
Modified: 2005-04-25 17:47 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 François Bertel 2005-04-24 21:00:07 UTC
package ladspa-sdk-1.12 failed to compile the first file because it comes with a makefile where -Werror is set. It happens only if the default CFLAGS of the system adds more warning to display than just those expected by the package.

In my case, my system CFLAGS has -Wshadow. ladspa-sdk has some shadowed variables so some warning is generated, because the package has -Werror the compilation fails and stops.

The workaround in my case is to add in my system CFLAGS a -Wno-error.

But I think the -Werror should be removed from the package.




Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-04-25 02:29:18 UTC
Please post emerge --info output like you were instructed to when filing the bug. 
Comment 2 François Bertel 2005-04-25 17:47:54 UTC
Sorry for that, when I created the bug report it did not look like a required information.

Here is the output of emerge --info *after* I fixed the compilation by adding -Wno-error:

Gentoo Base System version 1.4.16
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r4 i686)
=================================================================
System uname: 2.6.11-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar 29 2005, 10:00:00)]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-Wno-error -Wall -Wshadow -W -O3 -march=pentium4  -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-Wno-error -Wall -Wshadow -W -O3 -march=pentium4  -fomit-frame-pointer -pipe -Woverloaded-virtual"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage"
USE="x86 X Xaw3d a52 aac acpi aim alsa apm arts audiofile avi bash-completion berkdb bitmap-fonts bonobo bzlib cdparanoia cdr crypt cups divx4linux doc dv dvd dvdr dvdread emacs emboss encode esd examples fam fbcon ffmpeg fftw flac foomaticdb fortran ftp gb gdbm gif glut gnome gnustep gphoto2 gpm gstreamer gtk gtk2 guile imagemagick imlib ipv6 jack java javascript jpeg kde ladcca lcms libg++ libwww mad mikmod mime mng motif mozilla mp3 mpeg mpi msn nas ncurses nis nls nptl ogg oggvorbis openal opengl oscar oss pam pdflib perl png posix python qt quicktime readline samba scanner sdl sndfile sockets sox speex spell sse ssl svg svga symlink sysvipc tcpd tetex threads tiff truetype truetype-fonts type1-fonts unicode usb v4l vorbis wmf wxwindows xine xinerama xml xml2 xmms xpm xv xvid zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY