Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 99577 - net-analyzer/mtr does not compile due to append-flags
Summary: net-analyzer/mtr does not compile due to append-flags
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Mac OSX (show other bugs)
Hardware: PPC OS X
: High normal (vote)
Assignee: Fabian Groffen
URL:
Whiteboard:
Keywords:
: 101755 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-07-19 14:17 UTC by Marcin Gabrowski
Modified: 2006-04-12 10:53 UTC (History)
1 user (show)

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 Marcin Gabrowski 2005-07-19 14:17:07 UTC
Mtr 0.69 dont compile. One cflags repair error.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-07-19 14:31:34 UTC
Nice, that realy told us a lot, now the whole issue is crystal clear... ;p 

Post some meaningful summary, actual error messages, emerge --info and the
offending flag and reopen then. 
Comment 2 Marcin Gabrowski 2005-07-19 15:58:46 UTC
Solution:

In ebuild, please change:
33a34,40
<      if use ppc-macos; then
<                append-flags "-DBIND_8_COMPAT"
<        else
<                append-ldflags -Wl,-z,now
<        fi
<                                      
<                                                   
35d41
>       append-ldflags -Wl,-z,now

Info:
Portage 2.0.51.22-r1 (default-darwin/macos/10.4, gcc-4.0.0, unavailable, 8.2.0 Power Macintosh)
============================================================
=====
System uname: 8.2.0 Power Macintosh powerpc
macos-20041118
distcc 2.0.1-zeroconf powerpc-apple-darwin7.0 (protocol 1) (default port 3632) [disabled]
dev-lang/python:     [Not Present]
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  [Not Present]
sys-devel/automake:  [Not Present]
sys-devel/binutils:  [Not Present]
sys-devel/libtool:   [Not Present]
virtual/os-headers:  [Not Present]
ACCEPT_KEYWORDS="ppc-macos ~ppc-macos"
AUTOCLEAN="yes"
CBUILD="powerpc-apple-darwin"
CFLAGS="-O2 -pipe"
CHOST="powerpc-apple-darwin"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /
var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy collision-protect digest distlocks sfperms strict userpriv"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/
gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/Users/gaber/work/gentoo"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="ppc emboss extras ipv6 macos nls ppc-macos userland_Darwin kernel_Darwin elibc_Darwin"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 3 Marcin Gabrowski 2005-07-19 16:10:59 UTC
reopen because was closed :-)
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2005-07-19 16:47:44 UTC
(In reply to comment #3)
> reopen because was closed :-)

You can do that yourself...
Comment 5 Daniel Beckham 2005-08-08 08:12:46 UTC
My emerge --info output.  Forgot to include that earlier:

=================================================================
Portage 2.0.51.22-r2 (default-darwin/macos/10.4, gcc-4.0.0, libsystem-7.1-r0,
8.2.0 Power Macintosh)
=================================================================
System uname: 8.2.0 Power Macintosh powerpc
macos-20041118
distcc 2.0.1-zeroconf powerpc-apple-darwin7.0 (protocol 1) (default port 3632)
[disabled]
ccache version 2.3 [disabled]
dev-lang/python:     [Not Present]
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  [Not Present]
sys-devel/automake:  [Not Present]
sys-devel/binutils:  [Not Present]
sys-devel/libtool:   [Not Present]
virtual/os-headers:  7.1
ACCEPT_KEYWORDS="ppc-macos"
AUTOCLEAN="yes"
CBUILD="powerpc-apple-darwin"
CFLAGS="-O2 -pipe"
CHOST="powerpc-apple-darwin"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig collision-protect distlocks sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="ppc emboss ppc-macos userland_Darwin kernel_Darwin elibc_Darwin"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 6 Daniel Beckham 2005-08-08 08:13:34 UTC
Good grief, I'm sorry for the bug spam.  I had the wrong bug number.  My humble
apologies.
Comment 7 Fabian Groffen gentoo-dev 2005-08-08 08:59:48 UTC
*** Bug 101755 has been marked as a duplicate of this bug. ***
Comment 8 Fabian Groffen gentoo-dev 2005-08-08 09:02:41 UTC
I'll look into this
Comment 9 Fabian Groffen gentoo-dev 2005-08-08 10:21:03 UTC
Ok, comment #2 suggests to remove the changes I feel that should be in there. 
Maybe the diff on that comment is in reverse?  CVS suggests it was never in there.

It works like a charm for me on ppc-macos, tested on x86 for regression: no, so
checking in.  If a problem arises, please reopen bug.