-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
%install section failing in 'bit' during package creation #7
Comments
On Jul 14, 2013, at 5:10 PM, John Deatherage wrote:
For some odd reason, the .la files are not being created correctly: The name that we can dlopen(3).dlname='' where on other platforms: The name that we can dlopen(3).dlname='libext_xutil.0.dylib' I can't imagine it's supposed to work this way, so assumably I've got something work in autoconf/libtool. Still investigating..... Thanks, |
A few thoughts on libtool/autotools: |
autoconf is terrible, like walking thru a minefield in which you don't know for a long time if you stepped in something and how much damage it's going to do. Or maybe it's more like: http://images2.fanpop.com/image/photos/13600000/Roger-Rabbit-roger-rabbit-13613366-406-225.jpg Either way, until something better comes along, it's the best path, ugly and painful as it is. And it makes no sense. I can see using a configure script for, say, perl, but than we should have a perl-based system will all the functionality that autoconf, gmake, libtool, and all the rest lack. Sigh.... 'nuff ranting.... back to the real world, where autoconf is the only horse in town....... Thanks, On Jul 14, 2013, at 6:07 PM, John Deatherage wrote:
|
I hope to alleviate some of the "fun" of cross platform issues, and I'm working on it as we speak. In terms of continuous integration, this will be building each time you create a new release tag for every platform, and it will be easy to see what breaks. This will test both tarball installs from source, and RPM and Deb package building. There's no reason it can't open tickets for the exact compilation errors, but that would probably be best served with an issue tracking system other than github ;) Of course, you can/will be able to implement this locally as well, using the scripts. I'll publish to github sometime within the next 2 weeks! |
Sounds great. Thanks, On Jul 15, 2013, at 2:29 AM, John Deatherage wrote:
|
Fixed in libslax-0.16.15 (and juise-0.5.6) |
This is still failing for me on Fedora18, but the source compilation of the Ansible playbook is completing, which is good. I'll confirm with Ubuntu as well. Once this is resolved, we can build packages. Perhaps I should push the ansible code up to github, so you can test as well? (in a private repository) |
Can I get the vagrant file for you fedora? I'll test it tomorrow. Thanks, On Jul 16, 2013, at 3:44 AM, John Deatherage wrote:
|
On Jul 16, 2013, at 3:44 AM, John Deatherage wrote:
Can you send details about what's failing? Thanks, |
Same exact error messages as above. I can tar up my build dirs and send them to you. I have a Vagrantfile on the way (just need to need add the box URLs for the version I'm sending you), and made a routelastresort/juniper-build-package on here. |
Any progress on this? (it's marked as closed), but still the main issue for package building. You need the packages:
http://fedoraproject.org/wiki/How_to_create_an_RPM_package looks like a good guide. You're basically doing this:
the link on the Fedora Project page is actually a pretty good guide. |
I'm not a fedora guy. Can you point me at a reasonable iso (for vmware fusion) of vagrant box? What does your .la file have as the dlname? Is it still empty even with the patched version? Thanks, |
http://fedoraproject.org/en/get-fedora-options is where the actual Fedora ISOs are, and those can be installed under Fusion. There aren't a lot of Fusion boxes yet, and CentOS 6.4 doesn't have new enough packages. |
I've got some public Linux boxes for you to test - hit me up on email when you're around! |
Looked there previously. Didn't see a fedora18. I'll proceed with 19. Thanks, On Jul 20, 2013, at 8:01 AM, John Deatherage wrote:
|
Any progress here? I can take a look at it myself again... it's definitely fixable with some amount of code, but I'm more concerned with best practices vs. just getting it to build. Again, this is on all Linux platforms - I guess I can compare the delta between BSD + Linux, since I no longer have access to an OSX system 👍 |
Just some notes from this case: Using .box from puppetlabs: http://puppet-vagrant-boxes.puppetlabs.com/fedora-18-x64-vbox4210.box "rpm" is fairly weak, but "yum" resembles "port": http://yum.baseurl.org/download/3.4/yum-3.4.3.tar.gz Then install some basics needs: yum install rpm-build.x86_64 |
Bad news is that I'm not seeing your failure. After a "make install" (0.16.16), I see: [root@localhost build]# ls -al /usr/local/lib/slax/extensions/h* which is what I'd expect. A test case also succeeds: [root@localhost build]# slaxproc -E -g ../tests/core/test-empty-32.slax This is on fedora18: [root@localhost build]# uname -a So can you please retest with 0.16.16 and if it's still failing, help me understand what's different between our worlds? Did you get the ssh creds setup on one of your boxes? Thanks, |
Reproduced it: rpmbuild -ba packaging/libslax.spec |
I believe this issue is fixed, and I don't see it during the RPM builds. Please confirm and I'll close it. Thanks, |
fixed in libslax-0.18.0 |
For platforms with successful source builds (RPM + Deb), package compilation is failing at the %install portion under the 'bit' extension. Here's an example of Fedora 18. I'll supplement this issue with an attempted build under Ubuntu, but I believe this is the same exact area that it trips up.
This may be fixable with specfile options...
The text was updated successfully, but these errors were encountered: