Problem making a Linux Compatibility Port
Jonathan Duncan
admin at jkdwebmagic.com
Fri Sep 30 09:25:25 PDT 2005
On Wed, 28 Sep 2005, Alexander Leidinger wrote:
> Jonathan Duncan <admin at jkdwebmagic.com> wrote:
>
>> ===> linux_base-rh-9 depends on executable: rpm - found
>> mknod:
>> /var/build/ports/emulators/linux_base-rh-9/work/linux_base-rh-9/dev/null:
>> Operation not permitted
>> *** Error code 1
>>
>> Stop in /ports/emulators/linux_base-rh-9.
>> ------------------------------------------------------------
>>
>> Any ideas on how to get past this?
>
> Use the default (linux_base-8) or remove the "mknod" lines in the rh-9
> Makefile.
>
> Bye,
> Alexander.
>
Ok, I commented out two lines for the mknod and ran make again. They were
basically for making a /dev/null directory in the chrooted environment. I
am not sure why it failed but they are gone and hopefully not needed.
Anyway, now I get this error:
-----------------------------------------------------
#@mknod
/var/build/home/lacerta/linux_base-rh-9/work/linux_base-rh-9/dev/null c 2
2
#@/bin/chmod 666
/var/build/home/lacerta/linux_base-rh-9/work/linux_base-rh-9/dev/null
kern.fallback_elf_brand: -1
sysctl: kern.fallback_elf_brand: Operation not permitted
glibc-2.3.2-27.9.7.i386.rpm
ELF binary type "0" not known.
execution of glibc-2.3.2-27.9.7 script failed, exit status 0
*** Error code 1
-----------------------------------------------------
Any idea why this is happening?
Thanks,
Jonathan
More information about the freebsd-ports
mailing list