Closed Bug 615352 Opened 15 years ago Closed 15 years ago

build issue with pypi2rpm and destdir

Categories

(Cloud Services :: Server: Other, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Atoll, Assigned: tarek)

Details

(Whiteboard: [qa-])

while doing "make build build_core build_rpms" on server-key-exchange tip as of now, it creates a file called "rpms" instead of a directory called "rpms", and then the builds start failing due to the destdir not being a directory.
The pypi2rpm makes the assumption --dist-dir points to a dir and the move API Distutils uses to move the file consider the last bit to be the filename if the dir does not exists. Done two changes: - make sure build_core checks that the dir exists (http://hg.mozilla.org/services/server-key-exchange/rev/3bdd22fc8878) - pypi2rpm will now raise an error if --dist-dir does not point to a dir.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Whiteboard: [qa-]
You need to log in before you can comment on or make changes to this bug.