libdesktop-agnostic
Are you going to drop libdesktop-agnostic as a build dependency?, I currently maintain awm for fedora but will probably orphan it as libdesktop-agnostic doesn't build (libdesktop-
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Awn Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Michal Hruby
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
The author of libdesktop-agnostic (me) doesn't have any RPM-based systems. Suggestions for how to fix it for said distros are certainly welcome. "[It's] a total mess" is hardly helpful.
Revision history for this message
|
#2 |
And no, we are definitely not going to drop it.
Revision history for this message
|
#3 |
Here's what's wrong so far.
1. The libs on a rpm based 64 bit system belong in /usr/lib64 ( there is no way to do this at the moment )
2. The binaries are also looking in the /home dir for the modules ( this is probably caused by me relocating the libs to /usr/lib64 )
I can't give anymore info at the moment as issue has prevented me from testing.
Revision history for this message
|
#4 |
Hi.
It'd be easier to package if it had e.g. --libdir and --sysconfdir switches, the latter is being done manually with a mv command, as using --prefix creates a /usr/etc .
Revision history for this message
|
#5 |
I believe http://
Revision history for this message
|
#6 |
Hi,
Thank you, that has sorted the lib and etc directory problem.
I have a linking problem.
CC xutils.o
LINK avant-window-
/usr/bin/ld: xutils.o: undefined reference to symbol 'XShapeGetRecta
/usr/bin/ld: note: 'XShapeGetRecta
/usr/lib64/
collect2: ld returned 1 exit status
And a python lib dir problem, it tries to use
/usr/lib/
on 64 bit, it should be
/usr/lib64/
as there are .so files in there.
Thanks again
Leigh
Revision history for this message
|
#7 |
I should have mentioned that the linking error was Avant Window Navigator , not libdesktop-
Revision history for this message
|
#8 |
Thanks, the awn link error should be fixed in trunk. As for the desktopagnostic python modules, please set PYTHONDIR=/.../ during the call to ./waf configure.
Revision history for this message
|
#9 |
Thanks Michal Hruby, that solved my question.
Revision history for this message
|
#10 |
Thank you.
Revision history for this message
|
#12 |
I have found another issue, the building process doesn't strip the debug info
[leigh@localhost ~]$ rpmlint /home/leigh/
libdesktop-
libdesktop-
libdesktop-
libdesktop-
libdesktop-
libdesktop-
libdesktop-
libdesktop-
libdesktop-
libdesktop-
libdesktop-
libdesktop-
libdesktop-
libdesktop-
libdesktop-
libdesktop-
libdesktop-
libdesktop-
libdesktop-
libdesktop-
1 packages and 0 specfiles checked; 0 errors, 20 warnings.
[leigh@localhost ~]$
The files are missing :-(
[root@localhost debug]# cd /home/leigh/
[root@localhost usr]# ls -al
total 12
drwxr-xr-x. 3 leigh leigh 4096 Mar 30 19:40 .
drwxr-xr-x. 4 leigh leigh 4096 Mar 30 19:40 ..
drwxr-xr-x. 2 leigh leigh 4096 Mar 30 19:40 bin
[root@localhost usr]# cd ..
[root@localhost debug]# ls -al
total 16
drwxr-xr-x. 4 leigh leigh 4096 Mar 30 19:40 .
drwxr-xr-x. 3 leigh leigh 4096 Mar 30 19:40 ..
drwxr-xr-x. 4 leigh leigh 4096 Mar 30 19:40 .build-id
drwxr-xr-x. 3 leigh leigh 4096 Mar 30 19:40 usr
[root@localhost debug]# cd usr/
[root@localhost usr]# ls -al
total 12
drwxr-xr-x. 3 leigh leigh 4096 Mar 30 19:40 .
drwxr-xr-x. 4 leigh leigh 4096 Mar 30 19:40 ..
drwxr-xr-x. 2 leigh leigh 4096 Mar 30 19:40 bin
[root@localhost usr]# cd bin/
[root@localhost bin]# ls -al
total 24
drwxr-xr-x. 2 leigh leigh 4096 Mar 30 19:40 .
drwxr-xr-x. 3 leigh leigh 4096 Mar 30 19:40 ..
-r--r--r--. 1 leigh leigh 5504 Mar 30 19:40 lda-desktop-
-r--r--r--. 1 leigh leigh 7360 Mar 30 19:40 lda-schema-
[root@localhost bin]# cd ..
[root@localhost usr]# cd ..
[root@localhost debug]# ls -al
total 16
drwxr-xr-x. 4 leigh leigh 4096 Mar 30 19:40 .
drwxr-xr-x. 3 leigh leigh 4096 Mar 30 19:40 ..
drwxr-xr-x. 4 leigh leigh 4096 Mar 30 19:40 .build-id
drwxr-xr-x. 3 leigh leigh 4096 Mar 30 19:40 usr
[root@localhost debug]# cd .build-id/
[root@localhost .build-id]# ls -al
total 16
drwxr-xr-x. 4 leigh leigh 4096 Mar 30 19:40 .
drwxr-xr-x. 4 leigh leigh 4096 Mar 30 19:40 ..
drwxr-xr-x. 2 leigh leigh 4096 Mar 30 19:40 01
drwxr-xr-x. 2 leigh leigh 4096 Mar 30 19:40 ae
[root@localhost .build-id]# cd 01/
[root@localhost 01]# ls -al
total 8
drwxr-xr-x. 2 leigh leigh 4096 Mar 30 19:40 .
drwxr-xr-x. 4 leigh leigh 4096 Mar 30 19:40 ..
lrwxrwxrwx. 1 leigh leigh 35 Mar 30 19:40 7a0a222532b9b49
lrwxrwxrwx. 1 leigh leigh 39 Mar 30 19:40 7a0a222532b9b49
[root@localhost 01]# cd ..
[root@localhost .build-id]# cd ae/
[root@localhost ae]# ls -al
total 8
drwxr-xr-x. 2 leigh leigh 4096 Mar 30 19:40 .
drwxr-xr-x. 4 leigh leigh 4096 Mar 30 19:40 ..
lrwxrwxrwx. 1 leigh leigh 40 Mar 30 19:40 3c5bb924e8349b3
lrwxrwxrwx. 1 leigh leigh 44 Mar 30 19:40 3c5bb924e8349b3
[root@localhost ae]#
Heres a correct example
Revision history for this message
|
#13 |
Set LINKFLAGS=-s during ./waf configure.
Revision history for this message
|
#14 |
This isn't acceptable solution
[leigh@localhost ~]$ rpmlint /home/leigh/
libdesktop-
1 packages and 0 specfiles checked; 1 errors, 0 warnings.
[leigh@localhost ~]$
It needs to have a debuginfo package to pass a fedora review process ( stripping it manually isn't permitted )
Revision history for this message
|
#15 |
So:
1. Not stripping it is bad.
2. Stripping it manually (e.g., LDFLAGS=-s) is bad.
I'm not sure what other option there is here. Debian packages split out debug info just fine, as do Gentoo ebuilds.
Revision history for this message
|
#16 |
Well it doesn't work for rpm distro's ! ( Is it possible that you could test it on a rpm distro and see if you can find the problem ? )
I haven't had any problems like this before with debug ( it isn't a fedora issue ).
http://
Ahmad Samir is also suffering from the same debug issue ( He packages for Mandriva ).
This leads me to believe that the issue is in your source code.
I would like to get this package into Fedora, but as it stands it wouldn't pass a review ( unless I was granted a exemption ).
MUST: The package must meet the Packaging Guidelines .
https:/
https:/
Revision history for this message
|
#17 |
Please make sure you're building with --enable-debug, other than that we cannot really help. Maybe you should check the output of the "find-debuginfo.sh" script (if any).
Revision history for this message
|
#18 |
I was already using --enable-debug
Revision history for this message
|
#19 |
Seems like using
find %{buildroot}
in %install section after ./waf install should do the trick.
Revision history for this message
|
#20 |
Thanks Michal Hruby, that solved my question.
Revision history for this message
|
#21 |
I am going to try and get it included in Fedora.
https:/
Thanks again for your help.
Leigh