FUEL 8.0/Master - unable to build ISO in Ubuntu 64bit machine

Bug #1554433 reported by Seeni
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Invalid
Medium
Fuel build team
8.0.x
Invalid
Medium
Fuel build team
Mitaka
Invalid
Medium
Fuel build team
Newton
Invalid
Medium
Fuel build team

Bug Description

Unable to create ISO in Ubuntu 14.04 LTS3 machine

Environment : Ubuntu 14.04 LT2 64 bit, FUEL Stable V8.0 / Master

Steps to reproduce:

   git clone https://github.com/openstack/fuel-main -b stable/8.0 #even for master the issue is same
   cd fuel-main
   ./prepare-build-env.sh
   make iso

Error:

Processing files: rubygem-astute-8.0.0-1.noarch
Provides: config(rubygem-astute) = 8.0.0-1 ruby(Astute) = 8.0.0 rubygem- astute = 8.0.0-1
Requires(interp): /bin/sh /bin/sh /bin/sh
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires(post): /bin/sh systemd-units
Requires(preun): /bin/sh systemd-units
Requires(postun): /bin/sh systemd-units
Requires: /bin/bash /usr/bin/env
Processing files: nailgun-mcagents-8.0.0-1.noarch
error: File must begin with "/": %changelog\n*
......
......
RPM build errors:
  File must begin with "/": %changelog\n*
  File must begin with "/": Mon
  File must begin with "/": Feb
  File must begin with "/": 29
  File must begin with "/": 2016
  .......
  .......

it is clear that the error are due to wrong RPM 'spec' file. Fixing it allows to build the ISO succesfully

Revision history for this message
Ching Kuo (genekuo) wrote :

Tried on a Ubuntu 64 bit machine, but didn't get the error. Can you elaborate more on your settings?

Changed in searchlight:
status: New → Incomplete
Liyingjun (liyingjun)
affects: searchlight → fuel
Revision history for this message
Seeni (snivas) wrote :

Some more info,

i am behind the corporate proxy. I am able to build FUEL v7.0 without any issues but unable to build Fuel v8.0/Master.

The issue are at spec files. The "changelogs" are echoed in to spec files, while doing that \n is printed as it is rather than making the line to print next line

for example, i have build/packages/sources/astute/changelog as

%changelog\n* Wed Mar 02 2016 Alexander Gordeev <email address hidden> - 8.0.0-1.mos151\n- b2bb466 Stop filtering NVME devices by major number

when i change it in to

%changelog
* Wed Mar 02 2016 Alexander Gordeev <email address hidden> - 8.0.0-1.mos151
- b2bb466 Stop filtering NVME devices by major number

then it works.

Changed in fuel:
status: Incomplete → New
importance: Undecided → High
assignee: nobody → Fuel build team (fuel-build)
milestone: none → 8.0-updates
tags: added: area-build
Revision history for this message
Sergey Kulanov (skulanov) wrote :

We are not able to re-produce your issue, please ensure you are running `make deep_clean` before `make iso`
You can also check everyday 8.0 ISO build [1]

[1]. https://ci.fuel-infra.org/view/ISO/job/8.0-community.all/

Revision history for this message
Laurent SANZ (laurent-sanz) wrote :

Hi,

I got exactly the same error.

error log:
Processing files: nailgun-mcagents-8.0.0-1.mos699.noarch
error: File must begin with "/": %changelog\n*
error: File must begin with "/": Sat
error: File must begin with "/": May
error: File must begin with "/": 28
error: File must begin with "/": 2016
error: File must begin with "/": Vladimir
error: File must begin with "/": Sharshov
error: File must begin with "/": (warpc)
error: File must begin with "/": <email address hidden>
error: File must begin with "/": -
error: File must begin with "/": 8.0.0-1.mos699\n-
error: File must begin with "/": b81577a
...
make: *** [/root/fuel/fuel-main/build/packages/rpm/astute.done] Error 1

I don't know why he need "/"

But i found this in build/packages/rpm/SANDBOX/astute/tmp/astute.spec
line 119:

/%{_unitdir}/%{rbname}.service

I don't know if it is a problem.

Thanks a lot

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.