Mailinglist Archive: opensuse-buildservice (140 mails)

< Previous Next >
[opensuse-buildservice] Build service issues
  • From: Martin Koegler <martin.koegler@xxxxxxxxx>
  • Date: Tue, 17 Jun 2014 21:59:23 +0200
  • Message-id: <20140617195923.GA15401@mail.zuhause>
1) OBS does not display dependend repositories
----------------------------------------------

https://build.opensuse.org/project/repositories/home:e9925248

"Edit repository" displays an empty list below "Additional package repositories
(searched in descending order):".

https://build.opensuse.org/project/meta/home:e9925248 lists the additional
repositories.

_edit_repository.html.erb features some code to display the repository list =>
so somethings seems to be broken.

2) The OBS Arch build seems to use different defaults for $PATH than Arch
-------------------------------------------------------------------------

Arch installs some perl programs instead of /usr/bin to /usr/bin/vendor_perl
(eg. see https://www.archlinux.org/packages/community/any/po4a/ )
The Arch perl packages ships a helper script in /etc/profile.d, which adds
/usr/bin/vendor_perl to the path.

Other PKGBUILD files can find programs in /usr/bin/vendor_perl just via $PATH
(see https://www.archlinux.org/packages/community/any/man-pages-de/ for an
example).

So the build process must somehow include /etc/profile - otherwise
/usr/bin/vendor_perl would have never been part of the path.

On OBS this build fails:
https://build.opensuse.org/package/live_build_log/home:e9925248/test1/Arch_Extra/i586

I created a small test build, which prints the $PATH (with the perl package
present)
https://build.opensuse.org/package/live_build_log/home:e9925248/test/Arch_Extra/i586

It just prints /usr/bin - so OBS does not include /etc/profile

3) PKGBUILD and _service
------------------------

In contrast to rpm/deb support, extracting a PKGBUILD file via a _service does
not work.
Although the build will use a PGKBUILD file modified/generated by a source
service, the OBS build
sources must include a file named PKGBUILD to enable Arch building.

set_version also only search a original PKGBUILD - any PKGBUILD
generated/modified by source services are ignored.

Regards,
Martin
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages