** Summary changed:

- Rpmbuild ignores root option
+ Rpmbuild ignores buildroot option

** 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
- ---------------------
+ Running:
+ » rpmbuild -bb  --buildroot /wokfolder/SOURCES/myapp otherfolder/myapp.spec
  
- » rpmbuild -bb --root /myfolder/rpm/ --buildroot /SOURCES/myapp
- myfolder/myapp.spec
+ Gets correctly the app sources and spec, but in the final step, rpmbuild
+ try to create the binary package in a non-existing folder as if the
+ --buildroot option was never given. After search about that seems more
+ people reported very similar issues since Ubuntu 9.10
  
- 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)
- ------------------------------
+ Terminal errors:
  
  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.

** 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
  
  Running:
- » rpmbuild -bb  --buildroot /wokfolder/SOURCES/myapp otherfolder/myapp.spec
+ » [sudo] rpmbuild -bb  --buildroot /wokfolder/SOURCES/myapp 
otherfolder/myapp.spec
  
  Gets correctly the app sources and spec, but in the final step, rpmbuild
  try to create the binary package in a non-existing folder as if the
  --buildroot option was never given. After search about that seems more
  people reported very similar issues since Ubuntu 9.10
  
  Terminal errors:
  
  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.

-- 
Rpmbuild ignores buildroot 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