Re: OGo on the openSUSE build service
Adam Tauno Williams <
adam@...>
2008-09-12 18:39:49 GMT
Couple of "snags", mostly resulting from current versions of RPM and the
filesystem-standard getting more strict:
#1.) Packages aren't allowed to install files in /usr/local; /usr/local
is preserved for local/non-packaged files.
#2.) A couple of bits of the gnustep-make package fail linting.
#2.1.) OGo-GNUstep/Library/Makefiles/Master/rpm.make violates the
file-contains-buildroot rule
#2.2.) Go-GNUstep/Library/Makefiles/java-executable.template and
OGo-GNUstep/Library/Makefiles/executable.template violate the
non-executable-script. These are scripts which are not marked as
executable.
Both 2.1 and 2.2 I've working around with lint exceptions but #1 seems
like it should be taken more seriously. Temporarily I've
moved /usr/local/OGo-GNUstep to /opt/OGo-GNUstep. I'm not certain what
the perfect/correct solution is.
Regarding SOPE, is there any specific reason it can't just be installed
in /usr? As in /usr/lib, /usr/include? Installing OGo itself into /opt
instead of /usr/local seems correct, but SOPE is just libraries.
On Fri, 2008-09-12 at 11:11 -0400, Adam Tauno Williams wrote:
> A project has been created on the openSUSE build service:
> <https://build.opensuse.org/project/show?project=server%3AOpenGroupware>
>
> I recommend maintainers first test building openSUSE 10.3 packages of
> ogo-gnustep_make as this is known-working and then go on to get the
> package to build for their favorite distro. You do *not* need to be
> running the given distro to build packages for it which is the power of
> the build service. This (below) describes how to test building the
> package locally as that is *MUCH* faster than making a change
> and ...waiting... for the build services own servers to get around to
> building your package.
>
> I'm assuming you have the osc tools installed
> <http://en.opensuse.org/Build_Service/CLI> and an ISO of openSUSE 10.3
> <http://download.opensuse.org/distribution/10.3/iso/dvd/openSUSE-10.3-GM-DVD-i386.iso>.
>
> $ su
> $ mkdir /mnt/openSUSE-10.3
> $ mount /home/awilliam/DeskDownloads/SuSe/openSUSE-10.3-i386.iso \
> /mnt/openSUSE-10.3 -o loop
> $ mkdir -p /var/tmp/osbuild-packagecache/openSUSE\:10.3
> $ mkdir -p /var/tmp/osbuild-packagecache/openSUSE\:10.3/standard
> $ cp -vR /mnt/openSUSE-10.3/suse/i586/ \
> /mnt/openSUSE-10.3/suse/noarch/ \
> /mnt/openSUSE-10.3/suse/setup/ \
> /var/tmp/osbuild-packagecache/openSUSE\:10.3/standard/
> $ umount /mnt/openSUSE-10.3
> $ chown -R awilliam.users /var/tmp/osbuild-packagecache/
> $ find /var/tmp/osbuild-packagecache/ -type d -exec chmod 770 \{\} \;
> $ find /var/tmp/osbuild-packagecache/ -type f -exec chmod 660 \{\} \;
> $ ^D (no longer root!)
>
> osc checkout server:OpenGroupware
> cd server\:OpenGroupware/ogo-gnustep_make
> osc build openSUSE_10.3 i586 ogo-gnustep_make.spec
>
> You should see it end with -
> Wrote: /usr/src/packages/SRPMS/ogo-gnustep_make-1.13.0-1.src.rpm
> Wrote: /usr/src/packages/RPMS/i586/ogo-gnustep_make-1.13.0-1.i586.rpm
> - which will actually be in /var/tmp/build-root/... via the magic of
> chroot.
>
--
--
OpenGroupware.org Developer
developer@...
http://mail.opengroupware.org/mailman/listinfo/developer