Working and broken Linux ports on amd64

Michael Hopkins michael.hopkins at
Fri Apr 1 04:50:03 PST 2005

On 1/4/05 1:29 pm, "Alexander Leidinger" <Alexander at> wrote:

> David O'Brien <obrien at> 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!

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 at 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 at Athlon /usr/ports/emulators/linux_base-8 % rpm --initdb
root at Athlon /usr/ports/emulators/linux_base-8 % rpm --initdb --dbpath
--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?



        _/    _/   _/_/_/             Hopkins Research Ltd
       _/    _/   _/    _/
      _/_/_/_/   _/_/_/
     _/    _/   _/   _/
    _/    _/   _/     _/               'touch the future'

More information about the freebsd-ports mailing list