Bug 27332 - snapd fails to rebuild in Mageia 7 due to an error about missing files for ./depcomp
Summary: snapd fails to rebuild in Mageia 7 due to an error about missing files for ./...
Status: RESOLVED INVALID
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 7
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-27 04:06 CEST by Kristoffer Grundström
Modified: 2020-09-27 05:39 CEST (History)
2 users (show)

See Also:
Source RPM: snapd
CVE:
Status comment:


Attachments
Error log file (12.70 KB, text/plain)
2020-09-27 04:09 CEST, Kristoffer Grundström
Details

Description Kristoffer Grundström 2020-09-27 04:06:19 CEST
Description of problem: ./depcomp is missing to rebuild the src.rpm from Cauldron to Mageia 7.

Version-Release number of selected component (if applicable): 2.45.3.1-1

How reproducible: All the time.

Steps to Reproduce:
1. Download the src.rpm.
2. Install all the build dependencies.
3. Run rpmbuild --rebuild snapd-2.45.3.1-1.mga8.src.rpm in the place where you saved it.
4. Voila! It fails due to ./depcomp not being there.
Comment 1 Kristoffer Grundström 2020-09-27 04:09:26 CEST
Created attachment 11892 [details]
Error log file

CC: (none) => lovaren

Comment 2 Kristoffer Grundström 2020-09-27 04:16:34 CEST
Notice how the error also mentions:

libtoolize: You should add the contents of the following files to 'aclocal.m4':
libtoolize:   '/usr/share/aclocal/libtool.m4'
libtoolize:   '/usr/share/aclocal/ltoptions.m4'
libtoolize:   '/usr/share/aclocal/ltsugar.m4'
libtoolize:   '/usr/share/aclocal/ltversion.m4'
libtoolize:   '/usr/share/aclocal/lt~obsolete.m4'
libtoolize: Remember to add 'LT_INIT' to configure.ac.
libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac,
libtoolize: and rerunning libtoolize and aclocal.
libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am.

Plus:

configure: WARNING: you should use --build, --host, --target

And:

/bin/sh: /home/kristoffer/rpmbuild/BUILD/snapd-2.45.3.1/cmd/missing: No such file or directory
configure: WARNING: 'missing' script is too old or missing

And also:

configure: WARNING:
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
    X                                                     X
    X Apparmor is disabled, all snaps will run in devmode X
    X                                                     X
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

I may have read the error about missing ./depcomp wrong since it points to these files not being found:

libsnap_confine_private_unit_tests-classic-test.o
libsnap_confine_private_unit_tests-cleanup-funcs-test.o
fault-injection-test.c
libsnap_confine_private_unit_tests-fault-injection-test.o
error-test.c
libsnap_confine_private_unit_tests-error-test.o

Still this src.rpm does not rebuild to Mageia 7.
Comment 3 Aurelien Oudelet 2020-09-27 05:39:37 CEST
Hi, thanks taking time to report this.


As this refers to a package that was not available when Mageia 7 was published, you cannot try to backport it from a Cauldron build.
See recent messages in dev ML about this specific program.
For the moment, we do not see a consensus to add snapd to our distribution.


Closing this INVALID.

Resolution: (none) => INVALID
CC: (none) => ouaurelien
Status: NEW => RESOLVED


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