Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 Apr 2005 13:49:49 +0100
From:      Michael Hopkins <michael.hopkins@hopkins-research.com>
To:        <freebsd-ports@freebsd.org>, <freebsd-emulation@freebsd.org>
Subject:   Re: Working and broken Linux ports on amd64
Message-ID:  <BE7301FD.36BEE%michael.hopkins@hopkins-research.com>
In-Reply-To: <20050401142926.ffayz4h19ssk4s04@netchild.homeip.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 1/4/05 1:29 pm, "Alexander Leidinger" <Alexander@Leidinger.net> wrote:

> David O'Brien <obrien@freebsd.org> wrote:
> 
>> This is your basic problem -- the devtools port hasn't been updated to
>> RH8 yet to match the default stock linux_base.  If you are skilled with
>> the Ports Collection update this port and send a patch. :-)
> 
> We have some inconsistencies in our linux ports (this is just one of them)...
> the RH8 version of the devtools lives in devel/linux_devtools. As Scott
> already mentioned they are lacking the amd64 entry in ONLY_FOR_ARCHES.
> 
> Bye,
> Alexander.

Hi Alexander

In experimental mood I edited linux_devtools-8 last night and called it
linux_devtools-8-amd64.  Just added amd64 in ONLY_FOR_ARCHES and hard-coded
i386 into the necessary search paths.  Along with linux_base-8 this worked!
:o)

My first go at a port Makefile and first linux cross-compile on FreeBSD in
one go - and all at 4am.  Code ran just as it should in Linux mode.

Now it goes downhill - I decided I had been playing about a lot as root with
a tired brain, so I cvsup'd ports and 5_3 and made world & kernel.
Everything still working fine.  Then I deinstalled linux_base-8 and
linux_devtools-8-amd64, planning to reinstall them and submit the patch.

For some reason that I REALLY cannot understand, this won't happen because
rpm no longer understands the --dbpath argument!

root@Athlon /usr/ports/emulators/linux_base-8 % make install
===>  Installing for linux_base-8-8.0_6
--dbpath: unknown option
*** Error code 1

This also happens at the command line.

root@Athlon /usr/ports/emulators/linux_base-8 % rpm --initdb
root@Athlon /usr/ports/emulators/linux_base-8 % rpm --initdb --dbpath
/var/lib/rpm
--dbpath: unknown option

Why the heck would this be?  I have no idea and I'm feeling pretty tee'd off
that I had it working after many night hours of playing with different ports
now can't get it again.

Any ideas?

M


_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/

        _/    _/   _/_/_/             Hopkins Research Ltd
       _/    _/   _/    _/
      _/_/_/_/   _/_/_/          http://www.hopkins-research.com/
     _/    _/   _/   _/
    _/    _/   _/     _/               'touch the future'
                   
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BE7301FD.36BEE%michael.hopkins>