Skip to content
This repository has been archived by the owner on Jan 15, 2019. It is now read-only.

[dev.icinga.com #3968] RPM issue with Amazon #1099

Closed
icinga-migration opened this issue Apr 16, 2013 · 10 comments
Closed

[dev.icinga.com #3968] RPM issue with Amazon #1099

icinga-migration opened this issue Apr 16, 2013 · 10 comments

Comments

@icinga-migration
Copy link

This issue has been migrated from Redmine: https://dev.icinga.com/issues/3968

Created by maxhyjalsoul on 2013-04-16 02:22:30 +00:00

Assignee: (none)
Status: New
Target Version: Backlog
Last Update: 2015-05-18 12:17:43 +00:00 (in Redmine)

Icinga Version: 1.8.4
Icinga Web Version: 1.8.3
IDO Version: 1.8.4
OS Version: amazon linux 2013.03
DB Type: MySQL
DB Version: 5.5
Browser Version: Chrome 26

Icinga-web 1.8.3 rpm build failed with error:

/bin/sh: line 0: printf: `{': invalid format character
Please check the new Apache2 configuration (/home/makerpm/rpmbuild/BUILDROOT/icinga-web-1.8.3-1.amzn1.x86_64make: ***** [install-done] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.gZ64YZ (%install)

it didn't happen in the environment with httpd 2.2
I prefer using httpd2.4 unless icinga-web won't support httpd 2.2 for now...

Attachments

@icinga-migration
Copy link
Author

Updated by maxhyjalsoul on 2013-04-16 02:26:21 +00:00

When I tried to build icinga-web rpm using the spec file provided under httpd 2.4, I had to change, rpmbuild complained about %{phpname} too. I had to change them to php54/php53 to be able to continue the build process.

@icinga-migration
Copy link
Author

Updated by maxhyjalsoul on 2013-04-17 01:23:01 +00:00

spec file failed on some OS (possibly different rpmdevtools version?)
error: line 62: Dependency tokens must begin with alpha-numeric, '_' or '/': BuildRequires: %{phpname} >= 5.2.3

please fix a major issue in icinga-web.spec:
at line 161
"--with-web-apache-path=" needs quotes around{apacheconfdir}
It caused rpmbuild process to fail...

@icinga-migration
Copy link
Author

Updated by mfrosch on 2013-04-17 08:22:00 +00:00

  • Status changed from New to Assigned
  • Assigned to set to mfrosch
  • Priority changed from Normal to Low
  • Target Version set to 1.9

@icinga-migration
Copy link
Author

Updated by mfrosch on 2013-04-17 08:23:55 +00:00

  • Status changed from Assigned to Feedback

Could you please share us the whole spec file that worked for you?

Which vendor tag does Amazon use? "amazon"?

@icinga-migration
Copy link
Author

Updated by maxhyjalsoul on 2013-04-18 23:16:29 +00:00

  • File added icinga-web.txt

I believe "Amazon Linux AMI" is the tag they use:

I'll attach the .spec file I hacked and used, but I had to comment out lines that have anything to do with Suse to get it work besides fixing the missing quotes, not sure why...

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2013-04-19 09:46:56 +00:00

  • Target Version deleted 1.9

removing the release target, requires more feedback and tests.

@icinga-migration
Copy link
Author

Updated by mfrosch on 2013-10-02 08:45:13 +00:00

  • Assigned to deleted mfrosch

If someone could supply a fixed and tested version of our current Spec for Amazon Linux, I'm happy to include it.

Until then: stalled

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2015-03-12 19:43:30 +00:00

  • Status changed from Feedback to New

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2015-04-26 08:59:53 +00:00

  • Subject changed from icinga-web 1.8.3 failed to build on the system with httpd 2.4 to RPM issue with Amazon

@icinga-migration
Copy link
Author

Updated by berk on 2015-05-18 12:17:43 +00:00

  • Target Version set to Backlog

@icinga-migration icinga-migration added this to the Backlog milestone Jan 17, 2017
@dnsmichi dnsmichi removed this from the Backlog milestone Dec 19, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants