#5833 Build failure in el6-docs
Closed: Invalid None Opened 10 years ago by rlandmann.

Hi -- it looks like SRPM builds are now turned on for the el6-docs target, but SRPM builds are failing with a message in the Koji client that reads:

FAILED: Fault: <Fault 1: "<type 'exceptions.TypeError'>: expected string or buffer">

Example of a failed SRPM build:

http://koji.fedoraproject.org/koji/taskinfo?taskID=6406709

Can someone please investigate?


publican is making bad srpms if you rebuild the srpm you will get further. however publican is not built and things are not really ready.

Replying to [comment:1 ausil]:

publican is making bad srpms if you rebuild the srpm you will get further.

Thanks for taking a look ausil; can you please point me to where the SRPM is bad? Rpmlint seems OK:

$ rpmlint tmp/rpm/Fedora-Security_Guide-18-web-en-US.spec tmp/rpm/Fedora-Security_Guide-18-web-en-US-18.2-1.el6.src.rpm
tmp/rpm/Fedora-Security_Guide-18-web-en-US.spec: W: invalid-url Source0: Fedora-Security_Guide-18-web-en-US-18.2-1.tgz
Fedora-Security_Guide-18-web-en-US.src: W: invalid-url Source0: Fedora-Security_Guide-18-web-en-US-18.2-1.tgz
1 packages and 1 specfiles checked; 0 errors, 2 warnings.

Also, if I try to build one of Publican's perl dependencies, I get the same error: http://koji.fedoraproject.org/koji/taskinfo?taskID=6407193

and this is an SRPM that built fine for EPEL6: http://koji.fedoraproject.org/koji/buildinfo?buildID=427178

however publican is not built and things are not really ready.

Right, but if el6-docs inherits from el6 and the optional channel is available, Koji should be finding the old Publican (v 2.1) shipped in RHEL6, but the process seems to be failing even before we get to dependency resolution?

Cheers
Rudi

if you rebuild the srpm it gets past the error. I dont have publican installed and have zero idea of how it makes the srpms but the hub can not read the srpm that's created by publican.

Replying to [comment:3 ausil]:

if you rebuild the srpm it gets past the error. I dont have publican installed and have zero idea of how it makes the srpms but the hub can not read the srpm that's created by publican.

Thanks, but that didn't help:

http://koji.fedoraproject.org/koji/taskinfo?taskID=6412613

was a build using an SRPM generated with rpmbuild on F20:

$ rpmbuild -bs --define 'dist .el6' SPECS/Fedora-Security_Guide-18-web-en-US.spec
Wrote: /home/rlandmann/rpmbuild/SRPMS/Fedora-Security_Guide-18-web-en-US-18.2-1.el6.src.rpm

and

http://koji.fedoraproject.org/koji/taskinfo?taskID=6412666

was a build using an SRPM generated with rpmbuild on RHEL6.4

And, like I said last time, I get the same error when I feed it the perl-Locale-Maketext-Gettext SRPM from this build:

http://koji.fedoraproject.org/koji/buildinfo?buildID=427178

ie: http://kojipkgs.fedoraproject.org//packages/perl-Locale-Maketext-Gettext/1.27/12.el6/src/perl-Locale-Maketext-Gettext-1.27-12.el6.src.rpm

http://koji.fedoraproject.org/koji/taskinfo?taskID=6407193

and this, of course, has never gone anywhere near Publican...

Same error every time.

What else could I be missing here?

Update: the Publican-generated SRPM works fine in scratchbuilds in both Koji and Brew:

https://brewweb.devel.redhat.com/taskinfo?taskID=6882666

http://koji.fedoraproject.org/koji/taskinfo?taskID=6412711

(both builds fail for unavailable dependencies, but that's beside the point here).

So scratchbuilds work for el6-docs but regular builds do not.

Metadata Update from @rlandmann:
- Issue set to the milestone: Fedora 20 Final

7 years ago

Login to comment on this ticket.

Metadata