Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 206985
Summary: | Review Request: perl-Device-SerialPort | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Orion Poplawski <orion> |
Component: | Package Review | Assignee: | Jason Tibbitts <j> |
Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Package Reviews List <fedora-package-review> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://www.cora.nwra.com/~orion/fedora/ | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2006-09-21 17:44:39 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 163779 |
Description
Orion Poplawski
2006-09-18 16:36:41 UTC
The build fails in mock due to failing tests: + /usr/bin/perl Makefile.PL INSTALLDIRS=vendor 'OPTIMIZE=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' Could not find a serial port to use for testing. Please specify one on the 'perl Makefile.PL' command line, like so: perl Makefile.PL /dev/ttyS0 Trying to find a serial port for testing... (use 'perl Makefile.PL TESTPORT=<DEVICE>' to override this search) checking '/dev/ttyS1' ... nope checking '/dev/cua01' ... nope checking '/dev/cua/b' ... nope checking '/dev/tty1' ... nope checking '/dev/tty.modem' ... nope error: Bad exit status from /var/tmp/rpm-tmp.71516 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.71516 (%build) Error building package from perl-Device-SerialPort-1.002-1.fc6.src.rpm, See build log Now, it's obvious that you've disabled the %check section but it seems that Makefile.PL insists on trying to figure out which serial port should be tested just in case 'make test' is run later. Dumb. Tacking "TESTPORT=/dev/null" onto the Makefile.PL line gets things building. After the above fix, everything builds fine. rpmlint says: W: perl-Device-SerialPort make-check-outside-check-section #make test This is bogus, but if you remove the commenting from the %check line it goes away. Fix it if you like. The license should be "GPL or Artistic"; that's the usual way to indicate the oft-seen "same as perl" terms. * source files match upstream: aeef199bfdd2aece043649a0673146d5 Device-SerialPort-1.002.tar.gz * package meets naming and packaging guidelines. * specfile is properly named, is cleanly written and uses macros consistently. * dist tag is present. * build root is correct. X license field matches the actual license. * license is open source-compatible. License text not included upstream. * latest version is being packaged. * BuildRequires are proper (none) * compiler flags are appropriate. * %clean is present. * package builds in mock (development, x86_64). * package installs properly * debuginfo package looks complete. * rpmlint has only bogus complaints * final provides and requires are sane: SerialPort.so()(64bit) perl(Device::SerialPort) = 1.002 perl-Device-SerialPort = 1.002-1.fc6 = /usr/bin/perl perl >= 0:5.006 perl(:MODULE_COMPAT_5.8.8) perl(Carp) perl(Device::SerialPort) perl(Exporter) perl(IO::Handle) perl(POSIX) perl(XSLoader) perl(strict) perl(vars) perl(warnings) * %check is necessarily disabled. * no shared libraries are added to the regular linker search paths. * package is not relocatable. * owns the directories it creates. * doesn't own any directories it shouldn't. * no duplicates in %files. * file permissions are appropriate. * no scriptlets present. * code, not content. * documentation is small, so no -docs subpackage is necessary. * %docs are not necessary for the proper functioning of the package. * no headers. * no pkgconfig files. * no libtool .la droppings. Updated spec (and srpm): http://www.cora.nwra.com/~orion/fedora/perl-Device-SerialPort.spec http://www.cora.nwra.com/~orion/fedora/perl-Device-SerialPort-1.002-1.fc5.src.rpm * Wed Sep 20 2006 Orion Poplawski 1.002-2 - Add TESTPORT=/dev/null for mock builds - License back to GPL or Artistic Hmm, that didn't seem to work. Ah, the URL immediately above is wrong; s/1.002-1/1.002-2/ and it's OK. Everything looks good now. APPROVED Checked in and built and added to owners.list. Thanks for the review! |