Re: empty reply from server error

2022-07-24 Thread Adam Williamson
On Tue, 2022-07-19 at 16:47 +0200, Petr Pisar wrote:
> V Tue, Jul 19, 2022 at 01:47:12PM +, Globe Trotter via devel napsal(a):
> > However, I get the following error in the build log (of koji):
> > 
> > 
> > 
> > checking whether the C compiler works... no
> > configure: error: in `/builddir/build/BUILD/osmo-0.4.4':
> > configure: error: C compiler cannot create executables
> > See `config.log' for more details
> > 
> > 
> > Where is the config.log? I only have 
> > 
> In the working directory on a Koji builder. Cleaned up and deleted.
> 
> Ammend your osmo.spec to print config.log content if ./configure command
> fails.  The cause will either be missing BuildRequires: gcc, or the build
> scripts is too creative with compiler or linker flags and produces
> a combination which does not work. Or somebody broke gcc or annobin or other
> vital part of a tool chain.

Another option if the necessary stuff isn't logged to the Koji build
logs is to run a build in mock locally. When a mock build fails the
buildroot is not cleaned up, so you can look at it, either under
wherever your mock home is (/var/lib/mock or /home/mockbase probably)
or with mock -r (whatever) -shell to get a shell inside the mock
environment.
-- 
Adam Williamson
Fedora QA
IRC: adamw | Twitter: adamw_ha
https://www.happyassassin.net

___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: empty reply from server error

2022-07-19 Thread Globe Trotter via devel
Yes, thank you, this fixed it. 

I appreciate tthe comment on the spec. I inherited it as a to-be orphan and I 
have continued only fixing the spec file at the margins when things break.

Would be happy to have some help in fixing the spec.







On Tuesday, July 19, 2022 at 10:21:38 AM CDT, Ralf Corsépius 
 wrote: 





Am 19.07.22 um 16:45 schrieb Globe Trotter via devel:
> Thanks, btw, the command here says unknown command (see below).
> 
> Btw, the log is here: 
> https://koji.fedoraproject.org/koji/buildinfo?buildID=2004683

The trigger of this breakdown is the sped missing "BuildRequires: gcc"

However, I regret having to say this, this package's spec could use a 
major overhaul. It contains quite a of rpm-spec-anachronisms and 
unnecessary things.


Ralf

___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: empty reply from server error

2022-07-19 Thread Ralf Corsépius

Am 19.07.22 um 16:45 schrieb Globe Trotter via devel:

Thanks, btw, the command here says unknown command (see below).

Btw, the log is here: 
https://koji.fedoraproject.org/koji/buildinfo?buildID=2004683


The trigger of this breakdown is the sped missing "BuildRequires: gcc"

However, I regret having to say this, this package's spec could use a 
major overhaul. It contains quite a of rpm-spec-anachronisms and 
unnecessary things.



Ralf
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: empty reply from server error

2022-07-19 Thread Petr Pisar
V Tue, Jul 19, 2022 at 01:47:12PM +, Globe Trotter via devel napsal(a):
> However, I get the following error in the build log (of koji):
> 
> 
> 
> checking whether the C compiler works... no
> configure: error: in `/builddir/build/BUILD/osmo-0.4.4':
> configure: error: C compiler cannot create executables
> See `config.log' for more details
>
> 
> Where is the config.log? I only have 
>
In the working directory on a Koji builder. Cleaned up and deleted.

Ammend your osmo.spec to print config.log content if ./configure command
fails.  The cause will either be missing BuildRequires: gcc, or the build
scripts is too creative with compiler or linker flags and produces
a combination which does not work. Or somebody broke gcc or annobin or other
vital part of a tool chain.

-- Petr


signature.asc
Description: PGP signature
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: empty reply from server error

2022-07-19 Thread Globe Trotter via devel
Thanks, btw, the command here says unknown command (see below).

Btw, the log is here: 
https://koji.fedoraproject.org/koji/buildinfo?buildID=2004683

Thanks!



$ koji save-failed-tree 2004683
Available commands:

admin commands:
    add-channel   Add a channel
    add-external-repo Create an external repo and/or add one to a 
tag
    add-group Add a group to a tag
    add-group-pkg Add a package to a group's package listing
    add-group-req Add a group to a group's required list
    add-host  Add a host
    add-host-to-channel   Add a host to a channel
    add-pkg   Add a package to the listing for tag
    add-tag   Add a new tag to the database
    add-tag-inheritance   Add to a tag's inheritance
    add-target    Create a new build target
    add-user  Add a user
    add-volume    Add a new storage volume
    assign-task   Assign a task to a host
    block-group   Block group in tag
    block-group-pkg   Block a package from a group's package listing
    block-group-req   Block a group's requirement listing
    block-pkg Block a package in the listing for tag
    clone-tag Duplicate the contents of one tag onto 
another tag
    disable-channel   Mark one or more channels as disabled
    disable-host  Mark one or more hosts as disabled
    disable-user  Disable logins by a user
    edit-channel  Edit a channel
    edit-external-repo    Edit data for an external repo
    edit-host Edit a host
    edit-permission   Edit a permission description
    edit-tag  Alter tag information
    edit-tag-inheritance  Edit tag inheritance
    edit-target   Set the name, build_tag, and/or dest_tag of 
an existing build target to new values
    edit-user Alter user information
    enable-channel    Mark one or more channels as enabled
    enable-host   Mark one or more hosts as enabled
    enable-user   Enable logins by a user
    free-task Free a task
    grant-cg-access   Add a user to a content generator
    grant-permission  Grant a permission to a user
    import    Import externally built RPMs into the database
    import-archive    Import an archive file and associate it with 
a build
    import-cg Import external builds with rich metadata
    import-sig    Import signatures into the database and write 
signed RPMs
    list-signed   List signed copies of rpms
    lock-tag  Lock a tag
    make-task Create an arbitrary task
    prune-signed-copies   Prune signed copies
    regen-repo    Force a repo to be regenerated
    remove-channel    Remove a channel entirely
    remove-external-repo  Remove an external repo from a tag or tags, 
or remove entirely
    remove-group  Remove group from tag
    remove-host-from-channel  Remove a host from a channel
    remove-pkg    Remove a package from the listing for tag
    remove-sig    Remove signed RPMs from db and disk
    remove-tag    Remove a tag
    remove-tag-inheritance    Remove a tag inheritance link
    remove-target Remove a build target
    restart-hosts Restart enabled hosts
    revoke-cg-access  Remove a user from a content generator
    revoke-permission Revoke a permission from a user
    set-build-volume  Move a build to a different volume
    set-pkg-arches    Set the list of extra arches for a package
    set-pkg-owner Set the owner for a package
    set-pkg-owner-global  Set the owner for a package globally
    set-task-priority Set task priority
    unblock-group-pkg Unblock a package from a group's package 
listing
    unblock-group-req Unblock a group's requirement listing
    unblock-pkg   Unblock a package in the listing for tag
    unlock-tag    Unlock a tag
    userinfo  Show information about a user
    write-signed-rpm  Write signed RPMs to disk

bind commands:
    move-build    'Move' one or more builds between tags
    tag-build Apply a tag to one or more builds
    untag-build   Remove a tag from one or more builds

build commands:
    build Build a package from source
    cancel   

Re: empty reply from server error

2022-07-19 Thread Jerry James
On Tue, Jul 19, 2022 at 7:52 AM Globe Trotter via devel
 wrote:
> checking whether the C compiler works... no
> configure: error: in `/builddir/build/BUILD/osmo-0.4.4':
> configure: error: C compiler cannot create executables
> See `config.log' for more details
>
>
> Where is the config.log?

config.log is in the buildroot.  Try running "koji save-failed-tree
", where  is the task ID koji gave you when you
started the build.  That will give you a tarball containing the
buildroot.  Look in there for config.log.

Also, see /usr/share/doc/koji/docs/source/plugins.rst for how to
download only parts of the buildroot; e.g., config.log only.
-- 
Jerry James
http://www.jamezone.org/
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: empty reply from server error

2022-07-19 Thread Globe Trotter via devel
Never mind, I figured this out. Bad oversight on my part.



However, I get the following error in the build log (of koji):



checking whether the C compiler works... no
configure: error: in `/builddir/build/BUILD/osmo-0.4.4':
configure: error: C compiler cannot create executables
See `config.log' for more details


Where is the config.log? I only have

build.log (tail)
hw_info.log (tail)
mock_output.log (tail)
root.log (tail)
state.log (tail)

Thanks again!









On Tuesday, July 19, 2022 at 08:33:57 AM CDT, Globe Trotter via devel 
 wrote: 





Hello,

I was trying to fix a minor but severe error in the packging of osmo, and I get 
the following error:


$ fedpkg import ~/rpmbuild/SRPMS/osmo-0.4.4-2.fc36.src.rpm
 
Could not execute import_srpm: (52, 'Empty reply from server')


Where is this error from and how do I get around it?

Thanks in advance for any suggestions!
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: empty reply from server error

2022-07-19 Thread Globe Trotter via devel
Never mind, I figured this out. Bad oversight on my part.



However, I get the following error in the build log (of koji):



checking whether the C compiler works... no
configure: error: in `/builddir/build/BUILD/osmo-0.4.4':
configure: error: C compiler cannot create executables
See `config.log' for more details


Where is the config.log? I only have 

build.log (tail)
hw_info.log (tail)
mock_output.log (tail)
root.log (tail)
state.log (tail)

Thanks again!








On Tuesday, July 19, 2022 at 08:33:57 AM CDT, Globe Trotter via devel 
 wrote: 





Hello,

I was trying to fix a minor but severe error in the packging of osmo, and I get 
the following error:


$ fedpkg import ~/rpmbuild/SRPMS/osmo-0.4.4-2.fc36.src.rpm
 
Could not execute import_srpm: (52, 'Empty reply from server')


Where is this error from and how do I get around it?

Thanks in advance for any suggestions!
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure