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

Bug 59189

Summary: Porting: net-analyzer/netselect-0.3
Product: Gentoo Linux Reporter: Robin Munn <rmunn>
Component: Current packagesAssignee: osx porters <osx>
Status: VERIFIED CANTFIX    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Robin Munn 2004-08-02 14:14:11 UTC
I added the "macos" keyword to netselect-0.3.ebuild and tried to emerge it, with the following result:


localhost:/usr/local/portage/net-analyzer/netselect root# emerge -av netselect

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] net-analyzer/netselect-0.3  0 kB [1] 

Total size of downloads: 0 kB
Portage overlays:
 [1] /usr/local/portage

Do you want me to merge these packages? [Yes/No] 
>>> emerge (1 of 1) net-analyzer/netselect-0.3 to /
>>> md5 src_uri ;-) netselect-0.3.tar.gz
>>> Checking netselect-0.3.tar.gz's mtime...
>>> WORKDIR is up-to-date, keeping...
sed: lstat: No such file or directory
gcc -O2 -Wall -I. -g   -c -o netselect.o netselect.c
netselect.c:49:21: endian.h: No such file or directory
make: *** [netselect.o] Error 1

!!! ERROR: net-analyzer/netselect-0.3 failed.
!!! Function src_compile, Line 23, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

localhost:/usr/local/portage/net-analyzer/netselect root# 


Reproducible: Always
Steps to Reproduce:
1. Add macos keyword to netselect-0.3.ebuild.
2. emerge -av netselect
3.

Actual Results:  
Compilation fails because it can't find the "endian.h" include file.

Expected Results:  
Compilation should have succeeded.

localhost:/usr/local/portage/net-analyzer/netselect root# emerge info
!!! Using `which gcc` to gcc locate version, this may break
!!! DISTCC, installing gcc-config and setting your current gcc
!!! profile will fix this
Portage 20040726 (default-macos-10.3, gcc-3.3, unavailable, 7.4.0 Power
Macintosh powerpc)
=================================================================
System uname: 7.4.0 Power Macintosh powerpc
macos-20040726
distcc 2.0.1-zeroconf powerpc-apple-darwin7.0 (protocol 1) (default port 3632)
[disabled]
Autoconf: 
Automake: 
Binutils: 
ACCEPT_KEYWORDS="macos"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe"
CHOST="powerpc-apple-darwin"
COMPILER="gcc3"
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="collision-protect cvs keepwork"
GENTOO_MIRRORS="http://gentoo.osuosl.org/"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="macos"
Comment 1 Christophe Godart 2004-09-20 10:40:04 UTC
The problem is the same with netselect-0.3-r1
Comment 2 Lina Pezzella (RETIRED) gentoo-dev 2004-12-31 23:23:04 UTC
First of all, if you read netselect.c, you'll see that the maintainer does not intend this to run on anything but linux. Fixed the endian.h bug, only to find that some of the necessary include files are missing on OSX. It seems we're out of luck on this one. If you *really* need it to work, I'd suggest contacting the maintainer, or running linux-ppc.
Comment 3 Hasan Khalil (RETIRED) gentoo-dev 2005-02-06 13:33:09 UTC
Closing out bugs that've been resolved for a while now...