Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 107065 - nomadii-utils fails to compile with lowlevel.c errors
Summary: nomadii-utils fails to compile with lowlevel.c errors
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-24 00:03 UTC by Marquez LaMaistres
Modified: 2006-12-17 04:01 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 Marquez LaMaistres 2005-09-24 00:03:49 UTC
nomadii-utils doesn't compile. I get a lowlevel.c error when emerging the file.



Reproducible: Always
Steps to Reproduce:
1.emerge nomadii-utils
2.
3.

Actual Results:  
>>> md5 files   ;-) nomadii-utils-0.8.ebuild
>>> md5 files   ;-) files/digest-nomadii-utils-0.8
>>> md5 src_uri ;-) nomadII-utils-0.8.tgz
>>> Unpacking source...
>>> Unpacking nomadII-utils-0.8.tgz to /var/tmp/portage/nomadii-utils-0.8/work
>>> Source unpacked.
make[1]: Entering directory `/var/tmp/portage/nomadii-utils-0.8/work/nomadII-uti
                                                                ls-0.8/libnomadII'
gcc -Wall -Wreturn-type -I ./libnomadII -DVERSION='"0.8"' -DWITH_USBDEVFS -DUSE_
                                                                READLINE -O2
-march=athlon-tbird -pipe -fomit-frame-pointer    -c -o low_level.o            
                                                     low_level.c
make[1]: Entering directory `/var/tmp/portage/nomadii-utils-0.8/work/nomadII-uti
                                                                ls-0.8/libnomadII'
gcc -Wall -Wreturn-type -I ./libnomadII -DVERSION='"0.8"' -DWITH_USBDEVFS -DUSE_
                                                                READLINE -O2
-march=athlon-tbird -pipe -fomit-frame-pointer    -c -o low_level.o            
                                                     low_level.c
low_level.c: In function `nomadII_ctl_msg':
low_level.c:323: error: structure has no member named `requesttype'
low_level.c:324: error: structure has no member named `request'
low_level.c:325: error: structure has no member named `value'
low_level.c:326: error: structure has no member named `index'
low_level.c:327: error: structure has no member named `length'
low_level.c: In function `nomadII_ctl_msg':
low_level.c:323: error: structure has no member named `requesttype'
low_level.c:324: error: structure has no member named `request'
low_level.c:325: error: structure has no member named `value'
low_level.c:326: error: structure has no member named `index'
low_level.c:327: error: structure has no member named `length'
make[1]: *** [low_level.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/nomadii-utils-0.8/work/nomadII-util
                                                                s-0.8/libnomadII'
make: *** [libnomadII/libnomadII.a] Error 2
gcc -Wall -Wreturn-type -I ./libnomadII -DVERSION='"0.8"' -DWITH_USBDEVFS -DUSE_
                                                                READLINE -O2
-march=athlon-tbird -pipe -fomit-frame-pointer    -c -o data.o data            
                                                    .c
make: *** Waiting for unfinished jobs....
make[1]: *** [low_level.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/nomadii-utils-0.8/work/nomadII-util
                                                                s-0.8/libnomadII'
make: *** [recurse-all] Error 2

Expected Results:  
The source should have compiled and the binaries installed in thr proper
directories.

I think this may have to do with the fact that I'm using udev, and the nomadii
developers abandoned the project some time ago.
p.s. I have everything neccessary compiled in the kernel and the appropriate
line in fstab. I have installed this before when I was using devfs, not udev,
and it compiled.

# emerge info
Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.5-r1, 2.6.12-ck6 i686)
=================================================================
System uname: 2.6.12-ck6 i686 AMD Athlon(tm) processor
Gentoo Base System version 1.6.13
ccache version 2.3 [disabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-tbird -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-tbird -pipe -fomit-frame-pointer"
DISTDIR="/usr/local/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LC_ALL="en_US.UTF-8"
MAKEOPTS="-j2"
PKGDIR="/usr/local/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/local/portage"
PORTDIR_OVERLAY="/usr/local/local-portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X alsa apm avi berkdb bitmap-fonts cdr cjk crypt cups curl dvd
dvdr dvdread eds emboss encode fam flac foomaticdb fortran gdbm gif gpm
gstreamer gtk gtk2 imagemagick imlib imlib2 ipv6 java jpeg libg++ libwww mad
mikmod mmx motif mp3 mpeg nas ncurses nls nptl ogg oggvorbis opengl pam pdflib
perl png python quicktime readline scanner sdl speex spell ssl svga tcltk tcpd
tetex tiff truetype truetype-fonts type1-fonts unicode vorbis xml2 xv zlib
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LINGUAS
Comment 1 Marcelo Goes (RETIRED) gentoo-dev 2005-09-24 12:13:00 UTC
Hello,
I just committed 0.8-r1, would you mind testing it out?
Comment 2 Marquez LaMaistres 2005-09-24 16:24:32 UTC
Sure thing. nomadii-utils-0.8-r1 compiled, but i'm getting an I/O error when I
run "nomadii".

$ nomadii
Creative Nomad II successfully found
Error: Unable to prepare device: Input/output error
$

My user is in the usb group, I have USB device filestytem compiled in the
kernel, but Support for Host-side USB is compiled as a module, and this is what
I have in fstab.

usbfs /proc/bus/usb usbfs devmode=0660,devgid=85 0 0 
Comment 3 Marcelo Goes (RETIRED) gentoo-dev 2005-09-24 17:25:21 UTC
To be honest I don't own a Nomad myself, so I could only fix the compile
problem. I hope that someone who does picks this up... :-(
Comment 4 Marquez LaMaistres 2005-09-26 18:19:32 UTC
Well, thanks for fixing the compile problem :). I'll try to find the cause of
this IO error. It's an old mp3 player, I'm not sure if I will get any responce
about the error.
Comment 5 Charlie Shepherd (RETIRED) gentoo-dev 2006-12-17 04:01:19 UTC
Vanquirus committed 0.8-r1, which fixed the lowlevel.c errors. If you still have I/O errors and you think it's the packages fault, please file another bug.