Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 275052 - sys-apps/usbutils-0.82: fails to emerge on Gentoo/FreeBSD-7.2
Summary: sys-apps/usbutils-0.82: fails to emerge on Gentoo/FreeBSD-7.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: x86 FreeBSD
: High normal (vote)
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-22 13:36 UTC by Aleksey Chernov
Modified: 2009-10-01 03:37 UTC (History)
0 users

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


Attachments
I fix this bug with this simple patch. (usbutils-0.82-fbsd.patch,340 bytes, patch)
2009-06-22 13:46 UTC, Aleksey Chernov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Aleksey Chernov 2009-06-22 13:36:41 UTC
Package sys-apps/usbutils-0.82 don't work. This bug occur when i trying to install xorg-x11.

Reproducible: Always

Steps to Reproduce:
1.emerge usbutils

Actual Results:  
>>> Emerging (1 of 1) sys-apps/usbutils-0.82
 * usbutils-0.82.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                        [ ok ]
 * checking ebuild checksums ;-) ...                                                           [ ok ]
 * checking auxfile checksums ;-) ...                                                          [ ok ]
 * checking miscfile checksums ;-) ...                                                         [ ok ]
>>> Unpacking source...
>>> Unpacking usbutils-0.82.tar.gz to /var/tmp/portage/sys-apps/usbutils-0.82/work
>>> Source unpacked in /var/tmp/portage/sys-apps/usbutils-0.82/work
>>> Compiling source in /var/tmp/portage/sys-apps/usbutils-0.82/work/usbutils-0.82 ...
./configure --prefix=/usr --build=i486-gentoo-freebsd7.2 --host=i486-gentoo-freebsd7.2 --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --datadir=/usr/share/misc --disable-zlib
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... gawk
checking whether gmake sets $(MAKE)... yes
checking for style of include used by gmake... GNU
checking for i486-gentoo-freebsd7.2-gcc... i486-gentoo-freebsd7.2-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i486-gentoo-freebsd7.2-gcc accepts -g... yes
checking for i486-gentoo-freebsd7.2-gcc option to accept ISO C89... none needed
checking dependency style of i486-gentoo-freebsd7.2-gcc... gcc3
checking how to run the C preprocessor... i486-gentoo-freebsd7.2-gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for i486-gentoo-freebsd7.2-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LIBUSB... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands

	usbutils 0.82
	=============

	prefix:                 /usr
	datarootdir:            ${prefix}/share
	datadir:                /usr/share/misc
	mandir:                 /usr/share/man

	usb.ids:                /usr/share/misc/usb.ids
	zlib:                   

	compiler:               i486-gentoo-freebsd7.2-gcc
	cflags:                 -march=athlon64 -O3 -pipe
	ldflags:                

gmake -j3 
gmake  all-am
gmake[1]: Entering directory `/var/tmp/portage/sys-apps/usbutils-0.82/work/usbutils-0.82'
i486-gentoo-freebsd7.2-gcc -DHAVE_CONFIG_H -I.   -DDATADIR=\"/usr/share/misc\"   -march=athlon64 -O3 -pipe -MT lsusb-lsusb.o -MD -MP -MF .deps/lsusb-lsusb.Tpo -c -o lsusb-lsusb.o `test -f 'lsusb.c' || echo './'`lsusb.c
i486-gentoo-freebsd7.2-gcc -DHAVE_CONFIG_H -I.   -DDATADIR=\"/usr/share/misc\"   -march=athlon64 -O3 -pipe -MT lsusb-lsusb-t.o -MD -MP -MF .deps/lsusb-lsusb-t.Tpo -c -o lsusb-lsusb-t.o `test -f 'lsusb-t.c' || echo './'`lsusb-t.c
i486-gentoo-freebsd7.2-gcc -DHAVE_CONFIG_H -I.   -DDATADIR=\"/usr/share/misc\"   -march=athlon64 -O3 -pipe -MT lsusb-names.o -MD -MP -MF .deps/lsusb-names.Tpo -c -o lsusb-names.o `test -f 'names.c' || echo './'`names.c
lsusb.c:35:22: error: byteswap.h: No such file or directory
gmake[1]: *** [lsusb-lsusb.o] Error 1
gmake[1]: *** Waiting for unfinished jobs....
mv -f .deps/lsusb-names.Tpo .deps/lsusb-names.Po
mv -f .deps/lsusb-lsusb-t.Tpo .deps/lsusb-lsusb-t.Po
gmake[1]: Leaving directory `/var/tmp/portage/sys-apps/usbutils-0.82/work/usbutils-0.82'
gmake: *** [all] Error 2
 * 
 * ERROR: sys-apps/usbutils-0.82 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line  102:  Called die
 * The specific snippet of code:
 *       emake || die "make failed"
 *  The die message:
 *   make 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/sys-apps/usbutils-0.82/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-apps/usbutils-0.82/temp/environment'.
 * 



Portage 2.2_rc33 (default/bsd/fbsd/x86/7.2, gcc-4.3.3, freebsd-lib-7.2-r0, 7.2-RELEASE i386)
=================================================================
System uname: FreeBSD-7.2-RELEASE-i386-32bit-ELF
Timestamp of tree: Mon, 22 Jun 2009 06:15:01 +0000
app-shells/bash:     4.0_p24
dev-lang/python:     2.6.2-r1
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  7.2
ACCEPT_KEYWORDS="x86-fbsd ~x86-fbsd"
CBUILD="i486-gentoo-freebsd7.2"
CFLAGS="-march=athlon64 -O3 -pipe"
CHOST="i486-gentoo-freebsd7.2"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=athlon64 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg chflags collision-protect distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://localhost/gentoo/ http://mirror.yandex.ru/gentoo-distfiles/ http://distfiles.gentoo.org/ http://www.ibiblio.org/pub/Linux/distributions/gentoo/"
LDFLAGS=""
LINGUAS="ru"
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"
SYNC="rsync://mirrors.kernel.org/gentoo-portage/"
USE="3dnow 3dnowext 7zip X a52 aac aalib acl acpi amr amrnb amrwb apache2 apm archive asf avi berkdb bluetooth browserplugin bzip2 cdr cli consolekit cracklib crypt cups curl dbus djvu dri dts dvd dvdr encode exif firefox flac flash foomaticdb ftp fuse gdbm gif gimp gimpprint glut gphoto2 gstreamer gtk hal iconv imlib ipv6 java5 java6 jpeg jpeg2k kde latex libcaca logrotate lzma mad midi mikmod mmx mmxext mng mozdevelop mozsvg mp3 mpeg mssql ncurses nls nptlonly nsplugin ogg openal openexr opengl oss pam pch pcre pdf perl plasma png postgres povray ppds python qt3 qt4 quicktime readline reflection rtc samba sdl session skins slang smp spell spl sqlite sqlite3 sse sse2 ssl subversion svg tcpd tga theora threads tiff truetype unicode usb userlocales vorbis win32codecs x264 x86-fbsd xcb xcomposite xine xml xorg xscreensaver xv xvid xvmc zip zlib" 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 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="FreeBSD" INPUT_DEVICES="keyboard mouse" KERNEL="FreeBSD" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru" USERLAND="BSD" VIDEO_CARDS="nv nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Aleksey Chernov 2009-06-22 13:46:24 UTC
Created attachment 195450 [details, diff]
I fix this bug with this simple patch.

Sorry, i don't know what is <byteswap.h> but without build perfectly.
Comment 2 SpanKY gentoo-dev 2009-10-01 03:37:22 UTC
thanks, ive added your patch to 0.86