Re: fedpkg: build error No build ID

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 4 November 2016 at 08:34, arnaud gaboury <arnaud.gaboury@xxxxxxxxx> wrote:
>
>
> On Fri, Nov 4, 2016 at 9:19 AM arnaud gaboury <arnaud.gaboury@xxxxxxxxx>
> wrote:
>>
>> I am writing a spec file to build an app.
>> The build failed with this error:
>>
>> *** ERROR: No build ID note found in
>> /home/makerpm/rpmbuild/BUILDROOT/mattermost-3.4-1.fc24.x86_64/usr/share/webapps/mattermost/bin/platform
>>
>> Googling it, I found a few "tricks" which I tried but don't work:
>> - Adding "LDFLAGS+=--build-id"
>> - adding %global _missing_build_ids_terminate_build 0
>>
>> What can I do to solve this issue ?
>
>
> Not sure it is a good idea, but adding this :
>  %define debug_package %{nil}
>
> removed the error and package builds fine.
> Is this a solution or a dirty trick to avoid ?
>
>
>>
>> Note: the application is written in Go.
>>
>> Thank you for help.


Since it is writtenm in Go you'll probably find it helpful to read
through and attempt to adhere to the draft Go guidelines:

https://fedoraproject.org/wiki/PackagingDrafts/Go
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux