You are not logged in.

#1 2007-11-23 17:17:28

haole
Member
Registered: 2006-08-16
Posts: 17

Yaourt fails to build with my own packages

I hava created 4 packages for AUR. They are the software needed for the Robot Cup Simulator to work.

Here are their links:

rcssbase
rcsslogplayer
rcssmonitor
rcssserver

However, the package rcssserver won't install using yaourt -S. It installs normally when doing the makepkg manually.

What am I doing wrong? Can someone check my PKGBUILDs for me?

Thanks in advance.

Offline

#2 2007-11-23 17:40:46

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,487
Website

Re: Yaourt fails to build with my own packages

The rcssserver build seems very simple so i don't see where it is going wrong...

By the way, you don't include lines that have empty values (groups=, provides=).

Offline

#3 2007-11-23 18:02:42

haole
Member
Registered: 2006-08-16
Posts: 17

Re: Yaourt fails to build with my own packages

I removed the empty values and the problem was still there.

With yaourt or aurbuild, the package won't compile.

Any new ideas?

Offline

#4 2007-11-23 18:07:55

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: Yaourt fails to build with my own packages

Ah, well.

namcap wrote:

PKGBUILD (rcssserver) W: Missing Contributor tag
PKGBUILD (rcssserver) W: Missing Maintainer tag <-- irrelevant for AUR
PKGBUILD (rcssserver) W: Missing CVS Id tag <-- irrelevant for AUR
PKGBUILD (rcssserver) W: Attempting to use specific sf.net mirror, use downloads.sourceforge.net instead
PKGBUILD (rcssserver) W: Variable provides is not an array.

It's Contributor, not Packager. Packager = everyone building that package with makepkg.
Keep the pkgdesc short (rcssserver).
Remove unused tags.
http://sserver.sourceforge.net/ is the correct homepage url.
I'm fairly sure that your depends are either wrong or at least unprecise; xorg-server is never a proper depend. Run ldd on the binaries, read the upstream docs and run namcap on the final package.
Only use http://downloads.sourceforge.net/<project>/file.tar.gz for SF.net sources.


1000

Offline

#5 2007-11-23 18:16:33

haole
Member
Registered: 2006-08-16
Posts: 17

Re: Yaourt fails to build with my own packages

Thanks for your complete answer.

However, i didn't understood how to discover the dependencies to my packages.

Can you please explain me again, with more details?

Offline

#6 2007-11-23 18:23:14

haole
Member
Registered: 2006-08-16
Posts: 17

Re: Yaourt fails to build with my own packages

Hey, I found out something very strange while running ldd in rcssbase (all others depends on it):

linux-gate.so.1 =>  (0xb7f69000)
        libncurses.so.5 => /lib/libncurses.so.5 (0xb7f13000)
        librcssnet.so.1 => /root/rcssbase/pkg/usr/lib/librcssnet.so.1 (0xb7f0a000)
        libnsl.so.1 => /lib/libnsl.so.1 (0xb7ef3000)
        libresolv.so.2 => /lib/libresolv.so.2 (0xb7ee1000)
        librcsserror.so.0 => /root/rcssbase/pkg/usr/lib/librcsserror.so.0 (0xb7edf000)
        librcssgz.so.0 => /root/rcssbase/pkg/usr/lib/librcssgz.so.0 (0xb7ed3000)
        libboost_filesystem.so => /usr/lib/libboost_filesystem.so (0xb7ec7000)
        libz.so.1 => /lib/libz.so.1 (0xb7eb5000)
        libdl.so.2 => /lib/libdl.so.2 (0xb7eb1000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7dc3000)
        libm.so.6 => /lib/libm.so.6 (0xb7d9e000)
        libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xb7d93000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xb7d7a000)
        libc.so.6 => /lib/libc.so.6 (0xb7c44000)
        /lib/ld-linux.so.2 (0xb7f6a000)

How can I fix those links that points to /root/rcssbase/...?

Offline

Board footer

Powered by FluxBB