Bug 1213741

Summary: An incomprehansible error: File must begin with "/": .h
Product: [openSUSE] openSUSE.org Reporter: Hillwood Yang <hillwoodroc>
Component: BuildServiceAssignee: E-mail List <screening-team-bugs>
Status: RESOLVED WORKSFORME QA Contact: Adrian Schröter <adrian.schroeter>
Severity: Normal    
Priority: P5 - None CC: Andreas.Stieger
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Hillwood Yang 2023-07-28 02:33:08 UTC
I am maintaining deepin-anything on https://build.opensuse.org/package/show/X11:Deepin:Factory/deepin-anything. The packaging work was fine before. After I update it yesterday. The packaging is failure and reports me an error: 

[   22s] Processing files: deepin-anything-devel-6.1.4-8.1.x86_64
[   22s] error: File must begin with "/": .h

But the packaging is success on local with osc build. So I guess this is a bug of obs. I check the difference between this update and before, but don't find any surprise change.

https://build.opensuse.org/request/show/1101029
Comment 1 Andreas Stieger 2023-07-28 07:57:39 UTC
-%dir %{_includedir}/%{name}
-%{_includedir}/%{name}/*.h
-%{_includedir}/%{name}/index
+%{_includedir}/%{name}



https://build.opensuse.org/request/show/1101160
Comment 2 Hillwood Yang 2023-07-28 08:29:41 UTC
This is not helpful. It still reports the same error on https://build.opensuse.org/package/show/X11:Deepin:Factory/deepin-anything