Bug 11356 - libafs build fails
Summary: libafs build fails
Status: RESOLVED OLD
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 3
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords: Triaged
Depends on: 7085
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-02 09:39 CEST by Götz Waschk
Modified: 2015-01-12 13:45 CET (History)
4 users (show)

See Also:
Source RPM: openafs-1.6.2.1-1.mga3.src.rpm
CVE:
Status comment:


Attachments

Description Götz Waschk 2013-10-02 09:39:45 CEST
With kernel-desktop 3.10.12 the libafs 1.6.2.1 build fails:
#dkms build -m libafs -v 1.6.2.1-1.mga3 

Preparing kernel 3.10.12-desktop-1.mga3 for module build:
(This is not compiling a kernel, just preparing kernel symbols)
Storing current .config to be restored when complete
Running Generic preparation routine
make mrproper.....
using /proc/config.gz
make oldconfig.....
make prepare....

Building module:
cleaning build area....(bad exit status: 2)
SMP=SP; eval `grep CONFIG_SMP /boot/config-3.10.12-desktop-1.mga3`; [ -n "$CONFIG_SMP" ] && SMP=MP; ./configure --with-linux-kernel-headers=/lib/modules/3.10.12-desktop-1.mga3/build; make MPS=$SMP; mv src/libafs/MODLOAD-*/libafs.ko ......................................................................(bad exit status: 1)

Error! Bad return status for module build on kernel: 3.10.12-desktop-1.mga3 (x86_64)
Consult the make.log in the build directory
/var/lib/dkms/libafs/1.6.2.1-1.mga3/build/ for more information.

make.log just says that libafs.ko is not there.
Götz Waschk 2013-10-02 09:41:02 CEST

Source RPM: (none) => openafs-1.6.2.1-1.mga3.src.rpm

Comment 1 Götz Waschk 2013-10-02 09:45:32 CEST
the real error is this:

make[3]: Entering directory `/usr/src/linux-3.10.12-desktop-1.mga3'
( VERSION=`/var/lib/dkms/libafs/1.6.2.1-1.mga3/build/build-tools/git-version /var/lib/dkms/libafs/1.6.2.1-1.mga3/build "1.6.2.1"` && \
echo 'char cml_version_number[]="@(#) OpenAFS '$VERSION' built ' `date +"%Y-%m-%d"` '";' >/var/lib/dkms/libafs/1.6.2.1-1.mga3/build/src/libafs/MODLOAD-3.10.12-desktop-1.mga3-y/AFS_component_version_number.c.NEW && \
echo 'char* AFSVersion = "openafs '$VERSION'";' >>/var/lib/dkms/libafs/1.6.2.1-1.mga3/build/src/libafs/MODLOAD-3.10.12-desktop-1.mga3-y/AFS_component_version_number.c.NEW && \
if cmp /var/lib/dkms/libafs/1.6.2.1-1.mga3/build/src/libafs/MODLOAD-3.10.12-desktop-1.mga3-y/AFS_component_version_number.c.NEW /var/lib/dkms/libafs/1.6.2.1-1.mga3/build/src/libafs/MODLOAD-3.10.12-desktop-1.mga3-y/AFS_component_version_number.c > /dev/null 2>&1 ; then : ; else \
mv /var/lib/dkms/libafs/1.6.2.1-1.mga3/build/src/libafs/MODLOAD-3.10.12-desktop-1.mga3-y/AFS_component_version_number.c.NEW /var/lib/dkms/libafs/1.6.2.1-1.mga3/build/src/libafs/MODLOAD-3.10.12-desktop-1.mga3-y/AFS_component_version_number.c ; fi )
rm -f /var/lib/dkms/libafs/1.6.2.1-1.mga3/build/src/libafs/MODLOAD-3.10.12-desktop-1.mga3-y/AFS_component_version_number.c.NEW
  CC [M]  /var/lib/dkms/libafs/1.6.2.1-1.mga3/build/src/libafs/MODLOAD-3.10.12-desktop-1.mga3-y/AFS_component_version_number.o
  CC [M]  /var/lib/dkms/libafs/1.6.2.1-1.mga3/build/src/libafs/MODLOAD-3.10.12-desktop-1.mga3-y/osi_ioctl.o
/var/lib/dkms/libafs/1.6.2.1-1.mga3/build/src/libafs/MODLOAD-3.10.12-desktop-1.mga3-y/osi_ioctl.c: In function âosi_ioctl_initâ:
/var/lib/dkms/libafs/1.6.2.1-1.mga3/build/src/libafs/MODLOAD-3.10.12-desktop-1.mga3-y/osi_ioctl.c:110:5: error: implicit declaration of function âcreate_proc_entryâ [-Werror=implicit-function-declaration]
/var/lib/dkms/libafs/1.6.2.1-1.mga3/build/src/libafs/MODLOAD-3.10.12-desktop-1.mga3-y/osi_ioctl.c:110:11: warning: assignment makes pointer from integer without a cast [enabled by default]
/var/lib/dkms/libafs/1.6.2.1-1.mga3/build/src/libafs/MODLOAD-3.10.12-desktop-1.mga3-y/osi_ioctl.c:111:10: error: dereferencing pointer to incomplete type
cc1: some warnings being treated as errors
make[4]: *** [/var/lib/dkms/libafs/1.6.2.1-1.mga3/build/src/libafs/MODLOAD-3.10.12-desktop-1.mga3-y/osi_ioctl.o] Error 1
make[3]: *** [_module_/var/lib/dkms/libafs/1.6.2.1-1.mga3/build/src/libafs/MODLOAD-3.10.12-desktop-1.mga3-y] Error 2
make[3]: Leaving directory `/usr/src/linux-3.10.12-desktop-1.mga3'
make[2]: *** [libafs.ko] Error 2
make[2]: Leaving directory `/var/lib/dkms/libafs/1.6.2.1-1.mga3/build/src/libafs/MODLOAD-3.10.12-desktop-1.mga3-y'
make[1]: *** [linux_compdirs] Error 2
make[1]: Leaving directory `/var/lib/dkms/libafs/1.6.2.1-1.mga3/build/src/libafs'
make: *** [all] Error 2
Comment 2 Götz Waschk 2013-10-02 13:20:26 CEST
FYI backported openafs 1.6.5 from Cauldron builds fine on Mga3 with that kernel.
Manuel Hiebel 2013-10-02 21:58:12 CEST

Keywords: (none) => Triaged
CC: (none) => fundawang, goetz.waschk, luigiwalser, tmb

Comment 3 David Walser 2013-10-03 01:46:34 CEST
Yes, openafs is one of the packages that needs to be updated when the kernel is.  Unfortunately there are some packaging issues with openafs that have stopped us from making any updates for it.
David Walser 2013-11-22 16:58:18 CET

Depends on: (none) => 7085

Comment 4 David Walser 2015-01-12 13:45:18 CET
Fixed in Mageia 4.  Mageia 3 is EOL.

Status: NEW => RESOLVED
Resolution: (none) => OLD


Note You need to log in before you can comment on or make changes to this bug.