Mailinglist Archive: opensuse-buildservice (250 mails)

< Previous Next >
[opensuse-buildservice] Re: Newbie question - simple
  • From: Greg Freemyer <greg.freemyer@xxxxxxxxx>
  • Date: Sun, 5 Apr 2009 10:42:32 -0400
  • Message-id: <87f94c370904050742q55cc23aah7c91ba9859d0f709@xxxxxxxxxxxxxx>
Seems to be building properly now.

Time to see if it installs and works.


On 4/5/09, Johannes Weberhofer, Weberhofer GmbH <office@xxxxxxxxxxxxx> wrote:
Try to set


%{_bindir} will expand to /usr/bin and causes your binaries to be installed
in /usr/bin/bin

Good luck,

Am 05.04.2009 14:18, schrieb Greg Freemyer:
On Sun, Apr 5, 2009 at 7:57 AM, Greg Freemyer<greg.freemyer@xxxxxxxxx>
Thanks greatly,

The install is now working much better, but it looks like the makefile
itself for the install has an issue. But I think I can take it from
here. I'm pretty good with makefiles.


Well I said that, but there is still build service interaction I don't

The spec file Matwey edited for me had:

make prefix=$RPM_BUILD_ROOT%{_bindir}/ INSTALL='install -s' install

But the makefile had:
prefix = /usr/local
exec_prefix = ${prefix}
bindir = ${exec_prefix}/bin

So the bindir got set to /usr/bin/bin.

To force the bindir I changed the specfile to have

# %install
# make prefix=$RPM_BUILD_ROOT%{_bindir}/
bindir=$RPM_BUILD_ROOT%{_bindir}/ INSTALL='install -s' install

The build is getting further, but now the log ends with:
+ cd /usr/src/packages/BUILD
+ cd open2300-1.11.0
+ make prefix=/var/tmp/open2300-1.11.0-build/usr/bin/
bindir=/var/tmp/open2300-1.11.0-build/usr/bin/ 'INSTALL=install -s'
mkdir -p /var/tmp/open2300-1.11.0-build/usr/bin/
install -s open2300 /var/tmp/open2300-1.11.0-build/usr/bin/
install -s dump2300 /var/tmp/open2300-1.11.0-build/usr/bin/
install -s log2300 /var/tmp/open2300-1.11.0-build/usr/bin/
install -s fetch2300 /var/tmp/open2300-1.11.0-build/usr/bin/
install -s wu2300 /var/tmp/open2300-1.11.0-build/usr/bin/
install -s cw2300 /var/tmp/open2300-1.11.0-build/usr/bin/
install -s histlog2300 /var/tmp/open2300-1.11.0-build/usr/bin/
install -s xml2300 /var/tmp/open2300-1.11.0-build/usr/bin/
install -s light2300 /var/tmp/open2300-1.11.0-build/usr/bin/
install -s interval2300 /var/tmp/open2300-1.11.0-build/usr/bin/
install -s minmax2300 /var/tmp/open2300-1.11.0-build/usr/bin/
install -s mysql2300 /var/tmp/open2300-1.11.0-build/usr/bin/
install -s mysqlhistlog2300 /var/tmp/open2300-1.11.0-build/usr/bin/
+ RPM_BUILD_ROOT=/var/tmp/open2300-1.11.0-build
+ test -x /usr/sbin/Check -a 399 = 0 -o -x /usr/sbin/Check -a '!' -z
+ echo 'I call /usr/sbin/Check...'
I call /usr/sbin/Check...
+ /usr/sbin/Check
Checking permissions and ownerships - using the permissions files
setting /var/tmp/open2300-1.11.0-build/ to root:root 0755. (wrong
owner/group abuild:abuild)
setting /var/tmp/open2300-1.11.0-build/usr to root:root 0755. (wrong
owner/group abuild:abuild)
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/brp-symlink
Processing files: open2300-1.11.0-12.1
Finding Provides: /usr/lib/rpm/find-provides open2300
Finding Requires: /usr/lib/rpm/find-requires open2300
Finding Supplements: /usr/lib/rpm/find-supplements open2300
Requires(rpmlib): rpmlib(PayloadFilesHavePrefix)<= 4.0-1
rpmlib(CompressedFileNames)<= 3.0.4-1
Checking for unpackaged file(s): /usr/lib/rpm/check-files
Wrote: /usr/src/packages/SRPMS/open2300-1.11.0-12.1.src.rpm
Wrote: /usr/src/packages/RPMS/i586/open2300-1.11.0-12.1.i586.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.70155
+ umask 022
+ cd /usr/src/packages/BUILD
+ cd open2300-1.11.0
+ make clean
rm -f *~ *.o open2300 dump2300 log2300 fetch2300 wu2300 cw2300
history2300 histlog2300 bin2300 xml2300 mysql2300 pgsql2300 light2300
interval2300 minmax2300 mysql2300 mysqlhistlog2300
+ exit 0
... checking for files with abuild user/group
... creating baselibs
... saving built packages
... build is finished
mount: can't find / in /etc/fstab or /etc/mtab
System halted.
build: extracting built packages...

RPM build errors:
File not found: /var/tmp/open2300-1.11.0-build/usr/bin/open2300
File not found: /var/tmp/open2300-1.11.0-build/usr/bin/dump2300
File not found: /var/tmp/open2300-1.11.0-build/usr/bin/log2300
File not found: /var/tmp/open2300-1.11.0-build/usr/bin/fetch2300
File not found: /var/tmp/open2300-1.11.0-build/usr/bin/wu2300
File not found: /var/tmp/open2300-1.11.0-build/usr/bin/cw2300
File not found: /var/tmp/open2300-1.11.0-build/usr/bin/histlog2300
File not found: /var/tmp/open2300-1.11.0-build/usr/bin/xml2300
File not found: /var/tmp/open2300-1.11.0-build/usr/bin/light2300
File not found: /var/tmp/open2300-1.11.0-build/usr/bin/interval2300
File not found: /var/tmp/open2300-1.11.0-build/usr/bin/minmax2300
File not found: /var/tmp/open2300-1.11.0-build/usr/bin/mysql2300
File not found: /var/tmp/open2300-1.11.0-build/usr/bin/mysqlhistlog2300
Installed (but unpackaged) file(s) found:
mount: can't find / in /etc/fstab or /etc/mtab
System halted.

No idea what to try next.



| weberhofer GmbH | Johannes Weberhofer
| information technologies
| Austria, 1080 Wien, Blindengasse 52/3

Sent from my mobile device

Greg Freemyer
Head of EDD Tape Extraction and Processing team
Litigation Triage Solutions Specialist
First 99 Days Litigation White Paper -

The Norcross Group
The Intersection of Evidence & Technology
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >