Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with build on Ubuntu 20.04.3 LTS #1

Open
akashrpatel opened this issue Nov 1, 2021 · 1 comment
Open

Issue with build on Ubuntu 20.04.3 LTS #1

akashrpatel opened this issue Nov 1, 2021 · 1 comment

Comments

@akashrpatel
Copy link

Hello I am attempting to install radius-mac on my Ubuntu server and receiving the following error:

Successfully built 7a3b1b95ab48
Successfully tagged radius-mac-builder-mipsel:latest
docker run -v /src:/src -w /src radius-mac-builder-mipsel
make CC=mipsel-linux-gnu-gcc clean radius-mac
make: *** No rule to make target 'clean'. Stop.
make: *** [Makefile:5: radius-mac.mipsel] Error 2

Any help would be greatly appreciated.

Thank you!
Akash

Docker inspect on the image:
[
{
"Id": "926ff3448cf6fe9e55688f7d5427f2025caec4e6cf7fe26ca3b930fd27fc5297",
"Created": "2021-11-01T05:37:44.274762984Z",
"Path": "make",
"Args": [
"CC=mipsel-linux-gnu-gcc",
"clean",
"radius-mac"
],
"State": {
"Status": "exited",
"Running": false,
"Paused": false,
"Restarting": false,
"OOMKilled": false,
"Dead": false,
"Pid": 0,
"ExitCode": 2,
"Error": "",
"StartedAt": "2021-11-01T05:37:45.384605052Z",
"FinishedAt": "2021-11-01T05:37:45.410381503Z"
},
"Image": "sha256:7a3b1b95ab48634ae1d5ea53d6ed3a4aef3bced987a581c8b57661ae8c43e466",
"ResolvConfPath": "/var/lib/docker/containers/926ff3448cf6fe9e55688f7d5427f2025caec4e6cf7fe26ca3b930fd27fc5297/resolv.conf",
"HostnamePath": "/var/lib/docker/containers/926ff3448cf6fe9e55688f7d5427f2025caec4e6cf7fe26ca3b930fd27fc5297/hostname",
"HostsPath": "/var/lib/docker/containers/926ff3448cf6fe9e55688f7d5427f2025caec4e6cf7fe26ca3b930fd27fc5297/hosts",
"LogPath": "/var/lib/docker/containers/926ff3448cf6fe9e55688f7d5427f2025caec4e6cf7fe26ca3b930fd27fc5297/926ff3448cf6fe9e55688f7d5427f2025caec4e6cf7fe26ca3b930fd27fc5297-json.log",
"Name": "/mystifying_wescoff",
"RestartCount": 0,
"Driver": "overlay2",
"Platform": "linux",
"MountLabel": "",
"ProcessLabel": "",
"AppArmorProfile": "docker-default",
"ExecIDs": null,
"HostConfig": {
"Binds": [
"/src:/src"
],
"ContainerIDFile": "",
"LogConfig": {
"Type": "json-file",
"Config": {}
},
"NetworkMode": "default",
"PortBindings": {},
"RestartPolicy": {
"Name": "no",
"MaximumRetryCount": 0
},
"AutoRemove": false,
"VolumeDriver": "",
"VolumesFrom": null,
"CapAdd": null,
"CapDrop": null,
"CgroupnsMode": "host",
"Dns": [],
"DnsOptions": [],
"DnsSearch": [],
"ExtraHosts": null,
"GroupAdd": null,
"IpcMode": "private",
"Cgroup": "",
"Links": null,
"OomScoreAdj": 0,
"PidMode": "",
"Privileged": false,
"PublishAllPorts": false,
"ReadonlyRootfs": false,
"SecurityOpt": null,
"UTSMode": "",
"UsernsMode": "",
"ShmSize": 67108864,
"Runtime": "runc",
"ConsoleSize": [
0,
0
],
"Isolation": "",
"CpuShares": 0,
"Memory": 0,
"NanoCpus": 0,
"CgroupParent": "",
"BlkioWeight": 0,
"BlkioWeightDevice": [],
"BlkioDeviceReadBps": null,
"BlkioDeviceWriteBps": null,
"BlkioDeviceReadIOps": null,
"BlkioDeviceWriteIOps": null,
"CpuPeriod": 0,
"CpuQuota": 0,
"CpuRealtimePeriod": 0,
"CpuRealtimeRuntime": 0,
"CpusetCpus": "",
"CpusetMems": "",
"Devices": [],
"DeviceCgroupRules": null,
"DeviceRequests": null,
"KernelMemory": 0,
"KernelMemoryTCP": 0,
"MemoryReservation": 0,
"MemorySwap": 0,
"MemorySwappiness": null,
"OomKillDisable": false,
"PidsLimit": null,
"Ulimits": null,
"CpuCount": 0,
"CpuPercent": 0,
"IOMaximumIOps": 0,
"IOMaximumBandwidth": 0,
"MaskedPaths": [
"/proc/asound",
"/proc/acpi",
"/proc/kcore",
"/proc/keys",
"/proc/latency_stats",
"/proc/timer_list",
"/proc/timer_stats",
"/proc/sched_debug",
"/proc/scsi",
"/sys/firmware"
],
"ReadonlyPaths": [
"/proc/bus",
"/proc/fs",
"/proc/irq",
"/proc/sys",
"/proc/sysrq-trigger"
]
},
"GraphDriver": {
"Data": {
"LowerDir": "/var/lib/docker/overlay2/38dc481478de71427dcf0fe35de0b61ef838f246c4bc12857bcfaa8b3e4df5b5-init/diff:/var/lib/docker/overlay2/12271c7e356988b4951bb70f0296ea6e7fd8847d823291c70d9983fd2aede679/diff:/var/lib/docker/overlay2/3fc65abca5ac7a6807dddd027facf8f28855d00e561f7ee888d6a36cd37896c6/diff",
"MergedDir": "/var/lib/docker/overlay2/38dc481478de71427dcf0fe35de0b61ef838f246c4bc12857bcfaa8b3e4df5b5/merged",
"UpperDir": "/var/lib/docker/overlay2/38dc481478de71427dcf0fe35de0b61ef838f246c4bc12857bcfaa8b3e4df5b5/diff",
"WorkDir": "/var/lib/docker/overlay2/38dc481478de71427dcf0fe35de0b61ef838f246c4bc12857bcfaa8b3e4df5b5/work"
},
"Name": "overlay2"
},
"Mounts": [
{
"Type": "bind",
"Source": "/src",
"Destination": "/src",
"Mode": "",
"RW": true,
"Propagation": "rprivate"
}
],
"Config": {
"Hostname": "926ff3448cf6",
"Domainname": "",
"User": "",
"AttachStdin": false,
"AttachStdout": true,
"AttachStderr": true,
"Tty": false,
"OpenStdin": false,
"StdinOnce": false,
"Env": [
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
],
"Cmd": [
"make",
"CC=mipsel-linux-gnu-gcc",
"clean",
"radius-mac"
],
"Image": "radius-mac-builder-mipsel",
"Volumes": null,
"WorkingDir": "/src",
"Entrypoint": null,
"OnBuild": null,
"Labels": {}
},
"NetworkSettings": {
"Bridge": "",
"SandboxID": "75d8354d3480d47b83febee41f758f8a7446eb5403e028a1cb9057f5c1df1953",
"HairpinMode": false,
"LinkLocalIPv6Address": "",
"LinkLocalIPv6PrefixLen": 0,
"Ports": {},
"SandboxKey": "/var/run/docker/netns/75d8354d3480",
"SecondaryIPAddresses": null,
"SecondaryIPv6Addresses": null,
"EndpointID": "",
"Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"IPAddress": "",
"IPPrefixLen": 0,
"IPv6Gateway": "",
"MacAddress": "",
"Networks": {
"bridge": {
"IPAMConfig": null,
"Links": null,
"Aliases": null,
"NetworkID": "d23e1619821fdc84724aa503d17673e1b35c61ac58c834b532623b9ea1981e47",
"EndpointID": "",
"Gateway": "",
"IPAddress": "",
"IPPrefixLen": 0,
"IPv6Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"MacAddress": "",
"DriverOpts": null
}
}
}
}
]

@carlanton
Copy link
Owner

Hi!

I updated the building instructions and the makefile. Try following them and see if it works better :)
The docker-build thing was only meant for MIPSel (UniFi edgerouter).

Cheers,
Anton

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants