Skip to content
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

RPATH issue on SLES #10

Open
JohnWestlund opened this issue Nov 24, 2015 · 2 comments
Open

RPATH issue on SLES #10

JohnWestlund opened this issue Nov 24, 2015 · 2 comments

Comments

@JohnWestlund
Copy link
Contributor

I haven't fully dug into this, but in my SLES build I'm seeing the following error:

[ 124s] calling /usr/lib/rpm/brp-suse.d/brp-35-rpath
[ 124s] ERROR: RPATH "/home/abuild/rpmbuild/BUILD/genders-1.22/src/libgenders/.libs" on /home/abuild/rpmbuild/BUILDROOT/genders-ohpc-1.22-18.1.x86_64/usr/lib/perl5/vendor_perl/5.18.2/x86_64-linux-thread-multi/auto/Libgenders/Libgenders.so is not allowed

Probably not ideal to have RPATH pointing back to the build directory.

@chu11
Copy link
Member

chu11 commented Nov 24, 2015

Perl extensions are not built through the normal automake system, so this was a hack I did to get it to work. Is this only a warning or is it a flat out build error?

@JohnWestlund
Copy link
Contributor Author

Yeah, I noticed it gets built during make install. It's not a fatal compiler error, but the SUSE post build checks are very picky. I can probably turn this one off, but it is pointing out something less than ideal. Here's more context:

[  111s] calling /usr/lib/rpm/brp-suse.d/brp-20-check-la
[  111s] WARNING: found empty dependency_libs variable. please remove
[  111s]        the pointless libtool .la file /home/abuild/rpmbuild/BUILDROOT/genders-ohpc-1.22-20.1.x86_64/usr/lib64/libgenders.la
[  111s]          If you don't understand this, [email protected]
[  111s] calling /usr/lib/rpm/brp-suse.d/brp-25-symlink
[  111s] calling /usr/lib/rpm/brp-suse.d/brp-30-desktop
[  112s] WARNING: '/usr/lib/rpm/brp-desktop.data/suse-screensavers.menu' does not exist
[  112s] WARNING: '/usr/lib/rpm/brp-desktop.data/preferences-gnome.menu' does not exist
[  112s] WARNING: '/usr/lib/rpm/brp-desktop.data/applications-kmenuedit.menu' does not exist
[  112s] calling /usr/lib/rpm/brp-suse.d/brp-35-rpath
[  112s] ERROR: RPATH "/home/abuild/rpmbuild/BUILD/genders-1.22/src/libgenders/.libs" on /home/abuild/rpmbuild/BUILDROOT/genders-ohpc-1.22-20.1.x86_64/usr/lib/perl5/vendor_perl/5.18.2/x86_64-linux-thread-multi/auto/Libgenders/Libgenders.so is not allowed
[  112s] error: Bad exit status from /var/tmp/rpm-tmp.DIZesu (%install)

This is what is generating the error: brp-35-rpath

But as you can see things aren't fully mature, the check above got removed upstream: brp-20-check-la

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants