[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox
Subject: Re: Issue after upgrade from Fedora 27 to Fedora 28 with build?
From: "Michael D. Setzer II" <mikes () guam ! net>
Date: 2018-06-21 18:20:45
Message-ID: 5B2BEC7D.17268.136175 () mikes ! guam ! net
[Download RAW message or body]
The error is that the file rpc/rpc.h does not exist, so the compile fails??
The mount.c has lines that include 3 header files from the rpc directory that
do exist on Fedora 27 and earlier systems, but on a machine at was just
upgraded to Fedora 28, the directory only has netdb.h and none of the other
header files.
The error is just that it tries to include the 3 header files that are no longer on
the system, so it fails to compile the mount.c program, and the process
aborts at that point.
Added the lines mentioned to the .config file to I guess get it to use the tirpc
files, but still got the error when it tried to compile the mount.c file.
Full directory path is /usr/include/rpc for the directory. So, it is that it is looking
for those files to include, and since they are not present it fails.
Understand that fedora 28 seems to have dropped the support of the rpc
atleast in that directory, and is no using the tirpc. Note. The Fedora's
mount.nfs file does require the tirpc library.
Ended up just removing all mount options from busybox, and going with the
larger ones from the Fedora distro. Currently have about 180 packages in the
busybox build that work great, but have other programs outside it.
Again, Great program and it is probable me not understanding how to get
around the issue. Been using it since I took over maintaining the g4l project
in 2004 and it has always just continue to work until this. Even now, it works
for everything else.
On 21 Jun 2018 at 18:40, Denys Vlasenko wrote:
From: Denys Vlasenko <vda.linux@googlemail.com>
Date sent: Thu, 21 Jun 2018 18:40:00 +0200
Subject: Re: Issue after upgrade from Fedora 27 to Fedora 28 with
build?
To: "Michael D. Setzer II" <mikes@guam.net>
Copies to: busybox <busybox@busybox.net>
> On Tue, Jun 19, 2018 at 6:07 PM, Michael D. Setzer II <mikes@guam.net> wrote:
> > Tried adding the lines into the busybox .config file, but then trying to make it
> > still fails in the mount.c program when it still tries to include the three header
> > files that no longer exist on the fedora 28 in the /usr/include/rpc directory.
>
> If you get am error, please show it.
>
> > Ended up just removing the mount and umount options from busybox, and it
> > then compiles just fine. Reduces busybox file by about 15K. Unfortunately
> > adding the mount, umount and required libraries is about an additional 500K.
>
> Please see this:
>
> //config:config FEATURE_MOUNT_NFS
> //config: bool "Support mounting NFS file systems on Linux < 2.6.23"
> //config: default n
> //config: depends on MOUNT
> //config: select FEATURE_SYSLOG
> //config: help
> //config: Enable mounting of NFS file systems on Linux kernels prior
> //config: to version 2.6.23. Note that in this case mounting of NFS
> //config: over IPv6 will not be possible.
> //config:
> //config: Note that this option links in RPC support from libc,
> //config: which is rather large (~10 kbytes on uclibc).
>
> You can simply unselect this option.
>
> Today, NFS mounting works on non-ancient kernels *without RPC*.
> It used to use a binary structure with mount options
> (struct nfs_mount_data), but now it also accepts string
> as mount options, like all other filesystems always did.
>
> See:
>
> /* Linux 2.6.23+ supports nfs mounts with options passed as a string.
> * For older kernels, you must build busybox with ENABLE_FEATURE_MOUNT_NFS.
> * (However, note that then you lose any chances that NFS over IPv6 would work).
> */
> static int nfsmount(struct mntent *mp, unsigned long vfsflags, char *filteropts)
> {
> len_and_sockaddr *lsa;
> char *opts;
> char *end;
> char *dotted;
> int ret;
>
>
> This function resolves hostname to IP(v6) and passes it in "addr=IP" option.
> _______________________________________________
> busybox mailing list
> busybox@busybox.net
> http://lists.busybox.net/mailman/listinfo/busybox
+------------------------------------------------------------+
Michael D. Setzer II - Computer Science Instructor (Retired)
mailto:mikes@guam.net
mailto:msetzerii@gmail.com
Guam - Where America's Day Begins
G4L Disk Imaging Project maintainer
http://sourceforge.net/projects/g4l/
+------------------------------------------------------------+
http://setiathome.berkeley.edu (Original)
Number of Seti Units Returned: 19,471
Processing time: 32 years, 290 days, 12 hours, 58 minutes
(Total Hours: 287,489)
BOINC@HOME CREDITS
ROSETTA 65584501.415185 | ABC 16613838.513356
SETI 109393383.203079 | EINSTEIN 141169066.499240
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic