Public bug reported:

Binary package hint: rpm

SO: GNU/Linux Ubuntu 10.04 desktop
Architecture: x86_64
Kernel: 2.6.32-21
Rpm package: 4.7.2-1 build1

Executing the command
---------------------

» rpmbuild -bb --root /myfolder/rpm/ --buildroot /SOURCES/myapp
myfolder/myapp.spec

Gets correctly the app sources and spec in the folder specified by
--root option, but in the final step, rpmbuild try to create the binary
package in a non-existing folder as if the --root option never was
given:

Printed error (and traslation)
------------------------------

Errores de construcción RPM:
    No se puede crear /home/myuser/rpmbuild/RPMS/x86_64: No existe el fichero ó 
directorio
    No se pudo abrir /home/myuser/rpmbuild/RPMS/x86_64/myapp.x86_64.rpm: No 
existe el fichero ó directorio

Errors while building RPM:
    Unable to create /home/myuser/rpmbuild/RPMS/x86_64: File or directory does 
not exists.
    Unable to open /home/myuser/rpmbuild/RPMS/x86_64/myapp.x86_64.rpm: File or 
directory does not exists.

Additional
----------

The same command works perfectly under x86 architecture.

** Affects: rpm (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  Binary package hint: rpm
  
  SO: GNU/Linux Ubuntu 10.04 desktop
  Architecture: x86_64
  Kernel: 2.6.32-21
  Rpm package: 4.7.2-1 build1
  
- 
- Executing the command:
+ Executing the command
+ ---------------------
  
  » rpmbuild -bb --root /myfolder/rpm/ --buildroot /SOURCES/myapp
  myfolder/myapp.spec
  
  Gets correctly the app sources and spec in the folder specified by
  --root option, but in the final step, rpmbuild try to create the binary
  package in a non-existing folder as if the --root option never was
  given:
  
- 
- Printed error (and traslation):
+ Printed error (and traslation)
+ ------------------------------
  
  Errores de construcción RPM:
-     No se puede crear /home/myuser/rpmbuild/RPMS/x86_64: No existe el fichero 
ó directorio
-     No se pudo abrir /home/myuser/rpmbuild/RPMS/x86_64/myapp.x86_64.rpm: No 
existe el fichero ó directorio
+     No se puede crear /home/myuser/rpmbuild/RPMS/x86_64: No existe el fichero 
ó directorio
+     No se pudo abrir /home/myuser/rpmbuild/RPMS/x86_64/myapp.x86_64.rpm: No 
existe el fichero ó directorio
  
  Errors while building RPM:
-     Unable to create /home/myuser/rpmbuild/RPMS/x86_64: File or directory 
does not exists.
-     Unable to open /home/myuser/rpmbuild/RPMS/x86_64/myapp.x86_64.rpm: File 
or directory does not exists.
+     Unable to create /home/myuser/rpmbuild/RPMS/x86_64: File or directory 
does not exists.
+     Unable to open /home/myuser/rpmbuild/RPMS/x86_64/myapp.x86_64.rpm: File 
or directory does not exists.
  
+ Additional
+ ----------
  
- Additional:
  The same command works perfectly under x86 architecture.

-- 
Rpmbuild ignores root option
https://bugs.launchpad.net/bugs/573700
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to