yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #73011
[Bug 1772961] [NEW] suse (packages/suse/cloud-init.spec.in) spec does not build
Public bug reported:
I've done some work with 'tools/run-container' [1] and
'./tools/read-dependencies' [2] so now we are reasonably close to
being able to build and test opensuse in c-i.
However, at the moement the spec file has some issues:
a.) jinja syntax error (fix http://paste.ubuntu.com/p/CXmmsVgK9b/)
b.) unpacks into wrong directory (fix http://paste.ubuntu.com/p/q28xc5X3gT/)
c.) TODO file is gone. (fix http://paste.ubuntu.com/p/ZDnHsGhhfc/)
d.) no need to remove tests, no longer installed (fix http://paste.ubuntu.com/p/TmKFqgz3rZ/)
After those things are done, then we fail like:
+ /usr/lib/rpm/brp-suse
error: Installed (but unpackaged) file(s) found:
/etc/NetworkManager/dispatcher.d/hook-network-manager
/etc/dhcp/dhclient-exit-hooks.d/hook-dhclient
/lib/udev/rules.d/66-azure-ephemeral.rules
/usr/lib/cloud-init/ds-identify
/usr/lib/systemd/system-generators/cloud-init-generator
/usr/lib/systemd/system/cloud-config.service
/usr/lib/systemd/system/cloud-config.target
/usr/lib/systemd/system/cloud-final.service
/usr/lib/systemd/system/cloud-init-local.service
/usr/lib/systemd/system/cloud-init.service
/usr/lib/systemd/system/cloud-init.target
At the end of this fix, we should be able to do:
./tools/run-container -vv \
--artifacts=rpms/ --unittest --package --source-package opensuse/42.3
and run have done on opensuse 42.3:
a.) run unit-tests with packaged versions of dependencies.
b.) build source package
c.) build binary package.
https://code.launchpad.net/~smoser/cloud-init/+git/cloud-init/+merge/346747
https://code.launchpad.net/~smoser/cloud-init/+git/cloud-init/+merge/345627
** Affects: cloud-init
Importance: Medium
Status: Confirmed
** Changed in: cloud-init
Status: New => Confirmed
** Changed in: cloud-init
Importance: Undecided => Medium
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1772961
Title:
suse (packages/suse/cloud-init.spec.in) spec does not build
Status in cloud-init:
Confirmed
Bug description:
I've done some work with 'tools/run-container' [1] and
'./tools/read-dependencies' [2] so now we are reasonably close to
being able to build and test opensuse in c-i.
However, at the moement the spec file has some issues:
a.) jinja syntax error (fix http://paste.ubuntu.com/p/CXmmsVgK9b/)
b.) unpacks into wrong directory (fix http://paste.ubuntu.com/p/q28xc5X3gT/)
c.) TODO file is gone. (fix http://paste.ubuntu.com/p/ZDnHsGhhfc/)
d.) no need to remove tests, no longer installed (fix http://paste.ubuntu.com/p/TmKFqgz3rZ/)
After those things are done, then we fail like:
+ /usr/lib/rpm/brp-suse
error: Installed (but unpackaged) file(s) found:
/etc/NetworkManager/dispatcher.d/hook-network-manager
/etc/dhcp/dhclient-exit-hooks.d/hook-dhclient
/lib/udev/rules.d/66-azure-ephemeral.rules
/usr/lib/cloud-init/ds-identify
/usr/lib/systemd/system-generators/cloud-init-generator
/usr/lib/systemd/system/cloud-config.service
/usr/lib/systemd/system/cloud-config.target
/usr/lib/systemd/system/cloud-final.service
/usr/lib/systemd/system/cloud-init-local.service
/usr/lib/systemd/system/cloud-init.service
/usr/lib/systemd/system/cloud-init.target
At the end of this fix, we should be able to do:
./tools/run-container -vv \
--artifacts=rpms/ --unittest --package --source-package opensuse/42.3
and run have done on opensuse 42.3:
a.) run unit-tests with packaged versions of dependencies.
b.) build source package
c.) build binary package.
https://code.launchpad.net/~smoser/cloud-init/+git/cloud-init/+merge/346747
https://code.launchpad.net/~smoser/cloud-init/+git/cloud-init/+merge/345627
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1772961/+subscriptions
Follow ups