Github user remibergsma commented on the pull request:

    https://github.com/apache/cloudstack/pull/813#issuecomment-139897498
  
    Hey @wido.. question: I tried building the packages:
    `./package.sh -d centos7`
    
    Got this error:
    ```
    Processing files: cloudstack-agent-4.6.0-SNAPSHOT.el7.centos.x86_64
    error: File not found: 
/data/git/cs3/cloudstack/dist/rpmbuild/BUILDROOT/cloudstack-4.6.0-SNAPSHOT.el7.centos.x86_64/etc/init.d/cloudstack-agent
    
    RPM build errors:
        Binaries arch (1) not matching the package arch (2).
        File not found: 
/data/git/cs3/cloudstack/dist/rpmbuild/BUILDROOT/cloudstack-4.6.0-SNAPSHOT.el7.centos.x86_64/etc/init.d/cloudstack-agent
    RPM Build Failed
    ```
    
    In `./centos7/cloud.spec` line `491` I see:
    ```
    %attr(0755,root,root) %{_sysconfdir}/init.d/%{name}-agent
    ```
    
    I assume this line needs to be removed? Or am I missing something?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to