Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 152406 - net-dns/mydns fail to build with gcc-4.1
Summary: net-dns/mydns fail to build with gcc-4.1
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: MATSUU Takuto (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 117482 158048
  Show dependency tree
 
Reported: 2006-10-22 12:06 UTC by Francesco R. (RETIRED)
Modified: 2006-12-13 11:22 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 Francesco R. (RETIRED) gentoo-dev 2006-10-22 12:06:12 UTC
mydns compile phase fail with a bunch of errors like the following:
I've assembled a patch and put it into files/mydns-1.1.0-gcc41.patch already in cvs, my c skill are non-existant so it's better to test it before, for this reason it's commented out in the ebuild.

[...]
rr.c:479: warning: pointer targets in assignment differ in signedness
rr.c:480: warning: pointer targets in assignment differ in signedness
rr.c:481: warning: pointer targets in assignment differ in signedness
rr.c:482: warning: pointer targets in assignment differ in signedness
rr.c:483: warning: pointer targets in assignment differ in signedness
rr.c:484: warning: pointer targets in assignment differ in signedness
rr.c:526: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness
rr.c:532: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness
rr.c:537: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness
rr.c:565: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness
rr.c:568: warning: pointer targets in passing argument 2 of 'sql_query' differ in signedness
make[3]: *** [rr.o] Error 1
make[3]: *** Waiting for unfinished jobs....
cc1: warnings being treated as errors
[...]



Portage 2.1.1 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.17 i686)
=================================================================
System uname: 2.6.17 i686 AMD Athlon(tm)
Gentoo Base System version 1.12.5
Last Sync: Unknown
distcc[24574] (dcc_set_trace_from_env) ERROR: failed to open logfile /tmp/distcclog: Permission denied [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: [Not Present]
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
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-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe -g2 -ggdb"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/grass60/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe -g2 -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig cvs distcc distlocks sandbox sfperms sign splitdebug strict stricter test userpriv usersandbox"
GENTOO_MIRRORS="http://db.pnpitalia.it/ http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-m irror/"
LINGUAS=""
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
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="x86 apache2 berkdb bitmap-fonts cli cracklib crypt cups debug dlloader dri elibc_glibc fortran gdbm gpm input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog kernel_linux libg++ mysql ncurses nls nptl nptlonly pam pcre perl ppds pppd python readline reflection session spl ssl tcpd truetype-fonts type1-fonts udev unicode userland_GNU video_cards_none xorg zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Francesco R. (RETIRED) gentoo-dev 2006-12-13 11:22:30 UTC
look like a wizard solved this, it just compile fine now