[Bug 516616] New: Package libusb-devel doesn't exist anymore in 11.2 and Factory
http://bugzilla.novell.com/show_bug.cgi?id=516616 Summary: Package libusb-devel doesn't exist anymore in 11.2 and Factory Classification: openSUSE Product: openSUSE 11.2 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Development AssignedTo: pth@novell.com ReportedBy: joop_boonen@web.de QAContact: qa@suse.de Found By: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1b99) Gecko/20090604 SUSE/3.5b99-1.2 Firefox/3.5b99 Package libusb-devel doesn't exist anymore in 11.2 and Factory Because of this package dfu-utils isn't build anymore. Maybe libusb-compat-devel should do the trick but it doesn't. Reproducible: Always Steps to Reproduce: 1. 2. 3. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=516616 User meissner@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=516616#c1 Marcus Meissner <meissner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |meissner@novell.com Info Provider| |joop_boonen@web.de AssignedTo|pth@novell.com |sbrabec@novell.com --- Comment #1 from Marcus Meissner <meissner@novell.com> 2009-06-25 15:18:26 MDT --- libusb-compat-devel should do the trick. what is the problem you see? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=516616 User joop_boonen@web.de added comment http://bugzilla.novell.com/show_bug.cgi?id=516616#c2 --- Comment #2 from Joop Boonen <joop_boonen@web.de> 2009-06-26 00:41:49 MDT --- I get the following error while building in OBS: ( https://build.opensuse.org/package/show?package=dfu-util&project=openSUSE%3AFactory%3AContrib ) . I've added: BuildRequires: libusb-compat-devel in the spec file, for opensuse > 1110 /usr/lib64/gcc/x86_64-suse-linux/4.4/../../../../x86_64-suse-linux/bin/ld: cannot find -lusb The whole info: + make make all-recursive make[1]: Entering directory `/usr/src/packages/BUILD/dfu-util-0.1+svn5213' Making all in src make[2]: Entering directory `/usr/src/packages/BUILD/dfu-util-0.1+svn5213/src' echo -e '#ifndef DFU_UTIL_VERSION' \ '\n#define DFU_UTIL_VERSION "'`svnversion`'"' \ '\n#endif' > dfu-version.h make all-am make[3]: Entering directory `/usr/src/packages/BUILD/dfu-util-0.1+svn5213/src' gcc -DHAVE_CONFIG_H -I. -I.. -Wall -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c main.c: In function 'main': main.c:710: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' mv -f .deps/main.Tpo .deps/main.Po gcc -DHAVE_CONFIG_H -I. -I.. -Wall -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -MT sam7dfu.o -MD -MP -MF .deps/sam7dfu.Tpo -c -o sam7dfu.o sam7dfu.c mv -f .deps/sam7dfu.Tpo .deps/sam7dfu.Po gcc -DHAVE_CONFIG_H -I. -I.. -Wall -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -MT dfu.o -MD -MP -MF .deps/dfu.Tpo -c -o dfu.o dfu.c mv -f .deps/dfu.Tpo .deps/dfu.Po gcc -Wall -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -o dfu-util main.o sam7dfu.o dfu.o -lusb gcc -Wall -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -static -o dfu-util_static main.o sam7dfu.o dfu.o -lusb /usr/lib64/gcc/x86_64-suse-linux/4.4/../../../../x86_64-suse-linux/bin/ld: cannot find -lusb collect2: ld returned 1 exit status make[3]: *** [dfu-util_static] Error 1 make[3]: Leaving directory `/usr/src/packages/BUILD/dfu-util-0.1+svn5213/src' make[2]: *** [all] Error 2 make[2]: Leaving directory `/usr/src/packages/BUILD/dfu-util-0.1+svn5213/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/packages/BUILD/dfu-util-0.1+svn5213' make: *** [all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.7547 (%build) -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=516616 Joop Boonen <joop_boonen@web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|joop_boonen@web.de | -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=516616 User sbrabec@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=516616#c3 --- Comment #3 from Stanislav Brabec <sbrabec@novell.com> 2009-06-26 02:10:10 MDT --- 1. Yes, we do not provide static libusb library any more. If you absolutely need a static binary, I could add static library to the package. If you don't need static binary, simply remove -static and we can close this bug as invalid. Maybe that you will need to edit your makefile a bit: Using "pkg-config --libs libusb" and "pkg-config --cflags libusb" should work for all systems and all variants of the library. 2. You don't need any magic, even with openSUSE 11.2. Simply use "BuildRequires: libusb-devel" and you will get a correct version of the package. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=516616 User sbrabec@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=516616#c4 Stanislav Brabec <sbrabec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |INVALID --- Comment #4 from Stanislav Brabec <sbrabec@novell.com> 2009-06-26 04:56:16 MDT --- Looking at openSUSE:Factory:Contrib/dfu-util, you don't need static library. Fixed your package, created request id 13139. Now works in openSUSE, Fedora 11, Mandriva 2009 without any special code. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com