Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 139173 - net-dialup/gnuradius ~amd64 request
Summary: net-dialup/gnuradius ~amd64 request
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High enhancement (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-04 05:36 UTC by Marcin Jurczuk
Modified: 2007-02-20 03:49 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 Jurczuk 2006-07-04 05:36:49 UTC
net-dialup/gnuradius builds correctly on amd64 platform.
change in ebuild is required because there is no KEYWORD for amd64 

Here is change.

---
15c15
< KEYWORDS="x86"
---
> KEYWORDS="x86 amd64"
---
Comment 1 Jon Hood (RETIRED) gentoo-dev 2006-07-06 16:07:21 UTC
does not work for me:
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../include -I../include -I../include/radius -I../include/radius   -DSYSCONFDIR=\"/etc\" -DRADPID_DIR=\"/var/run\" -DRADLOG_DIR=\"/var/log\" -DRADIUS_DATADIR=\"/usr/share/radius/1.3\"   -march=athlon64 -O3 -pipe -fomit-frame-pointer -funroll-loops -MT proxy.o -MD -MP -MF ".deps/proxy.Tpo" -c -o proxy.o proxy.c; \
        then mv -f ".deps/proxy.Tpo" ".deps/proxy.Po"; else rm -f ".deps/proxy.Tpo"; exit 1; fi
log.c: In function 'run_log_hook':
log.c:190: warning: passing argument 4 of 'rewrite_invoke' discards qualifiers from pointer target type
log.c: In function 'channel_format_prefix':
log.c:200: error: invalid lvalue in unary '&'
log.c: In function 'channel_format_suffix':
log.c:218: error: invalid lvalue in unary '&'
log.c: In function 'category_set_flag':
log.c:978: warning: cast from pointer to integer of different size
log.c: In function 'channel_set_flag':
log.c:1105: warning: cast from pointer to integer of different size
Comment 2 Marcin Jurczuk 2006-07-27 07:21:14 UTC
What hardware you have ?
My:
spock@blade5 ~ $ uname -rms
Linux 2.6.16-gentoo-r7-bx600 x86_64
spock@blade5 ~ $
Processor info:
processor       : 3
vendor_id       : GenuineIntel
cpu family      : 15
model           : 4
model name      :                   Intel(R) Xeon(TM) CPU 2.80GHz
stepping        : 1
cpu MHz         : 2800.196
cache size      : 1024 KB
physical id     : 3
siblings        : 2
core id         : 0
cpu cores       : 1
fpu             : yes
fpu_exception   : yes
cpuid level     : 5
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall lm constant_tsc pni monitor ds_cpl cid cx16 xtpr
bogomips        : 5600.67
clflush size    : 64
cache_alignment : 128
address sizes   : 36 bits physical, 48 bits virtual
power management:


System info:
Fujitru-Siemens  PRIMERGY BX600S2D
4xIntel Xeon, 2 GB RAM, LSI RAID, 2x1GbE Intel.

Today I try again and everything was ok.
Compiled with:
Thread model: posix
gcc version 3.4.6 (Gentoo 3.4.6-r1, ssp-3.4.5-1.0, pie-8.7.9)

If there is a need I can attach package tbz (~0,5MB)
Comment 3 Thomas Tuttle 2006-12-22 20:51:36 UTC
I'm getting a multilib-strict error:

Files matching a file type that is not allowed:
   usr/lib/security/pam_radius.so

!!! ERROR: net-dialup/gnuradius-1.4 failed.
Call stack:
  misc-functions.sh, line 417:   Called install_qa_check
  misc-functions.sh, line 217:   Called die

!!! multilib-strict check failed!
!!! If you need support, post the topmost build error, and the call stack if rel                                                                                                                             evant.

!!! install_qa_check failed; exiting.

emerge --info:

Portage 2.1.1-r2 (default-linux/amd64/2006.1/desktop, gcc-4.1.1, glibc-2.4-r4, 2.6.19-gentoo-r2 x86_64)
=================================================================
System uname: 2.6.19-gentoo-r2 x86_64 Intel(R) Core(TM)2 CPU         T7200  @ 2.00GHz
Gentoo Base System version 1.12.6
Last Sync: Thu, 21 Dec 2006 18:30:07 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
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.60
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.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=nocona"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /lib/modules /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=nocona"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer multilib-strict prelink sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo"
LINGUAS="en en_US"
MAKEOPTS="-j3"
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"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac acpi aiglx alsa alsa_cards_hda-intel alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol arts berkdb bitmap-fonts cairo cdda cddb cdinstall cdr cli cracklib crypt cups dbus dlloader dri dvd dvdr eds elibc_glibc emboss encode esd exif fam firefox flac fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal iconv input_devices_evdev input_devices_keyboard input_devices_mouse input_devices_synaptics ipv6 isdnlog java5 jce jikes jpeg kde kernel_linux ldap libg++ linguas_en linguas_en_US lirc lirc_devices_streamzap mad mikmod mp3 mpeg ncurses nls nptl nptlonly ogg opengl pam pcre perl png ppds pppd python qt3 qt4 quicktime readline reflection sdl session spell spl srvdir ssl symlink tcpd theora truetype truetype-fonts type1-fonts udev unicode userland_GNU video_cards_i810 video_cards_i945 video_cards_vesa vorbis x264 xml xorg xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 Steve Dibb (RETIRED) gentoo-dev 2007-02-01 14:42:26 UTC
Feel free to reopen with a patch
Comment 5 Nathan Sullivan 2007-02-20 03:47:58 UTC
this does build on amd64 fine, using 2006.1 stable, but not with multilib-strict...whats the policy on that at this point?
Comment 6 Nathan Sullivan 2007-02-20 03:49:34 UTC
full failure log with multilib-strict:

ecompressdir: bzip2 -9 /usr/share/man/man1
ecompressdir: bzip2 -9 /usr/share/man/man8
ecompressdir: bzip2 -9 /usr/share/info
strip: x86_64-pc-linux-gnu-strip --strip-unneeded
   usr/bin/radlast
   usr/bin/radtest
   usr/bin/radwho
   usr/bin/radzap
   usr/lib/security/pam_radius.so
   usr/sbin/radiusd
   usr/lib64/libgnuradius.so.0.0.0
   usr/share/radius/1.4/modules/mysql.so
removing executable bit: usr/lib64/libgnuradius.la

 * QA Notice: Package has poor programming practices which may compile
 *            fine but exhibit random runtime failures.
 * mktypes.c:39: warning: incompatible implicit declaration of built-in function 'printf'
getgr.c:47: warning: incompatible implicit declaration of built-in function 'strlen'
getgr.c:65: warning: incompatible implicit declaration of built-in function 'strcpy'
getgr.c:66: warning: incompatible implicit declaration of built-in function 'strcpy'
getgr.c:68: warning: incompatible implicit declaration of built-in function 'strcpy'
getpw_r.c:47: warning: incompatible implicit declaration of built-in function 'strlen'
getpw_r.c:47: warning: incompatible implicit declaration of built-in function 'strcpy'

Files matching a file type that is not allowed:
   usr/lib/security/pam_radius.so

!!! ERROR: net-dialup/gnuradius-1.4 failed.
Call stack:
  misc-functions.sh, line 570:   Called install_qa_check
  misc-functions.sh, line 350:   Called die

!!! multilib-strict check failed!
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/net-dialup/gnuradius-1.4/temp/build.log'.

!!! install_qa_check failed; exiting.