Description of problem: Currently, it is not possible to cross compile against bzip2 statically. Version-Release number of selected component (if applicable): 1.0.5-8 How reproducible: cat > test.c <<EOF void main() {}; EOF i686-pc-mingw32-gcc -Wl,-Bstatic -lbz2 test.c Steps to Reproduce: 1. 2. 3. Actual results: /usr/lib64/gcc/i686-pc-mingw32/4.5.0/../../../../i686-pc-mingw32/bin/ld: cannot find -lbz2 collect2: ld returned 1 exit status Expected results: The test program compiles successfully. Additional info: Patch attached.
Created attachment 470628 [details] add static package to mingw32-bzip2
Amorilia, can you request commit rights for this package, then you can check the change in yourself. https://admin.fedoraproject.org/pkgdb/acls/name/mingw32-bzip2
Sure, thanks for the quick response, and for the display of trust. I happily help out. However, beware that I have no experience with Fedora packaging yet (although I hope to change this). Anyway, I have added myself to the mingw32-bzip2 package. What's the next logical move?
You need to request 'commit'. However I realized that maybe you cannot see that button, because you are not yet a packager. If that is the case then you also need to follow this: http://fedoraproject.org/wiki/PackageMaintainers/Join If this is too much trouble, then I can commit this, however it would be better if you could become a packager if you intend to do any more packaging changes in future.
Indeed, I am no packager, whence the button withholds. Your latter option makes perfect sense. I will start with reviewing a few packages (suggestions are welcome), and submit a package for mingw32-xz. We will see how it goes from there.
mingw-bzip2-1.0.6-1.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/mingw-bzip2-1.0.6-1.fc17
mingw-bzip2-1.0.6-1.fc17, mingw-boost-1.48.0-8.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.