Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Sun, 27 Apr 2014 16:36:55 +0400
Subject: trying to build Owl for Raspberry Pi: rpmquery --specfile


I'm trying to create an Owl distro version for Raspberry Pi.  I decided to
begin with the Fedora for Raspberry (that thing which is named 'Pidora',
heh... sounds _very_, errrr, /funny/ for russian-speaking people).  So I
created a SD-card with the Pidora, set it up so it boots, scp'ed the
image of Owl-current-20130408-i686.iso to that system just to have all the
sources handy (not much of other use for that file though, because
Raspberry is ARM)

I then created that group 'build' with gid=150, the user 'build' wigh
uid=151 and $home=/usr/src/world, copied the 'world' directory from the CD
there, and finally issued 'make buildworld' command.  Here's what I got:

% build@...pi ~ $ make buildworld
% test -d native/Owl/build || make checkout
% ln -s native/Owl/build/{*.conf,.rpm*} . 2> /dev/null || :
% BRANCH=Owl PACKAGE= native/Owl/build/
% 01:56:38: Detecting version of RPM
% 01:56:39: It's RPM4, using different binaries for different tasks
% 01:56:39: Removing stale temporary files
% 01:56:39: Sanity check
% 01:56:39: #1: Scanning native
% rpmquery: --specfile: unknown option
% 01:56:39: #1: Skipping SimplePAMApps
% rpmquery: --specfile: unknown option
% [...]
% build@...pi ~ $ rpmquery --version
% RPM version

Now I'm a bit confused where to go.  The rpm in Owl seems to be older
(4.2), so it could be that the rpmquery's '--specfile' option is
implemented in the Owl's patches, but 'grep'ing them for the word
'specfile' didn't help, it's not there.

Anyway, could someone please provide any glue how do I build may be a
single package (rpm) from the Owl sources and what I do afterwards --
perhaps I'll be unable to replace it within my system without some tricks,
but, okay, it is still possible that replacing a single executable
(rpmquery) will help.  Or may be it is possible to workaround this somehow,
patching the build scripts to not use the option?


Andrey "Croco" Stolyarov

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.