Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 335476 - net-wireless/wimax-1.5 fails to build
Summary: net-wireless/wimax-1.5 fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Alexey Shvetsov
URL: http://icelord.livejournal.com/322069...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-01 01:30 UTC by Simeon Maryasin
Modified: 2010-11-08 18:05 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build log (build.log,591.48 KB, text/plain)
2010-09-01 01:31 UTC, Simeon Maryasin
Details
patch containing both changes (wimax-1.5.ebuild.patch,967 bytes, patch)
2010-09-01 01:33 UTC, Simeon Maryasin
Details | Diff
patch (wimax-1.5-r1.patch,2.74 KB, text/plain)
2010-10-02 09:26 UTC, Roman Sergeev
Details
new init script (wimax-1.5-r1.init,670 bytes, text/plain)
2010-10-02 09:27 UTC, Roman Sergeev
Details
new ebuild (wimax-1.5-r1.ebuild,1.66 KB, text/plain)
2010-10-02 09:27 UTC, Roman Sergeev
Details
Failed patch log (patch_log,3.21 KB, text/plain)
2010-10-13 23:11 UTC, bartoz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Simeon Maryasin 2010-09-01 01:30:44 UTC
Snippet of log:

../../../../InfraStack/OSDependent/Linux/InfraStackModules/Skeletons/AppSrv/GenericDaemon.c:58: warning: 'gcLogFilePathName' defined but not used
../../../../InfraStack/OSDependent/Linux/InfraStackModules/Skeletons/AppSrv/GenericConsole.c: In function 'print_callstack_to_file':
../../../../InfraStack/OSDependent/Linux/InfraStackModules/Skeletons/AppSrv/GenericConsole.c:118: warning: implicit declaration of function 'OSAL_sprintf'
../../../../InfraStack/OSDependent/Linux/InfraStackModules/Skeletons/AppSrv/GenericConsole.c:123: error: 'REG_EIP' undeclared (first use in this function)
../../../../InfraStack/OSDependent/Linux/InfraStackModules/Skeletons/AppSrv/GenericConsole.c:123: error: (Each undeclared identifier is reported only once
../../../../InfraStack/OSDependent/Linux/InfraStackModules/Skeletons/AppSrv/GenericConsole.c:123: error: for each function it appears in.)
../../../../InfraStack/OSDependent/Linux/InfraStackModules/Skeletons/AppSrv/GenericConsole.c:124: warning: too few arguments for format
../../../../InfraStack/OSDependent/Linux/InfraStackModules/Skeletons/AppSrv/GenericConsole.c:130: warning: ignoring return value of 'system', declared with attribute warn_unused_result
../../../../InfraStack/OSDependent/Linux/InfraStackModules/Skeletons/AppSrv/GenericConsole.c: In function 'console_signal_handler':
../../../../InfraStack/OSDependent/Linux/InfraStackModules/Skeletons/AppSrv/GenericConsole.c:161: warning: type defaults to 'int' in declaration of 'no_of_signals'
../../../../InfraStack/OSDependent/Linux/InfraStackModules/Skeletons/AppSrv/GenericConsole.c: In function 'main_console':
../../../../InfraStack/OSDependent/Linux/InfraStackModules/Skeletons/AppSrv/GenericConsole.c:287: warning: implicit declaration of function 'NDnSAgent_ApdoLinkStatus'
make[2]: *** [wimaxd-GenericConsole.o] Error 1
make[2]: *** Waiting for unfinished jobs....

Full log will be attached.


There is a patch for this problem at [URL].

Also, there is a problem with following line in ebuild:
        mv "${D}/usr/lib32/pkgconfig" "${D}/usr/lib/pkgconfig"
Emerge says:
        mv: cannot stat «/var/tmp/portage/net-wireless/wimax-1.5/image//usr/lib32/pkgconfig»: No such file or directory
(Although it is not critical, but is a bug..)
I think we could check for existence of this file.

Reproducible: Always

Steps to Reproduce:




Portage 2.1.8.3 (default/linux/x86/10.0/desktop, gcc-4.4.4, glibc-2.12.1-r0, 2.6.35-gentoo-r4 i686)
=================================================================
System uname: Linux-2.6.35-gentoo-r4-i686-Intel-R-_Atom-TM-_CPU_N270_@_1.60GHz-with-gentoo-2.0.1
Timestamp of tree: Wed, 25 Aug 2010 00:30:01 +0000
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.4_p6-r1, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.34
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA sun-bcla-java-vm dlj-1.1 skype-eula EULA AdobeFlash-10.1"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=native -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests collision-protect distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.corbina.ru/pub/Linux/gentoo/"
LANG="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--as-needed,--sort-common,--hash-style=gnu"
LINGUAS="ru en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /var/lib/layman/sunrise /var/lib/layman/rion /var/lib/layman/pentoo /var/lib/layman/arcon /var/lib/layman/roslin /var/lib/layman/pro-audio"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3ds X a52 aac aalib acl acpi alsa amr ao aspell audiofile avahi bash-completion berkdb bluetooth branding bzip2 cairo cdparanoia cdr cjk cli consolekit cracklib crypt cscope cups curl cxx dbi dbus djvu dri dts dvd dvdr emboss encode esd espeak exif expat fam fbcon festival ffmpeg fftw firefox flac fontconfig fortran ftp gdbm geoip gif gimp gmp gnutls gpg gpm graphviz gsm gtk gucharmap gzip iconv icu id3tag idn imagemagick imap ipv6 jack java javascript jbig jingle jpeg jpeg2k ladspa lame lcms libnotify libsamplerate lzo mad mbox mikmod mmx mng modules mp3 mp4 mpeg mudflap ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pango pcre pdf perl png ppds pppd pulseaudio python qt3support qt4 readline reflection rrdtool samba scanner sdl session shorten smi soundtouch sox speex spell spl sqlite sqlite3 sse sse2 sse3 ssl ssse3 startup-notification subversion svg sysfs tcpd theora threads tiff timidity tk truetype twolame unicode usb v4l v4l2 vim-syntax vorbis wavpack wifi wimax win32codecs wma wmf x264 x86 xattr xcb xcomposite xft xml xmlrpc xorg xpm xscreensaver xulrunner xv xvid zeroconf zlib zsh-completion" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" RUBY_TARGETS="ruby18" SANE_BACKENDS="mustek mustek_usb mustek_usb2 gt68xx" USERLAND="GNU" VIDEO_CARDS="intel vesa fbdev" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Simeon Maryasin 2010-09-01 01:31:15 UTC
Created attachment 245561 [details]
build log
Comment 2 Simeon Maryasin 2010-09-01 01:33:13 UTC
Created attachment 245562 [details, diff]
patch containing both changes
Comment 3 Simeon Maryasin 2010-09-01 01:35:55 UTC
And yes, when I installed modified version, I encountered bug 331289 (ERROR: Turning the SW Radio ON unsuccessfull - Device is UnInitialized)
Comment 4 Roman Sergeev 2010-09-30 07:07:03 UTC
i found better way

======
--- InfraStack/OSDependent/Linux/InfraStackModules/Skeletons/AppSrv/GenericConsole.c.orig	2010-09-29 23:04:28.000000000 +0400
+++ InfraStack/OSDependent/Linux/InfraStackModules/Skeletons/AppSrv/GenericConsole.c	2010-09-29 23:04:50.000000000 +0400
@@ -41,6 +41,10 @@ POSSIBILITY OF SUCH DAMAGE.
 #define __USE_GNU
 #include <ucontext.h>
 
+#ifndef REG_EIP
+#define REG_EIP 14
+#endif
+
 #include "Act.h"
 #include "TraceModule.h"
 #include "CommonServices.h"

======
but i am not sure
Comment 5 Roman Sergeev 2010-10-02 09:26:21 UTC
Inaky create tentative fix for this bug
wimax builded w\o errors
Comment 6 Roman Sergeev 2010-10-02 09:26:57 UTC
Created attachment 249272 [details]
patch
Comment 7 Roman Sergeev 2010-10-02 09:27:24 UTC
Created attachment 249274 [details]
new init script
Comment 8 Roman Sergeev 2010-10-02 09:27:53 UTC
Created attachment 249275 [details]
new ebuild
Comment 9 bartoz 2010-10-13 23:10:20 UTC
I tried the new ebuild + patch + inir, but the emerge fails here.
The problem is with the patch; I'm attaching /var/tmp/portage/net-wireless/wimax-1.5-r1/temp/wimax-1.5-r1.patch.out
Comment 10 bartoz 2010-10-13 23:11:06 UTC
Created attachment 250499 [details]
Failed patch log
Comment 11 Roman Sergeev 2010-10-14 08:22:36 UTC
(In reply to comment #10)
> Created an attachment (id=250499) [details]
> Failed patch log
> 

try this

https://bugs.gentoo.org/show_bug.cgi?id=340941
Comment 12 Roman Sergeev 2010-10-14 08:26:29 UTC
and this

https://bugs.gentoo.org/show_bug.cgi?id=340943
Comment 13 Alexey Shvetsov archtester gentoo-dev 2010-11-08 18:05:27 UTC
Fixed in tree.